:root {
  --bg-primary: #FCFCFD;
  --bg-secondary: #F4F7FB;
  --bg-dark: #0B1220;
  
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-secondary: #7C3AED;
  --color-accent: #06B6D4;
  --color-highlight: #F59E0B;
  
  --color-success: #16A34A;
  --color-warning: #EA580C;
  
  --text-main: #111827;
  --text-secondary: #6B7280;
  --text-muted: #94A3B8;
  --text-light: #F4F7FB;
  
  --card-bg: #FFFFFF;
  --border-color: #DCE7F2;
  --border-hover: #7C3AED;
  --btn-secondary-border: #CBD5E1;
  
  --radius-card: 24px;
  --radius-btn: 12px;
  
  --shadow-sm: 0 4px 6px -1px rgba(11, 18, 32, 0.05), 0 2px 4px -1px rgba(11, 18, 32, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(11, 18, 32, 0.05), 0 4px 6px -2px rgba(11, 18, 32, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(11, 18, 32, 0.05), 0 10px 10px -5px rgba(11, 18, 32, 0.02);
  --shadow-floating: 0 30px 60px -10px rgba(11, 18, 32, 0.08);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-primary);
}

body {
  overflow-x: hidden;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 8px;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
p { margin-bottom: 1.25rem; color: var(--text-secondary); }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition-smooth); }
a:hover { color: var(--color-primary-hover); }

/* Layout & Spacing */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-dark { background-color: var(--bg-dark); color: var(--text-light); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark p { color: var(--text-light); }
.section-alt { background-color: var(--bg-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
}
.btn-secondary {
  background-color: var(--card-bg);
  color: var(--text-main);
  border-color: var(--btn-secondary-border);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--color-secondary);
  transform: translateY(-2px);
}
.btn-large {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
}

/* Glassmorphism & Cards */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(220, 231, 242, 0.6);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}
.glass-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-floating);
  border-color: var(--border-hover);
}
.glass-card:hover::before { opacity: 1; }

.dark-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}
.dark-card p { color: var(--text-muted); }

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(252, 252, 253, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon { width: 32px; height: 32px; fill: var(--color-primary); }
.main-nav {
  display: flex;
  gap: 2rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-link svg { width: 18px; height: 18px; }
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-btn svg { width: 24px; height: 24px; stroke: var(--text-main); }

/* Hero Section (40/60 Asymmetric) */
.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-visual {
  position: relative;
}
.floating-panel {
  position: absolute;
  top: 10%; right: -5%;
  width: 320px;
  padding: 2rem;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Horizontal Slider */
.horizontal-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: none;
}
.horizontal-slider::-webkit-scrollbar { display: none; }
.slider-item {
  min-width: 350px;
  scroll-snap-align: start;
}

/* Interactive Comparison Matrix */
.comparison-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.comparison-matrix th, .comparison-matrix td {
  padding: 1.25rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.comparison-matrix th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-main);
  position: sticky;
  top: 0;
}
.comparison-matrix tr:last-child td { border-bottom: none; }
.comparison-matrix tbody tr:hover { background: rgba(244, 247, 251, 0.5); }
.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
}
.status-yes { background: rgba(22, 163, 74, 0.1); color: var(--color-success); }
.status-no { background: rgba(234, 88, 12, 0.1); color: var(--color-warning); }

/* Platform Tabs */
.tabs-container {
  margin-top: 3rem;
}
.tabs-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.tab-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-smooth);
}
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active { color: var(--color-primary); }
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1rem; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
}
.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-dot {
  position: absolute;
  left: -2.35rem; top: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 4px solid var(--bg-primary);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-secondary);
}
.faq-answer p { margin-top: 1rem; margin-bottom: 0; }
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 500px; }

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--btn-secondary-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  background: var(--bg-primary);
  transition: var(--transition-smooth);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.form-control { min-height: 150px; resize: vertical; }

/* Disclaimer Box */
.disclaimer-box {
  background: rgba(234, 88, 12, 0.05);
  border-left: 4px solid var(--color-warning);
  padding: 1.5rem;
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  margin-bottom: 2rem;
}
.disclaimer-box p { margin-bottom: 0; color: var(--text-main); font-size: 0.95rem;}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-heading {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--color-primary); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 2rem;
  z-index: 2000;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.cookie-banner.show { bottom: 0; }
.cookie-buttons { display: flex; gap: 1rem; }
.cookie-buttons .btn-secondary { background: transparent; color: var(--text-light); border-color: rgba(255,255,255,0.2); }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .floating-panel { position: relative; width: 100%; top: 0; right: 0; animation: none; margin-top: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-buttons { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 80px; left: 100%; right: 0; bottom: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition-smooth);
  }
  .main-nav.open { left: 0; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .horizontal-slider { flex-direction: column; overflow: visible; }
  .slider-item { min-width: 100%; }
}

/* Print Styles */
@media print {
  .site-header, .site-footer, .cookie-banner, .btn, .skip-link { display: none !important; }
  body { color: #000; background: #fff; }
  .glass-card, .comparison-matrix { border: 1px solid #000; box-shadow: none; }
}