/* === Complyzy Landing Page Theme === */

:root {
  --bg: #0a0f1e;
  --bg-surface: #111827;
  --bg-elevated: #162032;
  --fg: #f0f4ff;
  --fg-muted: #8892a4;
  --accent: #00e5c3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --accent-amber: #ff6b35;
  --accent-amber-dim: rgba(255, 107, 53, 0.12);
  --accent-purple: #6366f1;
  --accent-purple-dim: rgba(99, 102, 241, 0.12);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(0,229,195,0.2);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--fg);
}
.hero-headline-accent {
  color: var(--accent);
}
.hero-lede {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 440px;
}

/* Scanner card */
.hero-scanner { display: flex; justify-content: center; }
.scanner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,229,195,0.06);
}
.scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.scanner-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.scanner-status {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 10px;
  border-radius: 100px;
  animation: pulse 2s infinite;
}
.scanner-results { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.scan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.scan-critical { background: rgba(255,68,68,0.08); color: #ff6666; }
.scan-warning { background: rgba(255,107,53,0.08); color: #ff8855; }
.scan-clear { background: rgba(0,229,195,0.06); color: var(--accent); }
.scan-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.scan-badge.critical { background: rgba(255,68,68,0.2); color: #ff6666; }
.scan-badge.warning { background: rgba(255,107,53,0.2); color: #ff8855; }
.scan-badge.clear { background: var(--accent-dim); color: var(--accent); }
.scanner-score { margin-bottom: 16px; }
.score-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.score-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #ff4444;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.score-denom { font-size: 20px; color: var(--fg-muted); font-weight: 400; }
.score-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4444, #ff6b35);
  border-radius: 3px;
  transition: width 1.5s ease;
}
.scanner-actions { border-top: 1px solid var(--border); padding-top: 14px; }
.fix-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
}
.fix-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fix-text { font-size: 13px; font-weight: 600; color: var(--accent); }

/* Hero stats */
.hero-stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* === LIVECHECK === */
.livecheck {
  background: linear-gradient(180deg, rgba(0,229,195,0.04) 0%, transparent 100%);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border-accent);
  padding: 28px 24px;
}
.livecheck-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.livecheck-icon { flex-shrink: 0; }
.livecheck-text { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }
.livecheck-text strong { color: var(--accent); font-weight: 600; }

/* === FEATURES === */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--fg);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.feature-card--main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-surface), rgba(0,229,195,0.03));
  border-color: rgba(0,229,195,0.15);
}
.feature-icon { margin-bottom: 16px; }
.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-desc { font-size: 14px; color: var(--fg-muted); line-height: 1.65; margin-bottom: 16px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: var(--fg-muted);
  letter-spacing: 0.3px;
}
.tag.orange { background: var(--accent-amber-dim); color: var(--accent-amber); }
.tag.purple { background: var(--accent-purple-dim); color: var(--accent-purple); }
.tag.green { background: var(--accent-dim); color: var(--accent); }

/* === SCANNER SECTION === */
.scanner-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.scanner-text { padding-top: 8px; }
.scanner-desc { font-size: 16px; color: var(--fg-muted); line-height: 1.7; margin-top: 16px; }
.scanner-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  min-width: 40px;
}
.step-body h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.step-body p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

.code-window {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: 'Courier New', monospace;
}
.code-header {
  background: #161b22;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.code-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }
.code-filename { margin-left: 8px; font-size: 12px; color: var(--fg-muted); font-family: var(--font-body); }
.code-body {
  padding: 20px 20px;
  font-size: 12px;
  line-height: 1.8;
  overflow-x: auto;
}
.code-body code { color: #adbac7; }
.code-comment { color: #6e7681; font-style: italic; }
.code-tag { color: #85e89d; }
.code-attr { color: #96d0ff; }
.code-val { color: #96d0ff; }
.code-str { color: #96d0ff; }
.code-keyword { color: #f47067; }
.code-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--accent-dim);
  border-top: 1px solid var(--border-accent);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-body);
}

/* === REGULATIONS === */
.regulations { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.reg-inner { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.reg-header { margin-bottom: 48px; }
.reg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reg-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.reg-flag { margin-bottom: 14px; }
.reg-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--fg); margin-bottom: 8px; }
.reg-card p { font-size: 13px; color: var(--fg-muted); line-height: 1.65; margin-bottom: 14px; }
.reg-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: var(--fg-muted);
  display: inline-block;
  letter-spacing: 0.3px;
}
.reg-status.active { background: rgba(255,68,68,0.1); color: #ff6666; }

/* === CLOSING === */
.closing { max-width: 1100px; margin: 0 auto; padding: 100px 24px; }
.closing-inner { max-width: 640px; }
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-accent { color: var(--accent); }
.closing-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.7; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 60px 24px 40px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { flex: 0 0 240px; }
.footer-tagline { font-size: 13px; color: var(--fg-muted); margin-top: 8px; }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--fg-muted); margin-bottom: 4px; }
.footer-col a, .footer-col span { font-size: 13px; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; cursor: default; }
.footer-bottom { max-width: 1100px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 12px; color: var(--fg-muted); }

/* === NAV CTA === */
.nav-cta { margin-left: 16px; }
.btn-scan-nav {
  display: inline-block;
  padding: 8px 18px;
  background: var(--accent);
  color: #0a0f1e;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-scan-nav:hover { opacity: 0.85; }

/* === PRICING === */
.pricing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}
.pricing-card:hover { border-color: var(--border-accent); }
.pricing-card--popular {
  background: var(--bg-elevated);
  border-color: rgba(0,229,195,0.25);
  position: relative;
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0a0f1e;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
  letter-spacing: -1px;
}
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--fg-muted); }
.pricing-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
}
.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--accent-dim);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L9 1' stroke='%2300e5c3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-cta {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  border: 1px solid var(--border);
  cursor: pointer;
}
.pricing-cta:hover { opacity: 0.85; }
.pricing-cta--primary {
  background: var(--accent);
  color: #0a0f1e;
  border-color: transparent;
}

/* === LEGAL DISCLAIMER === */
.disclaimer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}
.disclaimer p {
  font-size: 12px;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-scanner { justify-content: flex-start; }
  .scanner-section { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--main { grid-column: span 2; }
  .reg-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card--main { grid-column: span 1; }
  .reg-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }
}