/* ==========================================================================
   CozySnow / SnowDesk — Alpine Midnight Winter Design System
   Typography: Fraunces (Display) + Plus Jakarta Sans (UI) + JetBrains Mono
   ========================================================================== */

:root {
  --bg-deep: #060b16;
  --bg-night: #0b1426;
  --bg-elevated: rgba(15, 25, 45, 0.78);
  --bg-card: rgba(17, 29, 52, 0.72);
  --bg-card-strong: rgba(20, 34, 60, 0.9);

  --ice-border: rgba(186, 224, 255, 0.14);
  --ice-border-strong: rgba(186, 224, 255, 0.28);
  --ice-glow: rgba(125, 211, 252, 0.18);

  --text-snow: #f6f9ff;
  --text-frost: #c5d6ee;
  --text-muted: #8ea6c7;

  --amber: #f5a623;
  --amber-bright: #ffbe4f;
  --amber-ink: #1a1002;
  --cranberry: #e5484d;
  --cranberry-soft: rgba(229, 72, 77, 0.16);
  --pine: #34d399;
  --frost-cyan: #7dd3fc;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --shadow-card: 0 24px 60px rgba(2, 6, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-glow-amber: 0 12px 34px rgba(245, 166, 35, 0.34);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color: var(--text-snow);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 680px at 14% -8%, rgba(56, 130, 214, 0.22), transparent 62%),
    radial-gradient(960px 580px at 88% 4%, rgba(245, 166, 35, 0.12), transparent 58%),
    radial-gradient(880px 520px at 50% 42%, rgba(28, 63, 118, 0.18), transparent 70%),
    linear-gradient(180deg, #070d1b 0%, #091224 45%, #060b16 100%);
  color: var(--text-snow);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* --- Twinkling Festive Top Wire --- */
.festive-wire-strip {
  position: relative;
  height: 18px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding-inline: 8px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.96), transparent);
}

.festive-wire-strip::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(186, 224, 255, 0.18);
}

.wire-bulb {
  position: relative;
  top: 4px;
  width: 7px;
  height: 9px;
  border-radius: 50% 50% 60% 60%;
  animation: bulbTwinkle 3.2s ease-in-out infinite;
}

.wire-bulb:nth-child(5n + 1) {
  background: #ffd166;
  box-shadow: 0 0 12px 3px rgba(255, 209, 102, 0.72);
  animation-delay: 0s;
}
.wire-bulb:nth-child(5n + 2) {
  background: #ff5d6c;
  box-shadow: 0 0 12px 3px rgba(255, 93, 108, 0.72);
  animation-delay: 0.6s;
}
.wire-bulb:nth-child(5n + 3) {
  background: #38e59d;
  box-shadow: 0 0 12px 3px rgba(56, 229, 157, 0.72);
  animation-delay: 1.2s;
}
.wire-bulb:nth-child(5n + 4) {
  background: #5ce1ff;
  box-shadow: 0 0 12px 3px rgba(92, 225, 255, 0.72);
  animation-delay: 1.8s;
}
.wire-bulb:nth-child(5n + 5) {
  background: #ff9f43;
  box-shadow: 0 0 12px 3px rgba(255, 159, 67, 0.72);
  animation-delay: 2.4s;
}

@keyframes bulbTwinkle {
  0%, 100% { opacity: 0.98; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 13, 27, 0.8);
  border-bottom: 1px solid var(--ice-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 14px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #1b3564 0%, #0e1e3c 100%);
  border: 1px solid rgba(186, 224, 255, 0.3);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--text-snow);
}

.brand-subtag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--frost-cyan);
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.24);
  padding: 2px 7px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--text-frost);
}

.nav-links a {
  transition: color 0.18s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber-bright) 0%, var(--amber) 100%);
  color: var(--amber-ink);
  box-shadow: var(--shadow-glow-amber);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(245, 166, 35, 0.44);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--ice-border-strong);
  color: var(--text-snow);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(186, 224, 255, 0.46);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--ice-border);
  color: var(--text-frost);
  padding: 9px 14px;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  color: var(--text-snow);
  border-color: var(--ice-border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 14px;
}

/* --- Hero Section --- */
.hero {
  padding: 34px 0 46px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.os-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.os-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-frost);
  background: rgba(20, 35, 62, 0.85);
  border: 1px solid var(--ice-border);
}

