/* ============================================================
   DataCloak — Landing Page Stylesheet v2.0
   Design Studio CX Redesign
   Brand: Electric Cyan × Deep Navy · Professional Security
   ============================================================ */

:root {
  --bg: #050d1a;
  --bg2: #071020;
  --bg3: #0a1628;
  --surface: #0f1f35;
  --surface2: #132540;
  --border: #1a3050;
  --border2: #243d60;
  --cyan: #25D3FF;
  --cyan-dim: #0090bb;
  --cyan-glow: rgba(37, 211, 255, 0.12);
  --cyan-glow2: rgba(37, 211, 255, 0.06);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.12);
  --purple: #a78bfa;
  --text: #e2e8f0;
  --text2: #94a3b8;
  --text3: #475569;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-w: 1100px;
  --max-w-lg: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 26, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w-lg);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo span { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan);
  color: #000;
  padding: 8px 18px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan);
  color: #000;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 255, 0.3); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text2);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border2);
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-outline {
  display: block;
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--cyan-glow); }

.btn-solid {
  display: block;
  background: var(--cyan);
  color: #000;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}
.btn-solid:hover { background: #fff; }

/* ---- SECTION WRAPPER ---- */
.section { padding: 88px 32px; }
.section-sm { padding: 60px 32px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-inner-lg { max-width: var(--max-w-lg); margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.6;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text2);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 100px 32px 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 211, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(37, 211, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 255, 0.08);
  border: 1px solid rgba(37, 211, 255, 0.25);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--cyan); }
.hero-sub {
  color: var(--text2);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-install-note {
  color: var(--text3);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px;
  background: var(--bg2);
}
.trust-inner {
  max-width: var(--max-w-lg);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
}
.trust-item svg { color: var(--cyan); flex-shrink: 0; }
.trust-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ---- PROBLEM ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}
.problem-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.stat-number {
  font-size: 52px;
  font-weight: 900;
  color: var(--cyan);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 15px; color: var(--text2); font-weight: 500; }
.stat-sub { font-size: 12px; color: var(--text3); margin-top: 6px; }
.problem-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.problem-content p { color: var(--text2); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }

/* ---- HOW IT WORKS ---- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--border2), var(--cyan));
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.step-card:hover { border-color: rgba(37, 211, 255, 0.3); transform: translateY(-4px); }
.step-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan-glow);
  border: 1px solid rgba(37, 211, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-icon svg { width: 26px; height: 26px; stroke: var(--cyan); }
.step-num {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text3);
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: var(--text2); font-size: 14px; line-height: 1.65; }

/* ---- DEMO ---- */
.demo-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 52px;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.db-dot { width: 11px; height: 11px; border-radius: 50%; }
.db-dot.r { background: var(--red); }
.db-dot.y { background: var(--amber); }
.db-dot.g { background: var(--green); }
.demo-bar-text {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-mono);
}
.demo-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}
.demo-events {
  padding: 24px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.demo-site-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.demo-url-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-glow);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.demo-events-list { display: flex; flex-direction: column; gap: 7px; }
.ev-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 12px;
  animation: ev-fade-in 0.3s ease-out;
}
@keyframes ev-fade-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.ev-pip { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ev-pip.r { background: var(--red); box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.ev-pip.g { background: var(--green); }
.ev-pip.a { background: var(--amber); }
.ev-time { color: var(--text3); font-family: var(--font-mono); font-size: 10px; min-width: 42px; }
.ev-desc { color: var(--text2); flex: 1; }
.ev-row.r .ev-desc { color: #fca5a5; }
.ev-row.a .ev-desc { color: #fcd34d; }
.demo-score-panel {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--surface);
}
.score-svg { width: 120px; height: 120px; }
.score-ring-bg { fill: none; stroke: var(--border); stroke-width: 8; }
.score-ring { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; }
.score-num { font-size: 30px; font-weight: 900; fill: var(--text); font-family: var(--font-mono); }
.score-label { font-size: 9px; fill: var(--text3); text-transform: uppercase; letter-spacing: 1px; }
.demo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.dstat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  text-align: center;
}
.dstat-n { font-size: 20px; font-weight: 800; color: var(--cyan); font-family: var(--font-mono); }
.dstat-l { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 2px; }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feat-card:hover { border-color: rgba(37, 211, 255, 0.25); transform: translateY(-2px); }
.feat-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-glow2);
  border: 1px solid rgba(37, 211, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.feat-icon svg { width: 22px; height: 22px; stroke: var(--cyan); }
.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { color: var(--text2); font-size: 14px; line-height: 1.65; flex: 1; }

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.popular { border-color: var(--cyan); }
.price-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pc-tier { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text3); }
.pc-price { display: flex; align-items: baseline; gap: 4px; }
.pc-price-n { font-size: 40px; font-weight: 900; color: var(--text); font-family: var(--font-mono); line-height: 1; }
.pc-price-s { font-size: 16px; color: var(--text3); font-weight: 500; }
.pc-desc { color: var(--text2); font-size: 13px; min-height: 36px; }
.pc-feat-list { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pc-feat-list li {
  color: var(--text2);
  font-size: 13px;
  padding-left: 22px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pc-feat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7L5.5 10L11.5 4' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.pc-feat-list li.dim { color: var(--text3); }
.pc-feat-list li.dim::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3L11 11M11 3L3 11' stroke='%23475569' stroke-width='2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.pc-cta { margin-top: auto; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--border2); }
.faq-item[open] { border-color: rgba(37, 211, 255, 0.2); }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { font-size: 20px; color: var(--cyan); font-weight: 300; transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 18px;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ---- CTA BAND ---- */
.cta-section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 32px;
  text-align: center;
  margin: 0 32px 80px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37, 211, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}
.cta-section p { color: var(--text2); font-size: 16px; margin-bottom: 32px; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
}
.footer-inner {
  max-width: var(--max-w-lg);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer p { font-size: 13px; color: var(--text3); }
footer p a { color: var(--text2); text-decoration: none; transition: color 0.2s; }
footer p a:hover { color: var(--cyan); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }

/* ---- BROWSER PILLS ---- */
.browser-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.browser-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text2);
}
.browser-pill.soon { opacity: 0.45; }
.browser-pill.active { border-color: rgba(37, 211, 255, 0.3); color: var(--cyan); background: var(--cyan-glow); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 60px 20px; }
  .section-sm { padding: 40px 20px; }
  .hero { padding: 72px 20px 56px; }
  .problem-grid { grid-template-columns: 1fr; gap: 20px; }
  .how-steps { grid-template-columns: 1fr; gap: 16px; }
  .how-steps::before { display: none; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-events { border-right: none; border-bottom: 1px solid var(--border); }
  .pricing-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-section { margin: 0 16px 60px; padding: 52px 20px; }
  .trust-inner { gap: 24px; }
  footer { padding: 24px 20px; }
}
.nav-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.nav-tagline {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: 0.8;
  border-left: 1px solid var(--border2);
  padding-left: 12px;
  margin-left: 12px;
  white-space: nowrap;
}

.hero-tagline {
  color: var(--cyan);
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}