/* ============================================================
   CROL ERP — Corporate site styles
   Built on colors_and_type.css tokens
   ============================================================ */

/* WhatsApp sales floating CTA */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 10px 28px -8px rgba(18,140,126,0.5), 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.wa-float:focus { outline: none; }
.wa-float:focus-visible { box-shadow: 0 10px 28px -8px rgba(18,140,126,0.5), 0 3px 8px rgba(0,0,0,0.15), 0 0 0 3px rgba(37,211,102,0.35); }
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -8px rgba(18,140,126,0.7), 0 4px 12px rgba(0,0,0,0.2);
}
.wa-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.45);
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.85); opacity: 0; }
}
.wa-float-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
}

#form, #Planes, #testimonios, #addons { scroll-margin-top: 90px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

section { padding: 60px 0; }
@media (min-width: 768px) { section { padding: 60px 0; } }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--accent);
}
.eyebrow.on-dark { color: var(--accent); }
.eyebrow.on-dark::before { background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--fg-on-accent);
  box-shadow: 0 8px 24px rgba(0, 225, 0, 0.28);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 225, 0, 0.34);
}
.btn-primary:active { transform: translateY(1px); background: var(--accent-press); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--fg); background: var(--bg-muted); }

.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-dark:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 38, 36, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.nav-logo { height: 42px; width: auto; }
.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
  list-style: none; margin: 0; padding: 0;
  flex: 1;
  justify-content: center;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: all var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--accent); background: rgba(255,255,255,0.05); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-login {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--dur-fast);
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 640px) { .nav-login { display: inline-flex; } }
.nav-login svg { color: #fff; }
.nav-login:hover { color: var(--accent); }
.nav-login:hover svg { color: var(--accent); }

.nav-help {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color var(--dur-fast), background var(--dur-fast);
  display: none;
  align-items: center;
  gap: 8px;
}
@media (min-width: 880px) { .nav-help { display: inline-flex; } }
.nav-help svg { color: rgba(255,255,255,0.78); }
.nav-help:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-help:hover svg { color: var(--accent); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0;
  background: var(--crol-timeless-green);
  z-index: 49;
  padding: 32px 24px;
  overflow-y: auto;
  animation: slideDown 300ms var(--ease-out);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
.mobile-menu a:hover { color: var(--accent); }

/* New mobile menu — portaled into <body> */
.mm-overlay {
  position: fixed;
  inset: 0;
  background: var(--crol-timeless-green);
  z-index: 9999;
  padding: 0 20px 24px;
  overflow-y: auto;
  animation: mmFadeIn 200ms var(--ease-out);
  box-sizing: border-box;
}
.mm-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  margin-bottom: 8px;
}
.mm-logo { height: 36px; width: auto; display: block; }
.mm-close {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.mm-close:hover { background: rgba(255,255,255,0.08); }
.mm-nav { margin-top: 8px; }
.mm-nav ul { list-style: none; margin: 0; padding: 0; }
.mm-nav li { border-bottom: 1px solid rgba(255,255,255,0.10); }
.mm-nav a {
  display: block;
  padding: 14px 2px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.mm-nav a:hover { color: var(--accent); }
@keyframes mmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--crol-timeless-green);
  color: #fff;
  padding: 60px 0;
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 60px 0; } }

.hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(0,225,0,0.18), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 96px; } }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 225, 0, 0.12);
  border: 1px solid rgba(0, 225, 0, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tagline .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.hero h1 .accent { color: var(--accent); display: block; }
.hero h1 .small {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.hero-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 0 36px;
}
.hero-lede strong { color: #fff; font-weight: 700; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; align-items: center; }

.hero-youtube {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  transition: all var(--dur-base) var(--ease-out);
  margin-left: 4px;
}
.hero-youtube:hover { background: rgba(255,255,255,0.06); }
.hero-youtube .yt-play {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #FF0033;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
  box-shadow: 0 4px 14px rgba(255,0,51,0.35);
  flex-shrink: 0;
  padding-left: 2px;
}
.hero-youtube:hover .yt-play { transform: scale(1.08); box-shadow: 0 8px 20px rgba(255,0,51,0.5); }
.hero-youtube .yt-text { display: flex; flex-direction: column; line-height: 1.1; }
.hero-youtube .yt-label { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-youtube .yt-sub { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

body[data-hero="light"] .hero-youtube { color: var(--fg); }
body[data-hero="light"] .hero-youtube .yt-sub { color: var(--fg-3); }
body[data-hero="lime"] .hero-youtube { color: var(--crol-timeless-green); }
body[data-hero="lime"] .hero-youtube .yt-sub { color: rgba(19,38,36,0.7); }

.hero-badges {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 20px 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.badge-microsoft { height: 44px; opacity: 0.9; }
.store-badge { height: 44px; transition: transform var(--dur-base); }
.store-badge:hover { transform: translateY(-2px); }

/* Hero visual (dashboard mockup) */
.hero-visual {
  position: relative;
  perspective: 1400px;
}
@media (min-width: 1024px) {
  .hero-visual { margin-top: -40px; }
}
.hero-screen {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5),
              0 0 0 1px rgba(255,255,255,0.1);
  overflow: hidden;
  transform: rotate3d(1, -0.3, 0, 8deg) rotate(-1deg);
  transition: transform 600ms var(--ease-out);
}
.hero-screen:hover { transform: rotate3d(1, -0.3, 0, 4deg) rotate(0deg); }
.hero-screen-img { display: block; width: 100%; height: auto; }

.hero-screen .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  background: #F2F5F5;
  border-bottom: 1px solid #E2E8E7;
}
.hero-screen .bar span { width: 10px; height: 10px; border-radius: 50%; background: #D8DEDE; }
.hero-screen .bar span:first-child { background: #FF5F57; }
.hero-screen .bar span:nth-child(2) { background: #FEBC2E; }
.hero-screen .bar span:nth-child(3) { background: #28C840; }
.hero-screen .body { padding: 20px; color: #132624; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stat-card {
  background: #F7F9F9;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #EEF2F1;
}
.stat-card .label { font-size: 10px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.stat-card .value { font-size: 20px; font-weight: 800; color: var(--fg); margin-top: 4px; letter-spacing: -0.01em; }
.stat-card .delta { font-size: 10px; color: var(--success); font-weight: 700; margin-top: 2px; }
.stat-card .delta.down { color: var(--danger); }

.chart { height: 130px; background: #fff; border: 1px solid #EEF2F1; border-radius: 10px; padding: 12px; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.chart-header .title { font-size: 12px; font-weight: 700; color: var(--fg); }
.chart-header .pill { font-size: 9px; font-weight: 700; color: var(--success); background: #E6FFE6; padding: 3px 8px; border-radius: 999px; }
.chart-svg { width: 100%; height: 72px; }

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  animation: float 6s ease-in-out infinite;
}
.floating-card::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating-card .icon-box {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--crol-timeless-green);
  flex-shrink: 0;
}
.floating-card .text .title { font-size: 13px; font-weight: 800; color: var(--fg); }
.floating-card .text .sub { font-size: 11px; color: var(--fg-3); }
/* card-1: bottom-left of dashboard, tail points right (toward screen) */
.floating-card.card-1 { bottom: 120px; left: -28px; animation-delay: 0s; }
.floating-card.card-1::after {
  right: -10px;
  bottom: 18px;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(2px 0 1px rgba(0,0,0,0.06));
}
/* card-2: top-right of dashboard, tail points left (toward screen) */
.floating-card.card-2 { top: 28px; right: -32px; animation-delay: 2s; }
.floating-card.card-2::after {
  left: -10px;
  top: 18px;
  border-width: 8px 12px 8px 0;
  border-color: transparent #fff transparent transparent;
  filter: drop-shadow(-2px 0 1px rgba(0,0,0,0.06));
}

/* ---------- Features Add-ons CTA ---------- */
.features-addons-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--crol-dark);
  color: rgba(255,255,255,0.55);
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid #1A2E2B;
}
.marquee-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .dot { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Steps (Por qué elegir) ---------- */
.steps-section { background: #F7F9F9; }
.section-head { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 20px;
  text-wrap: balance;
}
.section-head p {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
}

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

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base);
  position: relative;
  overflow: hidden;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--crol-timeless-green);
  color: var(--accent);
  font-weight: 900;
  font-size: 20px;
  border-radius: 14px;
  margin-bottom: 24px;
  font-family: var(--font-display);
}
.step-card h3 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 12px;
}
.step-card p {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.6;
  margin: 0;
}
.step-card .step-icon {
  position: absolute;
  top: 28px; right: 28px;
  color: var(--border-strong);
}

/* ---------- Features (Funcionalidades) ---------- */
.features-section {
  background: var(--crol-timeless-green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.features-section::before {
  content: "";
  position: absolute;
  top: 50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,225,0,0.1), transparent 70%);
  transform: translateY(-50%);
}
.features-section .section-head h2 { color: #fff; }
.features-section .section-head p { color: rgba(255,255,255,0.75); }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all var(--dur-base) var(--ease-out);
  position: relative;
}
.feature-card:hover {
  background: rgba(0,225,0,0.06);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--crol-timeless-green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ---------- About ---------- */
.about-section { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.about-logo { max-width: 320px; margin-bottom: 28px; }
.about-copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 20px;
  text-wrap: balance;
}
.about-copy p { font-size: 16px; color: var(--fg-2); line-height: 1.65; margin: 0 0 16px; }
.about-copy p strong { color: var(--fg); font-weight: 700; }

.awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.award {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: all var(--dur-base);
}
.award:hover { border-color: var(--accent); background: #fff; box-shadow: var(--shadow-sm); }
.award-year {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.award h4 { font-size: 15px; font-weight: 800; margin: 0 0 6px; color: var(--fg); }
.award p { font-size: 13px; color: var(--fg-2); line-height: 1.5; margin: 0; }
.award a { color: var(--accent); font-size: 12px; font-weight: 700; text-decoration: none; margin-top: 8px; display: inline-block; }
.award a:hover { text-decoration: underline; }

/* ---------- Pricing ---------- */
.pricing-section { background: #F7F9F9; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  transition: all var(--dur-base);
  display: flex; flex-direction: column;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-card.featured {
  background: var(--crol-timeless-green);
  color: #fff;
  border-color: var(--crol-timeless-green);
  box-shadow: 0 20px 50px -15px rgba(19,38,36,0.3);
}
.plan-card.featured:hover { box-shadow: 0 24px 60px -15px rgba(19,38,36,0.4); }

.plan-badge {
  position: absolute;
  top: -12px; right: 28px;
  background: var(--accent);
  color: var(--crol-timeless-green);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.plan-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.plan-desc { font-size: 14.5px; line-height: 1.6; margin: 0 0 32px; color: var(--fg-2); }
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.75); }
.plan-desc strong { color: var(--fg); font-weight: 700; }
.plan-card.featured .plan-desc strong { color: #fff; }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.plan-price .currency { font-size: 24px; font-weight: 600; color: var(--fg-2); }
.plan-card.featured .plan-price .currency { color: rgba(255,255,255,0.6); }
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 900;
  letter-spacing: -0.03em; line-height: 1;
}
.plan-price .period { font-size: 14px; color: var(--fg-2); font-weight: 600; }
.plan-card.featured .plan-price .period { color: rgba(255,255,255,0.6); }

.plan-features {
  list-style: none; margin: 32px 0; padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  flex: 1;
}
.plan-card.featured .plan-features { border-top-color: rgba(255,255,255,0.12); }
.plan-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--fg);
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.9); }
.plan-features li svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.plan-note {
  font-size: 13px; color: var(--fg-3);
  line-height: 1.55; margin-top: 20px;
}
.plan-card.featured .plan-note { color: rgba(255,255,255,0.55); }

.plan-card .btn { width: 100%; margin-top: 8px; }
.plan-card.featured .btn-primary { color: var(--crol-timeless-green); }

.pricing-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Onboarding (Puesta en Marcha) ---------- */
.onboarding-section {
  background: var(--crol-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.onboarding-section::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,225,0,0.08), transparent 60%);
}
.onboarding-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) { .onboarding-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

.onboarding-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
  text-transform: uppercase;
}
.onboarding-head p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0 0 32px;
}
.onboarding-price {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
}

/* PEM visual badge */
.pem-visual {
  position: relative;
  margin: 28px 0 24px;
  height: 200px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 40%, rgba(0,225,0,0.18), transparent 55%),
    linear-gradient(135deg, rgba(0,225,0,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(0,225,0,0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pem-badge {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px 32px;
  background: var(--crol-neon-lime);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,225,0,0.35);
}
.pem-letters {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pem-sub {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
}
.pem-orbits {
  position: absolute;
  inset: 0;
}
.pem-orbits::before, .pem-orbits::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed rgba(0,225,0,0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pem-orbits::before { width: 260px; height: 260px; animation: orbitRot 24s linear infinite; }
.pem-orbits::after { width: 380px; height: 380px; animation: orbitRot 40s linear infinite reverse; border-color: rgba(0,225,0,0.14); }
@keyframes orbitRot {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.pem-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--crol-neon-lime);
  box-shadow: 0 0 12px var(--crol-neon-lime);
}
.pem-dot.d1 { top: 20%; left: 15%; animation: pulse 2.5s ease-in-out infinite; }
.pem-dot.d2 { top: 30%; right: 18%; animation: pulse 3s ease-in-out infinite 0.5s; }
.pem-dot.d3 { bottom: 22%; left: 22%; animation: pulse 2.8s ease-in-out infinite 1s; }
.pem-dot.d4 { bottom: 18%; right: 15%; animation: pulse 3.2s ease-in-out infinite 1.5s; }
.pem-dot.d5 { top: 50%; left: 8%; animation: pulse 2.6s ease-in-out infinite 0.8s; width:6px; height:6px; }
.pem-dot.d6 { top: 55%; right: 8%; animation: pulse 3.4s ease-in-out infinite 1.2s; width:6px; height:6px; }
.onboarding-price .label { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.onboarding-price .amount {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 900;
  letter-spacing: -0.03em; line-height: 1; color: #fff;
}
.onboarding-price .sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }

.onboarding-cards { display: grid; gap: 16px; }
.ob-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all var(--dur-base);
}
.ob-card:hover { border-color: var(--accent); background: rgba(0,225,0,0.04); }
.ob-card .ob-num {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 900;
  color: var(--accent); letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.ob-card h4 {
  font-size: 17px; font-weight: 800;
  color: #fff; margin: 0 0 8px;
}
.ob-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55; margin: 0;
}

/* ---------- Addons ---------- */
.addons-section { background: #fff; }
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .addons-grid { grid-template-columns: repeat(4, 1fr); } }

.addon-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all var(--dur-base);
  display: flex; flex-direction: column;
}
.addon-card:hover {
  background: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.addon-ext-logo { height: 44px; width: auto; margin-bottom: 20px; align-self: flex-start; }
.addon-card h3 {
  font-size: 18px; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--fg); margin: 0 0 4px;
}
.addon-card .addon-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 12px 0;
}
.addon-card .addon-price .main {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 900;
  color: var(--fg);
}
.addon-card .addon-price .strike {
  font-size: 14px;
  color: var(--fg-3);
  text-decoration: line-through;
  font-weight: 600;
}
.addon-card .addon-price .unit {
  font-size: 11px; color: var(--fg-3); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.addon-card .incl-tag {
  display: inline-block;
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--success);
  background: var(--green-50);
  padding: 5px 10px; border-radius: 999px;
  margin: 12px 0;
  align-self: flex-start;
}
.addon-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55; margin: 0;
  flex: 1;
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: #F7F9F9; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: all var(--dur-base);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.testi-quote-mark {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.5;
  margin-bottom: 8px;
  font-weight: 900;
}
.testi-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 24px;
  flex: 1;
}
.testi-person {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-muted);
}
.testi-name { font-size: 15px; font-weight: 800; color: var(--fg); }
.testi-company { font-size: 13px; color: var(--fg-2); }

