/* ============================================================
   GEZEGEN BİLİŞİM — Design System
   Apple-inspired, dark premium, dual-accent (AI blue + VR purple)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors (from logo) */
  --gezegen-black: #111111;
  --gezegen-gray: #555555;

  /* Backgrounds */
  --bg-hero: #050508;
  --bg-dark: #0a0a0f;
  --bg-section: #0f0f14;
  --bg-section-alt: #121218;
  --bg-card: #1a1a24;
  --bg-card-hover: #222230;

  /* Accent Colors */
  --accent-ai: #3b82f6;
  --accent-ai-glow: rgba(59, 130, 246, 0.3);
  --accent-vr: #8b5cf6;
  --accent-vr-glow: rgba(139, 92, 246, 0.3);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --text-accent: #d0d0e0;

  /* Gradients */
  --gradient-ai: linear-gradient(135deg, #3b82f6, #06b6d4);
  --gradient-vr: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  --gradient-hero-vr: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: clamp(13px, 1.2vw, 15px);
  --font-size-sm: clamp(15px, 1.4vw, 16px);
  --font-size-base: clamp(16px, 1.6vw, 18px);
  --font-size-lg: clamp(18px, 2vw, 22px);
  --font-size-xl: clamp(22px, 2.5vw, 28px);
  --font-size-2xl: clamp(28px, 3.5vw, 40px);
  --font-size-3xl: clamp(36px, 5vw, 56px);
  --font-size-hero: clamp(40px, 6vw, 72px);

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 100px;
  --space-3xl: 140px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 200ms var(--ease-out-quart);
  --transition-base: 400ms var(--ease-out-expo);
  --transition-slow: 800ms var(--ease-out-expo);
  --transition-reveal: 1000ms var(--ease-out-expo);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow-ai: 0 0 40px rgba(59, 130, 246, 0.15);
  --shadow-glow-vr: 0 0 40px rgba(139, 92, 246, 0.15);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gezegen-gray);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: var(--container-wide);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
}
.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  z-index: 1000;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}
.nav--scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav__logo {
  height: 32px;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}
.nav__logo:hover {
  opacity: 1;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}
.nav__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
  padding: var(--space-xs) 0;
}
.nav__link:hover {
  color: var(--text-primary);
}
.nav__lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}
.nav__lang-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}
.nav__lang-toggle .active-lang {
  color: var(--text-primary);
}
.nav__lang-toggle .inactive-lang {
  color: var(--text-muted);
}
.nav__lang-toggle .divider {
  color: var(--text-muted);
  margin: 0 4px;
}

/* Mobile nav toggle */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ---------- Section Base ---------- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.section__label--ai {
  color: var(--accent-ai);
}
.section__label--vr {
  color: var(--accent-vr);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.5;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-hero);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    var(--gradient-hero),
    var(--gradient-hero-vr);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 var(--space-md);
}

.hero__logo {
  width: 200px;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease-out-expo) 0.3s forwards;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out-expo) 0.6s forwards;
}
.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: var(--font-size-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: heroSlideUp 1.2s var(--ease-out-expo) 0.8s forwards;
}
.hero__title .highlight-ai {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__title .highlight-vr {
  background: var(--gradient-vr);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
  opacity: 0;
  animation: heroSlideUp 1.2s var(--ease-out-expo) 1s forwards;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroSlideUp 1.2s var(--ease-out-expo) 1.2s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  animation: bounceDown 2s ease-in-out infinite;
}
.hero__scroll-indicator svg {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--text-primary);
  color: var(--bg-dark);
}
.btn--primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
.btn--ai {
  background: var(--gradient-ai);
  color: #ffffff;
}
.btn--ai:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-ai);
}
.btn--vr {
  background: var(--gradient-vr);
  color: #ffffff;
}
.btn--vr:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-vr);
}

/* ---------- PILLARS SECTION (Split Screen) ---------- */
.pillars {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}
.pillars__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.pillars__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.pillar {
  position: relative;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base);
}
.pillar:hover {
  transform: scale(1.01);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  transition: opacity var(--transition-base);
  z-index: 0;
}
.pillar:hover::before {
  opacity: 0.1;
}

.pillar--ai {
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.06) 0%, var(--bg-section) 100%);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.pillar--ai::before {
  background: radial-gradient(circle at 30% 30%, var(--accent-ai-glow), transparent 70%);
}

