:root {
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-soft: #eff6ff;
  --blue-bg: #f8fbff;
  --navy: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --success: #16a34a;
  --shadow-xs: 0 6px 18px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 12px 28px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.12);
  --radius-sm: 16px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --container: 1180px;
  --transition: 0.24s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.light {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.06), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%);
}

.dark-surface {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.12), transparent 25%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: var(--white);
}

.dark-surface h1,
.dark-surface h2,
.dark-surface h3 {
  color: var(--white);
}

.dark-surface p,
.dark-surface li,
.dark-surface .muted {
  color: rgba(255, 255, 255, 0.84);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

h4 {
  font-size: 1.02rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  background: var(--blue-soft);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-pill);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
}

.dark-surface .eyebrow {
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.title-wrap {
  max-width: 860px;
}

.center .title-wrap {
  margin-inline: auto;
}

.mt-md {
  margin-top: 1rem;
}

.mt-lg {
  margin-top: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
}

.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__image {
  width: 205px;
  height: auto;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 1.55rem;
  line-height: 1;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-wrap {
  display: flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a:not(.btn) {
  color: #475569;
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}

.site-nav a:not(.btn):hover,
.site-nav a.is-active:not(.btn) {
  color: var(--blue-dark);
}

/* Hero */
.hero {
  padding: 94px 0 74px;
  background:
    radial-gradient(circle at left top, rgba(96, 165, 250, 0.18), transparent 34%),
    radial-gradient(circle at right bottom, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(180deg, var(--white) 0%, var(--blue-bg) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  color: #475569;
  max-width: 12ch;
  line-height: 1.03;
}

.hero .lead {
  color: #64748b;
  max-width: 700px;
  font-size: 1.1rem;
}

.points {
  display: grid;
  gap: 0.84rem;
  margin: 1.4rem 0 1.85rem;
  padding: 0;
}

.points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.points li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.34rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: var(--white);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
}

.btn-outline {
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.28);
  background: rgba(255, 255, 255, 0.65);
}

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

.btn-soft {
  background: #eaf3ff;
  color: #1d4ed8;
  border-color: transparent;
}

.btn-soft:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.btn-full {
  width: 100%;
}

.dark-surface .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.dark-surface .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.58);
}

/* Cards and panels */
.card,
.panel,
.form-box,
.stat {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card,
.panel,
.stat {
  padding: 1.5rem;
}

.card,
.panel {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover,
.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dbeafe;
}

.card-icon,
.badge,
.module-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.10);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Lists */
.list,
.checklist {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0 0;
  padding: 0;
}

.list li,
.checklist li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.list li::before {
  content: "•";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue-dark);
  margin-top: 0.05rem;
}

.checklist li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* Form box */
.form-box {
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.form-box__head {
  padding: 1rem 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.form-box__head p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.form-box form {
  display: grid;
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Info lists */
.resource-list,
.channel-list,
.policy-list {
  display: grid;
  gap: 0.9rem;
}

.resource-item,
.channel-item,
.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.resource-item:last-child,
.channel-item:last-child,
.policy-item:last-child {
  border-bottom: 0;
}

.resource-item a,
.channel-item a {
  color: var(--blue-dark);
  font-weight: 700;
}

.resource-item small,
.channel-item small,
.policy-item small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #16a34a !important;
  font-weight: 700;
}

.whatsapp-link:hover {
  color: #15803d !important;
}

/* CTA */
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.cta-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.cta-box ul {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.3rem;
  padding: 0;
}

.cta-box li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.cta-box li::before {
  content: "✓";
  color: #93c5fd;
  font-weight: 800;
}

/* Footer */
.site-footer {
  background: #020617;
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

/* WhatsApp premium */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  z-index: 1200;
  cursor: pointer;
  transition: all 0.25s ease;
  animation: whatsapp-float-in 0.6s ease forwards, whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.35);
  background: #1ebe5d;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: #0f172a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-float-in {
  0% { opacity: 0; transform: translateY(30px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid,
  .split,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-wrap {
    width: 100%;
    display: block;
    margin-top: 0.35rem;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1rem 0 0.65rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 0.15rem 0;
  }

  .brand__image {
    width: 185px;
  }

  .hero {
    padding: 76px 0 58px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 74px 0;
  }

  .form-row,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .btn-group .btn {
    width: 100%;
  }

  .site-footer__inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand__image {
    width: 165px;
  }

  .site-header__inner {
    gap: 0.65rem;
  }

  .site-nav {
    gap: 0.85rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.7rem;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
