/* ============================================================
   SI-KKN Landing Page
   Design system reference: desain.md (BIMA style guide)
   ============================================================ */

:root {
  --color-primary-dark: #204497;
  --color-primary: #204497;
  --color-accent: #f8b920;
  --color-accent-dark: #d99f0d;
  --color-link-underline: #204497;
  --color-heading: #222222;
  --color-body-text: #565656;
  --color-white: #ffffff;
  --color-card-bg: #f5f5f5;
  --color-page-bg: #f8f8fb;
  --color-border: #e7e9f2;

  --color-success-bg: #e3f5e9;
  --color-success-text: #1e8a4c;
  --color-pending-bg: #fdecd4;
  --color-pending-text: #b06a00;
  --color-danger-bg: #fbe4e4;
  --color-danger-text: #c23434;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 30px;
  --space-section: 100px;
  --space-hero: 80px;

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-img: 8px;
  --radius-xl: 16px;

  --shadow-card: 0 0 10px rgba(0, 0, 0, 0.1);
  --shadow-float: 0 20px 45px rgba(32, 68, 151, 0.18);

  --gradient-primary: linear-gradient(-47deg, #204497, #204497);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-body-text);
  background: var(--color-page-bg);
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--color-heading); }

h1 { font-size: 40px; line-height: 48px; }
h2 { font-size: 36px; line-height: 46px; }
h3 { font-size: 20px; line-height: 26px; }

p { margin: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-white-70 { color: rgba(255,255,255,0.75); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(248, 185, 32, 0.35);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.btn-outline:hover { background: rgba(248, 185, 32, 0.08); transform: translateY(-2px); }

.btn-outline--light {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline--light:hover { background: rgba(255,255,255,0.12); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}

.navbar__brand { display: flex; align-items: center; gap: 10px; }
.navbar__title { font-weight: 700; font-size: 19px; color: var(--color-primary-dark); }

.navbar__logo { display: flex; align-items: center; }
.navbar__logo img { width: 36px; height: 36px; object-fit: contain; }
.navbar__logo--footer img { width: 32px; height: 32px; }

.navbar__menu {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-heading);
}
.navbar__menu a { padding: 6px 0; position: relative; }
.navbar__menu a.active,
.navbar__menu a:hover { color: var(--color-primary); }
.navbar__menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.navbar__actions { display: flex; align-items: center; gap: 12px; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar__toggle span { width: 22px; height: 2px; background: var(--color-primary-dark); border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 var(--space-hero);
  overflow: hidden;
  isolation: isolate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--gradient-primary);
  opacity: 0.96;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0, transparent 45%),
                     radial-gradient(circle at 85% 75%, rgba(255,255,255,0.08) 0, transparent 40%);
}

.hero__content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero__text h1 { color: var(--color-white); margin-bottom: 18px; }

.hero__text p {
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 26px;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
}
.hero__stat strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-white);
}
.hero__stat span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.hero__visual { position: relative; }

.hero__card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
}

.hero__card--main { padding: 0; overflow: hidden; }

