/**
 * ZeroExfil Browser Protect — Page Styles
 * Consistent design system with zeroexfil.com, creative layout
 */

/* ==========================================================================
   1. Design Tokens — mirrored from homepage
   ========================================================================== */
:root {
  --color-primary: #e63946;
  --color-primary-dark: #c1121f;
  --color-primary-light: rgba(230, 57, 70, 0.1);
  --color-primary-transparent: rgba(193, 18, 31, 0.05);
  --color-text: #111;
  --color-text-2: #444;
  --color-text-muted: #666;
  --color-bg: #fff;
  --color-bg-secondary: #f8f8f8;
  --border-light: #e5e5e5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 4px 12px rgba(193, 18, 31, 0.25);
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
a:hover { text-decoration: none; }
a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ==========================================================================
   3. Accessibility
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; outline: none; }

/* ==========================================================================
   4. Header
   ========================================================================== */
header { padding: 2rem 1rem; }
.logo { display: block; margin: 0 auto; height: 60px; width: auto; }

/* ==========================================================================
   5. Shared
   ========================================================================== */
.container { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }

.badge {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.section-intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--color-text-2);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ==========================================================================
   6. Buttons — identical to homepage
   ========================================================================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 2px solid var(--color-primary);
}
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-primary);
  text-decoration: none;
}
.btn-secondary { background: transparent; color: var(--color-primary); }
.btn-secondary:hover {
  background: var(--color-primary-transparent);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-primary-large {
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all var(--transition-base);
  background: var(--color-primary);
  color: white;
  border: none;
}
.btn-primary-large:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193, 18, 31, 0.3);
  text-decoration: none;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */
.hero {
  text-align: center;
  padding: 5rem 1rem 6rem;
  background: linear-gradient(to bottom, #ffffff 0%, var(--color-bg-secondary) 100%);
}
.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}
.hero-subtitle {
  color: var(--color-text-2);
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   8. Problem Section
   ========================================================================== */
.problem-section {
  padding: 5rem 1rem 4rem;
  background: white;
}
.problem-intro {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}
.problem-intro h2 {
  font-size: 2rem;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.problem-intro p {
  font-size: 1.15rem;
  color: var(--color-text-2);
  line-height: 1.7;
}

/* ==========================================================================
   9. Protection Cards — alternating layout
   ========================================================================== */
.protection-section {
  padding: 2rem 1rem 5rem;
  background: white;
}
.protection-section .container {
  max-width: 1100px;
}

.protect-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.protect-card:last-child {
  margin-bottom: 0;
}
.protect-card.reverse {
  direction: rtl;
}
.protect-card.reverse > * {
  direction: ltr;
}

.protect-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-text);
}
.protect-text p {
  font-size: 1.05rem;
  color: var(--color-text-2);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.protect-result {
  font-weight: 600;
  color: var(--color-text) !important;
  position: relative;
  padding-left: 1.25rem;
}
.protect-result::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Visual "browser window" illustrations */
.visual-window {
  background: white;
  border: 1px solid #ddd;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.window-bar {
  background: #f0f0f0;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid #e5e5e5;
}
.window-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}
.window-bar .dot:first-child { background: #ff5f57; }
.window-bar .dot:nth-child(2) { background: #ffbd2e; }
.window-bar .dot:nth-child(3) { background: #28c840; }

.window-content {
  padding: 2rem;
  min-height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Shield overlay (shared across all visuals) */
.shield-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}
.shield-icon {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Visual 1: Fake alert */
.warning-content {
  background: #fef3f4;
}
.fake-alert {
  text-align: center;
}
.alert-icon {
  width: 40px;
  height: 40px;
  stroke: #d32f2f;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 0.75rem;
}
.fake-text {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.35rem;
}
.fake-text-sm {
  display: block;
  font-size: 0.85rem;
  color: #666;
}

/* Visual 2: Clipboard */
.clipboard-content {
  background: #f8f9fc;
}
.clipboard-demo {
  width: 100%;
  max-width: 280px;
}
.clipboard-line {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid #e5e5e5;
}
.clipboard-line .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.clipboard-line code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text);
}
.clipboard-line.danger {
  border-color: #ffcdd2;
  background: #fff5f5;
}
.danger-code {
  color: #d32f2f !important;
}
.clipboard-arrow {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}
.clipboard-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Visual 3: Fingerprinting */
.fingerprint-content {
  background: #f8f8fa;
}
.fp-grid {
  width: 100%;
  max-width: 260px;
}
.fp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
}
.fp-item:last-child { border-bottom: none; }
.fp-item span {
  font-size: 0.85rem;
  color: var(--color-text-2);
}
.fp-bar {
  width: 60px;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.fp-item.collecting .fp-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 70%;
  background: var(--color-primary);
  border-radius: 3px;
  animation: fpCollect 2s ease-in-out infinite;
}
@keyframes fpCollect {
  0% { width: 0; opacity: 0.5; }
  50% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0.5; }
}

