/* =====================================================================
   Big Lead Scraper — Marketing Website
   Premium Dark Theme CSS — SEO & Mobile Optimized
   ===================================================================== */

/* Font loaded via <link> in HTML for better performance — no @import needed */

/* ── CSS Variables ────────────────────────────────────────────────── */
:root {
  --bg-base:        #08080f;
  --bg-card:        rgba(255,255,255,0.035);
  --bg-card-hover:  rgba(255,255,255,0.065);
  --bg-nav:         rgba(8,8,15,0.85);
  --border:         rgba(255,255,255,0.07);
  --border-hover:   rgba(108,99,255,0.4);

  --primary:        #7c3aed;
  --primary-light:  #a855f7;
  --blue:           #2563eb;
  --cyan:           #06b6d4;
  --green:          #10b981;
  --red:            #ef4444;

  --grad-primary:   linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --grad-accent:    linear-gradient(135deg, #06b6d4 0%, #7c3aed 100%);
  --grad-hero:      linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(37,99,235,0.15) 100%);

  --text:           #f1f5f9;
  --text-muted:     #94a3b8;
  --text-faint:     #475569;

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-xl:      32px;

  --shadow-card:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow:    0 0 60px rgba(124,58,237,0.25);

  --transition:     all 0.25s cubic-bezier(0.4,0,0.2,1);
  --font:           'Outfit', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, textarea, select { font-family: var(--font); }

/* ── Accessibility: Reduced Motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ── Focus Visible for Accessibility ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

/* ── Skip Link for Screen Readers ────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── Animated Background ──────────────────────────────────────────── */
.bg-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.bg-orb-1 { width: 600px; height: 600px; background: #7c3aed; top: -200px; left: -200px; animation-delay: 0s; }
.bg-orb-2 { width: 500px; height: 500px; background: #2563eb; bottom: -150px; right: -150px; animation-delay: -7s; }
.bg-orb-3 { width: 400px; height: 400px; background: #06b6d4; top: 40%; left: 50%; transform: translateX(-50%); animation-delay: -14s; }

@keyframes orbFloat {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(30px,-40px) scale(1.1); }
  100% { transform: translate(-20px,20px) scale(0.95); }
}

/* ── Layout ───────────────────────────────────────────────────────── */
.page-wrapper { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 640px; margin: 0 auto; padding: 0 24px; }

/* ── Breadcrumb Navigation ───────────────────────────────────────── */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 24px;
  padding-top: 8px;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}
.breadcrumb a:hover {
  color: var(--primary-light);
}
.breadcrumb span[aria-hidden] {
  margin: 0 8px;
  color: var(--text-faint);
}

/* ── Navigation ───────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-nav); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 70px;
  display: flex; align-items: center;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-inner { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }

.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.nav-brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-brand span { background: var(--grad-primary); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-card); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-hamburger {
  display: none; background: none; border: none; padding: 10px;
  cursor: pointer; min-width: 44px; min-height: 44px;
  display: none; align-items: center; justify-content: center;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
  cursor: pointer; border: none; white-space: nowrap;
  min-height: 44px; /* Touch target size */
}
.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124,58,237,0.5); }

.btn-secondary {
  background: var(--bg-card); color: var(--text);
  border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-2px); }

.btn-download {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff; font-size: 1.1rem; padding: 16px 36px; border-radius: 14px;
  box-shadow: 0 6px 30px rgba(16,185,129,0.4);
}
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(16,185,129,0.5); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 8px; }
.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  background: transparent; color: var(--text-muted); border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); background: var(--bg-card); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  text-align: center; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary-light); padding: 6px 16px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--primary-light); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 24px; color: #fff;
}
.hero-title .highlight {
  background: var(--grad-primary);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .highlight-cyan {
  background: var(--grad-accent);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted);
  max-width: 680px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap; color: var(--text-faint); font-size: 0.85rem;
}
.trust-item { display: flex; align-items: center; gap: 6px; }
.trust-item svg { color: var(--green); }