.testi-metric {
  display: flex; align-items: baseline; gap: 12px;
  padding: 20px;
  background: var(--crol-timeless-green);
  border-radius: 14px;
  margin-bottom: 16px;
}
.testi-metric .big {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 900;
  color: var(--accent); line-height: 1;
}
.testi-metric .desc { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.35; }

.testi-link {
  color: var(--fg);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  align-self: flex-start;
}
.testi-link:hover { color: var(--accent-press); }

/* ---------- CTA + Form ---------- */
.cta-section {
  background: var(--crol-timeless-green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,225,0,0.12), transparent 60%);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.cta-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
  text-transform: uppercase;
}
.cta-head h2 .accent { color: var(--accent); }
.cta-head p { font-size: 17px; color: rgba(255,255,255,0.75); line-height: 1.6; margin: 0 0 24px; }
.cta-head .contact-line { color: #fff; font-weight: 700; font-size: 15px; }
.cta-head .contact-line a { color: var(--accent); border-bottom: 2px solid transparent; transition: border-color var(--dur-base); }
.cta-head .contact-line a:hover { border-bottom-color: var(--accent); }

.cta-form {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  color: var(--fg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { .cta-form { padding: 40px; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.form-field input {
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--fg);
  transition: all var(--dur-fast);
}
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.form-field input:invalid:not(:placeholder-shown) { border-color: var(--danger); }

.form-privacy { font-size: 12px; color: var(--fg-3); margin-top: 16px; line-height: 1.5; }
.form-privacy a { color: var(--fg); border-bottom: 1.5px solid var(--accent); }

/* ---------- Footer ---------- */
.footer {
  background: var(--crol-timeless-green);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

.footer-logo { height: 42px; width: auto; margin-bottom: 20px; }
.footer-about { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); margin: 0 0 20px; max-width: 320px; }
.footer-address { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.6); font-style: normal; }
.footer-address a { color: rgba(255,255,255,0.6); transition: color var(--dur-fast); }
.footer-address a:hover { color: var(--accent); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all var(--dur-base);
}
.footer-social a:hover { background: var(--accent); color: var(--crol-timeless-green); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.25);
  padding: 16px;
  z-index: 100;
  font-size: 13px;
  color: var(--fg);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.tweak-row { margin-bottom: 14px; }
.tweak-row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.tweak-row .seg { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.tweak-row .seg button {
  flex: 1;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 0;
  color: var(--fg-2);
}
.tweak-row .seg button.on { background: var(--crol-timeless-green); color: var(--accent); }

/* ---------- Hero theme variants ---------- */
body[data-hero="light"] .hero {
  background: #fff;
  color: var(--fg);
}
body[data-hero="light"] .hero h1 { color: var(--fg); }
body[data-hero="light"] .hero h1 .accent { color: var(--accent-press); }
body[data-hero="light"] .hero h1 .small { color: var(--fg-3); }
body[data-hero="light"] .hero-lede { color: var(--fg-2); }
body[data-hero="light"] .hero-lede strong { color: var(--fg); }
body[data-hero="light"] .hero-badges { border-top-color: var(--border); }
body[data-hero="light"] .hero-tagline {
  background: rgba(0,225,0,0.1);
  border-color: rgba(0,225,0,0.3);
  color: var(--accent-press);
}

body[data-hero="lime"] .hero {
  background: var(--crol-neon-lime);
  color: var(--crol-timeless-green);
}
body[data-hero="lime"] .hero::before { display: none; }
body[data-hero="lime"] .hero h1 { color: var(--crol-timeless-green); }
body[data-hero="lime"] .hero h1 .accent { color: var(--crol-timeless-green); border-bottom: 4px solid var(--crol-timeless-green); display: inline-block; }
body[data-hero="lime"] .hero h1 .small { color: rgba(19,38,36,0.7); }
body[data-hero="lime"] .hero-lede { color: rgba(19,38,36,0.9); }
body[data-hero="lime"] .hero-lede strong { color: var(--crol-timeless-green); }
body[data-hero="lime"] .hero-tagline {
  background: var(--crol-timeless-green);
  border-color: var(--crol-timeless-green);
  color: var(--accent);
}
body[data-hero="lime"] .hero .btn-primary {
  background: var(--crol-timeless-green);
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(19,38,36,0.3);
}
body[data-hero="lime"] .hero-badges { border-top-color: rgba(19,38,36,0.15); }


/* ============================================================
   Mobile responsive fixes (≤640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Nav: tighten spacing, hide login button (kept in mobile menu) */
  .nav-inner { gap: 12px; height: 72px; }
  .nav-logo { height: 36px; }
  .nav-right { gap: 8px; }
  .nav-right .btn-sm { display: none; }
  .container { padding: 0 20px; }

  /* Buttons: allow wrapping on small screens so long labels don't overflow */
  .btn {
    white-space: normal;
    text-align: center;
    padding: 14px 22px;
    font-size: 13px;
    line-height: 1.25;
    max-width: 100%;
  }
  .btn-sm { padding: 10px 16px; font-size: 11px; }

  /* CTA Add-ons: keep button inside container */
  .features-addons-cta { padding: 0 4px; text-align: center; }
  .features-addons-cta .btn { width: 100%; max-width: 360px; }

  /* Hero: scale down heading and reorder visual between lede and CTAs */
  .hero h1 { font-size: clamp(30px, 9.5vw, 48px); letter-spacing: -0.025em; }
  .hero h1 .small { font-size: 12px; letter-spacing: 0.22em; }
  .mobile-menu { top: 0; }
  .hero-grid > div:first-child { display: contents; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-grid .hero-tagline { order: 1; align-self: flex-start; margin-left: 0; }
  .hero-grid h1 { order: 2; text-align: left; }
  .hero-grid h1 .small { text-align: left; }
  .hero-grid .hero-lede { order: 3; text-align: left; }
  .hero-visual { order: 4; margin: 8px 0 24px; }
  .hero-grid .hero-ctas { order: 5; }
  .hero-grid .hero-badges { order: 6; }

  /* Hero CTAs full width on mobile */
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { gap: 10px; justify-content: center; }
  .hero-ctas .hero-youtube { margin: 4px auto 0; }

  /* All other CTA groups: center buttons on mobile */
  .ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .ctas .btn { width: 100%; }

  /* Standalone CTA buttons */
  .story-cta .btn,
  .pcta-section .btn,
  .pfinal-section .btn { display: inline-flex; }

  /* Section padding tighter */
  section { padding: 48px 0; }
  .hero { padding: 40px 0 56px; }

  /* Reduce big headings */
  .section-head { margin-bottom: 40px; }

  /* Avoid horizontal overflow */
  body { overflow-x: hidden; }
  img, svg { max-width: 100%; height: auto; }
}

/* Extra-small phones */
@media (max-width: 380px) {
  .nav-help, .nav-login { display: none !important; }
  .nav-inner { gap: 8px; }
  .container { padding: 0 16px; }
}

/* Form + CTA: collapse grid + prevent input overflow on mobile */
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-field { min-width: 0; }
  .form-field input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .cta-form { padding: 24px; border-radius: 20px; }
  .cta-section { padding: 48px 0; }
  .cta-head h2 {
    font-size: clamp(22px, 7vw, 30px);
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .cta-head .contact-line { font-size: 14px; line-height: 1.55; }
  .cta-head .contact-line a { word-break: break-all; }
  .cta-form .btn { width: 100%; }
}

/* ---------- Nav label: hide text on tight viewports, keep icons ---------- */
@media (max-width: 1180px) {
  .nav-help .nav-label,
  .nav-login .nav-label { display: none; }
  .nav-help, .nav-login { padding: 8px; gap: 0; }
}

/* ---------- Hero visual footer (Microsoft Partner badge) ---------- */
.hero-visual-footer {
  margin-top: 32px;
  display: flex; justify-content: flex-end; align-items: center;
}
.hero-visual-footer .badge-microsoft {
  height: 73px;
  width: auto;
  opacity: 0.95;
}
@media (max-width: 1023px) {
  .hero-visual-footer { justify-content: center; margin-top: 20px; }
}

/* ---------- Addon export icon + title ---------- */
.addon-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-500);
  margin-bottom: 16px;
}
.addon-export-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 8px;
}
.addon-export-head .addon-icon-wrap { margin-bottom: 0; flex-shrink: 0; }
.addon-export-head .addon-title { margin: 0; }
.addon-title {
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--fg); margin: 0 0 4px;
  font-family: var(--font-display);
}

