/* =============================================================
   AutoStrikr — styles.css
   ============================================================= */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:              #050508;
  --surface:         #0c0c12;
  --border:          rgba(255,255,255,0.06);
  --border-focus:    rgba(0,255,224,0.4);
  --accent:          #00ffe0;
  --accent2:         #ff2d6b;
  --text:            #ffffff;
  --muted:           #eef0f6;
  --glow:            0 0 40px rgba(0,255,224,0.15);
  /* Type families — single source of truth, inherited everywhere */
  --font-mono:       'Space Mono', monospace;
  --font-display:    'Syne', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Subtle grid */
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 59px, rgba(0,255,224,0.018) 59px, rgba(0,255,224,0.018) 60px),
    repeating-linear-gradient(90deg,  transparent, transparent 59px, rgba(0,255,224,0.018) 59px, rgba(0,255,224,0.018) 60px);
}

/* Noise overlay — fixed, pointer-events off */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1000;
}

/* CRT scanlines */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  pointer-events: none;
  z-index: 999;
}

/* ── CUSTOM CURSOR ───────────────────────────────────────────── */
/* Hide the native cursor everywhere. `cursor` inherits, so body covers all
   descendants; interactive elements are listed because UA styles give them
   their own cursor that would otherwise override inheritance. The touch
   media query at the end restores the system cursor on non-mouse devices. */
body, a, button, input, select, textarea, label { cursor: none; }
/* Text-entry fields keep the native I-beam (vertical line) caret cursor so
   typing feels normal; the custom JS cursor is hidden over them. */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="tel"], input[type="url"],
input[type="number"], textarea { cursor: text; }

.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.5;
  transition: all 0.15s ease;
}

/* ── SCAN LINE SWEEP ─────────────────────────────────────────── */
.scan-line {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,255,224,0.35), transparent);
  animation: scan 8s linear infinite;
  z-index: 998;
  pointer-events: none;
}

@keyframes scan {
  from { top: -2px; }
  to   { top: 100vh; }
}

/* ── LOGIN / DASHBOARD BACKGROUND ELEMENTS ───────────────────── */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,224,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,224,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 10%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,0.05) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 5s ease-in-out infinite;
}

/* ── NAV — shared ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Dashboard nav is sticky, not fixed (page scrolls inside <main>) */
.dashboard-nav {
  position: sticky;
  top: 0;
  padding: 16px 20px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.logo-icon svg { width: 100%; height: 100%; display: block; }

/* Index nav links — hidden on mobile, shown at tablet+ */
.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
  list-style: none;
}

/* On mobile (nav-links hidden), push login button to the right */
nav > .btn-login {
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Login page back link */
.nav-back {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }
.nav-back:hover .back-arrow { transform: translateX(-3px); }
.back-arrow { transition: transform 0.2s; display: inline-block; }

/* Dashboard right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-user {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.nav-user span { color: var(--accent); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
/* Base — reset the UA font on buttons and restore --font-mono on every
   button-styled control (anchors already inherit it from body, but the
   class can land on either element, so list them all in one place). */
button,
.btn-login, .btn-primary, .btn-plan, .btn-logout, .btn-submit, .toggle-pass {
  font-family: var(--font-mono);
}

.btn-login {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 7px 14px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  display: inline-block;
  white-space: nowrap;
}
.btn-login::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.btn-login:hover { color: var(--bg); }
.btn-login:hover::before { transform: translateX(0); }
.btn-login span { position: relative; z-index: 1; }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 16px 40px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,255,224,0.3);
}

