/* ====================================================
   SUMARCE Landing — Brand-aligned
   Palette: Navy #010048 · Green #03C03B
   Font: Inter
   ==================================================== */

:root {
  /* Navy scale */
  --navy-50: #EDEDF5;
  --navy-100: #C9C9E3;
  --navy-300: #5D5DAB;
  --navy-400: #2D2D78;
  --navy-500: #010048;
  --navy-600: #01003B;
  --navy-700: #01002D;
  --navy-900: #000014;

  /* Green scale */
  --brand-50: #E6F9EC;
  --brand-100: #C0F0CF;
  --brand-300: #4CD671;
  --brand-500: #03C03B;
  --brand-600: #02A032;
  --brand-700: #028028;

  /* Dark theme neutrals */
  --bg: #07071A;
  --surface: #0E0E26;
  --surface-2: #15152F;
  --surface-3: #1B1B3C;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #F8FAFC;
  --text-muted: #C7C7E0;
  --text-subtle: #8B8BB0;

  /* Effects */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ====================================================
   Buttons
==================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 6px 20px rgba(3, 192, 59, 0.32);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--brand-500);
  background: rgba(255, 255, 255, 0.1);
}
.btn-ghost {
  color: var(--text-muted);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--brand-300); }
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

/* ====================================================
   Nav
==================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(7, 7, 26, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.foot-grid .logo img {
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

/* ====================================================
   Hero
==================================================== */
.hero {
  position: relative;
  padding: 80px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(3, 192, 59, 0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(45, 45, 120, 0.30), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(3, 192, 59, 0.10);
  color: var(--brand-300);
  border: 1px solid rgba(3, 192, 59, 0.22);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(3, 192, 59, 0.18);
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 18px 0 18px;
  color: var(--text);
  font-weight: 700;
}
.hero h1 .accent { color: var(--brand-300); }
.hero p.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-subtle);
}
.hero-trust svg { color: var(--brand-500); }

/* Hero illustration: dashboard mock */
.hero-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  padding: 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
  border: 1px solid var(--border);
}
.hero-mock::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(3, 192, 59, 0.40), rgba(1, 0, 72, 0));
  z-index: -1;
  filter: blur(50px);
}
.mock-window {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}
.mock-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.mock-bar span:nth-child(1) { background: #FF5F57; }
.mock-bar span:nth-child(2) { background: #FEBC2E; }
.mock-bar span:nth-child(3) { background: #28C840; }
.mock-content { padding: 22px; }
.mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
}
.mock-row + .mock-row { border-top: 1px dashed var(--border); }
.mock-label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.mock-step {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  background: rgba(3, 192, 59, 0.12);
  color: var(--brand-300);
  border: 1px solid rgba(3, 192, 59, 0.28);
}
.mock-step.done { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.mock-step.pending { background: rgba(255, 255, 255, 0.04); color: var(--text-subtle); border-color: var(--border); }
.mock-pill {
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.mock-pill.success { background: rgba(3, 192, 59, 0.14); color: var(--brand-300); }
.mock-pill.warn { background: rgba(245, 158, 11, 0.14); color: #FBBF24; }
.mock-pill.muted { background: rgba(255, 255, 255, 0.06); color: var(--text-subtle); }
.mock-amount { font-weight: 600; color: var(--text); font-size: 13.5px; }

/* ====================================================
   Logos / Trust strip
==================================================== */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.trust-item { color: var(--text-subtle); }
.trust-item:hover { color: var(--text); }
.trust-text {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 22px;
  font-weight: 600;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.trust-item {
  color: #94A3B8;
  display: flex;
  align-items: center;
  height: 28px;
  filter: grayscale(100%);
  transition: color 0.18s ease, opacity 0.18s ease;
  opacity: 0.78;
}
.trust-item:hover { opacity: 1; color: var(--navy-500); }
.trust-item svg {
  height: 28px;
  width: auto;
  display: block;
}

@media (max-width: 620px) {
  .trust-row { gap: 32px; }
  .trust-item { height: 22px; }
  .trust-item svg { height: 22px; }
}

/* ====================================================
   Section wrappers
==================================================== */
section { padding: 88px 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 12px;
  font-weight: 700;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

/* ====================================================
   Problem · pain points
==================================================== */
.problem { background: var(--surface); }
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pain h3 {
  font-size: 17px;
  margin: 14px 0 6px;
  color: var(--text);
}
.pain p { color: var(--text-muted); font-size: 14.5px; margin: 0; }
.pain .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.14);
  color: #FCA5A5;
  display: grid; place-items: center;
}

/* ====================================================
   5 pasos · steps
==================================================== */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.steps-wrap::before {
  content: "";
  position: absolute;
  left: 32px; right: 32px;
  top: 33px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(3, 192, 59, 0.30) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: left;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 18px;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border-strong);
}
.step h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.step p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ====================================================
   Feature grid
==================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(3, 192, 59, 0.45);
}
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(3, 192, 59, 0.12);
  color: var(--brand-300);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--text);
}
.feature p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ====================================================
   Highlight band (IA + ahorro)
==================================================== */
.highlight {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 56px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.highlight::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(3, 192, 59, 0.32), transparent 60%);
  pointer-events: none;
}
.highlight h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 14px;
}
.highlight h2 .accent { color: var(--brand-300); }
.highlight p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 26px;
}
.highlight .eyebrow {
  margin-bottom: 18px;
  background: rgba(3, 192, 59, 0.16);
  color: var(--brand-300);
  border-color: rgba(3, 192, 59, 0.30);
}
.highlight .kpi {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(10px);
}
.kpi .num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--brand-300);
}
.kpi .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ====================================================
   Pricing