/* ---------- Crol API section ---------- */
.api-section {
  background: var(--crol-timeless-green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.api-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,225,0,0.10), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(0,225,0,0.08), transparent 50%);
  pointer-events: none;
}
.api-section .container { position: relative; z-index: 1; }
.api-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 960px) { .api-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.api-copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  text-wrap: balance;
}
.api-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 32px;
}
.api-lede strong { color: #fff; font-weight: 700; }
.api-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 768px) {
  .api-ctas { justify-content: center; }
}

.api-terminal {
  background: #0B1A18;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.api-term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.api-term-bar .dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.api-term-bar .dot.r { background: #FF5F57; }
.api-term-bar .dot.y { background: #FEBC2E; }
.api-term-bar .dot.g { background: #28C840; }
.api-term-title {
  margin-left: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.api-term-body {
  margin: 0;
  padding: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #E6EDEC;
  overflow-x: auto;
  white-space: pre;
}
.api-term-body .tk-c { color: #6B8B86; font-style: italic; }
.api-term-body .tk-k { color: var(--accent); font-weight: 700; }
.api-term-body .tk-s { color: #FFD580; }
.api-term-body .tk-p { color: #8AD4FF; }
.api-term-body .tk-n { color: var(--accent); }

.api-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
@media (min-width: 640px) { .api-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .api-benefits { grid-template-columns: repeat(4, 1fr); } }
.api-benefit {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
  transition: all var(--dur-base);
}
.api-benefit:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,225,0,0.4);
  transform: translateY(-3px);
}
.api-benefit-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,225,0,0.15);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.api-benefit h3 {
  font-size: 16px; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: #fff;
}
.api-benefit p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.api-modules {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
}
@media (min-width: 768px) { .api-modules { padding: 40px 48px; } }
.api-modules-head { margin-bottom: 24px; }
.api-modules-label {
  display: inline-block;
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.api-modules-head h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}
.api-modules-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.api-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.api-chip svg { color: var(--accent); }

#api { scroll-margin-top: 90px; }

/* ==========================================================
   MOBILE APP SECTION
   ========================================================== */
.mobile-app-section {
  position: relative;
  padding: 60px 0;
  background: var(--ink-700);
  color: #fff;
  overflow: hidden;
}
.mobile-app-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(0,225,0,0.08), transparent 60%);
  pointer-events: none;
}
.mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.mobile-app-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin: 16px 0 20px;
}
.mobile-app-lede {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  max-width: 520px;
}
.mobile-app-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 12px;
}
.mobile-app-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
.mobile-app-features svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
}
.mobile-app-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .mobile-app-ctas { justify-content: center; }
}
.mobile-app-outro {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  max-width: 520px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  background: #fff;
  color: var(--ink-700);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.store-badge-text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.store-badge-text small {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-400);
  text-transform: uppercase;
}
.store-badge-text strong {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink-700);
}

