:root {
  --bg: #0a1810;
  --bg-elevated: #0d1f1a;
  --bg-card: #11241f;
  --fg: #ede8f0;
  --fg-muted: #8a86a0;
  --fg-subtle: #4a4660;
  --accent-emerald: #40d995;
  --accent-sky: #4db8f0;
  --accent-yellow: #ffc107;
  --accent-black: #2a2a3a;
  --border: rgba(255, 255, 255, 0.05);
  --border-light: rgba(255, 255, 255, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1120px;
  --space-xl: clamp(80px, 12vw, 140px);
  --space-lg: clamp(48px, 6vw, 80px);
  --space-md: clamp(24px, 3vw, 40px);
  --radius-card: 24px;

  /* Active color — default emerald, JS switches via data-color attribute */
  --color-active: var(--accent-emerald);
  --color-active-dim: rgba(64, 217, 149, 0.08);
  --color-active-glow: rgba(64, 217, 149, 0.18);
  --color-active-solid: #40d995;
}

/* Color theme variants (applied to body or .catalog-section) */
[data-color="emerald"] {
  --color-active: #40d995;
  --color-active-dim: rgba(64, 217, 149, 0.08);
  --color-active-glow: rgba(64, 217, 149, 0.22);
  --color-active-solid: #40d995;
}
[data-color="sky"] {
  --color-active: #4db8f0;
  --color-active-dim: rgba(77, 184, 240, 0.08);
  --color-active-glow: rgba(77, 184, 240, 0.22);
  --color-active-solid: #4db8f0;
}
[data-color="yellow"] {
  --color-active: #ffc107;
  --color-active-dim: rgba(255, 193, 7, 0.08);
  --color-active-glow: rgba(255, 193, 7, 0.22);
  --color-active-solid: #ffc107;
}
[data-color="emerald-dark"] {
  --color-active: #2d9f6f;
  --color-active-dim: rgba(45, 159, 111, 0.08);
  --color-active-glow: rgba(45, 159, 111, 0.22);
  --color-active-solid: #2d9f6f;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

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

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(8, 8, 16, 0.75);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.05em;
  color: var(--fg);
}
.nav-brand .snap { color: var(--color-active); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--fg); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--color-active);
  padding: 9px 20px;
  border-radius: 100px;
  transition: opacity 0.2s ease, transform 0.15s ease !important;
}
.nav-cta:hover { opacity: 0.88 !important; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-xl) + 80px) 24px var(--space-xl);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Deep atmospheric gradient */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -5%, rgba(64, 217, 149, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(77, 184, 240, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 193, 7, 0.03) 0%, transparent 55%);
  pointer-events: none;
}

/* Fine mesh grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-active);
  background: var(--color-active-dim);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--color-active-glow);
  margin-bottom: 40px;
}

.hero-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-active);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.5); }
}

.hero h1 {
  font-size: clamp(52px, 9vw, 108px);
  margin-bottom: 32px;
  color: var(--fg);
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--color-active) 0%, rgba(255,255,255,0.9) 60%, var(--color-active) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 96px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--color-active);
  padding: 15px 36px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(212, 168, 67, 0);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--color-active-glow);
}

.btn-ghost {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: transparent;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  display: inline-block;
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ===== HERO VISUAL — SLIDING SHUTTER ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.device-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.device-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

.phone-frame {
  width: 110px;
  height: 180px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 26px;
  background: linear-gradient(160deg, #16161f 0%, #0d0d15 100%);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 64px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04);
}

/* Notch */
.phone-frame.iphone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
}

/* Punch-hole */
.phone-frame.samsung::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

/* Side button */
.phone-frame::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50px;
  width: 3px; height: 32px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
}

