/* ==========================================================================
   NPad - Modern Native macOS Aesthetic
   Vanilla CSS Design System
   ========================================================================== */

:root {
  --bg-dark: #000000;
  --bg-surface: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-active: rgba(255, 255, 255, 0.3);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent-blue: #0a84ff;
  --accent-purple: #5e5ce6;
  --accent-indigo: #6366f1;
  --accent-green: #30d158;
  --accent-orange: #ff9f0a;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 30px rgba(10, 132, 255, 0.25);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* Visible keyboard focus for every interactive element */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 18px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  border-radius: var(--radius-full);
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ==========================================================================
   Ambient Mesh Lighting
   ========================================================================== */

.ambient-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  top: -150px;
  left: 15%;
  background: radial-gradient(circle, var(--accent-purple) 0%, rgba(94, 92, 230, 0) 70%);
}

.ambient-glow-2 {
  top: 10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-blue) 0%, rgba(10, 132, 255, 0) 70%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.ambient-glow-3 {
  bottom: 20%;
  left: 20%;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  animation-duration: 25s;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Subtle background grid pattern overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 24px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.top-nav.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text-primary);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.lang-switch a {
  color: var(--text-secondary);
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a[aria-current="true"] {
  color: var(--text-primary);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav-download:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  z-index: 10;
  padding: 170px 24px 70px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); }
}

.hero-badge .badge-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: #e4e4e7;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(180deg, #ffffff 15%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.35rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 660px;
  margin-bottom: 42px;
  letter-spacing: -0.01em;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #000000;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

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

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta span::before {
  content: "•";
  color: rgba(255, 255, 255, 0.2);
}

.hero-meta span:first-child::before {
  display: none;
}

/* ==========================================================================
   Screenshots Section (Depth 3D Carousel)
   ========================================================================== */

