@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;1,9..144,300;1,9..144,500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --green: #00C27A;
  --green-deep: #009E63;
  --green-light: #E8F7F1;
  --dark: #0B1A13;
  --dark-2: #122A1E;
  --dark-3: #1A3828;
  --white: #FFFFFF;
  --off: #F4F7F5;
  --gray: #8B9E95;
  --gray-light: #D4DDD8;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(11,26,19,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,194,122,0.1);
  transition: background 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 34px; height: 34px; background: var(--green); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--dark); font-weight: 700; }
.nav-logo-text { font-family: var(--sans); font-size: 17px; font-weight: 500; color: var(--white); letter-spacing: -0.3px; }
.nav-logo-text span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--gray); transition: color 0.2s; font-weight: 400; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--green); color: var(--dark); border: none; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--sans); transition: background 0.2s, transform 0.15s; text-decoration: none; }
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 3px; margin-left: 1rem; }
.lang-btn { background: transparent; border: none; color: var(--gray); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; cursor: pointer; font-family: var(--sans); transition: all 0.15s; letter-spacing: 0.04em; }
.lang-btn:hover { color: var(--white); }
.lang-btn.active { background: var(--green); color: var(--dark); }

/* ── SECTIONS ── */
section { padding: 120px 5%; }
.section-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 500; margin-bottom: 0.75rem; }
.section-h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-h2 em { font-style: italic; color: var(--green); }
.section-sub { font-size: 17px; color: var(--gray); max-width: 560px; line-height: 1.7; margin-bottom: 3rem; }

