/* Components: Buttons, Cards, Sections - Liquid Design */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--animation-duration-fast) var(--animation-easing-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  /* Scale ripple with viewport for 4K - min ensures it covers button on small screens */
  width: min(400px, 50vmax);
  height: min(400px, 50vmax);
}

.btn-primary {
  background: var(--liquid-gradient-1);
  color: white;
  box-shadow:
    0 4px 16px rgba(59, 130, 246, 0.25),
    0 2px 8px rgba(20, 184, 166, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Liquid shimmer effect on primary button */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.25) 55%,
    transparent 80%
  );
  z-index: 2;
  transition: left 0.5s ease-out;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(59, 130, 246, 0.35),
    0 4px 12px rgba(20, 184, 166, 0.2),
    0 0 30px rgba(34, 211, 238, 0.15);
  color: white;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 2px 8px rgba(59, 130, 246, 0.3),
    0 1px 4px rgba(20, 184, 166, 0.15);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  color: var(--color-text);
}

/* Focus-visible: buttons need visible focus ring (WCAG 2.4.7) */
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: white;
  outline-offset: 2px;
}

/* Warm accent button - high visibility CTAs */
.btn-warm {
  background: var(--liquid-gradient-warm);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.3);
}

.btn-warm:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(255, 149, 0, 0.4);
  color: white;
}

.btn-warm:active {
  transform: translateY(0) scale(0.98);
}

/* =================================================================
   CARD TIER SYSTEM
   Tier 1 (Primary):   Hero cards, CTAs - highest visual weight
   Tier 2 (Secondary): Standard cards - moderate weight
   Tier 3 (Tertiary):  Metadata, requirements - minimal weight
   ================================================================= */

/* TIER 1: Primary cards - highest visual weight */
.card-primary {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 10px 15px -3px rgba(0, 0, 0, 0.08);
  transition:
    transform var(--animation-duration-fast) var(--animation-easing-smooth),
    box-shadow var(--animation-duration-fast) var(--animation-easing-smooth);
  position: relative;
}

.card-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--liquid-gradient-1);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--animation-duration-fast);
}

.card-primary:hover {
  transform: translateY(-6px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.12),
    0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

/* TIER 2: Secondary cards - moderate weight (standard) */
.card-secondary {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur-subtle) var(--glass-saturate);
  backdrop-filter: var(--glass-blur-subtle) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--glass-shadow);
  transition:
    transform var(--animation-duration-fast) var(--animation-easing-smooth),
    box-shadow var(--animation-duration-fast) var(--animation-easing-smooth),
    border-color var(--animation-duration-fast);
}

.card-secondary:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--glass-border-hover);
}

/* TIER 3: Tertiary cards - minimal weight */
.card-tertiary {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: border-color var(--animation-duration-fast);
}

.card-tertiary:hover {
  border-color: var(--color-border);
}

/* Card - Enhanced with liquid aesthetics */
.card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur-subtle) var(--glass-saturate);
  backdrop-filter: var(--glass-blur-subtle) var(--glass-saturate);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--glass-shadow), var(--glass-inner-glow);
  transition: all var(--animation-duration-fast) var(--animation-easing-smooth);
  position: relative;
  overflow: hidden;
}

/* Subtle foam highlight at top edge */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(224, 242, 254, 0.6) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(224, 242, 254, 0.6) 75%,
    transparent 100%
  );
  opacity: 0.7;
  transition: opacity var(--animation-duration-fast);
}

.card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-inner-glow);
}

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

.card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}

/* Sections */
.section {
  padding: clamp(3.25rem, 7vw, var(--spacing-2xl)) 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.85rem, 3.9vw, 2.85rem);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--liquid-deep) 0%,
    var(--liquid-mid) 25%,
    var(--liquid-teal) 60%,
    var(--liquid-aqua) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: liquidTextShift 6s ease-in-out infinite;
}

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

.section-subtitle {
  font-size: clamp(1.02rem, 0.95rem + 0.2vw, 1.2rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

/* Hero */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: var(--spacing-2xl) 0;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subhead {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.hero-note {
  margin-top: var(--spacing-xl);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--animation-duration-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-lg);
  background: var(--liquid-gradient-1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(59, 130, 246, 0.2),
    0 2px 6px rgba(20, 184, 166, 0.15);
  transition: transform var(--animation-duration-fast), box-shadow var(--animation-duration-fast);
}

/* Shimmer effect on feature icons */
.feature-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 50%
  );
  opacity: 0.5;
  transition: opacity var(--animation-duration-fast);
}

.feature-card:hover .feature-icon {
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 8px 20px rgba(59, 130, 246, 0.25),
    0 4px 10px rgba(20, 184, 166, 0.2),
    0 0 25px rgba(34, 211, 238, 0.1);
}

.feature-card:hover .feature-icon::after {
  opacity: 0.8;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.feature-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

th, td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

th {
  font-weight: 600;
  background: var(--color-bg-alt);
  color: var(--color-text);
}

tr:hover {
  background: var(--color-bg-alt);
}

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

.fade-in-up {
  animation: fadeInUp 0.6s var(--animation-easing-smooth) forwards;
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--animation-easing-smooth);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Enhanced Liquid Design System
   ============================================ */

/* Liquid Blob - more organic shapes */
.liquid-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  animation: blobMorph 20s ease-in-out infinite;
}

.liquid-blob-primary {
  background: linear-gradient(135deg, var(--liquid-mid) 0%, var(--liquid-teal) 100%);
}

.liquid-blob-secondary {
  background: linear-gradient(135deg, var(--liquid-aqua) 0%, var(--liquid-bright) 100%);
  animation-delay: -7s;
}

.liquid-blob-tertiary {
  background: linear-gradient(135deg, var(--liquid-teal) 0%, var(--liquid-mid) 100%);
  animation-delay: -14s;
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    transform: translate(15px, -25px) rotate(5deg) scale(1.05);
  }
  50% {
    border-radius: 50% 60% 30% 60% / 50% 40% 70% 40%;
    transform: translate(-10px, 15px) rotate(-3deg) scale(0.98);
  }
  75% {
    border-radius: 30% 60% 60% 40% / 60% 50% 30% 60%;
    transform: translate(20px, 10px) rotate(3deg) scale(1.02);
  }
}

/* Liquid Shimmer Effect - for CTAs and highlights */
.liquid-shimmer {
  position: relative;
  overflow: hidden;
}

.liquid-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--liquid-shimmer-gradient);
  animation: shimmerSlide 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes shimmerSlide {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 1;
  }
  51%, 100% {
    left: 100%;
    opacity: 0;
  }
}

/* Liquid Ripple Effect - for interactive elements */
.liquid-ripple {
  position: relative;
  overflow: hidden;
}

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

.liquid-ripple:hover::before {
  width: 250%;
  height: 250%;
  opacity: 1;
}

/* Water Surface Effect - subtle wave pattern */
.liquid-surface {
  position: relative;
}

.liquid-surface::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(255, 255, 255, 0.02) 50px,
      rgba(255, 255, 255, 0.02) 100px
    );
  animation: waveDrift 8s linear infinite;
  pointer-events: none;
}

@keyframes waveDrift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100px);
  }
}

/* Foam Highlight - for card tops and edges */
.liquid-foam-edge {
  position: relative;
}

.liquid-foam-edge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(224, 242, 254, 0.8) 20%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(224, 242, 254, 0.8) 80%,
    transparent 100%
  );
  border-radius: 50%;
}

/* Liquid Glow - for focus states and accents */
.liquid-glow {
  box-shadow:
    0 0 20px rgba(59, 130, 246, 0.15),
    0 0 40px rgba(20, 184, 166, 0.1),
    0 0 60px rgba(34, 211, 238, 0.05);
}

.liquid-glow-intense {
  box-shadow:
    0 0 25px rgba(59, 130, 246, 0.25),
    0 0 50px rgba(20, 184, 166, 0.15),
    0 0 75px rgba(34, 211, 238, 0.1);
}