.os-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.os-pill--highlight {
  color: #fde68a;
  border-color: rgba(245, 166, 35, 0.34);
  background: rgba(245, 166, 35, 0.12);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.3vw, 3.65rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text-snow);
}

.hero-title em {
  font-style: italic;
  color: #a5e2ff;
  font-weight: 600;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-cta-row .btn {
  flex: 1 1 auto;
}

.hero-spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.hero-spec-strip strong {
  color: var(--text-frost);
  font-weight: 600;
}

/* --- Interactive Desktop Snow Playground --- */
.playground-shell {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 27, 50, 0.94), rgba(9, 16, 31, 0.98));
  border: 1px solid var(--ice-border-strong);
  box-shadow:
    0 34px 90px rgba(0, 4, 16, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 70px rgba(86, 174, 255, 0.12);
  overflow: hidden;
}

.playground-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: rgba(8, 14, 28, 0.92);
  border-bottom: 1px solid rgba(186, 224, 255, 0.12);
  font-size: 0.8rem;
}

.pg-status-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-frost);
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38e59d;
  box-shadow: 0 0 10px #38e59d;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.pg-hint-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.pg-canvas-wrap {
  position: relative;
  width: 100%;
  height: 500px;
  background: #081226;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.pg-canvas-wrap.is-dragging {
  cursor: grabbing;
}

.pg-canvas-wrap.is-frost {
  cursor: crosshair;
}

.pg-canvas-wrap.is-snowball {
  cursor: cell;
}

#snow-playground {
  width: 100%;
  height: 100%;
  display: block;
}

.pg-toast {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(8, 16, 33, 0.88);
  border: 1px solid rgba(186, 224, 255, 0.28);
  color: var(--text-snow);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 5;
}

.pg-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Toy Control Dock */
.toy-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: rgba(9, 15, 30, 0.96);
  border-top: 1px solid rgba(186, 224, 255, 0.12);
}

.toy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(25, 42, 74, 0.82);
  border: 1px solid rgba(186, 224, 255, 0.18);
  color: var(--text-snow);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.18s ease;
}

.toy-btn:hover {
  background: rgba(36, 61, 106, 0.94);
  border-color: rgba(125, 211, 252, 0.45);
  transform: translateY(-1px);
}

.toy-btn.is-active {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.28), rgba(56, 189, 248, 0.18));
  border-color: var(--frost-cyan);
  box-shadow: 0 0 18px rgba(125, 211, 252, 0.28);
  color: #ffffff;
}

.toy-btn--amber {
  border-color: rgba(245, 166, 35, 0.36);
  background: rgba(245, 166, 35, 0.14);
}

.toy-btn--amber:hover {
  background: rgba(245, 166, 35, 0.24);
  border-color: rgba(245, 166, 35, 0.65);
}

.toy-util-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Mobile-to-Desktop Conversion Bridge --- */
.mobile-bridge {
  margin-top: 22px;
  background: linear-gradient(135deg, rgba(20, 35, 64, 0.88), rgba(14, 24, 44, 0.92));
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.bridge-steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bridge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
}

.bridge-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bridge-step {
  background: rgba(8, 15, 29, 0.66);
  border: 1px solid var(--ice-border);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 0.82rem;
  color: var(--text-frost);
}

.bridge-step strong {
  display: block;
  color: var(--text-snow);
  font-size: 0.86rem;
  margin-bottom: 3px;
}

.bridge-form-box {
  background: rgba(7, 13, 27, 0.72);
  border: 1px solid var(--ice-border);
  border-radius: 14px;
  padding: 14px 16px;
}

.bridge-form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-snow);
  margin-bottom: 9px;
}

.bridge-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
}

.bridge-input,
.bridge-select {
  background: rgba(17, 29, 52, 0.95);
  border: 1px solid var(--ice-border-strong);
  border-radius: 10px;
  padding: 10px 11px;
  color: var(--text-snow);
  font-size: 0.84rem;
  outline: none;
  min-width: 0;
}

.bridge-input:focus,
.bridge-select:focus {
  border-color: var(--frost-cyan);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.16);
}

.bridge-feedback {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 18px;
}