.btn-ghost {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.btn-ghost:hover { color: var(--text); }
.arrow-icon { transition: transform 0.2s; display: inline-block; }
.btn-ghost:hover .arrow-icon { transform: translateX(4px); }

.btn-plan {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  transition: all 0.3s;
}
.plan.featured .btn-plan {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-plan:hover { border-color: var(--accent); color: var(--accent); }
.plan.featured .btn-plan:hover { background: transparent; color: var(--accent); }

.btn-logout {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 20px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-logout:hover { border-color: var(--accent2); color: var(--accent2); }

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 24px;
  display: block;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 36px rgba(0,255,224,0.25); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.5; pointer-events: none; }

.btn-google {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 15px 18px;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  /* Lift the white button off the dark/gray surface */
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 2px 14px rgba(0,0,0,0.45);
  margin-bottom: 24px;
}
.btn-google::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(0,0,0,0.06), transparent);
  transition: left 0.55s ease;
}
.btn-google:hover {
  transform: translateY(-2px);
  background: #f8faff;
  border-color: #c6dafc;
  /* Google-blue glow so it clearly reads as the primary action */
  box-shadow: 0 4px 16px rgba(66,133,244,0.35), 0 6px 24px rgba(0,0,0,0.5);
}
.btn-google:hover::after { left: 160%; }
.btn-google:active {
  transform: translateY(0);
  background: #ecf3fe;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-google:focus-visible {
  outline: none;
  border-color: #4285F4;
  box-shadow: 0 0 0 3px rgba(66,133,244,0.4), 0 2px 14px rgba(0,0,0,0.45);
}
.btn-google-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.btn-google-text { line-height: 1; }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,224,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,224,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Shared accent "eyebrow" label — small uppercase accent text prefixed by a
   short line. Font-size / letter-spacing are near-identical across the site,
   so they live here once; variants below only override size + spacing. */
.hero-eyebrow,
.section-label,
.card-eyebrow,
.page-eyebrow,
.sec-section-num,
.priv-section-num,
.security-contact-label,
.privacy-contact-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease 0.2s both;
  position: relative;
  z-index: 1;
}
/* Shared "accent line" that prefixes every eyebrow / section label.
   Only the width varies, so each variant just overrides that below. */
.hero-eyebrow::before,
.section-label::before,
.card-eyebrow::before,
.page-eyebrow::before,
.sec-section-num::before,
.priv-section-num::before,
.security-contact-label::before,
.privacy-contact-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
.hero-eyebrow::before { width: 40px; }
.card-eyebrow::before { width: 28px; flex-shrink: 0; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 13vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  animation: fade-up 0.8s ease 0.35s both;
  position: relative;
  z-index: 1;
}

.hero-title .line1 { display: block; overflow: hidden; }
.hero-title .line2 {
  display: block;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  position: relative;
}

.text-reveal {
  display: inline-block;
  animation: text-reveal 0.9s cubic-bezier(0.77,0,0.18,1) both;
}
.line1 .text-reveal { animation-delay: 0.3s; }
.line2 .text-reveal { animation-delay: 0.5s; }

/* Glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
}
.glitch::before {
  left: 2px; color: var(--accent2);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  animation: glitch-1 3.5s infinite linear;
}
.glitch::after {
  left: -2px; color: var(--accent);
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  animation: glitch-2 3.5s infinite linear;
}

.hero-sub {
  max-width: 480px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 56px;
  animation: fade-up 0.8s ease 0.5s both;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fade-up 0.8s ease 0.65s both;
  position: relative;
  z-index: 1;
}

/* ── STATS STRIP ─────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
background: var(--surface);
}

.stat {
  padding: 20px;
  border-right: none;
}
.stat:first-child { padding-left: 20px; }
.stat:last-child  { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--accent); }

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── MARQUEE ─────────────────────────────────────────────────── */
.marquee-wrap {
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.marquee-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION SHARED ──────────────────────────────────────────── */
.section {
  padding: 80px 20px;
}

.section-label {
  font-size: 0.65rem;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 80px;
  max-width: 600px;
  line-height: 1.1;
}

/* ── SERVICES GRID ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--surface); }

.service-num {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 32px;
}

.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
  opacity: 0.8;
  display: block;
}

.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* ── HOW IT WORKS ────────────────────────────────────────────── */
.how-section {
  padding: 80px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 80px;
  position: relative;
}
.steps::before {
  display: none;
}

.step { padding: 0; text-align: center; }

.step-num {
  width: 60px; height: 60px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  background: var(--bg);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.step:hover .step-num {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(0,255,224,0.2);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}

.step-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.85;
}

/* ── PRICING ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 80px;
}

.plan {
  border: 1px solid var(--border);
  padding: 48px 40px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.plan:hover { border-color: rgba(0,255,224,0.3); transform: translateY(-4px); }
.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0,255,224,0.04), transparent);
}

.plan-badge {
  position: absolute;
  top: -1px; right: 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 16px;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.plan-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.plan-price sup {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 400;
  color: var(--muted);
}

.plan-period {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
}
.plan-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before {
  content: '—';
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* ── TESTIMONIAL ─────────────────────────────────────────────── */
.founder-note {
  margin: 40px 16px;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.founder-quote {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text);
  position: relative;
  text-align: left;
}
.founder-quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: -36px; left: -44px;
  line-height: 1;
  font-family: var(--font-display);
  pointer-events: none;
  display: none;
}

