
:root {
  --navy:    #0c1f4a;
  --navy-2:  #162d6e;
  --blue:    #2255cc;
  --blue-lt: #4a7fff;
  --accent:  #e8b44a;
  --bg:      #f4f2ee;
  --text:    #1a1a2e;
  --muted:   #5a607a;
  --white:   #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;

  --sh-sm: 0 2px 12px rgba(12,31,74,.08);
  --sh-md: 0 8px 40px rgba(12,31,74,.14);
  --sh-lg: 0 24px 80px rgba(12,31,74,.22);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { display: block; max-width: 100%; }
svg   { flex-shrink: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* BACKGROUND ORBS */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: .4;
  will-change: transform;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2255cc55, transparent 70%);
  top: -120px; left: -180px;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #e8b44a33, transparent 70%);
  top: 30%; right: -150px;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #162d6e44, transparent 70%);
  bottom: 10%; left: 20%;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,30px) scale(1.05); }
}

/* PAGE WRAPPER */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* HERO */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 100%);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  margin: 0 -24px;
  padding: 60px 48px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,  rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 60px);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* PROFILE */
.profile-block {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

/* Gradient-border ring via padding trick */
.photo-ring {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue-lt) 50%, var(--accent));
  padding: 4px;
  box-shadow: 0 0 0 6px rgba(232,180,74,.15), var(--sh-md);
  animation: ring-pulse 4s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(232,180,74,.15), var(--sh-md); }
  50%      { box-shadow: 0 0 0 14px rgba(232,180,74,.06), var(--sh-md); }
}
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

/* Hero text */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,180,74,.12);
  border: 1px solid rgba(232,180,74,.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.hero-name em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  font-weight: 300;
}

/* NSRI badge */
.nsri-badge {
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.nsri-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.nsri-logo-img {
  width: 130px;
  height: auto;
}

/* Wave divider */
.hero-divider { margin-top: 50px; line-height: 0; }
.hero-divider svg { width: 100%; height: 60px; }

/* SECTION LABELS */
.section { padding: 64px 0 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.label-icon { color: var(--accent); }

/* ABOUT */
.about-text {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 720px;
}
.about-text em {
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
}

/* STATS */
.stats-band {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: var(--r-lg);
  margin-top: 48px;
  padding: 40px 32px;
  box-shadow: var(--sh-md);
  overflow: hidden;
  position: relative;
}
.stats-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,180,74,.06) 0%, transparent 60%);
  pointer-events: none;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.stat-icon {
  color: var(--accent);
  opacity: .75;
  margin-bottom: 4px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  color: var(--accent);
  font-size: .55em;
  vertical-align: super;
}
.stat-lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 72px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 4px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid rgba(12,31,74,.07);
  border-radius: var(--r-md);
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(34,85,204,.12);
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.benefit-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA */
.cta-section {
  margin-top: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--r-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,180,74,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(74,127,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

.cta-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 28px;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(232,180,74,.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(232,180,74,.55);
  background: #f0c060;
}
.btn-outline {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
}

/* FOOTER */
footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(12,31,74,.1);
  font-size: .78rem;
  color: var(--muted);
}

/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: opacity, transform;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .bg-orb { animation: none; }
  .photo-ring { animation: none; }
  .fade-up { transition: none; opacity: 1; transform: none; }
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .page-wrapper  { padding: 0 16px 40px; }
  .hero          { padding: 40px 24px 0; margin: 0 -16px; }
  .hero-inner    { flex-direction: column; align-items: flex-start; gap: 24px; }
  .nsri-badge    { align-self: flex-end; }
  .nsri-logo-img { width: 100px; }
  .profile-block { gap: 20px; }
  .photo-ring    { width: 128px; height: 128px; }
  .profile-photo { width: 120px; height: 120px; }
  .stats-band    { flex-direction: column; gap: 28px; padding: 36px 24px; }
  .stat-sep      { width: 60px; height: 1px; }
  .cta-section   { padding: 44px 24px; }
  .benefits-grid { grid-template-columns: 1fr; }
}
