/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --navy:       #0b2035;
  --navy-mid:   #0f2942;
  --navy-lt:    #1a3a5c;
  --gold:       #c9973a;
  --gold-lt:    #e8b85d;
  --gold-pale:  #f5d99a;
  --white:      #ffffff;
  --off-white:  #f4f6f9;
  --text-dk:    #1a2333;
  --text-md:    #4a5568;
  --text-lt:    #718096;
  --border:     #e2e8f0;

  --font-body:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.16);

  --nav-h:      72px;
  --transition: 200ms ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dk);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

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

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

em { font-style: italic; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.gold-line {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 2px;
  margin-bottom: 28px;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201,151,58,.35);
}
.btn-gold:hover {
  box-shadow: 0 8px 24px rgba(201,151,58,.45);
  background: linear-gradient(135deg, var(--gold-lt), var(--gold-pale));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
}

/* ============================================================
   NAVIGATION
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(11, 32, 53, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.logo-text em {
  color: var(--gold-lt);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--navy);
  font-weight: 700;
  padding: 9px 18px;
}
.nav-links .nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold-pale));
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(11, 32, 53, 0.98);
  backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:last-child { border-bottom: none; color: var(--gold-lt); font-weight: 700; }

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,151,58,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(26,58,92,.6) 0%, transparent 60%),
    linear-gradient(160deg, #0b2035 0%, #0f2942 50%, #0d1f34 100%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,151,58,.08) 0%, transparent 70%);
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  pointer-events: none;
}

#hero .container { position: relative; z-index: 1; padding: 80px 24px 120px; }

.hero-content { max-width: 680px; }

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,58,.15);
  border: 1px solid rgba(201,151,58,.3);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-lt);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-number {
  font-family: var(--font-serif);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 800;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(201,151,58,.25);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-55%);
  pointer-events: none;
  user-select: none;
}

#hero h1 { color: var(--white); margin-bottom: 20px; }
#hero h1 em { color: var(--gold-lt); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-sub strong { color: var(--white); }

.hero-status-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 36px;
  font-size: 0.95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.hero-status-block strong { color: var(--white); }
.status-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.1); }
}

/* ============================================================
   ABOUT
============================================================ */
#about { padding: 100px 0; }

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

.about-text h2 { margin-bottom: 24px; color: var(--text-dk); }
.about-text h2 em { color: var(--gold); }
.about-text p { color: var(--text-md); line-height: 1.8; margin-bottom: 16px; }

.about-visual { display: flex; flex-direction: column; gap: 24px; }

.about-emblem {
  background: linear-gradient(135deg, var(--navy), var(--navy-lt));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-emblem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,151,58,.15) 0%, transparent 70%);
}
.emblem-big {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 800;
  color: var(--gold-lt);
  line-height: 1;
  position: relative;
}
.emblem-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.emblem-region {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  position: relative;
}

.stat-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.stat-intro {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.65;
  margin-bottom: 20px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-lt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

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

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { color: var(--text-dk); margin-bottom: 12px; }
.section-header p { color: var(--text-md); font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.6); }
.section-header.light .section-label { color: var(--gold-lt); }

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

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-card.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(11,32,53,.07);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-card h3 { color: var(--text-dk); margin-bottom: 12px; }
.step-card p { color: var(--text-md); font-size: 0.93rem; line-height: 1.7; }

.step-status {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step-status.complete { background: #e8f5e9; color: #2e7d32; }
.step-status.current { background: rgba(201,151,58,.15); color: #8b6914; border: 1px solid rgba(201,151,58,.3); }
.step-status.upcoming { background: #e8eaf6; color: #3949ab; }

/* ============================================================
   CRITERIA
============================================================ */
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 100px 0;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.criteria-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: background var(--transition), transform var(--transition);
}
.criteria-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
}
.criteria-icon { font-size: 2.2rem; margin-bottom: 16px; }
.criteria-card h3 { color: var(--gold-lt); margin-bottom: 12px; }
.criteria-card p { color: rgba(255,255,255,.65); font-size: 0.92rem; line-height: 1.7; }

/* ============================================================
   FAQ
============================================================ */
#faq { padding: 100px 0; }

#faq .section-header a { color: var(--gold); text-decoration: underline; }
#faq .section-header a:hover { color: var(--gold-lt); }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dk);
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--navy-mid); }
.faq-q[aria-expanded="true"] { color: var(--navy); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--transition), background var(--transition);
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px; height: 12px; }

.faq-q[aria-expanded="true"] .faq-icon { background: var(--navy); border-color: var(--navy); transform: rotate(45deg); }
.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: var(--white); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
  color: var(--text-md);
  font-size: 0.96rem;
  line-height: 1.8;
}
.faq-a.open {
  max-height: 400px;
  padding-bottom: 22px;
}
.faq-a strong { color: var(--text-dk); }
.faq-a a { color: var(--gold); text-decoration: underline; }
.faq-a a:hover { color: var(--gold-lt); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo .logo-mark {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}
.footer-logo .logo-text { font-size: 0.78rem; }

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a {
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--gold-lt); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-number { font-size: 8rem; right: -10px; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .criteria-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  #hero .container { padding: 60px 24px 100px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-number { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .about-emblem { padding: 36px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SCROLL ANIMATION UTILITY
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