==================================================== */
.pricing { background: var(--surface); }
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.plan.featured {
  border-color: var(--brand-500);
  box-shadow: 0 30px 60px rgba(3, 192, 59, 0.18);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--brand-500);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(3, 192, 59, 0.32);
}
.plan h3 {
  font-size: 19px;
  margin: 0 0 4px;
  color: var(--text);
}
.plan .plan-sub {
  color: var(--text-subtle);
  font-size: 14px;
  margin: 0 0 20px;
}
.price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 24px;
}
.price .amount {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.price .period {
  color: var(--text-subtle);
  font-size: 14px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.plan ul li {
  font-size: 14.5px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan ul li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-500);
}
.plan .btn { width: 100%; justify-content: center; }
.plan-foot {
  font-size: 12.5px;
  color: var(--text-subtle);
  margin-top: 14px;
  text-align: center;
}

/* ====================================================
   FAQ
==================================================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color 0.18s ease;
}
.faq details[open] {
  border-color: var(--brand-500);
  background: var(--surface-3);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  color: var(--brand-300);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 0 18px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ====================================================
   Final CTA
==================================================== */
.cta-final {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 72px 32px;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% 100%, rgba(3, 192, 59, 0.30), transparent 60%);
  pointer-events: none;
}
.cta-final h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 12px;
}
.cta-final p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 28px;
  position: relative;
}
.cta-final .btn-primary { position: relative; }

/* ====================================================
   Footer
==================================================== */
footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--border);
  margin-top: 88px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}
.foot-grid h4 {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 14px;
  font-weight: 700;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a {
  color: var(--text-muted);
  font-size: 14px;
}
.foot-grid a:hover { color: var(--text); }
.foot-blurb { color: var(--text-muted); font-size: 14px; margin: 14px 0 0; max-width: 320px; }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

/* ====================================================
   Responsive
==================================================== */
@media (max-width: 980px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { transform: none; }
  .pains { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps-wrap { grid-template-columns: 1fr 1fr; }
  .steps-wrap::before { display: none; }
  .highlight { grid-template-columns: 1fr; padding: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  .pains { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .steps-wrap { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .nav-cta .btn-secondary { display: none; }
}
