/* ============================================
   MEDIA SHELL – Design System
   Inspired by ethereum.org layout & typography
   ============================================ */

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

/* ---------- Custom Properties ---------- */
:root {
  /* Brand Colors (from logo gradient) */
  --brand-teal: #0d9488;
  --brand-teal-light: #14b8a6;
  --brand-teal-dark: #0f766e;
  --brand-blue: #1e3a5f;
  --brand-blue-dark: #172554;
  --brand-gradient: linear-gradient(135deg, #0d9488, #1e3a5f);
  --brand-gradient-soft: linear-gradient(135deg, rgba(13, 148, 136, .08), rgba(30, 58, 95, .08));

  /* Ethereum-org inspired neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Accent */
  --accent-purple: #7c3aed;
  --accent-purple-light: #a78bfa;
  --accent-orange: #f59e0b;

  /* Semantic */
  --bg-primary: #ffffff;
  --bg-secondary: var(--gray-50);
  --bg-dark: var(--gray-900);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-400);
  --text-inverse: #ffffff;
  --border-color: var(--gray-200);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width: 1280px;
  --header-height: 76px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .03);
  --shadow-glow: 0 0 40px rgba(13, 148, 136, .15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ---------- Legal Pages ---------- */
.legal-page h1 {
  font-size: clamp(2rem, 4vw, var(--font-size-4xl));
  font-weight: 800;
  margin-bottom: var(--space-10);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-page h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.8;
  margin-bottom: var(--space-3);
}

.legal-page ol,
.legal-page ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-page ol li,
.legal-page ul li {
  margin-bottom: var(--space-2);
}

.legal-page a {
  color: var(--brand-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--brand-teal-dark);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--brand-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-teal-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--brand-teal);
  border-color: var(--brand-teal);
}

.btn-secondary:hover {
  background: var(--brand-teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--gray-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  color: #fff;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: var(--font-size-xl);
  color: var(--text-primary);
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-8);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width var(--transition-base);
}

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

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

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-option {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
  letter-spacing: 0.03em;
}

.lang-option:hover {
  color: var(--text-primary);
}

.lang-option.active {
  background: var(--brand-gradient);
  color: #fff;
}

.lang-option.active:hover {
  color: #fff;
}

.nav .btn {
  padding: 8px 20px;
  font-size: var(--font-size-sm);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-height) + var(--space-24));
  padding-bottom: var(--space-24);
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, .06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 58, 95, .04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(13, 148, 136, .15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--brand-teal-dark);
  margin-bottom: var(--space-8);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, var(--font-size-6xl));
  font-weight: 900;
  max-width: 800px;
  margin: 0 auto var(--space-6);
  letter-spacing: -0.025em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, var(--font-size-xl));
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero-image {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-top: var(--space-12);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
  margin-top: var(--space-1);
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--space-24) 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-inverse);
}

.section-dark .text-secondary {
  color: var(--gray-400);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, var(--font-size-4xl));
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Feature Row (alternating image+text) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-24);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse>* {
  direction: ltr;
}

.feature-content {
  max-width: 520px;
}

.feature-content .section-label {
  text-align: left;
}

.feature-content h2 {
  font-size: clamp(1.5rem, 3vw, var(--font-size-3xl));
  margin-bottom: var(--space-4);
}

.feature-content p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.feature-content .btn {
  margin-top: var(--space-4);
}

.feature-image {
  position: relative;
}

.feature-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

/* Feature stats inline */
.feature-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.feature-stat {
  text-align: left;
}

.feature-stat .stat-number {
  font-size: var(--font-size-3xl);
}

/* Comparison cards */
.comparison-cards {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.comparison-card {
  flex: 1;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.comparison-card.highlight {
  border-color: var(--brand-teal);
  background: rgba(13, 148, 136, .03);
  box-shadow: var(--shadow-glow);
}

.comparison-card-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.comparison-card.highlight .comparison-card-label {
  color: var(--brand-teal);
}

.comparison-card-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text-primary);
}

.comparison-card.highlight .comparison-card-value {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Trust Section ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.trust-item-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* ---------- Differentiator Grid (ethereum "What makes different") ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.diff-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 148, 136, .2);
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.diff-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diff-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

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

.diff-card .stat-highlight {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: var(--space-4);
  display: block;
}

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.service-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  padding: var(--space-6);
}

.service-card-body h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

.service-card-tagline {
  color: var(--brand-teal);
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
}

.service-card-body p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.service-card-link {
  font-weight: 600;
  font-size: var(--font-size-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-teal);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--brand-gradient);
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, var(--font-size-4xl));
  max-width: 700px;
  margin: 0 auto var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, .85);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.cta-section .btn {
  background: #fff;
  color: var(--brand-teal-dark);
  font-weight: 700;
}

.cta-section .btn:hover {
  background: var(--gray-100);
  color: var(--brand-teal-dark);
}

/* ---------- Get Started (Cards) ---------- */
.get-started-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.get-started-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.get-started-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, .2);
}

.get-started-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.get-started-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.get-started-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.get-started-card p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.get-started-card ul {
  list-style: none;
  margin-bottom: var(--space-5);
}

.get-started-card li {
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.get-started-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-teal);
  flex-shrink: 0;
}

/* ---------- Content Section (extra SEO text) ---------- */
.content-section {
  padding: var(--space-20) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
}

.content-main h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-6);
}

.content-main h3 {
  font-size: var(--font-size-xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.content-main p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  align-self: start;
}

.sidebar-card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--brand-gradient-soft);
  border: 1px solid rgba(13, 148, 136, .1);
}

.sidebar-card h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card li {
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(13, 148, 136, .08);
}

.sidebar-card li:last-child {
  border-bottom: none;
}

.sidebar-card li a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sidebar-card li a:hover {
  color: var(--brand-teal);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-5) 0;
  font-family: var(--font-family);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--brand-teal);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  stroke: var(--text-muted);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding-bottom: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: var(--font-size-base);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--gray-400);
  padding: var(--space-20) 0 var(--space-8);
}

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

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-4);
}

.footer-brand .logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--brand-teal);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-400);
  transition: fill var(--transition-fast);
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-column h4 {
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-3);
}

.footer-column a {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--font-size-sm);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  color: var(--gray-500);
  font-size: var(--font-size-sm);
}

.footer-legal a:hover {
  color: var(--gray-300);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .feature-content {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

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

  .content-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-8);
    box-shadow: -10px 0 30px rgba(0, 0, 0, .1);
    transition: right var(--transition-base);
    z-index: 1000;
    align-items: stretch;
  }

  .nav.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    padding: var(--space-4) 0;
    font-size: var(--font-size-lg);
  }

  .nav-links a::after {
    content: none !important;
    display: none !important;
    height: 0 !important;
    width: 0 !important;
  }

  .nav .btn {
    margin-top: var(--space-4);
    text-align: center;
    justify-content: center;
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-12);
  }

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

  .stats-bar {
    gap: var(--space-8);
  }

  .comparison-cards {
    flex-direction: column;
  }

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

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

  .get-started-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .feature-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .6;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Print */
@media print {

  .header,
  .menu-toggle,
  .footer-social {
    display: none;
  }

  .hero {
    padding-top: var(--space-8);
  }

  body {
    color: #000;
  }
}