/* ── Stats Bar ────────────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 32px 0; background: rgba(255,255,255,0.02);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 0 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 2.2rem; font-weight: 800; background: var(--grad-primary); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 4px; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* ── Section Titles ───────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 60px 0; }
.section-tag {
  display: inline-block; background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25); color: var(--primary-light);
  padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 16px; color: #fff;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ── Cards ────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--transition);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }

/* ── Features Grid ────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.fi-purple { background: rgba(124,58,237,0.15); }
.fi-blue   { background: rgba(37,99,235,0.15); }
.fi-cyan   { background: rgba(6,182,212,0.15); }
.fi-green  { background: rgba(16,185,129,0.15); }
.fi-orange { background: rgba(249,115,22,0.15); }
.fi-pink   { background: rgba(236,72,153,0.15); }

.feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feature-desc  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── How It Works ─────────────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 40px; left: calc(16.66% + 20px);
  right: calc(16.66% + 20px); height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  opacity: 0.3;
}
.step-card { text-align: center; }
.step-num {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; background: var(--grad-primary);
  box-shadow: 0 8px 30px rgba(124,58,237,0.3); position: relative; z-index: 1;
}
.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.step-desc  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── Use Cases ────────────────────────────────────────────────────── */
.usecases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.usecase-card { display: flex; gap: 20px; align-items: flex-start; }
.usecase-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2);
}
.usecase-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.usecase-desc  { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ── Use Cases Detail Grid (use-cases.html) ──────────────────────── */
.usecases-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; color: var(--text); font-size: 1rem;
  font-weight: 600; text-align: left; gap: 16px; cursor: pointer;
  min-height: 44px; /* Touch target */
}
.faq-q .faq-arrow { flex-shrink: 0; transition: transform 0.3s; color: var(--text-muted); font-size: 1.2rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;
  transition: all 0.3s ease; border-top: 0px solid var(--border);
}
.faq-item.open .faq-a { padding: 0 24px 20px; max-height: 400px; border-top-width: 1px; }

/* ── Download Section ─────────────────────────────────────────────── */
.download-hero {
  text-align: center; padding: 100px 0 80px;
}
.download-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 60px 48px; text-align: center;
  max-width: 600px; margin: 0 auto; position: relative; overflow: hidden;
}
.download-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-primary);
}
.download-icon { font-size: 4rem; margin-bottom: 20px; }
.download-version {
  display: inline-block; background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3); color: #10b981;
  padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 16px;
}
.sysreq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: left; margin-top: 32px; }
.sysreq-item { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.sysreq-label { font-size: 0.75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.sysreq-value { font-size: 0.9rem; font-weight: 500; color: var(--text); }

/* ── Installation Steps ───────────────────────────────────────────── */
.install-steps { display: flex; flex-direction: column; gap: 16px; max-width: 700px; margin: 0 auto; }
.install-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
}
.install-step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.install-step-title { font-weight: 700; margin-bottom: 6px; color: #fff; }
.install-step-desc  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Forms ────────────────────────────────────────────────────────── */
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.form-control {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px; color: var(--text);
  font-size: 16px; /* Prevents iOS zoom */
  transition: var(--transition); font-family: var(--font);
}
.form-control:focus { outline: none; border-color: var(--primary); background: rgba(124,58,237,0.05); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-control::placeholder { color: var(--text-faint); }
select.form-control option { background-color: var(--bg-base); color: var(--text); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Page Content (Legal Pages) ───────────────────────────────────── */
.page-content {
  padding: 120px 0 80px;
}
.legal-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 60px; line-height: 1.8;
}
.legal-card h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.legal-card .updated { color: var(--text-faint); font-size: 0.875rem; margin-bottom: 40px; }
.legal-card h2 { font-size: 1.25rem; font-weight: 700; color: #fff; margin: 32px 0 14px; }
.legal-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 20px 0 10px; }
.legal-card p  { color: var(--text-muted); margin-bottom: 14px; font-size: 0.95rem; }
.legal-card ul, .legal-card ol { color: var(--text-muted); padding-left: 20px; margin-bottom: 14px; font-size: 0.95rem; }
.legal-card li { margin-bottom: 6px; }
.legal-card a  { color: var(--primary-light); }
.legal-card a:hover { text-decoration: underline; }

/* ── CTA Banner ───────────────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-primary); border-radius: var(--radius-xl);
  padding: 80px 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; position: relative; }
.cta-banner .btn { position: relative; background: #fff; color: var(--primary); }
.cta-banner .btn:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 60px 0 32px;
  background: rgba(0,0,0,0.3);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-heading { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 16px; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a { color: var(--text-muted); font-size: 0.875rem; transition: var(--transition); }
.footer-links-list a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--text-faint); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-faint); font-size: 0.8rem; }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── About Page ───────────────────────────────────────────────────── */
.about-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--grad-primary); display: flex; align-items: center;
  justify-content: center; font-size: 2rem; font-weight: 800;
}
.team-name { font-weight: 700; margin-bottom: 4px; }
.team-role { color: var(--text-muted); font-size: 0.875rem; }

/* ── Badges / Tags ────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-green { background: rgba(16,185,129,0.12); color: #10b981; border: 1px solid rgba(16,185,129,0.25); }
.badge-purple { background: rgba(124,58,237,0.12); color: #a855f7; border: 1px solid rgba(124,58,237,0.25); }
.badge-blue   { background: rgba(37,99,235,0.12);  color: #60a5fa; border: 1px solid rgba(37,99,235,0.25); }

/* ── Alert / Notice ───────────────────────────────────────────────── */
.notice {
  padding: 14px 18px; border-radius: 10px; font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px;
}
.notice-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #10b981; }
.notice-error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: #ef4444; }
.notice-info    { background: rgba(37,99,235,0.1);  border: 1px solid rgba(37,99,235,0.25);  color: #60a5fa; }

.hidden { display: none !important; }

/* ── Mobile Menu ──────────────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; z-index: 999;
  background: var(--bg-nav); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 20px 24px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; border-radius: 8px; color: var(--text-muted);
  font-weight: 500; display: block; min-height: 44px;
  display: flex; align-items: center;
}
.mobile-menu a:hover { background: var(--bg-card); color: var(--text); }

/* ── Body Scroll Lock (when mobile menu open) ────────────────────── */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ── Scroll Animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive: Tablet ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .usecases-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive: Mobile ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 120px 0 60px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .usecases-grid { grid-template-columns: 1fr; }
  .usecases-detail-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner    { padding: 48px 24px; }
  .legal-card    { padding: 32px 24px; }
  .form-card     { padding: 32px 24px; }
  .sysreq-grid   { grid-template-columns: 1fr; }
  .download-box  { padding: 40px 24px; }
  .about-team-grid { grid-template-columns: 1fr; }

  /* Safe area for notched devices */
  .navbar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .container, .container-sm, .container-xs { padding: 0 16px; }
}

/* ── Responsive: Small Mobile ────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { gap: 12px; font-size: 0.8rem; }

  /* Ensure stat values don't overflow */
  .stat-value { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }

  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }

  /* Larger touch targets */
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .btn-download { padding: 14px 28px; font-size: 1rem; }

  /* CTA banner mobile */
  .cta-banner { padding: 36px 20px; border-radius: var(--radius-lg); }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner p { font-size: 0.9rem; }
}

/* ── Responsive: Very Small ──────────────────────────────────────── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.7rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .container, .container-sm, .container-xs { padding: 0 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .stat-item:last-child { border-bottom: none; }
}

/* ── Print Styles ────────────────────────────────────────────────── */
@media print {
  .bg-canvas, .navbar, .mobile-menu, .nav-hamburger, .cta-banner, footer { display: none; }
  body { background: #fff; color: #000; }
  .page-wrapper { padding-top: 0; }
  .card { border: 1px solid #ccc; background: #fff; }
}

/* ── Cookie Consent Banner ───────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(8, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
}
.cookie-consent.visible {
  transform: translateY(0);
}
.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-consent-text {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.cookie-consent-text a {
  color: var(--primary-light);
  text-decoration: underline;
}
.cookie-consent-text a:hover {
  color: var(--text);
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-consent .btn-accept {
  background: var(--grad-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  font-family: var(--font);
}
.cookie-consent .btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.cookie-consent .btn-decline {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  font-family: var(--font);
}
.cookie-consent .btn-decline:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--bg-card);
}

@media (max-width: 768px) {
  .cookie-consent { padding: 20px 16px; }
  .cookie-consent-inner { flex-direction: column; text-align: center; }
  .cookie-consent-text { font-size: 0.85rem; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent .btn-accept,
  .cookie-consent .btn-decline { flex: 1; }
}

