@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --white: #FFFFFF;
  --bg-soft: #F7F8FC;
  --bg-section: #F1F3F9;
  --navy: #0A0F2C;
  --navy-90: rgba(10, 15, 44, 0.9);
  --navy-08: rgba(10, 15, 44, 0.08);
  --navy-04: rgba(10, 15, 44, 0.04);
  --navy-02: rgba(10, 15, 44, 0.02);
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(10, 15, 44, 0.14);
  --green: #10B981;
  --green-bg: #ECFDF5;
  --green-text: #065F46;
  --red: #EF4444;
  --red-bg: #FEF2F2;
  --red-text: #991B1B;
  --gold: #C8A951;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.10);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

.text-center {
  text-align: center;
}

/* === PILL BADGE === */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #FFF9E5;
  color: #A58F4A;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* === TYPOGRAPHY === */
h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 48px;
  font-weight: 400;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* === ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

.d4 {
  transition-delay: 0.32s;
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
}

.nav-cta {
  padding: 10px 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  letter-spacing: -0.01em;
}

.nav-cta:hover {
  background: #161D40;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* === HERO === */
.hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8f9fb 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  max-width: 540px;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.hero h1 .underline-accent {
  position: relative;
  display: inline;
}

.hero h1 span.muted {
  color: #9CA3AF;
  font-weight: 800;
}

.hero-desc {
  font-size: 1.05rem;
  color: #64748B;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 10px 25px rgba(10, 15, 44, 0.15);
}

.btn-primary:hover {
  background: #161D40;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(10, 15, 44, 0.2);
}

.btn-outline {
  padding: 16px 36px;
  background: #F8F9FA;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #E2E8F0;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

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

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: cover;
  border-radius: 48px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

/* === STATS BAR === */
.stats-section {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  background: var(--white);
  padding: 32px;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* === TABLE SECTIONS === */
.table-card {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table thead th {
  background: var(--bg-soft);
  padding: 16px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.data-table tbody td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--navy-02);
  vertical-align: top;
  color: var(--text-secondary);
  line-height: 1.6;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.cell-danger {
  border-left: 3px solid var(--red);
  background: var(--red-bg);
  color: var(--red-text) !important;
}

.cell-success {
  border-left: 3px solid var(--green);
  background: var(--green-bg);
  color: var(--green-text) !important;
}

.data-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-style: italic;
}

/* === BG VARIANTS === */
.bg-soft {
  background: var(--bg-soft);
}

.bg-section {
  background: var(--bg-section);
}

/* === CARDS GRID === */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-xs);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-04);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card--warning {
  border-color: rgba(239, 68, 68, 0.1);
}

.card--warning h3 {
  color: var(--red-text);
}

/* === 2x2 GRID === */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* === DONUT CHART === */
.chart-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.donut-item {
  text-align: center;
}

.donut-label {
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.85rem;
}

.label-red {
  color: var(--red);
}

.label-green {
  color: var(--green);
}

/* === FAQ === */
.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
  letter-spacing: -0.01em;
}

.faq-q:hover {
  background: var(--navy-02);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--navy-04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--navy);
  transition: transform 0.3s var(--ease);
  font-weight: 400;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-item.active .faq-a {
  max-height: 280px;
}

.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* === TIMELINE === */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-04) 100%);
}

.tl-step {
  position: relative;
  padding-left: 64px;
  margin-bottom: 40px;
}

.tl-step:last-child {
  margin-bottom: 0;
}

.tl-num {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--white);
  z-index: 1;
}

.tl-step h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.tl-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* === FORM === */
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  transition: all 0.2s var(--ease);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--navy-08);
}

.field input.error,
.field select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.radio-row {
  display: flex;
  gap: 10px;
}

.radio-opt {
  flex: 1;
  padding: 12px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all 0.2s var(--ease);
}

.radio-opt:hover {
  border-color: var(--border-hover);
}

.radio-opt input {
  display: none;
}

.radio-opt.selected {
  border-color: var(--navy);
  background: var(--navy-04);
  color: var(--navy);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  box-shadow: 0 4px 12px rgba(10, 15, 44, 0.12);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.submit-btn:hover {
  background: #161D40;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 15, 44, 0.18);
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* === FOOTER === */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.footer-logo img {
  height: 36px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  text-align: center;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-box .m-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.modal-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.modal-box p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.modal-close-btn {
  padding: 10px 28px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s var(--ease);
}

.modal-close-btn:hover {
  background: #161D40;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
    padding: 0;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-visual img {
    max-width: 100%;
    border-radius: 32px;
  }

  .hero-btns {
    justify-content: center;
  }

  .section {
    padding: 80px 0;
  }

  .container {
    padding: 0 20px;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .form-card {
    padding: 28px 20px;
  }

  .radio-row {
    flex-direction: column;
  }

  .data-table {
    font-size: 0.8rem;
  }

  .data-table thead th,
  .data-table tbody td {
    padding: 12px 14px;
  }

  .nav-logo img {
    height: 26px;
  }
}