/* ===== Design Tokens ===== */
:root {
  --bg: #0C0C14;
  --card: #16162A;
  --card-hover: #1E1E38;
  --elevated: #1A1A30;
  --input: #1E1E38;
  --nav: #0C0C14;

  --text: #EEEEF5;
  --sub: #9494B0;
  --muted: #5C5C78;

  --accent: #A855F7;
  --accent-dim: rgba(168,85,247,0.14);
  --gold: #FBBF24;
  --green: #34D399;
  --red: #F87171;
  --blue: #60A5FA;
  --pink: #EC4899;

  --border: rgba(255,255,255,0.07);
  --border-hi: rgba(168,85,247,0.35);

  --grad1: linear-gradient(135deg, #A855F7, #EC4899);
  --grad2: linear-gradient(135deg, #6366F1, #A855F7);
  --grad3: linear-gradient(135deg, #14B8A6, #3B82F6);

  --radius: 14px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1120px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

img { max-width: 100%; display: block; }

/* ===== Container ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links a {
  color: var(--sub);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); opacity: 1; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--sub);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); opacity: 1; }

.btn-primary {
  background: var(--grad1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}

.btn-primary:hover { box-shadow: 0 6px 28px rgba(168,85,247,0.45); }

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--border-hi); }

.btn-icon { font-size: 20px; }

/* ===== Phone Mockup ===== */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--card);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 16px;
  position: relative;
  box-shadow: 0 24px 80px rgba(168,85,247,0.15), 0 0 0 1px rgba(255,255,255,0.05);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: var(--bg);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 20px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  height: calc(100% - 48px);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-header {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 8px;
}

.phone-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-card-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.phone-card-lines { flex: 1; }

.phone-card-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 6px;
}

.phone-card-line:last-child { width: 60%; margin-bottom: 0; }

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.phone-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.phone-stat-num {
  font-size: 20px;
  font-weight: 800;
}

.phone-stat-label {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

/* ===== Section ===== */
.section { padding: 80px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--sub);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover {
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(168,85,247,0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--sub);
}

.pricing-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--sub);
}

.pricing-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-btn:hover { opacity: 1; transform: translateY(-1px); }

.pricing-btn-primary {
  background: var(--grad1);
  color: #fff;
  box-shadow: 0 4px 16px rgba(168,85,247,0.25);
}

.pricing-btn-secondary {
  background: var(--elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--grad1);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  margin: 40px 0;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-1px);
  opacity: 1;
}

.cta-btn-icon { font-size: 22px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); opacity: 1; }

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ===== Legal Pages ===== */
.legal-page { padding: 100px 0 60px; }

.legal-page .container { max-width: 740px; }

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page ul, .legal-page ol {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li { margin-bottom: 6px; }

.legal-page a { color: var(--accent); }

.legal-page strong { color: var(--text); font-weight: 600; }

/* ===== Support / FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq-item[open] summary { color: var(--accent); }

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--sub);
  line-height: 1.7;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
}

.contact-card p {
  color: var(--sub);
  font-size: 15px;
  margin-bottom: 20px;
}

.contact-card .btn { display: inline-flex; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(12,12,20,0.97);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }

  .features-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 28px; }

  .cta-banner { padding: 40px 24px; border-radius: 16px; }
  .cta-banner h2 { font-size: 24px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .phone-mockup { width: 240px; height: 480px; }

  .legal-page { padding: 80px 0 40px; }
  .legal-page h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .phone-mockup { width: 220px; height: 440px; }
}