/* Camera bump */
.camera-bump {
  width: 64px;
  background: linear-gradient(145deg, #1c1c28 0%, #10101a 100%);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* iPhone — triple lens */
.camera-bump.triple {
  gap: 5px;
}
.camera-bump.triple .lens-row {
  display: flex;
  gap: 5px;
  justify-content: center;
}

/* Samsung — quad lens 2x2 */
.camera-bump.quad {
  width: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.cam-lens {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #252535, #0a0a12);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 5px rgba(0,0,0,0.9);
  position: relative;
  flex-shrink: 0;
}
.cam-lens::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

.cam-lens.sm { width: 13px; height: 13px; }
.cam-lens.xs { width: 10px; height: 10px; }

.cam-sensor {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: #3a2810;
  border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

/* Sliding shutter cover */
.shutter-housing {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
}

.shutter-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shutter-top {
  top: 0;
  background: linear-gradient(180deg, var(--shutter-color-top, #c4a040) 0%, var(--shutter-color-mid, #b8943a) 100%);
  border-radius: 14px 14px 0 0;
  transform-origin: top center;
  animation: shutter-slide-top 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.2);
}

.shutter-bottom {
  bottom: 0;
  background: linear-gradient(0deg, var(--shutter-color-top, #c4a040) 0%, var(--shutter-color-mid, #b8943a) 100%);
  border-radius: 0 0 14px 14px;
  transform-origin: bottom center;
  animation: shutter-slide-bottom 4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.25), inset 0 1px 0 rgba(0,0,0,0.2);
}

/* Metallic sheen line on shutter */
.shutter-top::after, .shutter-bottom::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%;
  height: 1px;
  background: rgba(255,255,255,0.3);
}
.shutter-top::after { bottom: 0; }
.shutter-bottom::after { top: 0; }

@keyframes shutter-slide-top {
  0%, 25%  { transform: translateY(0%); opacity: 1; }
  45%, 75% { transform: translateY(-100%); opacity: 0.6; }
  90%, 100%{ transform: translateY(0%); opacity: 1; }
}

@keyframes shutter-slide-bottom {
  0%, 25%  { transform: translateY(0%); opacity: 1; }
  45%, 75% { transform: translateY(100%); opacity: 0.6; }
  90%, 100%{ transform: translateY(0%); opacity: 1; }
}

/* Glow under device */
.device-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--color-active);
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.25;
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.18; transform: translateX(-50%) scaleX(0.8); }
  45%, 75% { opacity: 0.08; transform: translateX(-50%) scaleX(0.4); }
}

/* VS divider */
.hero-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--fg-subtle);
}
.vs-line { width: 1px; height: 32px; background: var(--border); }
.vs-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ===== COMPAT BANNER ===== */
.compat-banner {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}
.compat-banner span { color: var(--color-active); }
.compat-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-subtle); }

/* ===== PROBLEM ===== */
.problem {
  padding: var(--space-xl) 24px;
  border-top: 1px solid var(--border);
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  align-items: start;
}

.big-number {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 800;
  color: var(--color-active);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.problem-stat p { color: var(--fg-muted); font-size: 15px; max-width: 240px; line-height: 1.55; }

.problem-text h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 24px; }
.problem-text p { color: var(--fg-muted); margin-bottom: 16px; max-width: 500px; }

.problem-text .highlight {
  color: var(--fg);
  font-weight: 500;
  font-size: 18px;
  padding: 16px 20px;
  background: var(--color-active-dim);
  border-left: 3px solid var(--color-active);
  border-radius: 0 8px 8px 0;
  display: block;
  margin-top: 24px;
}

/* ===== FEATURES ===== */
.features {
  padding: var(--space-xl) 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.features-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-active);
  margin-bottom: 16px;
  display: block;
}

.features-inner > h2,
.how-inner > h2,
.catalog-inner > h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: var(--space-lg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-card);
  padding: clamp(32px, 4vw, 56px);
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-active-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover { background: rgba(255,255,255,0.015); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-active-dim);
  border: 1px solid var(--color-active-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 18px;
  color: var(--color-active);
  flex-shrink: 0;
}

.feature-card h3 { font-size: 21px; margin-bottom: 12px; font-weight: 700; }
.feature-card p { color: var(--fg-muted); font-size: 15px; line-height: 1.65; }

/* iPhone/Samsung compat badge in feature card */
.compat-chips {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.compat-chip {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--fg-muted);
}
.compat-chip.active {
  color: var(--color-active);
  border-color: var(--color-active-glow);
  background: var(--color-active-dim);
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: var(--space-xl) 24px;
  border-top: 1px solid var(--border);
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step:last-child { border-bottom: none; padding-bottom: 0; }

.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-active);
  letter-spacing: 0.1em;
  line-height: 1;
  flex-shrink: 0;
  background: var(--color-active-dim);
  border: 1px solid var(--color-active-glow);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 3px;
}

.step-content h3 { font-size: 21px; margin-bottom: 8px; font-weight: 700; }
.step-content p { color: var(--fg-muted); font-size: 15px; line-height: 1.6; }

.how-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.how-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(64,217,149,0.04) 0%, transparent 70%);
}

/* Sliding shutter visual in how section */
.how-shutter-demo {
  position: relative;
  width: 140px;
  z-index: 1;
}

