/* Design System Tokens */
:root {
  /* Colors */
  --color-navy: #0B1020;
  --color-purple: #6D5DF6;
  --color-lavender: #EEF0FF;
  --color-grey: #F6F7FB;
  --color-white: #FFFFFF;
  --color-text-dark: #111827;
  --color-text-muted: #6B7280;

  /* Typography */
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(11 16 32 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(11 16 32 / 0.08), 0 2px 4px -2px rgb(11 16 32 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(11 16 32 / 0.1), 0 4px 6px -4px rgb(11 16 32 / 0.1);
  --shadow-glow: 0 0 40px -10px rgba(109, 93, 246, 0.4);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 250ms ease-out;
}

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

body {
  font-family: var(--font-family-base);
  background-color: var(--color-grey);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-3); }

p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
}

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

.section { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-12) 0; }

.section-dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-white); }
.section-dark p { color: #9CA3AF; }

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 16, 32, 0.05);
  padding: var(--space-4) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo-icon {
  height: 72px;
  width: auto;
}

.logo-text {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-pill {
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  background-color: var(--color-navy);
  color: var(--color-white) !important;
}

.btn-pill:hover {
  background-color: var(--color-purple);
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--color-purple);
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px 0 rgba(109, 93, 246, 0.39);
}

.btn-primary:hover {
  background-color: #5b4de0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 93, 246, 0.23);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-full);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Glass & Cards */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(11, 16, 32, 0.03);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-lavender);
  color: var(--color-purple);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 1.5rem;
  font-weight: bold;
}

/* Hero Video & Slideshow */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e1b4b 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 16, 32, 0.75);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
}

/* Hero Abstract (Restored) */
.hero-abstract {
  position: relative;
  width: 100%;
  height: 400px;
}

.hero-abstract-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: var(--color-purple);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 0;
}

.hero-abstract-main {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 500px;
  background: var(--color-navy);
  border-radius: 3.5rem;
  z-index: 1;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-abstract-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.5);
}

.float-1 { top: 10%; right: -10%; }
.float-2 { bottom: 20%; left: -10%; }
.float-3 { top: 40%; left: -20%; }
.float-4 { bottom: 10%; right: -5%; }

/* Slideshow */
.slideshow-container {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-lavender);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }
}

/* Trust Strip */
.trust-strip {
  background-color: var(--color-lavender);
  padding: var(--space-6) 0;
}

.trust-pills {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-navy);
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-lavender);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  width: 30%;
  background: var(--color-grey);
}

.timeline-number {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border: 2px solid var(--color-purple);
  color: var(--color-purple);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

/* Product Cards */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image-area {
  height: 240px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}

.badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(109, 93, 246, 0.2);
  color: #c4bbfd;
  padding: 2px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(109, 93, 246, 0.4);
}

.product-bullets {
  margin: var(--space-4) 0;
  color: #9CA3AF;
}

.product-bullets li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
}

.product-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-purple);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }

.tile {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  text-align: center;
  color: var(--color-text-dark);
}

/* Footer */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
  display: inline-block;
}

.footer h4 { margin-bottom: var(--space-4); color: var(--color-white); }
.footer ul li { margin-bottom: var(--space-2); }
.footer a { color: #9CA3AF; transition: color var(--transition-fast); }
.footer a:hover { color: var(--color-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-8); text-align: center; color: #9CA3AF; font-size: 0.875rem; }

/* Responsive */
@media (max-width: 992px) {
  .split-layout { grid-template-columns: 1fr; }
  .slideshow-container { margin-top: var(--space-12); }
  .hero-abstract { margin-top: var(--space-12); }
  .float-1 { right: 0; }
  .float-3 { left: 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { text-align: center; }
  .hero-buttons { justify-content: center; }
  .timeline { flex-direction: column; gap: var(--space-8); }
  .timeline::before { display: none; }
  .timeline-step { width: 100%; display: flex; align-items: flex-start; gap: var(--space-4); }
  .timeline-number { margin-bottom: 0; flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