/* ── HERO ── */
#hero { min-height: 100vh; display: flex; align-items: center; padding-top: 68px; position: relative; overflow: hidden; }
.hero-bg-circle { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-bg-circle-1 { width: 700px; height: 700px; right: -200px; top: -150px; background: radial-gradient(circle, rgba(0,194,122,0.12) 0%, transparent 70%); }
.hero-bg-circle-2 { width: 400px; height: 400px; left: -100px; bottom: 0; background: radial-gradient(circle, rgba(0,194,122,0.06) 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,194,122,0.1); border: 1px solid rgba(0,194,122,0.25); border-radius: 999px; padding: 5px 14px; font-size: 12px; color: var(--green); font-weight: 500; letter-spacing: 0.04em; margin-bottom: 1.5rem; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.hero-h1 { font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-h1 em { font-style: italic; color: var(--green); }
.hero-sub { font-size: 18px; color: var(--gray); line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary { background: var(--green); color: var(--dark); border: none; padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: var(--sans); transition: background 0.2s, transform 0.15s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 400; cursor: pointer; font-family: var(--sans); transition: border-color 0.2s, background 0.2s; text-decoration: none; display: inline-block; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* WhatsApp mock */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.wapp-phone { background: #1C2B22; border: 1px solid rgba(0,194,122,0.2); border-radius: 24px; width: 320px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,194,122,0.05); position: relative; z-index: 2; }
.wapp-header { background: #0F1F18; padding: 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.wapp-avatar { width: 38px; height: 38px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--dark); flex-shrink: 0; }
.wapp-name { font-size: 14px; font-weight: 500; }
.wapp-status { font-size: 11px; color: var(--green); }
.wapp-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.bubble { border-radius: 12px; padding: 10px 14px; font-size: 13px; line-height: 1.5; max-width: 88%; animation: fadeUp 0.5s var(--ease) both; }
.bubble.recv { background: #243B2D; border: 1px solid rgba(255,255,255,0.06); align-self: flex-start; border-bottom-left-radius: 3px; color: rgba(255,255,255,0.9); }
.bubble.sent { background: var(--green); color: var(--dark); align-self: flex-end; border-bottom-right-radius: 3px; font-weight: 500; }
.bubble.recv.accent { border-left: 2px solid var(--green); }
.bubble-time { font-size: 10px; opacity: 0.45; margin-top: 3px; text-align: right; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.bubble:nth-child(1) { animation-delay: 0.3s; }
.bubble:nth-child(2) { animation-delay: 0.7s; }
.bubble:nth-child(3) { animation-delay: 1.2s; }
.bubble:nth-child(4) { animation-delay: 1.7s; }
.float-badge { position: absolute; background: var(--dark-2); border: 1px solid rgba(0,194,122,0.25); border-radius: 12px; padding: 10px 14px; font-size: 12px; z-index: 3; white-space: nowrap; animation: float 4s ease-in-out infinite; }
.float-badge-1 { top: 30px; left: -60px; animation-delay: 0s; }
.float-badge-2 { bottom: 60px; right: -50px; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; display: inline-block; margin-right: 6px; }

/* ── STATS ── */
#stats { padding: 60px 5%; background: var(--dark-2); border-top: 1px solid rgba(0,194,122,0.1); border-bottom: 1px solid rgba(0,194,122,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 13px; color: var(--gray); line-height: 1.4; }

/* ── PRODUCTS ── */
#productos { background: var(--off); color: var(--dark); }
#productos .section-h2 { color: var(--dark); }
#productos .section-label { color: var(--green-deep); }
#productos .section-sub { color: #5A7066; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.product-card { background: var(--white); border-radius: 20px; padding: 2rem; border: 1px solid rgba(0,0,0,0.07); transition: transform 0.3s var(--ease), box-shadow 0.3s; position: relative; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.product-card:hover::before { transform: scaleX(1); }
.product-card.featured { background: var(--dark); color: var(--white); grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.product-card.featured::before { background: var(--green); }
.product-tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 1rem; }
.tag-b2b { background: #E8F7F1; color: #009E63; }
.tag-b2c { background: #E6F1FB; color: #185FA5; }
.tag-dark { background: rgba(0,194,122,0.15); color: var(--green); }
.product-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 1.2rem; }
.icon-green { background: var(--green-light); }
.icon-blue { background: #E6F1FB; }
.icon-dark { background: rgba(0,194,122,0.12); }
.product-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; color: inherit; letter-spacing: -0.02em; }
.product-name span { color: var(--green); }
.product-desc { font-size: 14px; color: #5A7066; line-height: 1.65; margin-bottom: 1.2rem; }
.product-card.featured .product-desc { color: var(--gray); }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.product-features li { font-size: 13px; color: #3A5A4A; display: flex; gap: 8px; align-items: flex-start; }
.product-card.featured .product-features li { color: rgba(255,255,255,0.7); }
.feature-check { color: var(--green); font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.product-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--green-deep); text-decoration: none; margin-top: 1.2rem; transition: gap 0.2s; }
.product-card.featured .product-link { color: var(--green); }
.product-link:hover { gap: 10px; }
.featured-visual { background: var(--dark-3); border-radius: 16px; padding: 1.5rem; border: 1px solid rgba(0,194,122,0.15); }
.integration-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(0,0,0,0.3); border-radius: 10px; margin-bottom: 8px; font-size: 13px; border: 1px solid rgba(255,255,255,0.05); }
.int-icon { font-size: 18px; width: 32px; text-align: center; }
.int-name { font-weight: 500; color: var(--white); }
.int-status { margin-left: auto; font-size: 11px; color: var(--green); background: rgba(0,194,122,0.1); padding: 2px 8px; border-radius: 999px; }
.sso-row { display: flex; align-items: center; gap: 10px; margin-top: 1.2rem; padding: 12px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; flex-wrap: wrap; }
.sso-label { font-size: 11px; color: var(--gray); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; flex-shrink: 0; }
.sso-badge { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: rgba(255,255,255,0.75); font-weight: 500; }
.sso-icon { font-size: 14px; line-height: 1; }

/* ── PLATFORM ── */
#platform { position: relative; overflow: hidden; }
.platform-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 60%); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; }
.code-block { background: #0A1A10; border: 1px solid rgba(0,194,122,0.2); border-radius: 16px; overflow: hidden; font-family: 'Courier New', monospace; font-size: 13px; }
.code-header { background: #0F2018; padding: 12px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(0,194,122,0.1); }
.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-body { padding: 20px; line-height: 1.8; }
.c-gray { color: #4A6A56; } .c-green { color: var(--green); } .c-yellow { color: #F9C74F; } .c-white { color: #E8EFE9; } .c-blue { color: #7EB8F7; }
.platform-features { display: flex; flex-direction: column; gap: 1.5rem; }
.pf-item { display: flex; gap: 1rem; }
.pf-num { width: 36px; height: 36px; background: rgba(0,194,122,0.1); border: 1px solid rgba(0,194,122,0.2); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--green); flex-shrink: 0; font-family: var(--serif); }
.pf-text h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.pf-text p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ── GOV ── */
#gov { background: #0A0F1A; position: relative; overflow: hidden; }
.gov-bg-line { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(100,120,200,0.3), transparent); }
.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.gov-badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gov-badge { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.2rem; transition: border-color 0.2s, background 0.2s; }
.gov-badge:hover { border-color: rgba(100,120,220,0.35); background: rgba(100,120,220,0.05); }
.gov-badge-icon { font-size: 24px; margin-bottom: 0.6rem; }
.gov-badge h4 { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.gov-badge p { font-size: 12px; color: var(--gray); line-height: 1.5; }
.gov-accent { color: #8BA4FF; }
#gov .section-label { color: #8BA4FF; }
#gov .section-h2 em { color: #8BA4FF; }

/* ── PARTNERS ── */
#partners { background: var(--dark-2); }
.partners-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; max-width: 1200px; margin: 0 auto 3rem; }
.partners-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.partner-tier { background: var(--dark-3); border: 1px solid rgba(0,194,122,0.12); border-radius: 20px; padding: 2rem; transition: transform 0.3s, border-color 0.3s; }
.partner-tier:hover { transform: translateY(-4px); border-color: rgba(0,194,122,0.3); }
.tier-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 1.2rem; }
.tier-gold { background: rgba(249,199,79,0.15); color: #F9C74F; }
.tier-silver { background: rgba(180,190,200,0.15); color: #B4BEC8; }
.tier-bronze { background: rgba(195,130,80,0.15); color: #C38250; }
.tier-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.tier-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 1.2rem; }
.tier-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tier-perks li { font-size: 13px; color: rgba(255,255,255,0.7); display: flex; gap: 8px; }
.partners-cta { max-width: 1200px; margin: 3rem auto 0; background: rgba(0,194,122,0.06); border: 1px solid rgba(0,194,122,0.2); border-radius: 20px; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.partners-cta p { font-size: 17px; font-weight: 500; }
.partners-cta span { font-size: 14px; color: var(--gray); display: block; }

/* ── HOW IT WORKS ── */
#como { background: var(--off); color: var(--dark); }
#como .section-h2 { color: var(--dark); }
#como .section-label { color: var(--green-deep); }
#como .section-sub { color: #5A7066; }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--green-light), var(--green-light), transparent); }
.step { text-align: center; position: relative; }
.step-num { width: 56px; height: 56px; background: var(--white); border: 2px solid var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--green-deep); position: relative; z-index: 1; transition: background 0.3s, border-color 0.3s; }
.step:hover .step-num { background: var(--green); border-color: var(--green); color: var(--white); }
.step h4 { font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
.step p { font-size: 13px; color: #5A7066; line-height: 1.55; }

/* ── CONTACT ── */
#contacto { position: relative; overflow: hidden; }
.contact-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,194,122,0.08) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.contact-layout { max-width: 1100px; margin: 0 auto; position: relative; display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-left { padding-top: 0.5rem; }
.contact-info-row { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.contact-info-icon { width: 38px; height: 38px; background: rgba(0,194,122,0.1); border: 1px solid rgba(0,194,122,0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-form-box { background: var(--dark-2); border: 1px solid rgba(0,194,122,0.15); border-radius: 24px; padding: 2.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.field-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.field-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); }
.req { color: var(--green); }
.field-input { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 11px 14px; font-size: 14px; color: var(--white); font-family: var(--sans); outline: none; transition: border-color 0.2s, background 0.2s; width: 100%; }
.field-input::placeholder { color: rgba(255,255,255,0.25); }
.field-input:focus { border-color: rgba(0,194,122,0.5); background: rgba(0,194,122,0.04); }
.field-input option { background: #1A3828; color: var(--white); }
.field-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.char-count { font-size: 11px; color: var(--gray); text-align: right; margin-top: 4px; }
.product-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 0; }
.chip { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: rgba(255,255,255,0.6); cursor: pointer; font-family: var(--sans); transition: all 0.15s; }
.chip:hover { border-color: rgba(0,194,122,0.4); color: var(--white); }
.chip.active { background: rgba(0,194,122,0.15); border-color: var(--green); color: var(--green); font-weight: 500; }
.submit-btn { width: 100%; margin-top: 1.5rem; background: var(--green); color: var(--dark); border: none; padding: 15px 28px; border-radius: 12px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: var(--sans); display: flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.2s, transform 0.15s, gap 0.2s; }
.submit-btn:hover { background: var(--green-deep); transform: translateY(-2px); gap: 14px; }
.submit-btn:active { transform: translateY(0); }
.submit-btn.loading { opacity: 0.7; cursor: not-allowed; pointer-events: none; }
.form-legal { font-size: 11px; color: var(--gray); margin-top: 0.75rem; text-align: center; line-height: 1.5; }
.form-legal a { color: var(--green); text-decoration: none; }
.field-input.error { border-color: rgba(220,80,80,0.6); background: rgba(220,80,80,0.04); }
.field-error { font-size: 11px; color: #E27070; margin-top: 2px; display: none; }
.field-error.show { display: block; }

/* ── FOOTER ── */
footer { background: #070E09; border-top: 1px solid rgba(0,194,122,0.08); padding: 3rem 5%; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
.footer-col h5 { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { text-decoration: none; font-size: 13px; color: var(--gray); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-tagline { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; margin: 0.75rem 0; color: rgba(255,255,255,0.7); font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; font-size: 12px; color: var(--gray); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── DOCS PAGE ── */
.docs-page { padding-top: 68px; min-height: 100vh; }
.docs-hero { padding: 80px 5% 60px; background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%); border-bottom: 1px solid rgba(0,194,122,0.1); position: relative; overflow: hidden; }
.docs-hero::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,194,122,0.08) 0%, transparent 70%); right: -200px; top: -200px; pointer-events: none; }
.docs-hero-inner { max-width: 1100px; margin: 0 auto; }
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 68px - 300px); }
.docs-sidebar { background: var(--dark-2); border-right: 1px solid rgba(0,194,122,0.1); padding: 2rem 0; position: sticky; top: 68px; height: calc(100vh - 68px); overflow-y: auto; }
.docs-sidebar-section { padding: 0 1.5rem; margin-bottom: 2rem; }
.docs-sidebar-title { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.docs-sidebar-link { display: block; font-size: 13px; color: var(--gray); text-decoration: none; padding: 5px 10px; border-radius: 6px; margin-bottom: 2px; transition: color 0.2s, background 0.2s; }
.docs-sidebar-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.docs-sidebar-link.active { color: var(--green); background: rgba(0,194,122,0.08); font-weight: 500; }
.docs-content { padding: 3rem 3rem 5rem; max-width: 820px; }
.docs-section { margin-bottom: 4rem; scroll-margin-top: 90px; }
.docs-section h2 { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.docs-section h3 { font-size: 1.1rem; font-weight: 600; margin: 2rem 0 0.75rem; color: rgba(255,255,255,0.9); }
.docs-section p { font-size: 15px; color: var(--gray); line-height: 1.75; margin-bottom: 1rem; }
.docs-section ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.docs-section ul li { font-size: 14px; color: var(--gray); display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.docs-section ul li::before { content: '→'; color: var(--green); flex-shrink: 0; }
.code-snippet { background: #0A1A10; border: 1px solid rgba(0,194,122,0.2); border-radius: 12px; overflow: hidden; margin: 1.5rem 0; }
.code-snippet-header { background: #0F2018; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(0,194,122,0.1); }
.code-snippet-lang { font-size: 11px; color: var(--green); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.code-snippet pre { padding: 20px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.8; color: #E8EFE9; overflow-x: auto; }
.docs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; margin-right: 6px; }
.badge-get { background: rgba(0,194,122,0.15); color: var(--green); }
.badge-post { background: rgba(126,184,247,0.15); color: #7EB8F7; }
.badge-delete { background: rgba(226,112,112,0.15); color: #E27070; }
.endpoint-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; margin-bottom: 8px; font-family: 'Courier New', monospace; font-size: 13px; color: rgba(255,255,255,0.8); }
.docs-alert { background: rgba(0,194,122,0.06); border: 1px solid rgba(0,194,122,0.2); border-radius: 12px; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.65; }
.docs-alert strong { color: var(--green); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-grid, .products-grid, .platform-grid, .gov-grid, .partners-header { grid-template-columns: 1fr; }
  .product-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .partners-tiers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav .nav-links { display: none; }
  .float-badge { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid rgba(0,194,122,0.1); }
  .docs-content { padding: 2rem 1.5rem; }
}


.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--green-deep);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
