/* SiteBlocker Landing Page Stylesheet */
/* Premium, modern, Apple/Linear style dark mode */

:root {
  --bg: #0B0B0D;
  --surface: #141418;
  --border: #26262C;
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --accent: #22C55E;
  --accent-hover: #16A34A;
  --accent-glow: rgba(34, 197, 94, 0.15);
  --radius-card: 16px;
  --radius-btn: 12px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background glows */
.glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.glow-1 {
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: 10%;
  left: -200px;
}

.container {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ─── Typography ──────────────────────────────────── */

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: 48px;
  line-height: 1.15;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
}

h3 {
  font-size: 16px;
  font-weight: 600;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--text-secondary);
  transform: scale(1.02);
}

.btn-nav {
  padding: 8px 14px;
  background: var(--text-primary);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
}

.btn-nav:hover {
  background: var(--accent);
  color: #000;
}

/* ─── Navbar ──────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 11, 13, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 20px;
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-git {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Hero ────────────────────────────────────────── */

.hero {
  padding: 96px 0 64px 0;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.badge-container {
  margin-bottom: 8px;
}

.hero-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.hero-title {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.git-icon {
  margin-right: 8px;
}

/* ─── Trusted By ──────────────────────────────────── */

.trusted {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.trusted-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.logo-item {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ─── Section Shared Styles ───────────────────────── */

section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
}

/* ─── Key Features ────────────────────────────────── */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-secondary);
}

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

.feature-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* ─── Preview Section (Interactive Mockup) ───────── */

.preview-section {
  background: radial-gradient(100% 100% at 50% 0%, rgba(20, 20, 24, 0.6) 0%, rgba(11, 11, 13, 0.4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.preview-wrapper {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Chrome Extension Popup Mockup - Exact Layout */
.popup-mockup {
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: var(--font-family);
  text-align: left;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.mockup-header .header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-header .header-icon {
  font-size: 18px;
}

.mockup-header .header-titles {
  display: flex;
  flex-direction: column;
}

.mockup-header .header-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.mockup-header .header-subtitle {
  font-size: 10px;
  color: var(--text-secondary);
}

.mock-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 6px;
  border-radius: 4px;
}

.mockup-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* iOS switch */
.mock-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.mock-toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.ios-switch {
  width: 44px;
  height: 24px;
  background: #2b2b30;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color 200ms ease;
  outline: none;
}

.ios-switch.active {
  background: var(--accent);
}

.switch-handle {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-switch.active .switch-handle {
  transform: translateX(20px);
}

/* Stats */
.mock-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.mock-stat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-stat-lbl {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* List section */
.mock-list-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mock-list-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1c1c24;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  animation: scale-in 200ms ease;
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.mock-item-text {
  font-size: 12px;
  color: var(--text-primary);
}

.mock-item-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.mock-item-remove:hover {
  color: var(--accent);
}

.mock-add-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.mock-add-input {
  flex: 1;
  background: #1c1c24;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 10px;
  height: 32px;
  font-size: 12px;
  color: #fff;
  outline: none;
}

.mock-add-input::placeholder {
  color: #555;
}

.mock-add-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 0 12px;
  cursor: pointer;
  transition: var(--transition);
}

.mock-add-btn:hover {
  color: var(--text-primary);
  background: #1c1c24;
}

.mock-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.mock-footer-link {
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
}

.mock-footer-link:hover {
  color: var(--text-primary);
}

/* ─── How it Works ────────────────────────────────── */

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.8;
  line-height: 1;
}

.step-title {
  font-size: 15px;
  font-weight: 700;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 13px;
}

/* ─── FAQ ─────────────────────────────────────────── */

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
}

.faq-question {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* ─── Download CTA ────────────────────────────────── */

.download {
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.download-title {
  font-size: 32px;
}

.download-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 400px;
}

/* ─── Footer ──────────────────────────────────────── */

.footer {
  padding: 48px 0;
  background: #08080a;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* ─── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }

  .trusted-logos {
    gap: 24px;
  }
  
  .nav-links {
    display: none;
  }
}