.founder-author {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.author-info .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.author-info .role {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-section {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--surface);
}
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,255,224,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
  line-height: 1.05;
}

.cta-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 48px;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 12px;
  display: block;
}

.footer-tagline {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: left;
  line-height: 1.8;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── UTILITY ─────────────────────────────────────────────────── */
.blink { animation: blink 1.2s step-end infinite; }

/* ── LOGIN PAGE ──────────────────────────────────────────────── */
body.page-login,
body.page-dashboard {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Give login/dashboard nav proper z-index since bg is z:0 */
body.page-login nav,
body.page-dashboard nav {
  position: relative;
  z-index: 10;
  /* Override fixed from shared nav */
  position: relative;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
  position: relative;
  z-index: 1;
}

.login-card {
  width: 100%;
  max-width: 420px;
  animation: fade-up 0.7s ease 0.1s both;
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: rgba(0,255,224,0.02);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.status-dot.error { background: var(--accent2); }

.status-text {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  opacity: 0.7;
  text-transform: uppercase;
}
.status-text.error { color: var(--accent2); }

.card-eyebrow { margin-bottom: 20px; }
.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Alerts */
.alert {
  padding: 12px 16px;
  margin-bottom: 28px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  border-left: 2px solid;
}
.alert-error   { border-color: var(--accent2); background: rgba(255,45,107,0.06);  color: var(--accent2); }
.alert-info    { border-color: var(--accent);  background: rgba(0,255,224,0.05);   color: var(--accent); }
.alert-success { border-color: var(--accent);  background: rgba(0,255,224,0.05);   color: var(--accent); }

/* Form */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
  font-weight: normal;
}
.form-group:focus-within label { color: var(--accent); }

input[type="email"],
input[type="password"],
input[type="text"],
.select-wrap select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 14px 16px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder { color: var(--muted); opacity: 0.5; }
input:focus,
.select-wrap select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0,255,224,0.06), inset 0 0 20px rgba(0,255,224,0.03);
}
input.input-error { border-color: rgba(255,45,107,0.5); }

.input-wrap { position: relative; }

.toggle-pass {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 0;
  transition: color 0.2s;
}
.toggle-pass:hover { color: var(--accent); }

.form-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -12px;
  margin-bottom: 32px;
}

.forgot-link {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.forgot-link:hover { color: var(--accent); }

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.divider span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-note {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.8;
}
.contact-note a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-note a:hover { opacity: 0.7; }

/* Login footer */
body.page-login footer,
body.page-dashboard footer {
  position: relative;
  z-index: 10;
  padding: 20px 20px;
  align-items: center;
}

/* ── FAQ SECTION ─────────────────────────────────────────────── */
.faq-section {
  padding-top: 140px;
  padding-left: 20px;
  padding-right: 20px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.01);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 20px;
  gap: 16px;
  background: var(--bg);
  font-weight: bold;
}
.question-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  flex: 1;
}
.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: var(--muted);
  transition: color 0.2s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  position: relative;
  flex-shrink: 0;
}
.faq-toggle::before {
  content: '+';
  font-weight: bold;
}
.faq-item.active .faq-toggle {
  color: var(--accent);
  transform: rotate(45deg); /* ✦ moved rotation to the element, not ::before */
}
.faq-item.active .faq-toggle::before {
  content: '+'; /* ✦ keep '+' and let the rotation turn it into an × */
}

