/* ============================================================
   DESIGN TOKENS (Navy & Gold)
   ============================================================ */
:root {
  --bg: #f4f7f9;
  --bg-soft: #ffffff;
  --bg-deep: #0a2a4e;

  --ink: #1a202c;
  --ink-2: #4a5568;
  --ink-3: #a0aec0;

  --primary: #0a2a4e;      /* Navy Blue */
  --primary-2: #153a5b;    /* Navy terang */
  --accent: #e2a82c;       /* Gold/Kuning Emas */
  --accent-2: #c99526;     /* Gold gelap */
  
  --success: #10b981;
  --danger: #ef4444;

  --line: rgba(10, 42, 78, 0.08);
  --line-2: rgba(10, 42, 78, 0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(10, 42, 78, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 42, 78, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 42, 78, 0.12);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(226, 168, 44, 0.25);
}
.btn--primary:hover { 
  background: var(--accent-2); 
  box-shadow: 0 10px 28px rgba(226, 168, 44, 0.35); 
}

.btn--accent {
  background: var(--primary);
  color: #ffffff;
}
.btn--accent:hover { background: var(--primary-2); }

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line-2);
}
.btn--ghost:hover { 
  background: rgba(10, 42, 78, 0.04); 
  border-color: var(--primary); 
}
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(226, 168, 44, 0.3);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.brand__text small {
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--primary);
}
.nav__links a {
  position: relative;
  transition: color .18s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.portal-login-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.portal-login-link:hover { color: var(--accent-2); }

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  position: relative;
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(226, 168, 44, 0.08), transparent 60%),
    radial-gradient(ellipse 55% 60% at 100% 100%, rgba(10, 42, 78, 0.05), transparent 60%),
    linear-gradient(180deg, #f4f7f9 0%, #eef2f6 100%);
  z-index: -2;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 4 L47 33 L76 40 L47 47 L40 76 L33 47 L4 40 L33 33 Z' fill='none' stroke='rgba(10,42,78,0.04)' stroke-width='1'/></svg>");
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 42, 78, 0.05);
  border: 1px solid rgba(10, 42, 78, 0.1);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 168, 44, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(226, 168, 44, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(226, 168, 44, 0.1); }
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--primary);
}
.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6%;
  height: 8px;
  background: rgba(226, 168, 44, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero .lede {
  margin: 24px 0 0;
  max-width: 540px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust li::before {
  content: "✓";
  width: 18px; height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 42, 78, 0.06);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
}

.hero__card {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero__card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 6px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 12px;
  background: rgba(10, 42, 78, 0.05);
  border-radius: 999px;
  width: fit-content;
}
.card-status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 168, 44, 0.2);
}

.card-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.cd-item {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 6px;
  text-align: center;
}
.cd-item strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-item span {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card-meta div { display: flex; flex-direction: column; gap: 4px; }
.card-meta span {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-meta strong { font-size: 15px; color: var(--primary); font-weight: 600; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 0;
}
.stats__inner > div {
  text-align: center;
  padding: 4px 16px;
  border-right: 1px solid var(--line);
}
.stats__inner > div:last-child { border-right: none; }
.stats strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stats span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head .eyebrow { margin-bottom: 18px; }
.section__head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.022em;
  line-height: 1.15;
}
.section__head p {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* ============================================================
   PROGRAM GRID
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.program {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.program:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 168, 44, 0.3);
}
.program__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #ebf0f5;
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 20px;
}
.program h3 { font-size: 18px; margin-bottom: 10px; }
.program p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   TIMELINE (Alur Pendaftaran)
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--line-2);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease);
}

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

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -20px; }
.timeline-item:nth-child(even) .timeline-dot { left: -20px; }

.timeline-content {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.timeline-content:hover {
  border-color: rgba(226, 168, 44, 0.4);
  box-shadow: var(--shadow-md);
}
.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.timeline-content p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.timeline-item:nth-child(even) .timeline-content::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  transform: translateY(-50%) rotate(-135deg);
  width: 16px;
  height: 16px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* ============================================================
   FORM PENDAFTARAN
   ============================================================ */
.form-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}
.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 4 L47 33 L76 40 L47 47 L40 76 L33 47 L4 40 L33 33 Z' fill='none' stroke='rgba(226,168,44,0.08)' stroke-width='1'/></svg>");
  pointer-events: none;
}
.form-container {
  position: relative;
  z-index: 2;
  background: var(--bg-soft);
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.form-header p {
  color: var(--ink-2);
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 168, 44, 0.15);
  background: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  margin-top: 24px;
}
.form-status {
  min-height: 24px;
  margin: 0 0 12px;
  font-size: 13px;
  text-align: center;
  color: var(--ink-2);
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* ============================================================
   WAVES (Jadwal Gelombang)
   ============================================================ */
.wave {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wave:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.wave--active {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(10, 42, 78, 0.08);
}
.wave__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink-2);
  margin-bottom: 16px;
}
.wave--active .wave__tag {
  background: var(--primary);
  color: #fff;
}
.wave h3 { font-size: 22px; margin-bottom: 6px; }
.wave__period {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.wave__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.wave__row span { color: var(--ink-3); }
.wave__row strong { color: var(--primary); font-weight: 600; }
.wave__price {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wave--active .wave__price { color: var(--accent-2); }

.wave__discount {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(226, 168, 44, 0.15);
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--primary);
  position: relative;
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform .25s var(--ease), color .18s var(--ease);
  line-height: 1;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--primary);
}
.faq details p {
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
  padding-right: 44px;
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #071e38 100%);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 4 L47 33 L76 40 L47 47 L40 76 L33 47 L4 40 L33 33 Z' fill='none' stroke='rgba(226,168,44,0.15)' stroke-width='1'/></svg>");
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-block > * { position: relative; }
.cta-block h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-block h2 em { color: var(--accent); font-style: italic; font-weight: 600; }
.cta-block p {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 72px 0 0;
  border-top: 4px solid var(--accent);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer .brand__mark {
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  width: auto; height: auto;
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}
.footer__logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 16px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.footer h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
}
.footer .tagline {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

.footer h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-text span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}
.contact-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
}