.pillar--vr {
  background: linear-gradient(200deg, rgba(139, 92, 246, 0.06) 0%, var(--bg-section) 100%);
  border: 1px solid rgba(139, 92, 246, 0.1);
}
.pillar--vr::before {
  background: radial-gradient(circle at 70% 30%, var(--accent-vr-glow), transparent 70%);
}

.pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 28px;
  position: relative;
  z-index: 1;
}
.pillar--ai .pillar__icon {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-ai);
}
.pillar--vr .pillar__icon {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-vr);
}

.pillar__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.pillar__desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.pillar__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}
.pillar__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-size-sm);
  color: var(--text-accent);
}
.pillar__feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.pillar--ai .pillar__feature-icon {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-ai);
}
.pillar--vr .pillar__feature-icon {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-vr);
}

/* ---------- TIMELINE SECTION ---------- */
.timeline {
  background: var(--bg-section);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}
.timeline__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding: 0 var(--space-md);
}

.timeline__track-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}
.timeline__track-wrapper::-webkit-scrollbar {
  display: none;
}

.timeline__track {
  display: flex;
  gap: var(--space-md);
  padding: 0 calc(50vw - 180px);
  position: relative;
  min-width: max-content;
}
.timeline__track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 10%,
    rgba(255, 255, 255, 0.08) 90%,
    transparent 100%
  );
  transform: translateY(-50%);
}

.timeline__item {
  flex: 0 0 300px;
  position: relative;
  padding-top: 40px;
}
.timeline__item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
  z-index: 2;
}

.timeline__card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition-base);
}
.timeline__card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.timeline__year {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}
.timeline__milestone {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline scroll hint */
.timeline__scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  margin-top: var(--space-md);
  animation: pulseHorizontal 2s ease-in-out infinite;
}

/* ---------- VR SHOWCASE SECTION ---------- */
.showcase {
  background: var(--bg-dark);
  padding: var(--space-3xl) 0;
  position: relative;
}
.showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(139, 92, 246, 0.05), transparent 70%);
  pointer-events: none;
}
.showcase__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.showcase__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
  transform-style: preserve-3d;
  perspective: 800px;
}
.showcase__card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: var(--shadow-glow-vr);
}

.showcase__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.showcase__card:hover .showcase__card-image {
  transform: scale(1.05);
}

.showcase__card-body {
  padding: var(--space-md);
}
.showcase__card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.showcase__card-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}
.showcase__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-vr);
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-top: var(--space-sm);
}

/* ---------- AI SECTION ---------- */
.ai-section {
  background: var(--bg-section);
  padding: var(--space-3xl) 0;
  position: relative;
}
.ai-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.04), transparent 60%);
  pointer-events: none;
}

.ai-section__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 var(--space-md);
}

.ai-section__statement {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}
.ai-section__statement .highlight {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats / Counters */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) auto;
  max-width: 700px;
}
.stat {
  text-align: center;
}
.stat__number {
  font-size: var(--font-size-hero);
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* AI Feature cards */
.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}
.ai-feature {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: left;
  transition: all var(--transition-base);
}
.ai-feature:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-ai);
}
.ai-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}
.ai-feature__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.ai-feature__desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- CONTACT / FOOTER ---------- */
.contact {
  background: var(--bg-hero);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.contact__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  margin: var(--space-lg) 0;
}
.contact__email:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.05);
}

.contact__address {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}
.footer__link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer__link:hover {
  color: var(--text-primary);
}

/* ---------- Keyframe Animations ---------- */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes pulseHorizontal {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .pillars__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-md);
  }
  .showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ai-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }
  .nav__links--open {
    display: flex;
  }
  .nav__link {
    font-size: var(--font-size-xl);
  }
  .nav__mobile-toggle {
    display: flex;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .hero__logo {
    width: 160px;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
  }
  .pillar {
    padding: var(--space-lg) var(--space-md);
  }

  .showcase__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
  .stat__number {
    font-size: var(--font-size-2xl);
  }

  .ai-features {
    grid-template-columns: 1fr;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .nav {
    padding: 0 var(--space-sm);
  }
  .hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }
  .timeline__item {
    flex: 0 0 260px;
  }
}