.hero__card-head {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--red { background: #f36; }
.dot--yellow { background: var(--color-accent); }
.dot--green { background: #22a55b; }

.hero__card-body { padding: 20px; }

.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 13px;
  color: var(--color-heading);
  border-bottom: 1px dashed var(--color-border);
}
.progress-row:last-of-type { border-bottom: none; }

.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge--success { background: var(--color-success-bg); color: var(--color-success-text); }
.badge--pending { background: var(--color-pending-bg); color: var(--color-pending-text); }
.badge--danger { background: var(--color-danger-bg); color: var(--color-danger-text); }

.hero__card-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-body-text);
}
.mini-progress {
  height: 6px;
  background: var(--color-card-bg);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mini-progress__bar {
  height: 100%;
  background: var(--color-accent);
  border-radius: 999px;
}

.hero__card--float {
  position: absolute;
  right: -18px;
  bottom: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  max-width: 250px;
  animation: floatY 4s ease-in-out infinite;
}
.hero__card--float strong { display: block; font-size: 13px; color: var(--color-heading); }
.hero__card--float span { font-size: 12px; color: var(--color-body-text); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__shape-bottom {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  line-height: 0;
}

/* ============================================================
   SECTIONS / HEADINGS
   ============================================================ */
.section { padding: var(--space-section) 0; }
.section--muted { background: var(--color-card-bg); }

.section-heading { max-width: 640px; margin: 0 auto 56px; }
.section-heading.text-center { text-align: center; }

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  margin-bottom: 40px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.eyebrow--light { color: var(--color-accent); }

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.section-heading h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 2px;
  background: var(--color-link-underline);
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
}
.section-heading--split h2::after { left: 0; transform: none; }

.section-heading p { font-size: 15px; color: var(--color-body-text); }

.link-more {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}
.link-more:hover { color: var(--color-accent); }

/* ============================================================
   STEPS (Alur Pendaftaran)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px 24px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.step__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-border);
}

.step h3 { margin-bottom: 8px; font-size: 17px; }
.step p { font-size: 13.5px; }

/* ============================================================
   CHARTS
   ============================================================ */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.chart-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-align: center;
}
.chart-card h3 { font-size: 15px; margin-bottom: 16px; }
.chart-card canvas { margin: 0 auto; max-width: 100%; height: auto; }

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 16px;
  font-size: 12px;
}
.chart-legend li { display: flex; align-items: center; gap: 6px; color: var(--color-body-text); }
.chart-legend span.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 20px;
  align-items: center;
}

.features__col { display: flex; flex-direction: column; gap: 28px; }

.feature { display: flex; gap: 14px; }
.feature__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eef1fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13px; }

.features__center { position: relative; display: flex; justify-content: center; }
.features__center-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(32,68,151,0.12), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.features__mockup { position: relative; z-index: 1; width: 240px; }

/* ============================================================
   WORK AREA (Cara Kerja / Peran)
   ============================================================ */
.work-area {
  background-image: var(--gradient-primary);
  padding: var(--space-section) 0;
}

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

.work-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  text-align: center;
}

.work-step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(248, 185, 32, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-step h3 { color: var(--color-white); margin-bottom: 10px; font-size: 17px; }
.work-step p { color: rgba(255,255,255,0.75); font-size: 13.5px; }

/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */
.announcements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.announcement-card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcement-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8ecfa;
  color: var(--color-primary);
}
.announcement-card__badge--mhs { background: #fdecd4; color: var(--color-accent-dark); }
.announcement-card__badge--dpl { background: #e3f5e9; color: var(--color-success-text); }

.announcement-card h3 { font-size: 16px; line-height: 22px; }
.announcement-card p { font-size: 13px; }

.announcement-card__meta {
  margin-top: auto;
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: #8a8a8a;
}

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

.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.doc-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fdecd4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-card h3 { font-size: 14.5px; margin-bottom: 2px; }
.doc-card span { font-size: 12px; color: #8a8a8a; }

/* ============================================================
   REGISTER AREA
   ============================================================ */
.register-area__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.register-area__info .eyebrow { color: var(--color-primary); }
.register-area__info h2 { margin-bottom: 16px; }
.register-area__info h2::after { display: none; }
.register-area__info p { font-size: 15px; margin-bottom: 24px; }

.register-area__checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.register-area__checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--color-heading);
}
.register-area__checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-success-bg);
}
.register-area__checklist li::after {
  content: "";
  position: absolute;
  left: 5px; top: 8px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--color-success-text);
  border-bottom: 2px solid var(--color-success-text);
  transform: rotate(-45deg);
}

.register-area__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #eef1fb;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--color-primary-dark);
}
.register-area__note svg { flex-shrink: 0; margin-top: 1px; }

.register-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.register-card h3 { margin-bottom: 20px; }

.form-row { margin-bottom: 16px; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.form-row--split .form-row { margin-bottom: 0; }

label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--color-heading);
  background: #fbfbfd;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(32, 68, 151, 0.12);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--color-body-text);
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; }

.register-card__hint {
  text-align: center;
  font-size: 12.5px;
  margin-top: 14px;
}
.register-card__hint a { color: var(--color-primary); font-weight: 600; }

.form-feedback {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  margin-top: 12px;
  min-height: 18px;
}
.form-feedback.success { color: var(--color-success-text); }
.form-feedback.error { color: var(--color-danger-text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-heading);
  cursor: pointer;
}

