:root {
  --bg: #090b16;
  --bg-soft: #0d1020;
  --surface: #11142a;
  --surface-2: #161a35;
  --border: #242a4d;
  --heading: #f5f6fb;
  --text: #c7cbe0;
  --text-muted: #8b91b0;
  --accent: #6d5ef8;
  --accent-2: #4f46e5;
  --accent-soft: rgba(109, 94, 248, 0.14);
  --green: #4ade80;
  --amber: #fbbf24;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at 15% -10%, #1c1740 0%, var(--bg) 45%) fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(9, 11, 22, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}

@media (min-width: 860px) {
  .site-header .wrap {
    height: 68px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--heading);
  font-size: 1.05rem;
}

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

/* Mobile: main-nav becomes a dropdown panel toggled by the hamburger button */
.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 16px;
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6);
}

.main-nav.is-open {
  display: flex;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease;
}

.main-nav a:last-of-type {
  border-bottom: none;
}

.main-nav a:hover {
  color: var(--heading);
}

.nav-cta {
  margin-top: 10px;
  text-align: center;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--heading);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

.header-cta {
  display: none;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .main-nav a {
    padding: 0;
    border-bottom: none;
  }

  .nav-cta {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 12px 30px -10px rgba(109, 94, 248, 0.65);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px -10px rgba(109, 94, 248, 0.8);
}

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 40px 0 28px;
  text-align: center;
}

@media (min-width: 720px) {
  .hero {
    padding: 72px 0 40px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(109, 94, 248, 0.35);
  color: #b9b0ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--heading);
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .accent-text {
  background: linear-gradient(135deg, #a89bff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 48px;
}

@media (min-width: 640px) {
  .trust-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.hero-image {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 760 / 330;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 720px) {
  .hero-image {
    border-radius: var(--radius-lg);
    aspect-ratio: 1280 / 800;
  }
}

/* Sections */
section {
  padding: 52px 0;
}

@media (min-width: 720px) {
  section {
    padding: 88px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--heading);
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  color: var(--heading);
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card.is-pro {
  border-color: rgba(109, 94, 248, 0.5);
  background: linear-gradient(180deg, rgba(109, 94, 248, 0.08), var(--surface) 40%);
}

.feature-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.15rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-free {
  background: rgba(79, 70, 229, 0.16);
  color: #8fa0ff;
  border: 1px solid rgba(79, 70, 229, 0.35);
}

.badge-pro {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.feature-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text);
}

.feature-card li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke: var(--green);
}

/* Callout */
.callout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

@media (min-width: 780px) {
  .callout {
    flex-direction: row;
    align-items: center;
    padding: 40px;
  }
}

.callout-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.callout h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 1.15rem;
}

.callout p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Screenshot proof */
.proof {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .proof {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.proof-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 340px;
  margin: 0 auto;
}

.proof-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.proof-text h2 {
  color: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 16px;
  font-weight: 800;
}

.proof-text p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.proof-text ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.proof-text li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.proof-text li svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Privacy trust */
.privacy-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.privacy-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.privacy-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.privacy-item h4 {
  margin: 0 0 6px;
  color: var(--heading);
  font-size: 1rem;
}

.privacy-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card.is-pro {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(109, 94, 248, 0.1), var(--surface) 45%);
  position: relative;
}

.price-card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.2rem;
}

.price-card .price {
  color: var(--heading);
  font-size: 1.6rem;
  font-weight: 800;
}

.price-card .price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Pricing toggle */
.pricing-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.toggle-btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.save-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.18);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
}

.toggle-btn.is-active .save-chip {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Price display */
.price-display .price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.price-old {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(139, 145, 176, 0.6);
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-sub {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.price-card li svg {
  width: 17px;
  height: 17px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(109, 94, 248, 0.16), rgba(79, 70, 229, 0.1));
  border: 1px solid rgba(109, 94, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
}

.final-cta h2 {
  color: var(--heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.final-cta p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-bottom {
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* Legal page */
.legal {
  padding: 36px 0 56px;
}

@media (min-width: 720px) {
  .legal {
    padding: 56px 0 96px;
  }
}

.legal .wrap {
  max-width: 820px;
}

.legal h1 {
  color: var(--heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 8px;
  font-weight: 800;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}

.legal h2 {
  color: var(--heading);
  font-size: 1.25rem;
  margin: 40px 0 14px;
  font-weight: 700;
}

.legal p {
  color: var(--text);
  margin: 0 0 14px;
}

.legal ul {
  color: var(--text);
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

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

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: var(--radius-sm);
}

.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.88rem;
}

.legal th,
.legal td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.legal th {
  background: var(--surface-2);
  color: var(--heading);
}

.legal .note-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
}
