@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --navy: #0B1D35;
  --navy-light: #132D4F;
  --navy-muted: #1E3A5F;
  --teal: #0EA5E9;
  --teal-dark: #0284C7;
  --teal-light: #E0F2FE;
  --coral: #F97316;
  --coral-light: #FFF7ED;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-50: #F1F5F9;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
}

a { color: var(--teal-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

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

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

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 29, 53, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: all 0.2s;
}

.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
}
.btn-coral:hover {
  background: #EA6C0A;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--navy);
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 100px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

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

/* ===== SECTION STYLES ===== */
.section { padding: var(--section-padding); }

.section-dark {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}

.section-dark h2,
.section-dark h3 { color: var(--white); }

.section-light { background: var(--off-white); }

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-header.center .section-desc {
  margin: 0 auto;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-weight: 500;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 36px 30px;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--gray-200);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.card-icon.teal { background: var(--teal-light); color: var(--teal-dark); }
.card-icon.coral { background: var(--coral-light); color: var(--coral); }
.card-icon.navy { background: #E8EDF4; color: var(--navy); }

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
}

/* Dark card variant */
.card-dark {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.06);
}

.card-dark:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.6); }

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

.step {
  position: relative;
  padding: 32px 24px;
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.15;
  margin-bottom: 16px;
  line-height: 1;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col-text .section-label { margin-bottom: 12px; }
.two-col-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.two-col-text p {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 16px;
}

.two-col-text ul {
  list-style: none;
  margin: 24px 0;
}

.two-col-text li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
  color: var(--gray-600);
}

.two-col-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--teal-light);
  border-radius: 50%;
}

.two-col-text li::after {
  content: '✓';
  position: absolute;
  left: 3px;
  top: 12px;
  font-size: 11px;
  color: var(--teal-dark);
  font-weight: 700;
}

.two-col-visual {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--gray-100);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-visual {
  text-align: center;
  color: var(--gray-400);
  font-family: var(--font-display);
  font-size: 14px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 12px; }

.footer li a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -1.2px;
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 19px;
  max-width: 600px;
  line-height: 1.7;
  position: relative;
}

/* ===== BENEFIT LIST ===== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
}

.benefit-item:hover {
  border-color: var(--gray-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}

.benefit-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.benefit-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== RESEARCH THEMES ===== */
.research-card {
  padding: 36px;
  border-left: 3px solid var(--teal);
  background: var(--white);
  border-radius: 0 12px 12px 0;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.research-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  transform: translateX(4px);
}

.research-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.research-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

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

.value-item {
  padding: 32px 28px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.value-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== FOUNDER ===== */
.founder-section {
  display: flex;
  gap: 48px;
  align-items: center;
}

.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  background: var(--gray-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-family: var(--font-display);
  font-size: 13px;
}

.founder-info h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.founder-title {
  color: var(--teal);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 16px;
}

.founder-info p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .founder-section { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px 32px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hero { padding: 130px 0 80px; }
  .card-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  :root { --section-padding: 64px 0; }
}
