/* Shieldra website: shared styles for every page. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0A1226;
  --navy-2: #121933;
  --violet: #7C5CFF;
  --violet-2: #A48BFF;
  --cyan: #00D4FF;
  --mint: #2EE6A6;
  --amber: #FFB547;
  --coral: #FF5C7A;
  --bg: #F6F7FF;
  --surface: #FFFFFF;
  --text: #1B2142;
  --muted: #5B6488;
  --border: #E1E4F5;
  --brand: linear-gradient(120deg, #7C5CFF 0%, #4F7BFF 50%, #00D4FF 100%);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 24, 70, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1020;
    --surface: #121933;
    --text: #F2F4FF;
    --muted: #9AA3C7;
    --border: #2A3360;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 18, 38, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.82); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta { background: var(--brand); color: #fff !important; padding: 8px 16px; border-radius: 999px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(124, 92, 255, 0.45), transparent 60%),
              radial-gradient(900px 500px at 90% 80%, rgba(0, 212, 255, 0.28), transparent 60%),
              var(--navy);
  color: #fff;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 72px 20px 88px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center;
}
.hero-inner > * { min-width: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--mint); background: rgba(46, 230, 166, 0.12); border: 1px solid rgba(46, 230, 166, 0.3);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: rgba(255, 255, 255, 0.82); margin: 18px 0 26px; max-width: 560px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill {
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px; border-radius: 999px;
}
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(320px, 70vw); height: auto; aspect-ratio: 1; border-radius: 64px;
  box-shadow: 0 30px 80px rgba(124, 92, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }

.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--navy); font-weight: 800; font-size: 16px;
  padding: 14px 26px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform .15s, box-shadow .15s;
}
.play-btn:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }
.play-btn small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1; }
.play-note { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* Sections */
section { padding: 80px 20px; }
.inner { max-width: 1080px; margin: 0 auto; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.section-sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 640px; margin: 10px auto 46px; }
.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Trust bar */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-bottom: 1px solid var(--border); }
.trust div { padding: 22px 12px; text-align: center; border-right: 1px solid var(--border); }
.trust div:last-child { border-right: 0; }
.trust strong { display: block; font-size: 22px; font-weight: 800; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust span { font-size: 13px; color: var(--muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); }
.card h3 { font-size: 17px; margin: 14px 0 6px; }
.card p { color: var(--muted); font-size: 15px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
}
.icon svg { width: 24px; height: 24px; }
.i-violet { background: rgba(124, 92, 255, 0.14); color: var(--violet); }
.i-cyan { background: rgba(0, 212, 255, 0.14); color: #00A6CC; }
.i-mint { background: rgba(46, 230, 166, 0.16); color: #10A876; }
.i-amber { background: rgba(255, 181, 71, 0.18); color: #D98A0B; }
.i-coral { background: rgba(255, 92, 122, 0.14); color: var(--coral); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--border); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; }

/* Comparison */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare th { background: var(--navy); color: #fff; font-size: 14px; }
.compare td:nth-child(2) { color: #10A876; font-weight: 700; }
.compare td:nth-child(3) { color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--violet); }
.plan h3 { font-size: 20px; }
.plan .tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 999px; padding: 3px 10px; margin-left: 6px; vertical-align: middle; }
.plan ul { list-style: none; margin-top: 14px; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: #10A876; font-weight: 800; }

/* Privacy promise */
.promise {
  max-width: 820px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start;
  background: rgba(46, 230, 166, 0.1); border: 1px solid rgba(46, 230, 166, 0.35);
  border-radius: var(--radius); padding: 26px 28px;
}
.promise p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--violet); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* CTA */
.cta { text-align: center; background: var(--navy); color: #fff; }
.cta .section-sub { color: rgba(255, 255, 255, 0.7); }
.cta img { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 20px; }

/* Footer */
footer { background: #070C1A; color: rgba(255, 255, 255, 0.65); padding: 40px 20px; font-size: 14px; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.85); }

/* Legal pages */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
.doc .updated { color: var(--muted); margin: 6px 0 28px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--text); font-size: 16px; }
.doc p { margin-bottom: 12px; }
.doc ul { margin: 0 0 14px 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
.doc .summary { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin-bottom: 20px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 22px; margin-bottom: 24px; }
.toc ol { margin-left: 20px; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 48px; }
  .eyebrow { font-size: 11px; }
  .pills { justify-content: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .hero-art img { width: 180px; border-radius: 40px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div:nth-child(2) { border-right: 0; }
  .nav-links a:not(.nav-cta) { display: none; }
  .promise { flex-direction: column; }
}
