/* ============================================
   TOUCHSCREEN GESTURES — Design System
   Light mode only · Compact · Liquid Glass
   ============================================ */

/* 1. DESIGN TOKENS */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F7;
  --color-surface: #FFFFFF;
  --color-primary: #1A2550;
  --color-accent: #3366CC;
  --color-accent-hover: #2952a3;
  --color-success: #33B855;
  --color-text: #1D1D1F;
  --color-text-muted: #6E6E73;
  --color-border: rgba(0, 0, 0, 0.08);

  /* Hero */
  --color-monitor-bezel: #2a3a6a;
  --color-monitor-border: #3a4a7a;
  --color-monitor-screen: #1a2040;
  --color-dock-dot: #8899cc;

  /* Liquid glass */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --glass-hover-bg: rgba(255, 255, 255, 0.65);
  --glass-hover-border: rgba(255, 255, 255, 0.7);
  --glass-hover-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --chroma-red: rgba(255, 80, 80, 0.12);
  --chroma-blue: rgba(80, 120, 255, 0.12);
  --chroma-green: rgba(80, 255, 120, 0.06);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;

  /* Compact spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 980px;

  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --elastic: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* 2. RESET + BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

img, svg { display: block; max-width: 100%; }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--color-accent-hover); }
ul { list-style: none; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.125rem; }

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

.section__desc {
  color: var(--color-text-muted);
  max-width: 600px;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.section__desc + .section__desc { margin-top: var(--space-sm); }

.text-center { text-align: center; margin-inline: auto; }

/* 4. LAYOUT */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--color-bg-alt); }

/* 5. BUTTONS — glass handled by liquid-glass-lib */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.7rem 1.625rem;
  border-radius: var(--radius-pill) !important;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.btn--primary {
  background: var(--color-accent) !important;
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--color-accent-hover) !important;
  color: #FFFFFF;
}

.btn--outline {
  color: var(--color-accent);
}

.btn--outline:hover {
  color: var(--color-accent-hover);
}

/* Darker tint on white backgrounds so glass stands out */
.section:not(.section--alt) .btn.liquid-glass,
#pricing .btn.liquid-glass {
  background: rgba(0, 0, 0, 0.04);
}

.section:not(.section--alt) .btn--primary.liquid-glass,
#pricing .btn--primary.liquid-glass {
  background: var(--color-accent) !important;
}

.btn--sm { font-size: 0.8125rem; padding: 0.45rem 1.125rem; }
.btn--lg { font-size: 1rem; padding: 0.8rem 1.875rem; }

/* Hero meta text */
.hero__meta {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.8rem 0;
  transition: all var(--transition);
}


.nav__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
  padding-block: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border-radius: 980px !important;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: #FFFFFF;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  /* Subtle cast shadow so the brand mark lifts off the nav's liquid-glass
     backdrop. Matches the footer logo's shadow style but scaled smaller
     to suit the 28px nav icon. */
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.1));
}

.nav__links { display: flex; gap: 1.125rem; }

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.nav__links a:hover { color: #FFFFFF; }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

.nav__cta {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Scrolled nav — colors only (glass handled by liquid-glass-lib on .nav__inner) */
.nav--scrolled {
  /* no additional glass needed — .nav__inner has it always via the lib */
}

.nav--scrolled .nav__logo { color: var(--color-text); }
.nav--scrolled .nav__links a { color: var(--color-text-muted); }
.nav--scrolled .nav__links a:hover { color: var(--color-text); }

.nav--scrolled .nav__cta {
  background: rgba(255, 255, 255, 0.5) !important;
  color: var(--color-text) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.nav--scrolled .nav__cta:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  color: var(--color-text) !important;
}
.nav--scrolled .nav__hamburger span { background: var(--color-text); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--glass-bg);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  overflow: hidden;
  padding: 6rem 0 3rem;
}

.hero__bg-glow {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(51, 102, 204, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Parallax layers */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero__app-icon {
  display: inline-block;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  border-radius: 14px !important;
  width: 56px;
  height: 56px;
}

.hero__app-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: block;
}

.hero__title {
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__ctas .btn--outline {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.hero__ctas .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.hero__buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.36rem;
  white-space: nowrap;
}

.hero__buy-old {
  font-size: 0.74em;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.hero__buy-new {
  font-weight: inherit;
  letter-spacing: 0;
}

.hero__illustration {
  max-width: 440px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.hero__monitor { width: 100%; height: auto; }

.hero__badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ PROBLEM ============ */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.problem__visual { display: flex; justify-content: center; }

.problem__illustration {
  width: 100%;
  max-width: 280px;
  color: var(--color-text-muted);
}

/* ============ FEATURES ============ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: var(--space-lg);
}

/* Liquid Glass Feature Cards */
.feature-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--glass-shadow);
  transition: transform var(--elastic), background var(--transition), border-color var(--transition);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
  transition: all 0.4s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--chroma-red), transparent 40%, transparent 60%, var(--chroma-blue));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-3px) scale(1.015);
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
}

