:root {
  --bg-dark: #0a0a0e;
  --bg-card: #13131a;
  --bg-card-border: #23232d;
  --primary-red: #e50914;
  --primary-red-glow: rgba(229, 9, 20, 0.4);
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);
  --text-main: #f5f5f7;
  --text-muted: #9696a4;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 0 16px var(--primary-red-glow);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
}

.nav-btn.primary {
  background: var(--primary-red);
  color: #fff !important;
  box-shadow: 0 2px 10px var(--primary-red-glow);
}

.nav-btn.primary:hover {
  background: #f40612;
}

.nav-btn.secondary {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24 !important;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.25) 0%, rgba(10, 10, 14, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, #ff4d58 0%, #ff9580 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary-red);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 20px var(--primary-red-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.6);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid var(--bg-card-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s;
}

.secondary-button.gold-border {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
}

.secondary-button.gold-border:hover {
  background: rgba(245, 158, 11, 0.18);
}

/* Showcase Card */
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 960px;
  margin: 0 auto;
}

.showcase-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: #181822;
  border-bottom: 1px solid var(--bg-card-border);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3c3c4a;
}

.player-title {
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bg-card-border);
}

.compare-pane {
  background: #0d0d12;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.tag-bad {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.tag-good {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mock-video {
  width: 100%;
  height: 240px;
  background: linear-gradient(180deg, #181622 0%, #0d0c14 100%);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid #232230;
}

.mock-person {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 140px;
  background: radial-gradient(circle at 50% 35%, #46445a 0%, #2b2938 70%);
  border-radius: 60px 60px 30px 30px;
  opacity: 0.6;
}

.video-overlay-text {
  position: absolute;
  top: 14px;
  left: 16px;
  display: flex;
  flex-direction: column;
  opacity: 0.8;
}

.video-overlay-text .title {
  font-size: 16px;
  font-weight: 800;
}

.video-overlay-text .desc {
  font-size: 11px;
  color: #aaa;
}

.video-overlay-text .credits {
  font-size: 10px;
  color: var(--primary-red);
  font-weight: 700;
  margin-top: 4px;
}

.awkward-top-sub {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0,0,0,0.4);
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-align: right;
  border: 1px dashed rgba(239, 68, 68, 0.6);
  border-radius: 4px;
}

.anchored-bottom-sub {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 4px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  white-space: nowrap;
}

.caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-badge {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary-red);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-align: center;
  margin-bottom: 14px;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 16px;
}

/* Playground */
.demo-playground {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.demo-screen {
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #232230;
}

.demo-backdrop {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(135deg, #1e1628 0%, #101017 60%, #08080a 100%);
}

.demo-character {
  position: absolute;
  top: 40px;
  width: 140px;
  height: 160px;
  background: radial-gradient(circle at 50% 30%, #464259 0%, #201e2b 75%);
  border-radius: 70px 70px 30px 30px;
  opacity: 0.7;
}

.demo-subtitles {
  z-index: 10;
  text-align: center;
  transition: all 0.15s ease;
  max-width: 85%;
  margin-bottom: 8%;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-group label {
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
}

.control-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary-red);
}

.control-group select {
  background: #23232f;
  color: #fff;
  border: 1px solid var(--bg-card-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.color-options {
  display: flex;
  gap: 10px;
}

.color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s, border-color 0.1s;
}

.color-btn.active {
  border-color: #fff;
  transform: scale(1.15);
}

.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 28px;
  border-radius: var(--radius-md);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.4);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

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

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

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, #181524 0%, #100e19 100%);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-gold);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.price span {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li strong {
  color: #fff;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.plan-btn.outline {
  border: 1px solid var(--bg-card-border);
  color: #fff;
}

.plan-btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.plan-btn.primary {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 4px 16px var(--accent-gold-glow);
}

.plan-btn.primary:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

/* CTA Section */
.cta-box {
  background: linear-gradient(135deg, #1c1424 0%, #101016 100%);
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 0 50px rgba(229, 9, 20, 0.15);
}

.cta-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
}

.cta-box .note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #7d7d8e;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.disclaimer {
  color: #636374;
  font-size: 12px;
  max-width: 480px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 34px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .demo-playground { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

/* Top Brand Bar */
.top-brand-bar {
  background: #121019;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.top-brand-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.top-brand-bar a:hover {
  text-decoration: underline;
}

.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-by {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -3px;
}
.footer-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Real Showcase Grid with actual captures */
.real-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px;
  background: #0d0d12;
}

.real-showcase-grid.secondary-case {
  padding-top: 0;
  border-top: 1px solid #1a1a24;
}

.real-showcase-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.real-img-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #232230;
  background: #000;
}

.real-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.real-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.real-tag.bad {
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
}

.real-tag.good {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}

.real-caption {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.real-caption strong {
  color: #fff;
}

@media (max-width: 768px) {
  .real-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* GAuth Banner Card */
.gauth-banner-card {
  max-width: 600px;
  margin: -30px auto 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
}

.gauth-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gauth-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.gauth-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.gauth-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}

.btn-signout {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ddd;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-signout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.nav-user-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
}

.nav-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.status-badge.pro {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.status-badge.free {
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* Chrome Icon Styling */
.chrome-icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Payment Success Alert */
.payment-alert {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13.5px;
  text-align: left;
  line-height: 1.4;
}

/* Pulse animation when user tries to Get Pro without signing in */
.highlight-pulse {
  animation: pulse-border 1.5s ease-in-out;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); border-color: #f59e0b; }
  50% { box-shadow: 0 0 20px 4px rgba(245, 158, 11, 0.5); border-color: #fbbf24; }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.plan-btn.mini {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 14px;
}