/* Liquid Text Gradient - enhanced with color variation */
.text-liquid {
  background: linear-gradient(
    135deg,
    var(--liquid-deep) 0%,
    var(--liquid-mid) 30%,
    var(--liquid-teal) 60%,
    var(--liquid-aqua) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: liquidTextFlow 8s ease-in-out infinite;
}

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

/* Depth indicator - vertical gradient for scroll context */
.liquid-depth-indicator {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--liquid-foam) 0%,
    var(--liquid-aqua) 25%,
    var(--liquid-teal) 50%,
    var(--liquid-mid) 75%,
    var(--liquid-deep) 100%
  );
  opacity: 0.6;
  z-index: 50;
}

/* ============================================
   Hero Animation
   ============================================ */

.hero-animation {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-animation-stage {
  background: linear-gradient(
    135deg,
    #F8FAFC 0%,
    #EFF6FF 40%,
    #E0F7FA 70%,
    #E0F2FE 100%
  );
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

/* Subtle ambient movement in hero stage */
.hero-animation-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 70% 80%,
      rgba(20, 184, 166, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 50% 35% at 20% 20%,
      rgba(34, 211, 238, 0.06) 0%,
      transparent 45%
    );
  animation: stageAmbient 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes stageAmbient {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-animation-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-animation-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.hero-animation-caption {
  margin: 0;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.hero-animation-caption kbd {
  display: inline-block;
  padding: 0.2em 0.5em;
  font-family: var(--font-family-mono);
  font-size: 0.9em;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-animation-mobile-summary {
  display: none;
}

/* Realistic matched-monitor comparison. The old Finder cascade builds first;
   then the user moves the pointer and WindowDrop opens a full-size Finder
   window beneath it. Every final element remains visible. */
.hero-story-stack-two {
  animation: hero-story-appear 360ms var(--animation-easing-smooth) 420ms both;
}

.hero-story-stack-three,
.hero-story-without-key {
  animation: hero-story-appear 380ms var(--animation-easing-smooth) 850ms both;
}

.hero-always-on-status,
.hero-story-pointer-route {
  animation: hero-story-confirm 320ms var(--animation-easing-smooth) 1.45s both;
}

.hero-story-pointer-origin {
  animation: hero-story-origin-confirm 320ms var(--animation-easing-smooth) 1.45s both;
}

.hero-story-with-pointer {
  animation: hero-story-pointer-move 850ms cubic-bezier(0.22, 1, 0.36, 1) 1.75s both;
}

.hero-story-with-key {
  animation: hero-story-confirm 280ms var(--animation-easing-smooth) 2.65s both;
}

.hero-story-with-window {
  animation: hero-story-window-fill 720ms cubic-bezier(0.22, 1, 0.36, 1) 2.95s both;
  transform-box: fill-box;
  transform-origin: 78% 18%;
}

@keyframes hero-story-appear {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-story-confirm {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-story-origin-confirm {
  from { opacity: 0; }
  to { opacity: 0.28; }
}

@keyframes hero-story-pointer-move {
  from { transform: translateX(-230px); }
  to { transform: translateX(0); }
}

@keyframes hero-story-window-fill {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   Email Capture
   ============================================ */

.email-capture {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--glass-shadow);
}

.email-capture-heading {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.email-capture-subtext {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.email-capture-form {
  max-width: 400px;
  margin: 0 auto;
}

.email-capture-input-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.email-capture-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: border-color var(--animation-duration-fast), box-shadow var(--animation-duration-fast);
}

.email-capture-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.email-capture-btn {
  white-space: nowrap;
}

.email-capture-error {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: var(--spacing-sm);
}

.email-capture-privacy {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: var(--spacing-md);
  margin-bottom: 0;
}

/* Success state */
.email-capture-success {
  padding: var(--spacing-lg) 0;
}

.email-capture-success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-md);
  background: var(--liquid-gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow:
    0 4px 15px rgba(59, 130, 246, 0.3),
    0 2px 8px rgba(20, 184, 166, 0.2);
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% {
    box-shadow:
      0 4px 15px rgba(59, 130, 246, 0.3),
      0 2px 8px rgba(20, 184, 166, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 6px 25px rgba(59, 130, 246, 0.4),
      0 3px 12px rgba(20, 184, 166, 0.25),
      0 0 35px rgba(34, 211, 238, 0.15);
    transform: scale(1.05);
  }
}

/* ============================================
   Value Section
   ============================================ */

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

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: transform var(--animation-duration-fast), box-shadow var(--animation-duration-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.1);
}

.value-card-headline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.value-card-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   FAQ Section
   ============================================ */

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

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  transition: box-shadow var(--animation-duration-fast);
}

.faq-item:hover {
  box-shadow: var(--glass-shadow);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.faq-answer {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works-steps {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.step {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  align-items: flex-start;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--liquid-gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  box-shadow:
    0 3px 10px rgba(59, 130, 246, 0.2),
    0 1px 4px rgba(20, 184, 166, 0.15);
  transition: transform var(--animation-duration-fast), box-shadow var(--animation-duration-fast);
}

.step:hover .step-number {
  transform: scale(1.08);
  box-shadow:
    0 5px 15px rgba(59, 130, 246, 0.25),
    0 2px 6px rgba(20, 184, 166, 0.2);
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.step-description {
  color: var(--color-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.how-it-works-note {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ============================================
   Apps Section
   ============================================ */

.apps-grid {
  display: flex;
  justify-content: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.app-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.15rem;
  text-align: center;
  min-width: 170px;
  transition:
    transform var(--animation-duration-fast),
    box-shadow var(--animation-duration-fast),
    border-color var(--animation-duration-fast);
}

.app-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow);
}

.app-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.app-name {
  font-weight: 600;
  color: var(--color-text);
}

.apps-note {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.final-cta-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

/* Disabled button state */
.btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  cursor: not-allowed;
  border: 1px solid var(--color-border);
}

/* ============================================
   Hero Demo Block (title → graphic → persistent result)
   ============================================ */

.hero-demo-block {
  max-width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-demo-title {
  margin-bottom: var(--spacing-md);
}

.hero-demo-title-text {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
}

.hero-demo-subtitle {
  max-width: 46rem;
  margin: var(--spacing-md) auto 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  text-wrap: balance;
}

.hero-demo-graphic {
  max-height: 600px;
  opacity: 1;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
}

.hero-demo-how {
  max-height: 400px;
  opacity: 1;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.hero-demo-how-title {
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  margin-bottom: var(--spacing-md);
}

.hero-demo-how-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.hero-demo-step {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.4rem 0.9rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-secondary);
}

.hero-demo-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.hero-demo-step-icon--success {
  color: #16A34A;
}

/* Keep release availability visible from the first frame. */
.hero-demo-cta {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

/* Reduced motion: show all at once, no sequence */
@media (prefers-reduced-motion: reduce) {
  .hero-demo-block .hero-demo-graphic {
    max-height: 600px;
    opacity: 1;
    margin-bottom: var(--spacing-lg);
  }
  .hero-demo-block .hero-demo-how {
    max-height: 400px;
    opacity: 1;
    margin-bottom: var(--spacing-lg);
  }

  .hero-story-stack-two,
  .hero-story-stack-three,
  .hero-story-without-key,
  .hero-always-on-status,
  .hero-story-pointer-route,
  .hero-story-pointer-origin,
  .hero-story-with-pointer,
  .hero-story-with-key,
  .hero-story-with-window {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-story-pointer-origin {
    opacity: 0.28;
  }
}

/* ============================================
   Demo Section
   ============================================ */

.demo-section {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-xl);
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  /* Disable liquid animations for reduced motion */
  .liquid-blob,
  .liquid-shimmer::after,
  .btn-primary::after,
  .section-title,
  .text-gradient-animated,
  .email-capture-success-icon,
  .hero-animation-stage::before {
    animation: none !important;
  }

  .liquid-ripple::before {
    transition: none !important;
  }

  .liquid-surface::before {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .hero-animation-mobile-summary {
    display: block;
    margin: var(--spacing-sm) var(--spacing-sm) 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--color-text);
  }

  .hero-demo-block {
    width: 100%;
    max-width: 100%;
  }

  .hero-demo-title-text {
    font-size: clamp(1.95rem, 9vw, 2.45rem);
    line-height: 1.08;
    margin-left: auto;
    margin-right: auto;
    max-width: 8.75em;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero-demo-title-lead,
  .hero-demo-title-target {
    display: block;
  }

  .hero-demo-graphic,
  .hero-animation,
  .hero-animation-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-animation-stage {
    border-radius: var(--radius-lg);
  }

  .hero-demo-how-steps {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--spacing-sm);
  }

  .hero-demo-step {
    justify-content: center;
    width: min(100%, 18rem);
  }
}

/* ============================================
   App Icon Wrapper (for SVG icons)
   ============================================ */

.app-icon-wrapper {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-md);
  background: var(--liquid-gradient-1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.app-card-coming {
  position: relative;
  opacity: 0.7;
}

.app-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2em 0.5em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-number-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Page Hero (shared)
   ============================================ */

.download-hero,
.privacy-hero,
.support-hero,
.changelog-hero {
  padding: clamp(3.25rem, 7vw, var(--spacing-2xl)) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.download-hero-icon,
.privacy-hero-icon,
.support-hero-icon,
.changelog-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: var(--liquid-gradient-1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.download-hero-title,
.privacy-hero-title,
.support-hero-title,
.changelog-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-sm);
}

.download-hero-subtitle,
.privacy-hero-subtitle,
.support-hero-subtitle,
.changelog-hero-subtitle {
  font-size: clamp(1.02rem, 0.95rem + 0.2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   Download Page
   ============================================ */

.download-hero-cta {
  margin-top: var(--spacing-xl);
}

.download-btn {
  gap: var(--spacing-sm);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.download-hero-note {
  margin-top: var(--spacing-md);
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.download-release-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-sm);
  margin: var(--spacing-lg) auto 0;
  max-width: 680px;
}

.download-release-panel > div {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  text-align: left;
}

.download-release-panel strong,
.download-release-panel span {
  display: block;
}

.download-release-panel strong {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.download-release-panel span {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .download-release-panel {
    grid-template-columns: 1fr;
  }
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-lg);
}

.requirement-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.requirement-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.requirement-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.requirement-value {
  font-weight: 600;
  margin: 0;
}

.install-steps {
  max-width: 600px;
  margin: 0 auto;
}

.install-step {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: 1.35rem;
  align-items: flex-start;
}

.install-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--liquid-gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.install-step-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.install-step-description {
  color: var(--text-secondary);
  margin: 0;
}

.alternatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.alternative-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  position: relative;
}

.alternative-icon {
  width: 40px;
  height: 40px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.alternative-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.alternative-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.alternative-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2em 0.5em;
  border-radius: var(--radius-sm);
}

.verify-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
}

.verify-hash {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  word-break: break-all;
  margin-bottom: var(--spacing-md);
}

.verify-instruction {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.download-links-grid {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-primary);
  font-weight: 500;
}

.download-link:hover {
  text-decoration: underline;
}

/* ============================================
   Pricing Page
   ============================================ */

.pricing-page {
  min-height: 60vh;
}

.pricing-hero {
  padding: var(--spacing-2xl) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.pricing-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: var(--liquid-gradient-1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.pricing-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-sm);
}

.pricing-hero-subtitle {
  font-size: clamp(1.02rem, 0.95rem + 0.2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  max-width: 680px;
  margin: 0 auto var(--spacing-lg);
  align-items: start;
}

.pricing-card {
  box-sizing: border-box;
  padding: 2.15rem 1.8rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  text-align: center;
}

.pricing-card-featured {
  border-color: var(--color-primary);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 0 0 1px var(--color-primary);
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--liquid-gradient-1);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 0.4rem;
}

.pricing-card-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

.pricing-price {
  margin-bottom: var(--spacing-lg);
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-period {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl);
  text-align: left;
}

.pricing-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
}

.pricing-card-savings {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: var(--spacing-sm) 0 0;
}

.pricing-trial {
  margin-bottom: var(--spacing-md);
}

.pricing-trial-text {
  font-size: 1.03rem;
  color: var(--text-secondary);
  margin: 0;
}

.pricing-trial-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.pricing-trial-link:hover {
  text-decoration: underline;
}

.pricing-secure {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.pricing-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-lg) auto;
  max-width: 920px;
  text-align: left;
}

.pricing-proof > div {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.pricing-proof strong,
.pricing-proof span {
  display: block;
}

.pricing-proof strong {
  color: var(--text-primary);
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.pricing-proof span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.pricing-links {
  padding-top: var(--spacing-lg);
}

.pricing-link {
  color: var(--color-primary);
  text-decoration: none;
}

.pricing-link:hover {
  text-decoration: underline;
}

.pricing-link-sep {
  margin: 0 var(--spacing-sm);
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .pricing-hero-subtitle {
    font-size: 0.98rem;
    max-width: 18rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: min(280px, 100%);
  }
  .pricing-card-featured {
    order: -1;
  }
  .pricing-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 1.9rem 1.35rem;
  }

  .pricing-card-badge {
    max-width: calc(100% - 2rem);
    overflow-wrap: anywhere;
  }
}

/* ============================================
   Privacy Page
   ============================================ */

.promises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.promise-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: transform var(--animation-duration-fast), box-shadow var(--animation-duration-fast);
}

.promise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}

.promise-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  background: var(--liquid-gradient-1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.promise-title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.promise-description {
  color: var(--text-secondary);
  margin: 0;
}

.privacy-section {
  margin-bottom: var(--spacing-xl);
}

.privacy-section-title {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

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

.privacy-list-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.privacy-list-item .icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.privacy-email,
.privacy-link {
  color: var(--color-primary);
  font-weight: 500;
}

.privacy-email {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--spacing-sm);
}

.privacy-link:hover {
  text-decoration: underline;
}

.privacy-policy-footer {
  margin-top: var(--spacing-lg);
  font-size: 1rem;
  color: var(--text-secondary);
}

.privacy-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 65ch;
}

/* Accessibility page steps */
.accessibility-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-xl);
}

.accessibility-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.accessibility-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--liquid-gradient-1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
}

/* ============================================
   Support Page
   ============================================ */

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.quick-link-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: transform var(--animation-duration-fast), box-shadow var(--animation-duration-fast);
  color: var(--color-text);
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
  color: var(--color-text);
}

.quick-link-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-sm);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.quick-link-title {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.quick-link-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.troubleshoot-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.troubleshoot-title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.troubleshoot-steps,
.troubleshoot-options,
.troubleshoot-apps {
  margin: var(--spacing-sm) 0;
  padding-left: var(--spacing-lg);
}

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

.troubleshoot-apps li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.troubleshoot-apps .icon {
  color: var(--color-primary);
}

.diagnostics-intro {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.diagnostics-steps {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.diagnostics-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.diagnostics-step-number {
  width: 28px;
  height: 28px;
  background: var(--liquid-gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.875rem;
}

.contact-intro {
  margin-bottom: var(--spacing-lg);
}

.contact-note {
  margin-top: var(--spacing-md);
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   Changelog Page
   ============================================ */

.changelog-entry {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.changelog-entry-upcoming {
  border-style: dashed;
  opacity: 0.85;
}

.changelog-entry-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.changelog-version {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--liquid-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.changelog-date {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.changelog-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3em 0.7em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.changelog-badge-current {
  background: var(--color-primary);
  color: white;
}

.changelog-badge-soon {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.changelog-entry-title {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.changelog-entry-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.changelog-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

.changelog-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.changelog-item .icon {
  flex-shrink: 0;
}

.changelog-item-new .icon {
  color: #10B981;
}

.changelog-item-improved .icon {
  color: #F59E0B;
}

.changelog-item-fixed .icon {
  color: var(--color-primary);
}

.subscribe-title {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

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

.changelog-subscribe-cta {
  margin-top: var(--spacing-lg);
}

.download-when-released {
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

/* ============================================
   Not Found Page
   ============================================ */

.not-found-page {
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.not-found-content {
  max-width: 640px;
}

.not-found-eyebrow {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: var(--spacing-md);
}

.not-found-title {
  margin-bottom: 0.65rem;
}

.not-found-copy {
  max-width: 56ch;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-secondary);
}

.not-found-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.not-found-tertiary {
  color: var(--color-primary-dark);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* ============================================
   Icon Utility Classes
   ============================================ */

.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (max-width: 640px) {
  .requirements-grid,
  .promises-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }
  
  .apps-grid {
    gap: var(--spacing-md);
  }
  
  .app-card {
    min-width: 100px;
    padding: var(--spacing-lg);
  }
  
  .app-icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .diagnostics-steps {
    flex-direction: column;
    align-items: center;
  }
}
