/* ─── Reset & Base ─────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple: #6a35ff;
  --purple-light: #a56bff;
  --purple-dark: #4a1fcc;
  --bg: #0e0e1c;
  --bg-alt: #131324;
  --bg-card: #1a1a2e;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.08);
  --phone-border: #2a2a3a;
  --phone-bg: #0a0a14;
  --radius-lg: 40px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ───────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

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

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

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

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: 160px 24px 100px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(106,53,255,0.25) 0%, transparent 70%),
              var(--bg);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(106,53,255,0.2);
  border: 1px solid rgba(106,53,255,0.4);
  color: #c5a0ff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #a56bff, #6a35ff, #ff6bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}

.highlight-pill {
  display: inline-block;
  background: rgba(106,53,255,0.15);
  border: 1px solid rgba(106,53,255,0.35);
  color: #c5a0ff;
  padding: 2px 10px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  letter-spacing: 0;
}

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  padding: 12px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  line-height: 1.3;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.store-btn svg {
  flex-shrink: 0;
}

.store-label {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
}

.store-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── Phone Frame ────────────────────────────────────────────────────────────── */

.phone-frame {
  position: relative;
  width: 260px;
  padding: 6px;
  background: var(--phone-bg);
  border: 2.5px solid var(--phone-border);
  border-radius: 44px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.phone-frame::before {
  display: none;
}

.phone-notch {
  display: none;
}

.phone-screen {
  width: 100%;
  aspect-ratio: 647 / 1400;
  overflow: hidden;
  border-radius: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.phone-screen.no-screenshot .screen-img {
  display: none;
}

.screen-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.phone-screen.no-screenshot .screen-placeholder {
  display: flex;
}

.placeholder-icon {
  font-size: 40px;
}

.placeholder-text {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.5;
}

.phone-home-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.hero-phone .phone-frame {
  width: 300px;
}

/* ─── Features Header ────────────────────────────────────────────────────────── */

.features {
  padding: 100px 24px 40px;
  text-align: center;
}

.features-inner {
  max-width: 700px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
}

/* ─── Feature Rows ────────────────────────────────────────────────────────────── */

.feature-row {
  padding: 80px 24px;
}

.feature-row-alt {
  background: var(--bg-alt);
}

.feature-row-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row-inner-rev {
  grid-template-columns: 1fr 340px;
}

.feature-row-inner-rev .feature-text {
  order: 1;
}

.feature-row-inner-rev .feature-phone {
  order: 2;
}

.phone-frame-sm {
  width: 240px;
  border-radius: 40px;
}

.phone-frame-sm .phone-notch {
  width: 80px;
  height: 22px;
}

.feature-phone {
  display: flex;
  justify-content: center;
}

.feature-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}

.feature-text h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.feature-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 420px;
}

.inline-highlight {
  display: inline-block;
  background: rgba(106,53,255,0.15);
  border: 1px solid rgba(106,53,255,0.35);
  color: #c5a0ff;
  padding: 1px 7px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88em;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.feature-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--purple-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Pricing ─────────────────────────────────────────────────────────────────── */

.pricing {
  padding: 100px 24px;
}

.pricing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pricing-sub {
  color: var(--text-muted);
  font-size: 18px;
  margin-top: 12px;
  margin-bottom: 60px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

.pricing-cards-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(106,53,255,0.5);
  background: linear-gradient(160deg, rgba(106,53,255,0.12) 0%, var(--bg-card) 60%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-price span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  opacity: 0.5;
}

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

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

.btn-primary {
  display: block;
  text-align: center;
  background: var(--purple);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--text-muted);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

/* ─── Contact ────────────────────────────────────────────────────────────────── */

.contact-section {
  padding: 100px 24px;
  background: var(--bg-alt);
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-field input,
.contact-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(106, 53, 255, 0.6);
}

.contact-btn {
  align-self: flex-start;
}

@media (max-width: 600px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

/* ─── Privacy ─────────────────────────────────────────────────────────────────── */

.privacy-section {
  padding: 100px 24px;
  text-align: center;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(106,53,255,0.15) 0%, transparent 70%),
              var(--bg-alt);
}

.privacy-inner {
  max-width: 640px;
  margin: 0 auto;
}

.privacy-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.privacy-section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.privacy-section p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-pills span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────────── */

.faq-section {
  padding: 100px 24px;
  background: var(--bg);
}

.faq-inner {
  max-width: 720px;
  margin: 0 auto;
}

.faq-inner .section-label,
.faq-inner .section-title {
  text-align: center;
}

.faq-inner .section-title {
  margin-bottom: 56px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: rgba(106, 53, 255, 0.4);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(106, 53, 255, 0.15);
  color: var(--purple-light);
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
  background: rgba(106, 53, 255, 0.3);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: 16px;
}

/* ─── CTA ─────────────────────────────────────────────────────────────────────── */

.cta-section {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg);
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.cta-section .store-buttons {
  justify-content: center;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */

footer {
  background: #040409;
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

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

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

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

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

/* ─── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-phone {
    display: flex;
    justify-content: center;
  }

  .subtitle {
    margin: 0 auto 40px;
  }

  .store-note {
    text-align: center;
  }

  .feature-row-inner,
  .feature-row-inner-rev {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .feature-row-inner-rev .feature-text {
    order: 2;
  }

  .feature-row-inner-rev .feature-phone {
    order: 1;
  }

  .feature-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-bullets {
    align-items: center;
  }

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

  .pricing-cards-3 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 20px 80px;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 200px;
    justify-content: center;
  }

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

  .footer-links {
    justify-content: center;
  }
}
