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

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

:root {
  /* New Color System - Dark Purple & Electric Blue */
  --primary-900: #1A0B2E;
  --primary-800: #2D1B4E;
  --primary-700: #3F2A6B;
  --primary-600: #523A88;
  --primary-500: #6B4EAE;
  --primary-400: #8B6BC8;
  --primary-300: #A688D4;
  --primary-200: #C2A5E0;
  --primary-100: #E1D4F0;
  --primary-50: #F3EFFA;

  /* Electric Accent Colors */
  --electric-500: #00D9FF;
  --electric-400: #33E1FF;
  --electric-300: #66E9FF;
  --electric-200: #99F1FF;
  --electric-100: #CCF8FF;

  /* Supporting Colors */
  --success-500: #00C896;
  --warning-500: #FFB800;
  --error-500: #FF4757;

  /* Neutrals */
  --neutral-900: #0F0F23;
  --neutral-800: #1A1A2E;
  --neutral-700: #2E2E48;
  --neutral-600: #4A4A6A;
  --neutral-500: #6B6B8D;
  --neutral-400: #8E8EAF;
  --neutral-300: #B1B1C7;
  --neutral-200: #D4D4E0;
  --neutral-100: #E8E8F0;
  --neutral-50: #F7F7FA;
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing System (12px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 11, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 11, 46, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 11, 46, 0.16);
  --shadow-xl: 0 24px 64px rgba(26, 11, 46, 0.20);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  --gradient-electric: linear-gradient(135deg, var(--electric-500) 0%, var(--primary-500) 100%);
  --gradient-surface: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 100%);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ─── HEADER ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  padding: var(--space-4) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-800);
  letter-spacing: -0.02em;
}

.brand-name span {
  background: linear-gradient(135deg, var(--electric-500) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
  background: linear-gradient(135deg, var(--electric-500) 0%, var(--primary-500) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ─── PAGE HERO ──────────────────────────── */
.page-hero {
  background: var(--gradient-primary);
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
}

.page-hero-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-400);
  background: rgba(0, 217, 255, 0.15);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 217, 255, 0.3);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.page-hero p {
  font-size: 18px;
  color: var(--primary-100);
  max-width: 580px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ─── PAGE CONTENT ───────────────────────── */
.page-section {
  padding: var(--space-24) 0;
}

.page-section:nth-child(even) {
  background: var(--neutral-50);
}

.page-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-section p {
  font-size: 16px;
  color: var(--neutral-600);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: var(--space-4);
}

.page-section p:last-child {
  margin-bottom: 0;
}

/* About blocks grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-img-placeholder {
  background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
  border-radius: var(--radius-2xl);
  border: 1px solid var(--neutral-200);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--neutral-500);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.about-img-placeholder svg {
  opacity: 0.4;
  width: 32px;
  height: 32px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 16px;
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.section-label-page {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-500);
  background: linear-gradient(135deg, var(--electric-100), var(--primary-100));
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid var(--electric-200);
  margin-bottom: var(--space-4);
}

/* Values row for about page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-2);
}

.value-card {
  background: var(--gradient-surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--electric-500) 0%, var(--primary-500) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.value-icon svg {
  color: var(--white);
  width: 24px;
  height: 24px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-2);
}

.value-card p {
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Empty content block */
.empty-content {
  padding: var(--space-24) 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-content-inner {
  text-align: center;
  color: var(--neutral-400);
}

.empty-content-inner svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.empty-content-inner p {
  font-size: 15px;
  margin-top: var(--space-3);
  color: var(--neutral-400);
}

/* ─── FOOTER ─────────────────────────────── */
.site-footer {
  background: var(--primary-900);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--primary-700);
  margin-bottom: var(--space-8);
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand-name span {
  background: linear-gradient(135deg, var(--electric-500) 0%, var(--primary-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 14px;
  color: var(--primary-200);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer-col ul li {
  margin-bottom: var(--space-3);
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--primary-200);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--electric-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-copy {
  font-size: 13px;
  color: var(--primary-300);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: var(--primary-300);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--electric-400);
}

/* Legal Content Styles */
.legal-content {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--white);
}

.legal-meta {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-12);
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.legal-meta p {
  font-size: 14px;
  color: var(--neutral-600);
  margin: 0;
}

.legal-section {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--neutral-200);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}

.legal-section p {
  font-size: 16px;
  color: var(--neutral-700);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.contact-details {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-top: var(--space-4);
}

.contact-details p {
  margin-bottom: var(--space-2);
  font-size: 15px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

/* About Page Improvements */
.hero-content-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-img-real {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
}

.about-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: var(--radius-2xl);
}

.story-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.story-content h2 {
  margin-bottom: var(--space-12);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
  margin-top: var(--space-8);
}

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

.story-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-electric);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-md);
}

.story-icon svg {
  color: var(--white);
}

.story-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-3);
}

.story-item p {
  font-size: 15px;
  color: var(--neutral-600);
  line-height: 1.6;
}

.values-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.values-content h2 {
  margin-bottom: var(--space-4);
}

.values-content > p {
  margin-bottom: var(--space-12);
}

.leadership-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.leadership-content h2 {
  margin-bottom: var(--space-12);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.leader-card {
  background: var(--gradient-surface);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.leader-avatar {
  width: 80px;
  height: 80px;
  background: var(--gradient-electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-md);
}

.leader-avatar svg {
  color: var(--white);
}

.leader-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-800);
  margin-bottom: var(--space-1);
}

.leader-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--electric-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3) !important;
}

.leader-card p:not(.leader-title) {
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .about-grid.reverse {
    direction: ltr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-meta {
    flex-direction: column;
    gap: var(--space-2);
  }
}

@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}