/* Accordion animation */
.faq-answer {
  max-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px;
  overflow: hidden;
  opacity: 0; /* ✦ start invisible */
  transition: max-height 0.4s cubic-bezier(0, 1, 1, 0),
              opacity 0.3s ease-in-out;
  background: var(--surface);
}
.faq-item.active .faq-answer {
  max-height: 600px; /* ✦ must be set — this is what opens the drawer */
  opacity: 1;
  padding-bottom: 24px;
  padding-top: 24px;
}

/* ── RESPONSIVE — BREAKPOINTS (mobile-first) ─────────────────── */

/* ── md: 600px ────────────────────────────────────────────────── */
@media (min-width: 600px) {
  nav { padding: 20px 28px; }
  .dashboard-nav { padding: 20px 28px; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; }
  .btn-login { padding: 10px 28px; font-size: 0.72rem; letter-spacing: 0.12em; }

  .hero { padding: 120px 28px 40px; }
  .section { padding: 100px 28px; }
  .how-section { padding: 100px 28px; }
  .founder-note { margin: 60px 28px; padding: 48px 48px; }
  .cta-section { padding: 100px 28px; }

  .hero-actions { flex-direction: row; align-items: center; gap: 28px; }
  .cta-actions  { flex-direction: row; justify-content: center; gap: 20px; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .step { padding: 0 16px; }

  /* cases: show 3 cols */
  .cases-thead { grid-template-columns: 1fr 2fr 1fr; }
  .cases-row   { grid-template-columns: 1fr 2fr 1fr; }
  .cases-thead > div:nth-child(3),
  .cases-row .cases-cell:nth-child(3) { display: flex; }

  .faq-question { padding: 40px 24px; gap: 0; }

  .founder-quote::before { display: block; }

  body.page-login footer,
  body.page-dashboard footer { padding: 20px 28px; }
}

/* ── lg: 900px ────────────────────────────────────────────────── */
@media (min-width: 900px) {
  nav { padding: 28px 60px; justify-content: space-between; }
  .dashboard-nav { padding: 20px 60px; }
  .nav-links { display: flex; }
  nav > .btn-login { margin-left: 0; }

  .hero { padding: 160px 60px 100px; }
  .hero-title { font-size: clamp(3.5rem, 9vw, 8rem); }
  .section { padding: 80px 60px; }
  .section#pricing { padding-bottom: 20px; }
  .how-section { padding: 60px 60px; }
  .founder-note { margin: 80px 60px; padding: 56px 80px; }
  .cta-section { padding: 0px 60px; }
  .cta-section { padding-top: 40 px; }

  .stats-strip { padding: 32px 60px; background: none; gap: 0; }
  .stat { padding: 0 40px; border-right: 1px solid var(--border); background: none; }
  .stat:first-child { padding-left: 0; }
  .stat:last-child  { border-right: none; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .steps::before {
    content: '';
    display: block;
    position: absolute;
    top: 30px; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  }
  .step { padding: 0 32px; }

  .pricing-grid { grid-template-columns: repeat(3, 1fr); }

  footer { flex-direction: row; justify-content: space-between; align-items: flex-end; padding: 60px; gap: 0; }
  .footer-copy { text-align: right; }

  body.page-dashboard main { padding: 60px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .dash-actions { grid-template-columns: repeat(3, 1fr); }

  /* cases: full 5-col layout */
  .cases-thead { grid-template-columns: 1.5fr 2.5fr 1.5fr 1fr 1fr; }
  .cases-row   { grid-template-columns: 1.5fr 2.5fr 1.5fr 1fr 1fr; }
  .cases-thead > div:nth-child(4),
  .cases-thead > div:nth-child(5),
  .cases-row .cases-cell:nth-child(4),
  .cases-row .cases-cell:nth-child(5) { display: flex; }

  .upload-layout  { grid-template-columns: 1fr 340px; }
  .infring-layout { grid-template-columns: 1fr 260px; }

  .faq-section { padding-left: 48px; padding-right: 48px; }
  .faq-question { padding: 48px 24px; }

  body.page-login footer,
  body.page-dashboard footer { padding: 24px 60px; }
}

/* ── xl: 1024px ───────────────────────────────────────────────── */
@media (min-width: 1024px) {
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { max-width: none; }
}


/* ── DASHBOARD PAGE ──────────────────────────────────────────── */
body.page-dashboard main {
  display: block;
  padding: 32px 20px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.page-eyebrow { margin-bottom: 12px; }
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.stat-box {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s;
}
.stat-box:hover { background: var(--surface); }

.stat-box-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 6px;
}
.stat-box-num span { color: var(--accent); }

.stat-box-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.placeholder-section {
  border: 1px solid var(--border);
  padding: 48px;
  text-align: center;
}
.placeholder-section p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.9;
}
.placeholder-section p span { color: var(--accent); }

/* ── KEYFRAMES ───────────────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.6; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes text-reveal {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  92% { transform: translate(-3px,  1px); opacity: 0.8; }
  94% { transform: translate( 3px, -1px); opacity: 0.8; }
  96% { transform: translate(0);          opacity: 0; }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); opacity: 0; }
  91% { transform: translate( 3px,  2px); opacity: 0.8; }
  93% { transform: translate(-3px, -2px); opacity: 0.8; }
  95% { transform: translate(0);          opacity: 0; }
}

/* ── DASHBOARD — QUICK ACTIONS ───────────────────────────────── */
.dash-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  margin-bottom: 48px;
}

.dash-action-card {
  background: var(--bg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.dash-action-card:hover { background: var(--surface); }
.dash-action-card:hover .dash-action-arrow { transform: translateX(4px); color: var(--accent); }
.dash-action-card:hover .dash-action-icon  { color: var(--accent); border-color: rgba(0,255,224,0.2); }

.dash-action-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.dash-action-body { flex: 1; min-width: 0; }
.dash-action-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 3px;
}
.dash-action-desc {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.dash-action-arrow {
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}

/* ── DASHBOARD — SECTION HEADER ──────────────────────────────── */
.dash-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dash-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.dash-section-link {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.dash-section-link:hover { color: var(--accent); }
.dash-section-count {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── CASES TABLE ─────────────────────────────────────────────── */
.cases-table {
  border: 1px solid var(--border);
  overflow: hidden;
}
.cases-thead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.cases-thead > div,
.cookies-thead > div {
  padding: 12px 20px;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cases-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
/* Hide cols 3–5 on mobile */
.cases-thead > div:nth-child(3),
.cases-thead > div:nth-child(4),
.cases-thead > div:nth-child(5),
.cases-row .cases-cell:nth-child(3),
.cases-row .cases-cell:nth-child(4),
.cases-row .cases-cell:nth-child(5) { display: none; }
.cases-row:last-child { border-bottom: none; }
.cases-row:hover { background: var(--surface); }
.cases-cell {
  padding: 14px 20px;
  font-size: 0.72rem;
  color: var(--text);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cases-asset { color: var(--muted); font-size: 0.68rem; }
.cases-url a {
  color: var(--accent);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  transition: opacity 0.2s;
}
.cases-url a:hover { opacity: 0.7; }
.cases-date { color: var(--muted); font-size: 0.65rem; }

/* ── STATUS PILLS ────────────────────────────────────────────── */
.status-pill {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid;
}
.status-pending   { color: #f5a623; border-color: rgba(245,166,35,0.3); background: rgba(245,166,35,0.05); }
.status-active    { color: var(--accent); border-color: rgba(0,255,224,0.3); background: rgba(0,255,224,0.05); }
.status-confirmed { color: #4caf50; border-color: rgba(76,175,80,0.3); background: rgba(76,175,80,0.05); }
.status-rejected  { color: var(--accent2); border-color: rgba(255,45,107,0.3); background: rgba(255,45,107,0.05); }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.dash-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.dash-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.dash-breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }
.dash-breadcrumb span:last-child { color: var(--text); }

/* ── SHARED CARD ─────────────────────────────────────────────── */
.dash-card {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--surface);
}
.dash-card-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ── UPLOAD PAGE ─────────────────────────────────────────────── */
.upload-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.file-drop-zone {
  position: relative;
  border: 1px dashed var(--border);
  padding: 0;
  transition: border-color 0.25s, background 0.25s;
}
.file-drop-zone:hover,
.file-drop-zone:focus-within { border-color: var(--border-focus); background: rgba(0,255,224,0.02); }
.file-drop-zone.has-files    { border-color: rgba(0,255,224,0.3); border-style: solid; }

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.drop-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  pointer-events: none;
}
.drop-zone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.drop-zone-sub {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.file-preview {
  border: 1px solid var(--border);
  margin-bottom: 28px;
  overflow: hidden;
}
.file-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.file-preview-list { max-height: 200px; overflow-y: auto; }
.preview-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.65rem;
}
.preview-row:last-child { border-bottom: none; }
.preview-row-skip { opacity: 0.35; }
.preview-ext {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(0,255,224,0.2);
  padding: 2px 5px;
  text-align: center;
}
.preview-name { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-size { color: var(--muted); font-size: 0.6rem; white-space: nowrap; }

.upload-info-card {
  border: 1px solid var(--border);
  padding: 24px;
  background: var(--surface);
}
.upload-info-heading {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.upload-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.upload-info-list li {
  display: flex;
  gap: 12px;
  font-size: 0.68rem;
  line-height: 1.6;
}
.info-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.upload-info-list strong {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 2px;
  color: var(--text);
}
.upload-info-list p { color: var(--muted); margin: 0; }

.mime-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mime-tag {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 8px;
}


.security-hero,
.privacy-hero {
  padding: 160px 20px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.security-hero-bg,
.privacy-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.security-hero-grid,
.privacy-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,255,224,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,224,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.security-hero-glow,
.privacy-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,0.06) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 4s ease-in-out infinite;
}

.security-hero-content,
.privacy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.security-hero-title,
.privacy-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fade-up 0.8s ease 0.3s both;
}

.security-hero-sub,
.privacy-hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 540px;
  animation: fade-up 0.8s ease 0.5s both;
}

.privacy-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  animation: fade-up 0.8s ease 0.65s both;
}

.privacy-meta-item {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.privacy-meta-item span { color: var(--accent); display: block; margin-bottom: 4px; }

/* ── SECURITY / PRIVACY CONTENT ────────────────────────── */
.security-content,
.privacy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

.security-section,
.privacy-section {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}
.security-section:last-of-type,
.privacy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sec-section-num,
.priv-section-num { margin-bottom: 20px; }

.sec-section-title,
.priv-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  line-height: 1.1;
}

.sec-intro,
.priv-intro {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 40px;
}

/* ── DETAIL / DATA ITEMS ───────────────────────────────── */
.sec-items,
.priv-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}

.sec-item,
.priv-item {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  transition: background 0.2s;
}
.sec-item:last-child,
.priv-item:last-child { border-bottom: none; }
.sec-item:hover,
.priv-item:hover { background: var(--surface); }

.sec-item-label,
.priv-item-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
  flex-shrink: 0;
}

.sec-item-body,
.priv-item-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

.sec-item-body strong,
.priv-item-body strong {
  color: var(--text);
  font-weight: 700;
}

/* ── CALLOUTS (payment / no-sell) ──────────────────────── */
.payment-callout,
.no-sell-callout {
  border: 1px solid var(--border);
  padding: 40px;
  background: linear-gradient(135deg, rgba(0,255,224,0.03), transparent);
  position: relative;
  overflow: hidden;
}
.no-sell-callout { margin-bottom: 40px; }

.payment-callout::before,
.no-sell-callout::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.payment-badge,
.no-sell-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,255,224,0.2);
  padding: 6px 14px;
  margin-bottom: 20px;
}