.how-phone {
  width: 100px;
  height: 160px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: linear-gradient(160deg, #16161f 0%, #0d0d15 100%);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 24px 64px rgba(0,0,0,0.6);
}

.how-camera-bump {
  width: 56px;
  background: linear-gradient(145deg, #1c1c28, #10101a);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.how-shutter {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.how-shutter-half {
  position: absolute;
  width: 100%;
  height: 50%;
}
.how-shutter-half.top {
  top: 0;
  background: linear-gradient(180deg, var(--color-active) 0%, color-mix(in srgb, var(--color-active) 70%, black) 100%);
  border-radius: 14px 14px 0 0;
  transform-origin: top center;
  animation: how-shutter-top 3.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.how-shutter-half.bottom {
  bottom: 0;
  background: linear-gradient(0deg, var(--color-active) 0%, color-mix(in srgb, var(--color-active) 70%, black) 100%);
  border-radius: 0 0 14px 14px;
  transform-origin: bottom center;
  animation: how-shutter-bottom 3.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.2);
}

@keyframes how-shutter-top {
  0%, 20%  { transform: translateY(0%); }
  42%, 72% { transform: translateY(-100%); }
  90%, 100%{ transform: translateY(0%); }
}
@keyframes how-shutter-bottom {
  0%, 20%  { transform: translateY(0%); }
  42%, 72% { transform: translateY(100%); }
  90%, 100%{ transform: translateY(0%); }
}

.how-state-labels {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
  width: 100%;
  z-index: 1;
}
.how-state {
  text-align: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.how-state .label { color: var(--color-active); }
.how-state .sub { color: var(--fg-subtle); margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-transform: none; font-family: var(--font-body); }

/* ===== PRODUCT CATALOG ===== */
.catalog {
  padding: var(--space-xl) 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.catalog-inner { max-width: var(--max-w); margin: 0 auto; }

/* Device selector tabs */
.device-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}

.device-tab {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--fg-muted);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}
.device-tab.active {
  background: var(--color-active-dim);
  border-color: var(--color-active-glow);
  color: var(--color-active);
}
.device-tab:hover:not(.active) { border-color: rgba(255,255,255,0.14); color: var(--fg); }

/* Color picker */
.color-picker-section {
  margin-bottom: 48px;
}

.color-picker-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 16px;
  display: block;
}

.color-swatches {
  display: flex;
  gap: 12px;
  align-items: center;
}

.color-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.color-swatch:hover { transform: scale(1.12); }
.color-swatch.selected {
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.swatch-emerald {
  background: linear-gradient(135deg, #40d995 0%, #2d9f6f 45%, #52e0a8 70%, #1a5f44 100%);
}
.swatch-sky {
  background: linear-gradient(135deg, #4db8f0 0%, #2d8fc9 25%, #6fd4ff 50%, #1a6fa8 75%, #1a9fd9 100%);
}
.swatch-yellow {
  background: linear-gradient(135deg, #ffc107 0%, #d49a00 45%, #ffd730 70%, #b8821c 100%);
  border-color: rgba(255,255,255,0.12) !important;
}
.swatch-emerald-dark {
  background: linear-gradient(135deg, #1a5f44 0%, #0f3a2a 40%, #2d9f6f 65%, #0f3a2a 100%);
}

.color-name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  margin-left: 6px;
  transition: color 0.2s ease;
}

/* Product cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--color-active-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--color-active-glow);
}

.product-badge {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--color-active);
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}

.product-visual {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(160deg, #16161f 0%, #0e0e18 100%);
}

.product-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(64, 217, 149, 0.08) 0%, transparent 65%);
}

/* Product phone visual */
.product-phone-wrap {
  position: relative;
  z-index: 1;
}

.product-phone {
  width: 90px; height: 145px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  background: linear-gradient(160deg, #1a1a24, #0d0d15);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 20px 50px rgba(0,0,0,0.7);
}

.product-phone::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
}

.product-camera-bump {
  width: 50px;
  background: linear-gradient(145deg, #1c1c28, #0f0f1a);
  border-radius: 13px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.product-shutter-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 13px;
  overflow: hidden;
}

.product-shutter-half {
  position: absolute;
  width: 100%;
  height: 50%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-shutter-half.top {
  top: 0;
  border-radius: 13px 13px 0 0;
  transform-origin: top center;
}
.product-shutter-half.bottom {
  bottom: 0;
  border-radius: 0 0 13px 13px;
  transform-origin: bottom center;
}

/* Default (closed) state */
.product-shutter-half.top { transform: translateY(0); }
.product-shutter-half.bottom { transform: translateY(0); }
/* Open state (added by JS) */
.product-shutter-half.top.open { transform: translateY(-100%); }
.product-shutter-half.bottom.open { transform: translateY(100%); }

/* Yellow shutter */
[data-color="emerald"] .product-shutter-half.top {
  background: linear-gradient(180deg, #40d995 0%, #2d9f6f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.15);
}
[data-color="emerald"] .product-shutter-half.bottom {
  background: linear-gradient(0deg, #40d995 0%, #2d9f6f 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.3), inset 0 1px 0 rgba(0,0,0,0.15);
}

/* Sky blue shutter */
[data-color="sky"] .product-shutter-half.top {
  background: linear-gradient(180deg, #4db8f0 0%, #2d8fc9 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
[data-color="sky"] .product-shutter-half.bottom {
  background: linear-gradient(0deg, #4db8f0 0%, #2d8fc9 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.3);
}

/* Dark charcoal shutter */
[data-color="yellow"] .product-shutter-half.top {
  background: linear-gradient(180deg, #ffc107 0%, #d49a00 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.15);
}
[data-color="yellow"] .product-shutter-half.bottom {
  background: linear-gradient(0deg, #ffc107 0%, #d49a00 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.3), inset 0 1px 0 rgba(0,0,0,0.15);
}

/* Dark emerald-black shutter */
[data-color="emerald-dark"] .product-shutter-half.top {
  background: linear-gradient(180deg, #2d9f6f 0%, #1a5f44 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.15);
}
[data-color="emerald-dark"] .product-shutter-half.bottom {
  background: linear-gradient(0deg, #2d9f6f 0%, #1a5f44 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.2), inset 0 1px 0 rgba(0,0,0,0.15);
}

/* Toggle button on product card */
.product-shutter-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-active);
  background: var(--color-active-dim);
  border: 1px solid var(--color-active-glow);
  padding: 5px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
}
.product-shutter-toggle:hover {
  background: var(--color-active-glow);
}

.product-info { padding: 24px 28px 28px; }

.product-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-desc {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.spec-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 100px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.product-price .currency { font-size: 15px; vertical-align: top; margin-top: 4px; display: inline-block; color: var(--fg-muted); }
.product-price .cents { font-size: 15px; color: var(--fg-muted); }

.btn-order {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--color-active);
  border: none;
  padding: 12px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-order:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--color-active-glow);
}

/* Sky blue special effect for sky swatch */
[data-color="sky"] .btn-order {
  background: linear-gradient(135deg, #4db8f0, #2d8fc9, #1a6fa8);
  color: white;
}

/* ===== CLOSING ===== */
.closing {
  padding: var(--space-xl) 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(64, 217, 149, 0.08) 0%, transparent 70%);
}

.closing-inner { max-width: 720px; margin: 0 auto; }

.closing h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 24px; }

.closing-text {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--fg-muted);
  margin-bottom: 48px;
  line-height: 1.55;
}
.closing-text em { color: var(--color-active); font-style: normal; font-weight: 600; }

.closing-tagline {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  margin-top: 20px;
}

/* Comparison table */
.compare-table {
  margin: 48px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.header { background: var(--bg-elevated); }

.compare-cell {
  padding: 14px 20px;
  font-size: 14px;
  border-right: 1px solid var(--border);
}
.compare-cell:last-child { border-right: none; }
.compare-row.header .compare-cell {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.compare-cell.us { color: var(--color-active); font-weight: 500; }
.compare-cell.bad { color: var(--fg-subtle); }

/* ===== FOOTER ===== */
.site-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
}
.footer-brand .snap { color: var(--color-active); }

.footer-right {
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot { opacity: 0.35; }

/* ===== PREMIUM SHIMMER (special accent) ===== */
.shimmer-text {
  background: linear-gradient(
    90deg,
    #40d995 0%, #4db8f0 30%, #ffc107 60%, #40d995 80%, #4db8f0 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-move 4s linear infinite;
}
@keyframes shimmer-move {
  from { background-position: 0% center; }
  to { background-position: 200% center; }
}

/* ===== SCROLL FADE-IN ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero-visual { gap: 20px; }
  .phone-frame { width: 90px; height: 148px; }
  .camera-bump { width: 52px; }

  .problem-inner { grid-template-columns: 1fr; gap: var(--space-md); }
  .how-inner { grid-template-columns: 1fr; }
  .how-visual { min-height: 260px; padding: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; gap: 10px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .step { gap: 20px; }
  .product-price-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .compare-table { font-size: 13px; }
  .compare-cell { padding: 10px 12px; }
  .compat-banner { flex-wrap: wrap; gap: 6px; }
}
