/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1a2e45;
  --navy-light: #243b55;
  --emerald:    #10b981;
  --emerald-dk: #059669;
  --emerald-lt: #34d399;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-300:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-700:   #334155;
  --text:       #0f172a;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(13,27,42,.12);
  --shadow-lg:  0 16px 48px rgba(13,27,42,.2);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

a { text-decoration: none; color: inherit; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-sm { padding: 9px 20px; font-size: .875rem; }

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.btn-primary:hover { background: var(--emerald-dk); border-color: var(--emerald-dk); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

.btn-outline-emerald {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline-emerald:hover { background: var(--emerald); color: var(--white); }

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

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
}
.section-label.light { color: var(--emerald-lt); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 56px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo span { color: var(--emerald); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 20px 24px;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a { color: rgba(255,255,255,.85); font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a3a30 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(16,185,129,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(16,185,129,.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  padding: 140px 24px 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  color: var(--emerald-lt);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  max-width: 780px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--emerald-lt), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px 40px;
  backdrop-filter: blur(8px);
}

.stat { text-align: center; padding: 0 32px; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.5); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  letter-spacing: .08em;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--off-white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.step-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--emerald);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.step-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--navy-light));
  align-self: center;
  flex-shrink: 0;
  margin-top: -10px;
}

/* ===== ROLES ===== */
.roles { padding: 100px 0; background: var(--white); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.role-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  background: var(--white);
}
.role-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.role-card.featured {
  border-color: var(--emerald);
  box-shadow: 0 0 0 1px var(--emerald), var(--shadow);
}

.role-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--emerald);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.role-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.role-icon-wrap.emerald { background: rgba(16,185,129,.12); color: var(--emerald); }
.role-icon-wrap.navy { background: rgba(13,27,42,.1); color: var(--navy); }

.role-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.role-content p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }

.role-perks { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.role-perks li { font-size: .85rem; color: var(--gray-700); display: flex; align-items: center; gap: 8px; }
.check { color: var(--emerald); font-weight: 700; }

/* ===== STANDARDS ===== */
.standards {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-100) 100%);
}

.standards-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.standards-text .section-title { color: var(--navy); }
.standards-text > p { font-size: 1rem; color: var(--gray-500); margin-bottom: 36px; line-height: 1.7; }

.standard-items { display: flex; flex-direction: column; gap: 24px; }

.standard-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.standard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.emerald-dot { background: var(--emerald); }
.navy-dot { background: var(--navy-light); }

.standard-item strong { display: block; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.standard-item p { font-size: .88rem; color: var(--gray-500); }

/* Dashboard Visual */
.standards-visual { display: flex; justify-content: center; }

.visual-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 0;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.vc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vc-dots { display: flex; gap: 6px; }
.vc-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.vc-title { color: rgba(255,255,255,.5); font-size: .8rem; font-weight: 600; margin-left: 4px; }

.vc-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 18px; }

.metric-row { display: flex; align-items: center; gap: 12px; }
.metric-label { font-size: .8rem; color: rgba(255,255,255,.55); width: 120px; flex-shrink: 0; }
.metric-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-light), #2d6da8);
  border-radius: 100px;
  transition: width 1.5s ease;
}
.metric-fill.emerald-fill { background: linear-gradient(90deg, var(--emerald-dk), var(--emerald-lt)); }
.metric-val { font-size: .8rem; font-weight: 700; color: var(--white); width: 36px; text-align: right; }

.vc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.badge-active {
  font-size: .75rem;
  color: var(--emerald-lt);
  font-weight: 600;
}
.badge-week { font-size: .75rem; color: rgba(255,255,255,.35); }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 0% 50%, rgba(16,185,129,.1) 0%, transparent 70%);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}

.verify-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 36px;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  line-height: 1.55;
}
.verify-note svg { flex-shrink: 0; color: var(--emerald); margin-top: 1px; }

.contact-channels { display: flex; flex-direction: column; gap: 12px; }

.channel-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.channel-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); transform: translateX(4px); }
.channel-btn.whatsapp svg { color: #25d366; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.form-group textarea { resize: vertical; }

.form-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.form-agree input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--emerald); }
.form-agree label { font-size: .82rem; color: var(--gray-500); line-height: 1.5; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 60px 0 0; }

.footer-inner {
  display: flex;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { flex: 1.5; }
.footer-brand p { color: rgba(255,255,255,.4); font-size: .88rem; margin-top: 12px; max-width: 280px; line-height: 1.6; }

.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong { color: var(--white); font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.4); font-size: .85rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--emerald-lt); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin: 0 24px;
  color: rgba(255,255,255,.25);
  font-size: .8rem;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--emerald);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .steps-grid { flex-wrap: wrap; gap: 16px; }
  .step-connector { display: none; }
  .step-card { min-width: 45%; }
  .roles-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .standards-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner > .btn { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat-divider { width: 80px; height: 1px; }
  .step-card { min-width: 100%; }
  .contact-form { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-links { flex-direction: column; }
}