/* Visual 4: Crypto */
.crypto-content {
  background: #f9f8f4;
}
.crypto-demo {
  text-align: center;
}
.wallet-icon {
  width: 36px;
  height: 36px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0 auto 0.5rem;
}
.crypto-probe span {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.crypto-targets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.wallet-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-full);
  color: var(--color-text-2);
  background: white;
}

/* Visual 5: Geolocation */
.geo-content {
  background: #f4f8fb;
}
.geo-demo {
  text-align: center;
  width: 100%;
  max-width: 260px;
}
.geo-request {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.geo-icon {
  width: 28px;
  height: 28px;
  color: var(--color-text-muted);
}
.geo-request span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.geo-coords {
  width: 100%;
}
.geo-real,
.geo-fake {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
}
.geo-real.danger {
  background: #fff5f5;
  border: 1px solid #ffcdd2;
  color: #d32f2f;
}
.geo-fake.safe {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.geo-arrow {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0;
}
.geo-arrow svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Visual 6: Extension Enumeration */
.enum-content {
  background: #f8f6fb;
}
.enum-demo {
  text-align: center;
}
.enum-probe {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.enum-icon {
  width: 28px;
  height: 28px;
  color: var(--color-text-muted);
}
.enum-probe span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.enum-targets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.enum-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-full);
  color: var(--color-text-2);
  background: white;
}

/* ==========================================================================
   10. Simple — Install. Browse. Done.
   ========================================================================== */
.simple-section {
  padding: 5rem 1rem;
  background: var(--color-bg-secondary);
  text-align: center;
}
.simple-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.three-words {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.word-block {
  flex: 1;
  padding: 2rem 1.5rem;
}
.word-block h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.word-block p {
  font-size: 1rem;
  color: var(--color-text-2);
  line-height: 1.5;
}
.word-connector {
  flex-shrink: 0;
  width: 32px;
}
.word-connector svg {
  width: 32px;
  height: 32px;
  stroke: #ccc;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   11. Trust Statements
   ========================================================================== */
.trust-section {
  padding: 5rem 1rem;
  background: white;
}
.trust-statements {
  max-width: 1000px;
  margin: 0 auto;
}
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.trust-row:last-child {
  margin-bottom: 0;
}
.trust-statement {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  transition: all var(--transition-slow);
}
.trust-statement:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.trust-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-statement h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.trust-statement p {
  font-size: 0.95rem;
  color: var(--color-text-2);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   12. Built By
   ========================================================================== */
.built-by-section {
  padding: 4rem 1rem;
  background: var(--color-bg-secondary);
}
.built-by-card {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.built-by-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.built-by-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.built-by-logo img {
  margin: 0 auto;
}
.built-by-desc {
  font-size: 1.05rem;
  color: var(--color-text-2);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   13. CTA Section
   ========================================================================== */
.cta-section {
  padding: 6rem 1rem;
  background: white;
  text-align: center;
}
.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}
.cta-section > .container > p:first-of-type {
  font-size: 1.15rem;
  color: var(--color-text-2);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.cta-links {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.cta-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}
.cta-links a:hover { color: var(--color-primary); }
.cta-divider {
  width: 1px;
  height: 16px;
  background: #ddd;
}

/* ==========================================================================
   14. Footer — identical to homepage
   ========================================================================== */
footer {
  background: var(--color-bg-secondary);
  color: var(--color-text-2);
  padding: 0;
  border-top: 1px solid var(--border-light);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
}
.footer-brand { max-width: 300px; }
.footer-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--color-text-2); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.footer-links { display: flex; gap: 4rem; }
.footer-column { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-column h4 {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-column a {
  color: var(--color-text-2);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-base);
}
.footer-column a:hover { color: var(--color-primary); }
.footer-column address {
  font-style: normal;
  color: var(--color-text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 1rem;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--color-text-2); }

/* ==========================================================================
   15. Privacy Policy Page
   ========================================================================== */
.policy-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.policy-container h1 {
  color: var(--color-text);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.policy-updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}
.policy-container h2 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
  font-weight: 600;
  text-align: left;
}
.policy-container p,
.policy-container li {
  color: var(--color-text-2);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
}
.policy-container ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-container li { margin-bottom: 0.4rem; }
.policy-container strong { color: var(--color-text); }
.policy-container code {
  background: var(--color-bg-secondary);
  border: 1px solid var(--border-light);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  font-family: var(--font-mono);
}
.policy-highlight {
  background: var(--color-bg-secondary);
  border-left: 3px solid var(--color-primary);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: var(--radius-md);
}
.policy-highlight p { margin-bottom: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}
.back-link:hover { color: var(--color-primary); }
.back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   16. Responsive
   ========================================================================== */

/* --- Tablets --- */
@media (max-width: 900px) {
  .protect-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .protect-card.reverse {
    direction: ltr;
  }
  .trust-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero { padding: 3.5rem 1rem 4.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; text-align: center; }

  .problem-intro h2 { font-size: 1.6rem; }

  .protect-text h3 { font-size: 1.35rem; }

  .three-words { flex-direction: column; gap: 0; }
  .word-connector { transform: rotate(90deg); width: 24px; margin: 0.25rem 0; }
  .word-block { padding: 1rem; }
  .word-block h3 { font-size: 1.5rem; }

  .simple-section h2 { font-size: 1.85rem; }
  .cta-section h2 { font-size: 1.85rem; }

  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { max-width: 100%; text-align: center; }
  .footer-links { justify-content: center; gap: 3rem; }
}

@media (max-width: 480px) {
  .hero { padding: 2.5rem 1rem 3rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .btn-primary, .btn-secondary { padding: 0.875rem 2rem; font-size: 0.95rem; }
  .btn-primary-large { padding: 1rem 2rem; font-size: 1rem; width: 100%; max-width: 300px; }

  .problem-intro h2 { font-size: 1.35rem; }
  .problem-intro p { font-size: 1rem; }

  .protect-text h3 { font-size: 1.2rem; }
  .protect-text p { font-size: 0.95rem; }

  .window-content { padding: 1.25rem; min-height: 180px; }

  .simple-section h2 { font-size: 1.6rem; }
  .word-block h3 { font-size: 1.35rem; }

  .trust-statement { padding: 1.5rem; flex-direction: column; gap: 0.75rem; }
  .trust-icon { width: 36px; height: 36px; min-width: 36px; }
  .trust-icon svg { width: 18px; height: 18px; }
  .trust-statement h3 { font-size: 1.05rem; }

  .built-by-card { padding: 2rem 1.5rem; }

  .cta-section h2 { font-size: 1.6rem; }
  .cta-section { padding: 4rem 1rem; }
  .cta-links { flex-direction: column; gap: 0.75rem; }
  .cta-divider { display: none; }

  .footer-links { flex-direction: column; align-items: center; gap: 2rem; }
  .footer-column { text-align: center; }

  .policy-container { padding: 0 1rem 3rem; }
  .policy-container h1 { font-size: 1.5rem; }
}

/* ==========================================================================
   17. Mini Demo (inline on landing page)
   ========================================================================== */

.mini-demo-section {
  padding: 5rem 0;
  background: var(--color-surface);
}

.mini-demo-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.mini-demo-section .section-intro {
  text-align: center;
  color: var(--color-text-light);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

/* --- steps row --- */
.mini-demo-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
}

.mini-step {
  flex: 0 1 280px;
  text-align: center;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.mini-step.active,
.mini-step.done {
  opacity: 1;
}

.mini-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.mini-step-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.mini-step-box {
  background: var(--color-bg);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mini-step.active .mini-step-box {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.mini-step.done .mini-step-box {
  border-color: #22c55e;
}

/* --- connectors --- */
.mini-conn {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 68px;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.mini-conn svg {
  width: 40px;
  height: 24px;
}

.mini-conn.active {
  color: var(--color-primary);
}

/* --- step 1: clickfix attack --- */
.mini-captcha {
  width: 100%;
}

.mini-captcha-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fafafa;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.45rem 0.6rem;
  font-size: 0.8rem;
  color: var(--color-text);
  cursor: default;
}

.mini-captcha-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 2px solid #9ca3af;
  border-radius: 3px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mini-captcha-check svg {
  width: 14px;
  height: 14px;
  opacity: 0;
  color: #fff;
  transition: opacity 0.2s ease;
}

.mini-captcha-check.checked {
  background: #22c55e;
  border-color: #22c55e;
}

.mini-captcha-check.checked svg {
  opacity: 1;
}

.mini-captcha-instructions {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, margin-top 0.3s ease;
}

.mini-captcha-instructions.visible {
  opacity: 1;
  max-height: 80px;
}

.mini-instr-line {
  font-size: 0.75rem;
  color: var(--color-text);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mini-instr-line.visible {
  opacity: 1;
  transform: translateX(0);
}

.mini-hidden-payload {
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.mini-hidden-payload.visible {
  opacity: 1;
  max-height: 100px;
}

.mini-payload-label {
  display: block;
  font-size: 0.65rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.mini-payload-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  word-break: break-all;
  white-space: normal;
}

/* --- step 2: catch --- */
.mini-hooks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
}

.mini-hook {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.mini-hook.triggered {
  background: #fef2f2;
  color: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: 600;
}

.mini-scan {
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mini-scan.visible {
  opacity: 1;
}

.mini-scan-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}

.mini-scan-bar {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.mini-scan-fill {
  width: 0%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.mini-scan-fill.full {
  width: 100%;
}

.mini-matches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.mini-matches.visible {
  opacity: 1;
  max-height: 40px;
}

.mini-match {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mini-match.visible {
  opacity: 1;
}

.mini-verdict {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mini-verdict.visible {
  opacity: 1;
}

/* --- step 3: response --- */
.mini-response-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mini-resp {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mini-resp.visible {
  opacity: 1;
  transform: translateX(0);
}

.mini-resp-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.mini-resp.visible:last-child .mini-resp-icon {
  color: #22c55e;
}

.mini-safe-msg {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #22c55e;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 0.3rem;
}

.mini-safe-msg.visible {
  opacity: 1;
}

/* --- controls --- */
.mini-demo-controls {
  text-align: center;
  margin-top: 2.5rem;
}

.mini-play {
  min-width: 120px;
}

.mini-demo-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.mini-demo-link a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   19. Mobile Modules Summary
   ========================================================================== */

.mobile-modules {
  display: none;
  padding: 3rem 0;
}

.mobile-modules h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.mobile-modules .section-intro {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.module-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 400px;
  margin: 0 auto;
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.module-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.1rem;
}

.module-item h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: var(--color-text);
}

.module-item p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.4;
}

/* --- responsive --- */
@media (max-width: 768px) {
  /* Make demo the focus — hide heavy sections */
  .protection-section,
  .simple-section {
    display: none;
  }

  .mobile-modules {
    display: block;
  }

  .mini-demo-section {
    padding: 3rem 0;
  }

  .mini-demo-section h2 {
    font-size: 1.6rem;
  }

  /* Reorder: button on top */
  .mini-demo {
    display: flex;
    flex-direction: column;
  }

  .mini-demo-controls {
    order: -1;
    margin-top: 0;
    margin-bottom: 1.5rem;
  }

  .mini-demo-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .mini-step {
    flex: none;
    width: 100%;
    max-width: 320px;
  }

  .mini-conn {
    padding-top: 0;
    transform: rotate(90deg);
    margin: 0.2rem 0;
  }

  /* Compact trust section for mobile */
  .trust-statements {
    gap: 1rem;
  }

  .trust-row {
    gap: 1rem;
  }

  .trust-statement h3 {
    font-size: 1rem;
  }

  .trust-statement p {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   18. Print
   ========================================================================== */
@media print {
  body { background: white; color: black; }
  a { text-decoration: underline; color: black; }
  .btn-primary, .btn-secondary, .btn-primary-large { border: 1px solid black; background: white; color: black; }
  .skip-link { display: none !important; }
  .visual-window { box-shadow: none; border: 1px solid #ccc; }
  .trust-statement { box-shadow: none; }
  .shield-overlay { display: none; }
}