/* ----- visual: 3 screenshots in fan layout ----- */
.mobile-app-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 580px;
  position: relative;
}
.mobile-screens {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-screen-img {
  position: absolute;
  height: 520px;
  width: auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
  transition: transform 0.5s var(--ease-out);
}
.mobile-screen-pos-1 {
  z-index: 4;
  transform: translate(0, 0);
}
.mobile-screen-pos-2 {
  z-index: 3;
  transform: translate(-180px, 24px) rotate(-9deg);
}
.mobile-screen-pos-3 {
  z-index: 3;
  transform: translate(180px, 24px) rotate(9deg);
}

@media (max-width: 1100px) {
  .mobile-screen-img { height: 460px; }
  .mobile-screen-pos-2 { transform: translate(-150px, 22px) rotate(-9deg); }
  .mobile-screen-pos-3 { transform: translate(150px, 22px) rotate(9deg); }
}
@media (max-width: 960px) {
  .mobile-app-section { padding: 60px 0; }
  .mobile-app-grid { grid-template-columns: 1fr; gap: 40px; display: flex; flex-direction: column; }
  .mobile-app-copy { display: contents; }
  .mobile-app-copy > .eyebrow { order: 1; }
  .mobile-app-copy > h2 { order: 2; }
  .mobile-app-copy > .mobile-app-lede { order: 3; }
  .mobile-app-features { order: 4; }
  .mobile-app-outro { order: 5; }
  .mobile-app-visual { order: 6; min-height: 540px; width: 100%; align-self: stretch; }
  .mobile-app-ctas { order: 7; }
  .mobile-screens { height: 520px; }
  .mobile-screen-img { height: 440px; }
  .mobile-screen-pos-2 { transform: translate(-130px, 20px) rotate(-9deg); }
  .mobile-screen-pos-3 { transform: translate(130px, 20px) rotate(9deg); }
}
@media (max-width: 560px) {
  .mobile-app-visual { min-height: 380px; overflow: hidden; }
  .mobile-screens { height: 360px; }
  .mobile-screen-img { height: 300px; }
  .mobile-screen-pos-2 { transform: translate(-72px, 12px) rotate(-9deg); }
  .mobile-screen-pos-3 { transform: translate(72px, 12px) rotate(9deg); }
}
@media (max-width: 400px) {
  .mobile-app-visual { min-height: 340px; }
  .mobile-screens { height: 320px; }
  .mobile-screen-img { height: 260px; }
  .mobile-screen-pos-2 { transform: translate(-58px, 10px) rotate(-9deg); }
  .mobile-screen-pos-3 { transform: translate(58px, 10px) rotate(9deg); }
}
