/* ParentGuard Pro - Landing Page Styles */

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

:root {
  --bg:        #070d1a;
  --bg-card:   #0f1b2d;
  --bg-card2:  #162032;
  --border:    #1e3048;
  --text:      #e2e8f0;
  --text-2:    #94a3b8;
  --text-3:    #64748b;
  --accent:    #3b82f6;
  --accent2:   #6366f1;
  --green:     #22c55e;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 32px rgba(0,0,0,0.5);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================ NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), border-color var(--transition);
}
.navbar.scrolled {
  background: rgba(7,13,26,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; height: 64px; gap: 32px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: var(--text);
  text-decoration: none; white-space: nowrap;
}
.brand-icon { font-size: 22px; }
.lang-switcher {
  display: flex; gap: 2px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 3px; flex-shrink: 0;
}
.lang-btn {
  background: transparent; border: none; color: var(--text-3);
  padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  border-radius: 6px; cursor: pointer; transition: color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--accent); color: #fff; }
.navbar-nav { display: flex; list-style: none; gap: 4px; flex: 1; }
.navbar-nav a {
  color: var(--text-2); text-decoration: none; font-size: 14px;
  padding: 6px 14px; border-radius: 8px; transition: all var(--transition);
}
.navbar-nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.navbar-toggle {
  display: none; background: none; border: none;
  color: var(--text-2); font-size: 22px; cursor: pointer; margin-left: auto;
}
.navbar-mobile {
  display: none; flex-direction: column; padding: 12px 0;
  border-top: 1px solid var(--border); background: rgba(7,13,26,0.96);
}
.navbar-mobile.open { display: flex; }
.navbar-mobile a {
  color: var(--text-2); text-decoration: none;
  padding: 12px 24px; font-size: 15px; transition: color var(--transition);
}
.navbar-mobile a:hover { color: var(--text); }

/* ============================================================ HERO */
.hero {
  position: relative; padding: 140px 24px 100px;
  text-align: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25);
  color: #93c5fd; font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px; letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15;
  color: #f1f5f9; margin-bottom: 20px; letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 16px; color: var(--text-2); max-width: 560px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.btn-download {
  display: flex; align-items: center; gap: 12px; padding: 14px 22px;
  border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 200px;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.btn-download span { display: flex; flex-direction: column; text-align: left; }
.btn-download small { font-size: 11px; font-weight: 400; opacity: 0.8; line-height: 1.2; }
.browser-icon { width: 28px; height: 28px; flex-shrink: 0; }
.btn-chrome { background: linear-gradient(135deg, #1a73e8, #1557b0); color: #fff; }
.btn-edge   { background: linear-gradient(135deg, #0078d4, #005a9e); color: #fff; }
.btn-other  { background: linear-gradient(135deg, #2d3748, #1a202c); color: #e2e8f0; border: 1px solid var(--border); }
.hero-note { font-size: 12px; color: var(--text-3); }
.hero-glow {
  position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================ SECTION COMMONS */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
  color: #f1f5f9; margin-bottom: 12px; letter-spacing: -0.01em;
}
.section-header p { font-size: 15px; color: var(--text-2); max-width: 500px; margin: 0 auto; }

/* ============================================================ FEATURES */
.features { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px); border-color: rgba(59,130,246,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ============================================================ HOW IT WORKS */
.how-it-works {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.03) 50%, transparent);
}
.steps { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center; max-width: 240px; flex: 1; min-width: 180px;
}
.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff; margin: 0 auto 16px;
}
.step h3 { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.step-arrow { font-size: 24px; color: var(--text-3); flex-shrink: 0; }

/* ============================================================ PRIVACY */
.privacy { padding: 96px 0; }
.privacy-doc-header { text-align: center; margin-bottom: 8px; }
.privacy-updated { font-size: 14px; color: var(--text-3); margin-top: 8px; }
.privacy-doc {
  max-width: 720px;
  margin: 12px auto 0;
  counter-reset: priv;
}
.privacy-block {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.privacy-block:last-child { border-bottom: none; padding-bottom: 0; }
.privacy-block h3 {
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 12px;
  padding-left: 2.35rem;
  position: relative;
  line-height: 1.35;
}
.privacy-block h3::before {
  counter-increment: priv;
  content: counter(priv) ".";
  position: absolute;
  left: 0;
  width: 1.85rem;
  color: var(--accent);
  font-weight: 800;
  text-align: left;
}
.privacy-block-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 10px;
}
.privacy-block-body p:last-child { margin-bottom: 0; }
.privacy-block-body ul {
  margin: 10px 0 12px;
  padding-left: 1.35rem;
  list-style: disc;
  color: var(--text-2);
}
.privacy-block-body ul li {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 6px;
}
.privacy-block-body ul li:last-child { margin-bottom: 0; }

/* ============================================================ FAQ */
.faq { padding: 96px 0; }
.faq-header { margin-bottom: 8px; }
.faq-doc {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-left: 26px;
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.35;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}
.faq-item[open] > summary::before { content: '−'; }
.faq-answer { margin-top: 12px; padding-left: 26px; }
.faq-answer p,
.faq-answer li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer ol { margin: 0 0 12px 1.2rem; }

code {
  background: rgba(59,130,246,0.1); color: #93c5fd;
  padding: 1px 6px; border-radius: 4px;
  font-family: 'SF Mono', 'Cascadia Code', monospace; font-size: 12px;
}

/* ============================================================ FOOTER */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.footer-tagline { color: var(--text-3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.footer-copy { font-size: 12px; color: var(--text-3); }
.footer-credit {
  font-size: 12px;
  color: var(--text-3);
  margin: 0;
  line-height: 1.5;
}
.footer-credit a {
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--accent); text-decoration: underline; }

/* ============================================================ RESPONSIVE */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .navbar-nav { display: none; }
  .navbar-toggle { display: block; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 20px 80px; }
  .steps { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .btn-download { min-width: unset; width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-meta { align-items: center; text-align: center; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }
