/* SANDRA 2026 - Editorial Dark Mode Design System */

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

:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --surface: #141414;
  --border: rgba(255,255,255,0.06);
  --text: #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.4);
  --accent: #3b82f6;
  --accent-glow: rgba(59,130,246,0.3);
  --accent-light: #60a5fa;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.display-xl {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.display-lg {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-lg {
  padding: 200px 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-scrolled {
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-light);
  box-shadow: 0 0 30px var(--accent-glow);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(59,130,246,0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59,130,246,0.1), transparent);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

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

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-glow);
  background: rgba(59,130,246,0.1);
}

.hero h1 {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  background: var(--accent-light);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.2);
  box-shadow: none;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
}

.bento-item:hover {
  border-color: rgba(255,255,255,0.12);
}

.bento-large {
  grid-column: span 7;
}

.bento-medium {
  grid-column: span 5;
}

.bento-small {
  grid-column: span 4;
}

/* Stats */
.stat-value {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 120px 0 60px;
}

.footer-cta {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  max-width: 800px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 6;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .hero {
    padding-bottom: 80px;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.1;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .display-xl {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  
  .display-lg {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .display-md {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 1;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-lg {
    padding: 80px 0;
  }
  
  .footer {
    padding: 60px 0 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 40px;
    padding-top: 40px;
  }
  
  .footer-cta {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Stack grid layouts on mobile */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  [style*="grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Stack flex layouts on mobile */
  [style*="display: flex"][style*="gap: 4rem"],
  [style*="display: flex"][style*="gap: 6rem"],
  [style*="display: flex"][style*="gap: 8rem"] {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  /* Reduce padding on mobile */
  [style*="padding: 2.5rem"] {
    padding: 1.5rem !important;
  }
  
  /* Make stat values smaller on mobile */
  .stat-value {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  /* Reduce form input padding on mobile */
  .form-input {
    padding: 0.75rem;
  }
}