:root {
  --n-0: #16191c;
  --n-1: #1d2125;
  --n-2: #2c3238;
  --n-3: #767f8a;
  --n-4: #a3acb5;
  --n-5: #eef1f4;
  --admit: #4cc38a;
  --admit-soft: #12301f;
  --deny: #f2736a;
  --deny-soft: #33191a;
  --focus: #6ea1ff;

  --surface: var(--n-0);
  --surface-raised: var(--n-1);
  --surface-sunken: #111417;
  --line: var(--n-2);
  --line-strong: var(--n-3);
  --text: var(--n-5);
  --text-muted: var(--n-3);
  --text-dim: var(--n-4);

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;

  --r-control: 6px;
  --r-panel: 10px;

  --font-stack: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

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

html {
  color-scheme: dark;
  background-color: var(--surface);
  color: var(--text);
  font-family: var(--font-stack);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--admit);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--surface-raised);
  color: var(--text);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  z-index: 1000;
}
.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}

/* Nav */
header.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(22, 25, 28, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo img, .logo svg {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-sunken);
  padding: 3px 8px;
  border-radius: var(--r-control);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.lang-link {
  color: var(--text-dim) !important;
  text-decoration: none;
}

.lang-link:hover {
  color: var(--text) !important;
}

.lang-link.active {
  color: var(--admit) !important;
}

.lang-sep {
  color: var(--line);
  user-select: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--r-control);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--admit);
  color: #0d2215;
  font-weight: 600;
}

.btn-primary:hover {
  background: #5cdba0;
  color: #07170e;
}

.btn-secondary {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

/* Hero */
.hero {
  padding: var(--s-7) 0 var(--s-6);
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--admit-soft);
  color: var(--admit);
  border: 1px solid rgba(76, 195, 138, 0.25);
  margin-bottom: var(--s-4);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-4);
  color: #fff;
}

.hero p.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto var(--s-5);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Interactive Before/After Visual */
.demo-section {
  padding: 0 0 var(--s-7);
}

.demo-frame {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-sunken);
  font-size: 12px;
  color: var(--text-muted);
}

.demo-tabs {
  display: flex;
  gap: 8px;
}

.demo-tab-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-control);
  cursor: pointer;
}

.demo-tab-btn.active {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--text);
}

.demo-content {
  padding: var(--s-4);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-3);
}

.video-card {
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  transition: opacity 0.25s, transform 0.25s;
}

.video-card.blocked {
  opacity: 0.15;
  filter: grayscale(1);
  transform: scale(0.98);
}

.video-card .thumb {
  height: 120px;
  background: #252a30;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  position: relative;
}

.video-card .blocked-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--deny-soft);
  color: var(--deny);
  border: 1px solid rgba(242, 115, 106, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.video-card .admit-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--admit-soft);
  color: var(--admit);
  border: 1px solid rgba(76, 195, 138, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.video-card .details {
  padding: 12px;
}

.video-card .title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--text);
}

.video-card .channel {
  font-size: 12px;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
}

.section-title {
  text-align: center;
  margin-bottom: var(--s-6);
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-title p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}

.feature-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: var(--s-4);
}

.feature-card .icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--r-control);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  color: var(--admit);
  font-weight: bold;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.5;
}

/* Pricing */
.pricing-section {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
}

.pricing-card.highlight {
  border-color: var(--admit);
  position: relative;
  box-shadow: 0 8px 30px rgba(76, 195, 138, 0.1);
}

.pricing-card .badge-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--admit);
  color: #0d2215;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.pricing-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0;
}

.pricing-card .price-amount {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.pricing-card .price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  flex-grow: 1;
}

.pricing-card li {
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card li::before {
  content: "✓";
  color: var(--admit);
  font-weight: bold;
}

/* FAQ */
.faq-section {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0;
}

.faq-item h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--text);
}

.faq-item p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}

/* Legal / Policy Pages */
.legal-main {
  padding: var(--s-6) 0 var(--s-7);
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.legal-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #fff;
}

.legal-date {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 var(--s-5);
}

.legal-sheet {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: var(--s-5);
}

.legal-sheet h2 {
  font-size: 18px;
  font-weight: 600;
  margin: var(--s-4) 0 var(--s-2);
  color: #fff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.legal-sheet h2:first-child {
  margin-top: 0;
}

.legal-sheet p, .legal-sheet li {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.legal-sheet ul {
  padding-left: 20px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-sunken);
  padding: var(--s-6) 0;
  margin-top: auto;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer-links {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero p.lead {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