.screenshots-section {
  position: relative;
  z-index: 10;
  padding: 100px 24px 140px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 132, 255, 0.02) 100%);
  overflow: hidden;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 20%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.screenshots-carousel {
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot-card {
  position: absolute;
  width: 880px;
  max-width: 86%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease, filter 0.65s ease;
  transform: scale(0.6) translateX(0);
  opacity: 0;
  filter: blur(14px);
  z-index: 1;
  pointer-events: none;
  cursor: pointer;
}

.screenshot-card.prev-card {
  transform: scale(0.78) translateX(-42%);
  opacity: 0.35;
  filter: blur(5px);
  z-index: 2;
  pointer-events: auto;
}

.screenshot-card.next-card {
  transform: scale(0.78) translateX(42%);
  opacity: 0.35;
  filter: blur(5px);
  z-index: 2;
  pointer-events: auto;
}

.screenshot-card.active {
  transform: scale(1) translateX(0);
  opacity: 1;
  filter: blur(0);
  z-index: 5;
  pointer-events: auto;
  cursor: default;
}

/* Ambient glow under active card */
.screenshot-card.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 50%, rgba(94, 92, 230, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 65% 50%, rgba(10, 132, 255, 0.28) 0%, transparent 60%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.app-display-bezel {
  background: rgba(18, 18, 22, 0.85);
  padding: 10px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.app-screen {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.9);
}

.app-screenshot {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* Carousel Arrow Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.carousel-control:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  color: var(--accent-blue);
  transform: translateY(-50%) scale(1.08);
}

.carousel-control svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  z-index: 20;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator-dot.active {
  width: 28px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Bento Grid Section (Features)
   ========================================================================== */

.features-section {
  position: relative;
  z-index: 10;
  padding: 120px 24px 140px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.01) 0%, transparent 100%);
}

.bento-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Spotlight glow following mouse */
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

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

.bento-card.col-span-2 {
  grid-column: span 2;
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.bento-card:hover .card-icon-wrapper {
  background: rgba(10, 132, 255, 0.15);
  border-color: rgba(10, 132, 255, 0.3);
  color: var(--accent-blue);
  transform: scale(1.05);
}

.card-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.shortcut-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.section-footnote {
  max-width: 1180px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
}

.section-footnote a {
  color: var(--accent-blue);
  font-weight: 500;
}

.section-footnote a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Comparison Section (NPad vs Electron)
   ========================================================================== */

.comparison-section {
  position: relative;
  z-index: 10;
  padding: 100px 24px 140px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent 0%, rgba(94, 92, 230, 0.015) 100%);
}

.comparison-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th.highlight-col {
  color: #ffffff;
  font-size: 1.15rem;
}

.comparison-table td {
  padding: 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-name {
  font-weight: 500;
  color: #e4e4e7;
}

.badge-winner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-weight: 600;
}

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

/* ==========================================================================
   Call To Action (CTA Banner)
   ========================================================================== */

.cta-section {
  position: relative;
  z-index: 10;
  padding: 120px 24px 140px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 40px;
  background: radial-gradient(circle at 50% 0%, rgba(94, 92, 230, 0.15) 0%, rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-card h2 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.cta-card p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 24px 40px;
  background: #000000;
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-icon {
  border-radius: 6px;
}

.footer-brand .copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand .copyright a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-brand .copyright a:hover {
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Privacy Page Specific Styles
   ========================================================================== */

.privacy-main,
.page-main {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 140px auto 100px;
  padding: 0 24px;
}

.privacy-header,
.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.privacy-header h1,
.page-header h1 {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.privacy-header .last-updated,
.page-header .last-updated {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.privacy-card,
.page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.privacy-section,
.page-section {
  margin-bottom: 40px;
}

.privacy-section:last-child,
.page-section:last-child {
  margin-bottom: 0;
}

.privacy-section h2,
.page-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-section h2 svg,
.page-section h2 svg {
  color: var(--accent-blue);
  width: 22px;
  height: 22px;
}

.privacy-section p,
.page-section p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.privacy-section strong,
.page-section strong {
  color: #ffffff;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--accent-blue);
  font-weight: 500;
  transition: transform 0.2s ease;
}

.btn-back-home:hover {
  transform: translateX(-4px);
}

/* ==========================================================================
   Support (FAQ) & Changelog Pages
   ========================================================================== */

.page-card + .page-card {
  margin-top: 28px;
}

.page-header .page-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-section > p + p {
  margin-top: 12px;
}

.page-section a:not(.btn-primary):not(.btn-secondary) {
  color: var(--accent-blue);
}

.page-section a:not(.btn-primary):not(.btn-secondary):hover {
  text-decoration: underline;
}

.page-section .button-group {
  justify-content: flex-start;
  margin: 24px 0 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 4px 22px;
}

.faq-answer p,
.faq-answer li {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer p + p,
.faq-answer p + ul,
.faq-answer ul + p {
  margin-top: 10px;
}

.faq-answer ul,
.change-list {
  padding-left: 20px;
}

.change-list li {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.change-list li:last-child {
  margin-bottom: 0;
}

.change-list li::marker {
  color: var(--accent-blue);
}

.change-list strong {
  color: var(--text-primary);
}

.release-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.version-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.3);
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Per-release header inside a changelog card */
.page-card > .release-meta {
  justify-content: flex-start;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.contact-email {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero h1 { font-size: 3.8rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.col-span-2 { grid-column: span 1; }
  .carousel-viewport { min-height: 480px; }
  .screenshot-card { width: 700px; }
}

@media (max-width: 768px) {
  .hero {
    padding: 130px 20px 50px;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
  .hero p.lead {
    font-size: 1.1rem;
  }
  .button-group {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .section-header h2 {
    font-size: 2.3rem;
  }
  .carousel-viewport {
    min-height: 360px;
  }
  .screenshot-card {
    width: 95%;
  }
  .screenshot-card.prev-card {
    transform: scale(0.85) translateX(-20%);
    opacity: 0.15;
  }
  .screenshot-card.next-card {
    transform: scale(0.85) translateX(20%);
    opacity: 0.15;
  }
  .carousel-control {
    width: 44px;
    height: 44px;
  }
  .carousel-control.prev { left: 4px; }
  .carousel-control.next { right: 4px; }
  .comparison-wrapper {
    padding: 24px 16px;
    overflow-x: auto;
  }
  .privacy-header h1 {
    font-size: 2.6rem;
  }
  .privacy-card {
    padding: 30px 20px;
  }
  .nav-links .nav-link,
  .nav-links .lang-switch {
    display: none;
  }
  .shortcut-list {
    grid-template-columns: 1fr;
  }
  .page-header h1 {
    font-size: 2.6rem;
  }
  .page-card {
    padding: 30px 20px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Static ambient lighting: no floating glows or pulsing dot */
  .ambient-glow,
  .status-dot {
    animation: none;
  }

  /* No mouse-following spotlight */
  .bento-card::before {
    display: none;
  }

  /* No hover lifts or scaling */
  .btn-nav-download:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .hero-badge:hover,
  .bento-card:hover,
  .bento-card:hover .card-icon-wrapper,
  .btn-back-home:hover {
    transform: none;
  }

  .carousel-control:hover {
    transform: translateY(-50%);
  }

  /* Side screenshots keep their position but are not blurred */
  .screenshot-card.prev-card,
  .screenshot-card.next-card {
    filter: none;
  }
}