.bridge-feedback.is-success {
  color: var(--pine);
}

.bridge-feedback.is-success a {
  color: var(--amber-bright);
  text-decoration: underline;
}

.bridge-feedback.is-error {
  color: #fca5a5;
}

/* --- Sections General --- */
.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--frost-cyan);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* --- Demo Video Showcase --- */
.demo-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: rgba(12, 21, 40, 0.9);
  border: 1px solid var(--ice-border);
  border-radius: 14px;
}

.demo-tab {
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.demo-tab.is-active {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.22), rgba(56, 189, 248, 0.12));
  color: var(--text-snow);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.demo-panel {
  display: none;
}

.demo-panel.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.video-frame-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ice-border-strong);
  background: #050a14;
  box-shadow: var(--shadow-card);
}

.video-frame-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #060b16;
}

.real-footage-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 12, 26, 0.82);
  border: 1px solid rgba(186, 224, 255, 0.26);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 700;
  color: #e0f2fe;
}

.demo-notes-card {
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.demo-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.demo-feature-list li {
  display: flex;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--text-frost);
}

.demo-feature-list .check-ico {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: var(--pine);
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Android Visual Showcase Panel */
.android-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 28px;
  min-height: 390px;
  background:
    radial-gradient(circle at 30% 25%, rgba(125, 211, 252, 0.18), transparent 55%),
    linear-gradient(145deg, #0b1830 0%, #070e1d 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice-border-strong);
  box-shadow: var(--shadow-card);
}

.phone-mockup {
  width: 214px;
  height: 374px;
  border-radius: 32px;
  border: 6px solid #1e2d4a;
  background: linear-gradient(180deg, #0d1d3a 0%, #152b52 55%, #1d3b66 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
  flex: none;
}

.phone-notch {
  width: 64px;
  height: 16px;
  background: #060b16;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}

.phone-lights {
  display: flex;
  justify-content: space-around;
  padding: 2px 10px 8px;
}

.phone-lights span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.phone-screen-cards {
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-widget {
  background: rgba(8, 16, 33, 0.72);
  border: 1px solid rgba(186, 224, 255, 0.24);
  border-top: 4px solid #f0f7ff;
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 0.76rem;
}

.phone-widget strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
}

.phone-snow-bank {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: linear-gradient(180deg, #eff6ff 0%, #cbdcf7 100%);
  border-radius: 50% 50% 0 0 / 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 0;
  font-size: 1.25rem;
}

.android-callouts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 310px;
}

.android-chip {
  background: rgba(8, 15, 29, 0.74);
  border: 1px solid var(--ice-border);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-frost);
}

.android-chip strong {
  display: block;
  color: var(--text-snow);
  margin-bottom: 2px;
}

/* --- Bento Features --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--ice-border-strong);
}

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.24);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.bento-card h3 {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.bento-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-frost);
}

.bento-meta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--frost-cyan);
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.price-card--featured {
  background: linear-gradient(165deg, rgba(24, 42, 78, 0.94) 0%, rgba(13, 24, 46, 0.96) 100%);
  border-color: rgba(245, 166, 35, 0.58);
  box-shadow:
    0 28px 70px rgba(2, 8, 22, 0.7),
    0 0 0 1px rgba(245, 166, 35, 0.26) inset,
    0 0 50px rgba(245, 166, 35, 0.14);
}

.price-badge {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(125, 211, 252, 0.14);
  color: var(--frost-cyan);
  border: 1px solid rgba(125, 211, 252, 0.28);
}

.price-card--featured .price-badge {
  background: linear-gradient(90deg, var(--amber-bright), var(--amber));
  color: var(--amber-ink);
  border-color: transparent;
}

.price-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.price-figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.price-strike {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-term {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-frost);
}

.price-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pine);
  font-weight: 800;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.price-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -6px;
}

/* --- Creator 2,000-View Bounty Banner --- */
.bounty-banner {
  margin-top: 24px;
  background: linear-gradient(125deg, rgba(229, 72, 77, 0.18), rgba(245, 166, 35, 0.16) 55%, rgba(16, 28, 52, 0.92));
  border: 1px solid rgba(245, 166, 35, 0.36);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.bounty-copy {
  max-width: 680px;
}

.bounty-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(229, 72, 77, 0.24);
  border: 1px solid rgba(229, 72, 77, 0.45);
  color: #ffd5d7;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bounty-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.48rem;
  line-height: 1.18;
}

.bounty-copy p {
  margin: 0;
  color: var(--text-frost);
  font-size: 0.92rem;
}

.bounty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Secret Santa Gift Card Strip --- */
.gift-strip {
  margin-top: 22px;
  background: linear-gradient(135deg, rgba(16, 35, 58, 0.92), rgba(11, 21, 38, 0.94));
  border: 1px solid var(--ice-border-strong);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gift-strip h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.gift-strip p {
  margin: 0;
  color: var(--text-frost);
  max-width: 620px;
  font-size: 0.92rem;
}

/* --- Comparison Table --- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice-border-strong);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(186, 224, 255, 0.1);
}

.compare-table thead th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(7, 13, 27, 0.72);
}

.compare-table th.col-ours,
.compare-table td.col-ours {
  background: rgba(245, 166, 35, 0.09);
  color: var(--text-snow);
  font-weight: 700;
  border-left: 1px solid rgba(245, 166, 35, 0.3);
  border-right: 1px solid rgba(245, 166, 35, 0.3);
}

.compare-table thead th.col-ours {
  color: var(--amber-bright);
  background: rgba(245, 166, 35, 0.16);
}

.tag-yes {
  color: var(--pine);
  font-weight: 700;
}

.tag-no {
  color: #889ab5;
}

.tag-warn {
  color: #fbbf24;
  font-weight: 600;
}

/* --- FAQ Accordion --- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--ice-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item.is-open {
  border-color: var(--ice-border-strong);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-snow);
  padding: 18px 20px;
  text-align: left;
  font-size: 0.96rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--ice-border-strong);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--frost-cyan);
  flex: none;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-frost);
}

.faq-item.is-open .faq-body {
  display: block;
}

.faq-body code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(125, 211, 252, 0.12);
  color: #bae6fd;
  padding: 2px 6px;
  border-radius: 5px;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--ice-border);
  padding: 40px 0 54px;
  background: rgba(5, 9, 19, 0.9);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-col h4 {
  margin: 0 0 12px;
  color: var(--text-snow);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--text-snow);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(186, 224, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

/* --- Checkout Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 7, 16, 0.78);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: min(500px, 100%);
  background: linear-gradient(180deg, #101d38 0%, #0a1224 100%);
  border: 1px solid var(--ice-border-strong);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.75);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--ice-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-frost);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-tier-box {
  background: rgba(7, 13, 27, 0.72);
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.modal-tier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.modal-tier-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
}

.modal-price-group {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.modal-price-now {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--amber-bright);
}

.modal-price-old {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.modal-field {
  margin-bottom: 13px;
}

.modal-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-frost);
  margin-bottom: 6px;
}

.modal-field input,
.modal-field select {
  width: 100%;
  background: rgba(7, 13, 27, 0.9);
  border: 1px solid var(--ice-border-strong);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text-snow);
  font-size: 0.9rem;
}

.modal-check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--text-frost);
  margin: 12px 0 16px;
  cursor: pointer;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.pay-badges span {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ice-border);
}

.modal-status {
  font-size: 0.82rem;
  margin-top: 10px;
}

.modal-status.is-error {
  color: #fca5a5;
}

.preview-key-box {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.36);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  margin: 14px 0;
}

.preview-key-code {
  font-family: var(--font-mono);
  font-size: 1.18rem;
  font-weight: 700;
  color: #a7f3d0;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-top,
  .mobile-bridge,
  .demo-panel.is-active {
    grid-template-columns: 1fr;
  }

  .bento-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .pg-canvas-wrap {
    height: 430px;
  }
}

@media (max-width: 640px) {
  .brand-subtag,
  .site-header .nav-actions .btn-ghost {
    display: none;
  }

  .nav-inner {
    gap: 10px;
  }

  .bridge-steps {
    grid-template-columns: 1fr;
  }

  .bridge-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .bridge-form-row .bridge-input {
    grid-column: 1 / -1;
  }

  .pg-canvas-wrap {
    height: 390px;
  }

  .pg-hint-bar {
    display: none;
  }

  .android-stage {
    flex-direction: column;
  }

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