:root {
  --navy: #0B1B32;
  --navy-deep: #071222;
  --navy-soft: #13294B;
  --cobalt: #1447A6;
  --cobalt-bright: #2563EB;
  --gold: #C89B3C;
  --gold-light: #E5C068;
  --ink: #0F172A;
  --slate: #475569;
  --muted: #64748B;
  --border: #E2E8F0;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  --green: #0F766E;
  --green-soft: #CCFBF1;
  --red: #DC2626;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(11, 27, 50, 0.06);
  --shadow-md: 0 14px 36px rgba(11, 27, 50, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 18, 34, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 27, 50, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 192, 104, 0.22);
  transition: box-shadow 0.25s ease;
}
.navbar.scrolled { box-shadow: 0 10px 30px rgba(7, 18, 34, 0.35); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--white); }
.brand-name { font-weight: 800; font-size: 19px; line-height: 1.1; }
.brand-name span { color: var(--gold-light); }
.brand-sub { font-size: 11px; color: #94A3B8; display: block; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  color: #CBD5E1;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), #B88628);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(200, 155, 60, 0.32);
}
.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 12px; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 82% 18%, #1E40AF 0%, var(--navy) 52%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 76px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 192, 104, 0.12), transparent 70%);
  top: -180px;
  right: -120px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 192, 104, 0.14);
  border: 1px solid rgba(229, 192, 104, 0.45);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4.3vw, 49px);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1 span { color: var(--gold-light); }
.hero-lead {
  font-size: 17.5px;
  color: #CBD5E1;
  margin: 0 0 28px;
  max-width: 580px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-metric strong { display: block; font-size: 20px; color: var(--gold-light); }
.hero-metric span { font-size: 12.5px; color: #94A3B8; }

/* Interactive Preview Mockup */
.preview-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(229, 192, 104, 0.30);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #94A3B8;
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; background: rgba(255,255,255,0.22); }
.preview-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
}
.preview-tab {
  background: transparent;
  color: #94A3B8;
  border: 1px solid transparent;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.preview-tab.active {
  background: rgba(229, 192, 104, 0.16);
  color: var(--gold-light);
  border-color: rgba(229, 192, 104, 0.45);
}
.preview-body { padding: 20px; min-height: 285px; }
.preview-pane { display: none; animation: fadeIn 0.28s ease; }
.preview-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.mini-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-kpi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 11px 13px;
}
.mini-kpi span { font-size: 11.5px; color: #94A3B8; display: block; }
.mini-kpi strong { font-size: 18px; color: #fff; }
.mini-kpi strong.ok { color: #34D399; }
.mini-kpi strong.warn { color: #FBBF24; }
.mini-alert {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 12.5px;
  color: #FECACA;
}
.mini-list { display: flex; flex-direction: column; gap: 8px; }
.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.8px;
}

/* Trust Strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-item strong { display: block; font-size: 14px; color: var(--navy); }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* Sections */
.section { padding: 78px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 46px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--cobalt);
  margin-bottom: 8px;
}
.section-dark .eyebrow { color: var(--gold-light); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; line-height: 1.2; }
.section-head p { color: var(--slate); margin: 0; font-size: 16.5px; }
.section-dark .section-head p { color: #CBD5E1; }

/* Cards & Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 71, 166, 0.35);
}
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(20, 71, 166, 0.10);
  color: var(--cobalt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.feature-card p { margin: 0; font-size: 14.5px; color: var(--slate); }

/* Module Filter & Cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--slate);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mod-card.hidden { display: none; }
.mod-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.mod-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--cobalt);
  background: #EFF6FF;
  padding: 4px 10px;
  border-radius: 999px;
}
.mod-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.mod-card ul { padding-left: 18px; margin: 10px 0 14px; color: var(--slate); font-size: 14px; }
.mod-card li { margin-bottom: 5px; }
.mod-outcome {
  background: #F0FDFA;
  border-left: 3px solid var(--green);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #115E59;
  font-weight: 600;
}

/* Rubros / Industry Selector */
.rubro-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.rubro-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #E2E8F0;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.rubro-pill.active {
  background: linear-gradient(135deg, var(--gold-light), #B88628);
  color: var(--navy);
  border-color: transparent;
}
.rubro-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229, 192, 104, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.rubro-panel h3 { margin: 0 0 10px; font-size: 24px; color: var(--gold-light); }
.rubro-panel p { color: #CBD5E1; margin: 0 0 16px; }
.rubro-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rubro-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #fff;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: var(--navy); color: var(--white); font-weight: 700; }
.col-highlight { background: #EFF6FF; font-weight: 700; color: var(--navy); }
.yes { color: #059669; font-weight: 800; }
.no { color: var(--red); font-weight: 700; }

/* Pricing & Configurator */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--cobalt);
  box-shadow: var(--shadow-md);
}
.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--cobalt);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 { margin: 0 0 6px; font-size: 20px; color: var(--navy); }
.price-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.price-card ul { padding-left: 18px; margin: 14px 0 22px; font-size: 14px; color: var(--slate); }
.price-card li { margin-bottom: 7px; }

.builder-box {
  background: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.builder-checks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 16px 0 20px;
}
.mod-check {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: var(--surface);
}
.mod-check input { accent-color: var(--cobalt); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-a { display: none; padding: 0 20px 18px; color: var(--slate); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }

/* CTA Final & Footer */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #16376B 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 46px 38px;
  text-align: center;
  border: 1px solid rgba(229, 192, 104, 0.35);
  box-shadow: var(--shadow-lg);
}
.cta-box h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); }
.cta-box p { color: #CBD5E1; max-width: 640px; margin: 0 auto 26px; }

footer {
  background: var(--navy-deep);
  color: #94A3B8;
  padding: 42px 0 26px;
  font-size: 13.5px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--gold-light); }

/* Modal Demo */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 34, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 18px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--muted);
}
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--navy); }
.form-group input, .form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-grid, .rubro-panel, .pricing-grid, .grid-3, .mod-grid, .trust-grid { grid-template-columns: 1fr; }
  .builder-checks { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-toggle { display: inline-flex; }
}