.feature-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.feature-card:hover::after { opacity: 1; }

.feature-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card__title { margin-bottom: 0.375rem; }

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Highlight pills — liquid glass */
.features__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-top: var(--space-lg);
}

.highlight-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--elastic), background var(--transition), border-color var(--transition), color var(--transition);
  overflow: hidden;
}

.highlight-pill::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--chroma-red), transparent 35%, transparent 65%, var(--chroma-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.highlight-pill:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  color: var(--color-text);
  transform: scale(1.04);
}

.highlight-pill:hover::after { opacity: 1; }

.highlight-pill svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* ============ HOW IT WORKS ============ */
.steps__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-lg);
}

.step {
  text-align: center;
  max-width: 240px;
  flex: 1;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 16px rgba(51, 102, 204, 0.35);
}

.step__icon {
  width: 72px;
  height: 72px;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.step__icon svg { width: 100%; height: 100%; }
.step__title { margin-bottom: 0.375rem; }

.step__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 64px;
  flex-shrink: 0;
  width: 50px;
  color: var(--color-text-muted);
}

.step__connector svg { width: 100%; }

/* ============ COMPATIBILITY ============ */
.compat__featured { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }

.compat__featured-inner {
  max-width: 640px;
  margin-inline: auto;
  padding: 1.25rem var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.compat__featured-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.compat__featured-inner::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--chroma-red), transparent 30%, var(--chroma-green) 50%, transparent 70%, var(--chroma-blue));
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.compat__featured-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.375rem;
}

.compat__featured-text h3 { margin-bottom: 0.375rem; }

.compat__featured-text p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.compat__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.brand-pill {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: var(--color-text);
  transition: transform var(--elastic), background var(--transition), border-color var(--transition);
  overflow: hidden;
}

.brand-pill::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--chroma-red), transparent 40%, transparent 60%, var(--chroma-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.brand-pill:hover {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  transform: scale(1.04);
}

.brand-pill:hover::after { opacity: 1; }

.brand-pill--featured { border-color: var(--color-accent); color: var(--color-accent); }

.brand-pill--more {
  font-weight: 400;
  color: var(--color-text-muted);
  font-style: italic;
}

.compat__requirements {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.compat__req {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.compat__req svg { flex-shrink: 0; color: var(--color-success); }

/* ============ PRICING ============ */
.pricing__card {
  max-width: 420px;
  margin-inline: auto;
  margin-top: var(--space-lg);
  padding: var(--space-lg) var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.pricing__card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--chroma-red), transparent 30%, var(--chroma-green) 50%, transparent 70%, var(--chroma-blue));
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.pricing__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: var(--space-md);
}

.pricing__price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.pricing__currency { font-size: 1.375rem; font-weight: 600; margin-top: 0.5rem; color: var(--color-text); }
.pricing__amount { font-size: 4rem; font-weight: 700; letter-spacing: -0.03em; color: var(--color-text); }
.pricing__cents { font-size: 1.375rem; font-weight: 600; margin-top: 0.5rem; color: var(--color-text); }

.pricing__features { text-align: left; margin-bottom: var(--space-md); }

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.pricing__features li:last-child { border-bottom: none; }
.pricing__features svg { flex-shrink: 0; }
.pricing__cta { width: 100%; }

/* ============ FAQ ============ */
.faq__list {
  max-width: 680px;
  margin-inline: auto;
  margin-top: var(--space-lg);
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding-inline: 0.875rem;
  margin-inline: -0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.faq__item:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: transparent;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

.faq__question:hover { color: var(--color-accent); }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; content: ""; }

.faq__chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-text-muted);
}

