:root {
  --blue-50: #EEF4FF;
  --blue-100: #D9E6FF;
  --blue-200: #B3CDFF;
  --blue-300: #80ABFF;
  --blue-400: #4F8CFF;
  --blue-500: #2B6FE6;
  --blue-600: #1A56C4;
  --blue-700: #13429E;
 
  --gray-50: #F8F9FB;
  --gray-100: #F1F3F7;
  --gray-200: #E2E6ED;
  --gray-300: #C8CED9;
  --gray-400: #9AA2B1;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
 
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  --accent-violet: #8B5CF6;
  --accent-rose: #F43F5E;
 
  --surface-primary: #FAFAFB;
  --surface-card: #FFFFFF;
  --surface-dark: #0B1120;
  --surface-dark-card: #131C2E;
 
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.12);
  --shadow-blue: 0 4px 20px rgba(79,140,255,0.25);
 
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
 
  --section-padding: 100px 0;
  --container-width: 1140px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}
 
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--surface-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
 
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
 
/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
 
/* ============ HEADER ============ */

.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.btn-ghost:hover { color: var(--gray-900); background: var(--gray-100); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--blue-400);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(79,140,255,0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--surface-card);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
 
/* ============ PAGE HERO ============ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,140,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.page-hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
}
 
/* ============ MISSION SECTION ============ */
.section-mission {
  padding: 0 0 100px;
  position: relative;
}
.mission-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
 
/* Left: the story text */
.mission-text {}
.mission-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.mission-text p:last-child { margin-bottom: 0; }
.mission-text strong {
  color: var(--gray-900);
  font-weight: 600;
}
.mission-statement {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mission-statement::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(79,140,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.mission-statement p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
  margin: 0;
  position: relative;
  z-index: 1;
}
.mission-statement p strong {
  color: #fff;
}
 
/* Right: value cards */
.mission-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.value-card {
  background: var(--surface-card);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.value-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.value-card:nth-child(1) .value-icon { background: var(--blue-50); }
.value-card:nth-child(2) .value-icon { background: #F3E8FF; }
.value-card:nth-child(3) .value-icon { background: #ECFDF5; }
.value-card:nth-child(4) .value-icon { background: #FFF7ED; }
.value-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.value-body p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}
 
/* ============ DIVIDER BAND ============ */
.divider-band {
  background: var(--surface-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.divider-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(79,140,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.divider-band-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.divider-band-inner blockquote {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
.divider-band-inner blockquote .highlight {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.divider-band-inner cite {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.5px;
  font-family: var(--font-mono);
}
 
/* ============ BUILT BY SECTION ============ */
.section-built {
  padding: 100px 0;
}
.built-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.built-text .section-label { margin-bottom: 16px; }
.built-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.built-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.built-text p:last-of-type { margin-bottom: 32px; }
.built-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.built-actions 
.btn-primary{
    padding: 14px 32px;
    font-size: 15px;
}
 
/* Tech stack panel */
.built-stack {
  background: var(--surface-dark);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid rgba(79,140,255,0.1);
  position: relative;
  overflow: hidden;
}
.built-stack::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.stack-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}
.stack-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stack-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.stack-item:hover {
  border-color: rgba(79,140,255,0.2);
  background: rgba(79,140,255,0.05);
}
.stack-item-icon {
  font-size: 18px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}
.stack-item-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.stack-item-text span {
  font-size: 12px;
  color: var(--gray-500);
}
.stack-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 0;
}
 
/* ============ CTA SECTION ============ */
.section-cta {
  padding: 0 0 40px;
}
.cta-card {
  background: var(--surface-dark);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(79,140,255,0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 50%, rgba(139,92,246,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-card p {
  font-size: 17px;
  color: var(--gray-400);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-actions .btn-primary { padding: 14px 32px; font-size: 15px; }
.cta-actions .btn-secondary {
  padding: 14px 32px;
  font-size: 15px;
  background: transparent;
  color: var(--gray-300);
  border-color: rgba(255,255,255,0.15);
}
.cta-actions .btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}
 
/* ============ RESPONSIVE ============ */
@media (max-width: 989px) {
  :root { --section-padding: 70px 0; }
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .page-hero { padding: 120px 0 60px; }
  .mission-layout { grid-template-columns: 1fr; gap: 40px; }
  .built-layout { grid-template-columns: 1fr; gap: 40px; }
  .cta-card { padding: 48px 24px; }
    .page-hero h1 { font-size: 32px; letter-spacing: -1px; }
  .page-hero-subtitle { font-size: 16px; }
  .built-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
    .section-mission {
        padding: 0 0 60px;
    }
    .section-built {
        padding: 60px 0;
    }
    .section-cta {
        padding: 0 0 40px;
    }
}