.payment-badge-dot,
.no-sell-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.payment-callout p,
.no-sell-callout p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 640px;
}

.payment-callout p strong,
.no-sell-callout p strong {
  color: var(--text);
}

/* ── CONTACT STRIP (security / privacy) ────────────────── */
.security-contact,
.privacy-contact {
  margin-top: 80px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.security-contact::before,
.privacy-contact::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* spacing/size inherited from the shared eyebrow rule above */
.security-contact p,
.privacy-contact p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 520px;
}

.security-contact a,
.privacy-contact a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.security-contact a:hover,
.privacy-contact a:hover { opacity: 0.7; }

.security-reviewed {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 8px;
}

/* ── RIGHTS GRID (Texas / GDPR) ──────────────────────────── */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 32px;
}

.rights-card {
  background: var(--bg);
  padding: 28px 32px;
  transition: background 0.2s;
  position: relative;
}
.rights-card:hover { background: var(--surface); }
.rights-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.rights-card:hover::before { transform: scaleY(1); }

.rights-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--text);
}

.rights-card-body {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── COOKIES TABLE ───────────────────────────────────────── */
.cookies-table {
  border: 1px solid var(--border);
  overflow: hidden;
}
.cookies-thead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.cookies-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.cookies-thead > div:last-child,
.cookies-row .cookies-cell:last-child { display: none; }
.cookies-row:last-child { border-bottom: none; }
.cookies-row:hover { background: var(--surface); }
.cookies-cell {
  padding: 16px 20px;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.cookies-cell strong { color: var(--text); font-weight: 700; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.contact-detail-row {
  display: flex;
  gap: 16px;
  font-size: 0.7rem;
  align-items: baseline;
}
.contact-detail-key {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 80px;
  flex-shrink: 0;
}
.contact-detail-val { color: var(--text); }

/* ── RESPONSIVE (security + privacy) ─────────────────────── */
@media (min-width: 600px) {
  .security-hero,
  .privacy-hero { padding: 160px 28px 80px; }
  .security-content,
  .privacy-content { padding: 80px 28px 100px; }
  .rights-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-item  { grid-template-columns: 140px 1fr; gap: 24px; }
  .priv-item { grid-template-columns: 160px 1fr; gap: 24px; }
  .privacy-hero-meta { flex-direction: row; gap: 32px; }
  .cookies-thead, .cookies-row { grid-template-columns: 1fr 1fr 80px; }
  .cookies-thead > div:last-child { display: block; }
  .cookies-row .cookies-cell:last-child { display: flex; }
}

@media (min-width: 900px) {
  .security-hero,
  .privacy-hero { padding: 180px 60px 100px; }
  .security-content,
  .privacy-content { padding: 100px 60px 120px; }
  .rights-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── INFRINGEMENT PAGE ───────────────────────────────────────── */
.infring-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* Select input */
.select-wrap {
  position: relative;
}
/* Base field styling shared with text inputs; only the arrow gap differs */
.select-wrap select { padding-right: 40px; }
.select-wrap select option {
  background: var(--surface);
  color: var(--text);
}
.select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.75rem;
  pointer-events: none;
}

.form-hint {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 6px;
  min-height: 1em;
  transition: opacity 0.2s;
}

.infring-stat-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.infring-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.infring-stat:last-child { border-bottom: none; }
/* ── TOUCH / POINTER: restore cursor on non-mouse devices ─────── */
/* The custom JS cursor is desktop-only; re-enable the default
   system cursor on touch screens so the site stays usable. */
@media (hover: none) and (pointer: coarse) {
  body,
  a, button, .btn-login, .btn-primary, .btn-ghost, .btn-plan,
  .btn-logout, .btn-submit, input, .select-wrap select,
  .logo, .nav-links a, .nav-back, .forgot-link, .footer-links a,
  .dash-section-link, .dash-action-card, .service-card, .plan,
  .faq-question, .file-drop-zone, .file-drop-zone input[type="file"] {
    cursor: auto;
  }
  .cursor, .cursor-ring { display: none; }
}