.faq-icon { transition: transform 0.25s ease; color: var(--color-primary); flex-shrink: 0; }

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item__answer p {
  padding: 0 20px 20px;
  font-size: 13.5px;
  color: var(--color-body-text);
}

/* ============================================================
   CTA AREA
   ============================================================ */
.cta-area {
  background-image: var(--gradient-primary);
  padding: 70px 0;
}
.cta-area__inner { text-align: center; }
.cta-area h2 { color: var(--color-white); margin-bottom: 12px; }
.cta-area p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 30px; }
.cta-area__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #14224a; padding: 70px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__col p { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 14px; }

.footer__col h4 {
  color: var(--color-white);
  font-size: 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__col a {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 13.5px;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}
.footer__col a:hover { color: var(--color-accent); }

.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  margin-bottom: 0;
}
.footer__social a:hover { background: var(--color-accent); }

.footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  margin-bottom: 12px;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(248,185,32,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .features__center { order: -1; margin-bottom: 12px; }
  .features__mockup { width: 200px; }
  .work-steps { grid-template-columns: 1fr; }
  .announcements { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .register-area__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --space-section: 64px; --space-hero: 56px; }
  h1 { font-size: 30px; line-height: 38px; }
  h2 { font-size: 26px; line-height: 34px; }
  .navbar__menu, .navbar__actions { display: none; }
  .navbar__toggle { display: flex; }
  .navbar.nav-open .navbar__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-white);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }
  .navbar.nav-open .navbar__actions {
    display: flex;
    position: absolute;
    top: calc(100% + 190px);
    left: 0; right: 0;
    background: var(--color-white);
    padding: 0 20px 20px;
    gap: 12px;
  }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section-heading--split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .form-row--split { grid-template-columns: 1fr; }
}

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.auth-page { background: var(--color-white); }

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 48px 48px;
  background-image: var(--gradient-primary);
  overflow: hidden;
  isolation: isolate;
}

.auth-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 12% 12%, rgba(255,255,255,0.1) 0, transparent 42%),
                     radial-gradient(circle at 88% 82%, rgba(255,255,255,0.1) 0, transparent 40%);
}

.auth-brand__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-brand__back {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.auth-brand__back:hover { color: var(--color-white); }

.auth-brand__content { max-width: 420px; }
.auth-brand__content h1 { font-size: 32px; line-height: 40px; margin-bottom: 16px; }
.auth-brand__content > p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 24px; margin-bottom: 28px; }

.auth-brand__points { display: flex; flex-direction: column; gap: 14px; }
.auth-brand__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-size: 13.5px;
}
.auth-brand__points .point-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-brand__illustration {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.auth-brand__illustration svg { width: 100%; max-width: 320px; }

.auth-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--color-page-bg);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.auth-card__top {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-card__head { margin-bottom: 24px; }
.auth-card__head h2 { margin-bottom: 8px; }
.auth-card__head p { font-size: 13.5px; color: var(--color-body-text); }

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--color-card-bg);
  padding: 5px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.auth-tab {
  border: none;
  background: transparent;
  padding: 9px 6px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-body-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.auth-tab.active {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.form-row--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkbox-row--inline { font-size: 12.5px; }

.auth-link { font-size: 12.5px; font-weight: 600; color: var(--color-primary); }
.auth-link:hover { color: var(--color-accent-dark); }

.input-with-action { position: relative; }
.input-with-action input { padding-right: 44px; }
.input-action {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--color-body-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.input-action:hover { background: var(--color-card-bg); }

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.password-strength span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: var(--color-border);
  transition: background 0.2s ease;
}

.auth-card__hint {
  text-align: center;
  font-size: 12.5px;
  margin-top: 20px;
}
.auth-card__hint a { color: var(--color-primary); font-weight: 600; }

.auth-card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #b6b6c2;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-card__divider::before,
.auth-card__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #eef1fb;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}
.auth-note svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 992px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { padding: 28px 24px 40px; }
  .auth-brand__illustration { display: none; }
  .auth-brand__content h1 { font-size: 26px; line-height: 34px; }
  .auth-form-area { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .auth-brand { padding: 24px 18px 32px; }
  .auth-card { padding: 28px 22px; }
  .auth-tabs { grid-template-columns: repeat(3, 1fr); }
  .form-row--split { grid-template-columns: 1fr; }
}
