/* ============================================
   TESLA/iOS INSPIRED PREMIUM DESIGN
   Advanced Animations & Interactive Elements
   ============================================ */

/* CSS Variables */
:root {
  /* Colors - Tesla/iOS inspired */
  --color-bg: #000000;
  --color-bg-secondary: #0a0a0a;
  --color-surface: #141414;
  --color-surface-elevated: #1a1a1a;
  
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #707070;
  
  --color-accent: #3e6ae1;
  --color-accent-hover: #5a7fe8;
  --color-success: #00d563;
  --color-warning: #ff6b35;
  
  /* Gradients - Liquid/Water effect */
  --gradient-shimmer: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 100%
  );
  
  --gradient-water: linear-gradient(
    135deg,
    rgba(62, 106, 225, 0.1) 0%,
    rgba(90, 127, 232, 0.15) 50%,
    rgba(62, 106, 225, 0.1) 100%
  );
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(62, 106, 225, 0.3);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.h3 { font-size: clamp(1.25rem, 2.5vw, 2rem); }
.h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--space-sm);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.kicker {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  display: inline-block;
}

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

.tiny {
  font-size: 0.875rem;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-secondary);
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* ============================================
   HEADER - Floating with blur
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  gap: var(--space-md);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  transition: all var(--transition-base);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-mark {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(62, 106, 225, 0.3);
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-shimmer);
  animation: shimmer 3s infinite;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.brand:hover .brand-mark::before {
  opacity: 1;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Navigation */
.site-nav {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.nav-link {
  padding: var(--space-xs) var(--space-md);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-water);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: 999px;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link span {
  position: relative;
  z-index: 1;
}

.nav-link.is-active {
  background: rgba(62, 106, 225, 0.15);
  color: var(--color-accent);
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle-bars {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  display: block;
  position: relative;
  transition: all var(--transition-base);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { bottom: -8px; }

/* ============================================
   BUTTONS - Water/Liquid Effect
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: white;
  box-shadow: 0 4px 16px rgba(62, 106, 225, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-shimmer);
  animation: shimmer 3s infinite;
  opacity: 0;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62, 106, 225, 0.5);
}

.btn:active {
  transform: translateY(0);
}

/* Button Variants */
.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-primary);
  box-shadow: none;
}

.btn-secondary::before {
  background: radial-gradient(circle, rgba(62, 106, 225, 0.2) 0%, transparent 70%);
}

.btn-secondary:hover {
  background: rgba(62, 106, 225, 0.1);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(62, 106, 225, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--color-accent);
  background: rgba(62, 106, 225, 0.05);
  box-shadow: none;
}

/* ============================================
   HERO SECTION - Tesla style
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(62, 106, 225, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(90, 127, 232, 0.1), transparent);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  animation: fadeInUp 1s ease-out;
}

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

.hero-copy .kicker {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-copy h1 {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-copy .lead {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin: var(--space-lg) 0;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hl {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Trust List */
.trust-list {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-top: var(--space-lg);
  animation: fadeInUp 1s ease-out 1s both;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.trust-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--color-success), #00ff88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: black;
  font-weight: bold;
}

/* Hero Card */
.hero-card {
  animation: fadeInRight 1s ease-out 0.4s both;
}

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

/* ============================================
   CARDS - Elevated with animations
   ============================================ */

.card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shimmer);
  transition: left var(--transition-slow);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 106, 225, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card:hover::before {
  left: 100%;
}

/* Service Cards */
.service h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.service p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.chip {
  padding: 0.4rem 0.8rem;
  background: rgba(62, 106, 225, 0.1);
  border: 1px solid rgba(62, 106, 225, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 500;
  transition: all var(--transition-base);
}

.chip:hover {
  background: rgba(62, 106, 225, 0.2);
  transform: scale(1.05);
}

/* Contact Tiles */
.contact-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background: var(--color-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-decoration: none;
  transition: all var(--transition-base);
  gap: var(--space-xs);
}

.tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(62, 106, 225, 0.2);
}

.tile-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.tile-title {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.tile-value {
  font-size: 1rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.cta-slab {
  background: linear-gradient(135deg, rgba(62, 106, 225, 0.1), rgba(90, 127, 232, 0.05));
  border: 1px solid rgba(62, 106, 225, 0.2);
  border-radius: 20px;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-slab::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(62, 106, 225, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

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

.cta-slab-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cta-banner {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  border-radius: 24px;
  padding: var(--space-2xl);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-banner h2,
.cta-banner p {
  position: relative;
  z-index: 1;
}

.cta-banner-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* ============================================
   FORMS
   ============================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.field input,
.field textarea,
.field select {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all var(--transition-base);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(62, 106, 225, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.check input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col h3 {
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* ============================================
   FLOATING ACTION BUTTON
   ============================================ */

.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-success), #00ff88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 213, 99, 0.4);
  transition: all var(--transition-base);
  z-index: 999;
  animation: bounce 2s infinite;
}

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

.fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 213, 99, 0.6);
  animation: none;
}

/* ============================================
   UTILITIES
   ============================================ */

.list {
  list-style: none;
  padding-left: 0;
}

.list li {
  padding-left: 1.5rem;
  margin-bottom: var(--space-xs);
  position: relative;
  color: var(--color-text-secondary);
}

.list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.notice {
  background: rgba(62, 106, 225, 0.05);
  border-left: 4px solid var(--color-accent);
  padding: var(--space-md);
  border-radius: 8px;
  margin: var(--space-md) 0;
}

.prose {
  max-width: 65ch;
}

.prose h2,
.prose h3 {
  margin-top: var(--space-lg);
}

.mt-24 { margin-top: var(--space-lg); }

/* FAQ Accordion */
.faq {
  margin-bottom: var(--space-sm);
}

.faq summary {
  padding: var(--space-sm);
  cursor: pointer;
  font-weight: 600;
  background: var(--color-surface-elevated);
  border-radius: 8px;
  transition: all var(--transition-base);
  list-style: none;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  background: rgba(62, 106, 225, 0.1);
  color: var(--color-accent);
}

.faq p {
  padding: var(--space-sm);
  color: var(--color-text-secondary);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quote Cards */
.quote {
  font-style: italic;
}

.quote blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

.quote figcaption {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  transition: all var(--transition-base);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Page Hero */
.page-hero {
  padding: 140px 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(62, 106, 225, 0.1), transparent);
  pointer-events: none;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .trust-list {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 3rem;
  }
  
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px var(--space-md) var(--space-md);
    transition: right var(--transition-base);
    box-shadow: var(--shadow-xl);
  }
  
  .site-nav.is-active {
    right: 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .cta-slab,
  .cta-banner-actions {
    flex-direction: column;
    text-align: center;
  }
  
  .fab {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

[data-scroll] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(62, 106, 225, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-accent);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