.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { overflow: hidden; padding-bottom: 0.75rem; }

.faq__answer p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer strong {
  color: #FFFFFF;
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer__brand { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__brand img { border-radius: 5px; }

.footer__brand strong {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 340px;
}

.footer__links { display: flex; flex-direction: column; gap: 0.375rem; }

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover { color: #FFFFFF; }
.footer__download { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__download .btn { text-align: center; }

.footer__download .btn--outline {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.footer__download .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__privacy { font-style: italic; }

.footer__trademarks {
  display: block;
  width: 100%;
  font-size: 0.625rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.25);
  margin-top: var(--space-sm);
}

/* 6. ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.features__grid .feature-card:nth-child(2) { transition-delay: 60ms; }
.features__grid .feature-card:nth-child(3) { transition-delay: 120ms; }
.features__grid .feature-card:nth-child(4) { transition-delay: 180ms; }
.features__grid .feature-card:nth-child(5) { transition-delay: 240ms; }
.features__grid .feature-card:nth-child(6) { transition-delay: 300ms; }

.steps__grid .step:nth-child(3) { transition-delay: 120ms; }
.steps__grid .step:nth-child(5) { transition-delay: 240ms; }

/* 7. RESPONSIVE */
@media (max-width: 1024px) {
  .section { padding: var(--space-lg) 0; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer__brand { grid-column: 1 / -1; }
  .step__connector { width: 36px; }
}

@media (max-width: 640px) {
  .section { padding: var(--space-md) 0; }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero {
    min-height: auto;
    padding: calc(4rem + 48px) 0 2rem;
  }

  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 280px; }
  .hero__badges { gap: 0.3rem; }
  .badge { font-size: 0.6875rem; padding: 0.2rem 0.5rem; }

  .problem__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .problem__visual { order: -1; }
  .features__grid { grid-template-columns: 1fr; }
  .features__highlights { gap: 0.375rem; }
  .highlight-pill { font-size: 0.75rem; padding: 0.4rem 0.75rem; }

  .steps__grid { flex-direction: column; align-items: center; gap: var(--space-md); }
  .step__connector { display: none; }
  .step { max-width: 100%; }
  .compat__requirements { flex-direction: column; align-items: center; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .pricing__card { padding: var(--space-md); }
  .pricing__amount { font-size: 3.25rem; }
}

/* ============================================================
   Accessibility layer — April 2026 legal-compliance additions
   WCAG 2.1 AA + EN 301 549 (European Accessibility Act 2019/882)
   ============================================================ */

/* Skip-to-content link (WCAG 2.4.1 Bypass Blocks).
   Visually-hidden pattern (Bootstrap, GOV.UK, Apple, GitHub all use this):
   collapsed to a 1×1px clipped speck — completely invisible to sighted
   mouse/touch users. Reveals as a styled chip ONLY when keyboard-focused,
   satisfying WCAG 2.4.7 Focus Visible (Level AA). */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.625rem 1.25rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  background: #1A2550;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  outline: 2px solid #fff;
  outline-offset: 2px;
  z-index: 10000;
}

/* Universal visible focus ring (WCAG 2.4.7 Focus Visible + 2.4.11 Focus Not Obscured) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex="0"]:focus-visible,
details > summary:focus-visible {
  outline: 2px solid #1A2550;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Contrast fix: replace the previous #888 body-text colour with 4.6:1 #6b6b6b
   (WCAG 1.4.3 requires 4.5:1 for body text; #888 on #fff is only 3.54:1). */
.footer__trademarks,
.footer__imprint,
.hero__trust,
.download-capture__fineprint,
.pricing-tier__note {
  color: #6b6b6b;
}