.quick-links li {
  margin-bottom: 14px;
}
.quick-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
  transition: color .2s var(--ease);
}
.quick-links a:hover {
  color: var(--accent);
}
.quick-links svg {
  width: 16px; height: 16px;
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}
.social-links a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .2s var(--ease);
}
.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form input:focus {
  border-color: var(--accent);
}
.newsletter-form button {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
}
.newsletter-form button:hover {
  background: var(--accent-2);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ============================================================
   FLOATING BUTTONS & CHATBOT
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.fab {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.fab:hover {
  transform: translateY(-3px);
}
.fab--scroll {
  background: var(--accent);
  color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}
.fab--scroll.is-visible {
  opacity: 1;
  visibility: visible;
}
.fab--chat {
  position: relative;
  color: var(--accent);
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--primary-2), var(--primary));
  border: 2px solid rgba(226, 168, 44, 0.7);
  box-shadow:
    0 10px 28px rgba(10, 42, 78, 0.24),
    0 0 0 4px rgba(226, 168, 44, 0.08);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.fab--chat::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.fab--chat::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 74px;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  pointer-events: none;
}
.fab--chat:hover {
  transform: translateY(-4px) scale(1.03);
  background: linear-gradient(145deg, #1d4b72, var(--primary));
  box-shadow:
    0 16px 34px rgba(10, 42, 78, 0.3),
    0 0 0 8px rgba(226, 168, 44, 0.1);
}
.fab--chat svg {
  position: relative;
  z-index: 1;
  color: var(--accent);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
.fab--chat:hover::after,
.fab--chat:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Chatbot Widget */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  max-height: 550px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(10, 42, 78, 0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s var(--ease);
  border: 1px solid var(--line);
}
.chat-widget.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.chat-header__title .status-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(226, 168, 44, 0.3);
}
.chat-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: color .2s;
}
.chat-close:hover { color: #fff; }

.chat-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  scroll-behavior: smooth;
}

.chat-message-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 85%;
  animation: fadeInMsg .3s var(--ease);
}
.chat-message-wrapper.user-wrap {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-message {
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px 12px 12px 0;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.chat-message-wrapper.user-wrap .chat-message {
  background: var(--primary);
  color: #fff;
  border-radius: 12px 12px 0 12px;
}

.chat-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

@media (hover: none) {
  .chat-actions { opacity: 1; }
}
.chat-message-wrapper:hover .chat-actions {
  opacity: 1;
}

.chat-action-btn {
  background: transparent;
  border: none;
  color: var(--ink-3);
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
.chat-action-btn:hover {
  background: rgba(10, 42, 78, 0.05);
  color: var(--primary);
}
.chat-action-btn.liked { color: var(--success); }
.chat-action-btn.disliked { color: var(--danger); }
.chat-action-btn.copied { color: var(--accent); }

.chat-action-btn svg {
  width: 14px;
  height: 14px;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  animation: fadeInMsg .3s var(--ease);
}
.chat-suggestions button {
  background: #fff;
  border: 1px solid var(--line-2);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary);
  text-align: left;
  transition: all .2s var(--ease);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-suggestions button:hover {
  background: rgba(10, 42, 78, 0.04);
  border-color: var(--primary);
  transform: translateX(4px);
}
.chat-suggestions button svg {
  width: 14px; height: 14px;
  opacity: 0.5;
}
.chat-suggestions button.btn-wa {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  font-weight: 600;
  justify-content: center;
}
.chat-suggestions button.btn-wa:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.chat-footer {
  padding: 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
}
.chat-footer input {
  flex: 1;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.chat-footer input:focus { border-color: var(--primary); }
.chat-footer button {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.chat-footer button:hover { background: var(--primary-2); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .timeline-item { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .fab--chat::after { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__card { max-width: 480px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .portal-login-link { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav.is-open .nav__links a:last-child { border-bottom: none; }

  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .form-section { padding: 64px 0; }
  .hero__trust { gap: 14px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats__inner > div { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .stats__inner > div:nth-child(3),
  .stats__inner > div:nth-child(4) { border-bottom: none; padding-bottom: 0; }
  .grid--4 { grid-template-columns: 1fr; }

  /* Timeline Mobile */
  .timeline::before { left: 20px; }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    right: auto;
  }
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -8px;
    right: auto;
    transform: translateY(-50%) rotate(-135deg);
  }

  .form-container { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .cta-block { padding: 56px 24px; }
  .card-countdown strong { font-size: 22px; }

  .floating-buttons { bottom: 20px; right: 20px; }
  .chat-widget { 
    width: calc(100% - 40px); 
    bottom: 90px; 
    right: 20px; 
    max-height: 450px;
  }
}