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

:root {
  --bg: #0a0a0a;
  --card: #161616;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.3);
  --text: #ffffff;
  --muted: #888888;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::selection { background: rgba(255, 255, 255, 0.2); }

/* TV Static Canvas */
#tv-static {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  image-rendering: pixelated;
  transition: opacity 0.6s ease-in-out;
}

#tv-static.full {
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}

/* Black overlay that blocks content during "Try it now" */
#break-bg {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}
#break-bg.active {
  z-index: 9998;
  opacity: 1;
}

#break-hint {
  position: fixed;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out 0.2s;
}
#break-hint.active { opacity: 1; }

/* Wrapper */
.wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 40px 60px;
  max-width: 1024px;
  margin: 0 auto;
}

/* Icons */
.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: background 0.2s;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.05); }
.lang-btn .icon { width: 12px; height: 12px; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  min-height: 60vh;
  justify-content: center;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 800px;
}

.subhead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 500px;
}

/* CTA Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.05); }

/* Platform Info */
.platform-info {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  color: var(--muted);
}
.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-item .icon { width: 14px; height: 14px; }
.info-item span {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 4px;
}
.info-item b { color: var(--text); font-weight: 500; }

/* CTA Hint */
.cta-hint {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
  animation: hintPulse 2s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* How it Works */
.how-it-works, .features, .pricing {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.how-it-works h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 64px;
  text-align: center;
}

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

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.step-mockup {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mockup: Menu bar */
.menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  gap: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}
.menubar-eye {
  color: #fff;
  font-size: 14px;
  animation: eyePulse 2s ease-in-out infinite;
}
@keyframes eyePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.mockup-menubar { background: #1a1f2a; }

/* Mockup: Popover */
.popover {
  background: #0e1824;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  min-width: 140px;
}
.popover-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.popover-timer {
  font-size: 28px;
  font-weight: 600;
  background: linear-gradient(180deg, #fff 20%, #4ea0d0 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  letter-spacing: -1px;
  font-family: ui-monospace, Menlo, monospace;
}
.popover-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.popover-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.popover-btn-primary {
  background: #4ea0d0;
  color: #000;
}

/* Mockup: TV Static overlay */
.mockup-overlay {
  background: #000;
  padding: 0;
}
#mini-static {
  width: 100%;
  height: 100%;
  display: block;
}
.mini-overlay-hint {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-family: monospace;
}

.step h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Old section border-top override removed (now in how-it-works) */
.features, .pricing { }

.features h2, .pricing h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 64px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-icon-emoji {
  width: 56px;
  height: 56px;
  font-size: 26px;
  background: var(--card);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card-pro {
  border-color: var(--border-strong);
}

.pro-badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: var(--text);
  color: var(--bg);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tier-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.price {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  list-style: none;
  flex-grow: 1;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-list svg {
  width: 16px;
  height: 16px;
  color: var(--text);
  flex-shrink: 0;
}

/* Waitlist Form */
.waitlist {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.waitlist-label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.waitlist-row {
  display: flex;
  gap: 8px;
}
.waitlist input[type="email"] {
  flex: 1;
  background: #0a0a0a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  direction: ltr;
  text-align: start;
}
.waitlist input[type="email"]:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
}
.waitlist input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.btn-small {
  padding: 10px 16px;
  font-size: 13px;
}
.waitlist-success {
  font-size: 12px;
  color: #4ade80;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}
.waitlist-success.show { opacity: 1; }
.waitlist.submitted .waitlist-row { display: none; }
.waitlist.submitted .waitlist-label { display: none; }

/* Footer */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 12px;
  color: var(--muted);
}
.footer a {
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer a:hover { opacity: 0.8; }

/* Responsive */
@media (max-width: 768px) {
  .wrapper { padding: 24px; }
  .header { margin-bottom: 40px; }
  .hero { padding: 40px 0; min-height: 50vh; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .subhead { font-size: 16px; }
  .btn { padding: 14px 24px; }
  .platform-info { margin-top: 40px; gap: 20px; }
  .how-it-works, .features, .pricing { padding: 60px 0; }
  .how-it-works h2, .features h2, .pricing h2 { font-size: 24px; margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .waitlist-row { flex-direction: column; }
  .btn-small { width: 100%; }
}
