/* ── Theme Variables (from app) ──────────────────────────── */
:root {
  --bg: #0b1929;
  --surface: #112240;
  --surface-2: #1a3050;
  --surface-hover: #1e3a60;
  --border: #1e3a5f;
  --gold: #c9a84c;
  --gold-light: #e5c76b;
  --gold-dim: rgba(201, 168, 76, 0.1);
  --gold-border: rgba(201, 168, 76, 0.25);
  --text: #e8e4d8;
  --text-muted: #7a8fa0;
  --text-dim: #3d5270;
  --success: #2ecc71;
  --danger: #e74c3c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  --bg: #e4e8ee;
  --surface: #eef1f6;
  --surface-2: #dfe3eb;
  --surface-hover: #d4d9e3;
  --border: #c2c8d4;
  --gold: #8e6f24;
  --gold-light: #a6832a;
  --gold-dim: rgba(142, 111, 36, 0.08);
  --gold-border: rgba(142, 111, 36, 0.2);
  --text: #1a2538;
  --text-muted: #4d5d73;
  --text-dim: #8895a7;
  --success: #1d9e52;
  --danger: #d43a2b;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

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

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #0b1929;
}
.btn-primary:hover {
  background: var(--gold-light);
  color: #0b1929;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold-border);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 25, 41, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .nav {
  background: rgba(228, 232, 238, 0.85);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-wordmark {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--gold);
}

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

.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transition: all 0.18s;
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold-border);
}
.theme-toggle svg { width: 16px; height: 16px; }

[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-sun,
[data-theme="light"] .icon-moon { display: block; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  background: radial-gradient(ellipse at 40% 40%, var(--surface) 0%, var(--bg) 65%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mockup-body {
  padding: 24px 18px;
}

.mockup-scan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--gold);
}

.mockup-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--success);
}

.mockup-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-line {
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
}
.w40 { width: 40%; }
.w60 { width: 60%; }
.w80 { width: 80%; }

/* ── Sections ───────────────────────────────────────────── */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ── Comparison ─────────────────────────────────────────── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.comparison-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.comparison-before {
  background: var(--bg);
}
.comparison-before h3 {
  color: var(--danger);
}

.comparison-after {
  background: var(--bg);
  border-color: var(--gold-border);
}
.comparison-after h3 {
  color: var(--success);
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.comparison-card li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

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

.feature-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.feature-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

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

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Steps ──────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #0b1929;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon {
  color: var(--gold);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 80px;
}

/* ── Focus ──────────────────────────────────────────────── */
.focus-block {
  text-align: center;
}

.focus-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.focus-item svg {
  flex-shrink: 0;
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing-wrapper {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--bg);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 8px 0;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.pricing-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.pricing-unit {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-iva {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pricing-annual {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-annual strong {
  color: var(--text);
}

.pricing-annual-badge {
  display: inline-block;
  background: var(--gold);
  color: #0b1929;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 8px;
  vertical-align: middle;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li svg {
  flex-shrink: 0;
}

.pricing-minimum {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.pricing-examples {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 28px;
}

.pricing-examples h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-example-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.pricing-example {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-example-size {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pricing-example-cost {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

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

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
  color: var(--gold);
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.contact-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.contact-card div {
  display: flex;
  flex-direction: column;
}

.contact-card strong {
  font-size: 1rem;
  font-weight: 700;
}

.contact-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-wa { color: #25d366; }
.contact-wa:hover { color: #25d366; }
.contact-wa strong { color: var(--text); }

.contact-email svg { color: var(--gold); }

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-wordmark {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  [data-theme="light"] .nav-links {
    background: var(--bg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-mockup {
    max-width: 300px;
  }

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

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

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

  .step-arrow {
    padding-top: 0;
    transform: rotate(90deg);
  }

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-number {
    font-size: 3rem;
  }

  .pricing-example-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

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

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

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
