/* Salvinta GRC - Landing Site Styles */

:root {
  --primary: #696cff;
  --primary-dark: #5558e3;
  --primary-light: #e7e7ff;
  --dark: #0f1117;
  --dark-2: #161b27;
  --surface: #1e2436;
  --surface-2: #252d42;
  --light: #f8f7ff;
  --body-bg: #ffffff;
  --text: #1a1c2e;
  --text-muted: #697a8d;
  --border: #e4e6ef;
  --success: #28c76f;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(105, 108, 255, 0.08);
  --shadow-lg: 0 16px 48px rgba(105, 108, 255, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--body-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 2rem;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800; color: var(--text);
}

.nav-brand .logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 900;
}

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.15s;
}

.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.4rem; border-radius: 8px; font-size: 0.9rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}

.btn-primary {
  background: var(--primary); color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(105,108,255,0.35); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: 12px; }

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }
.text-center { text-align: center; }

.section-label {
  display: inline-block; padding: 0.35rem 1rem; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1rem;
}

.section-sub { font-size: 1.15rem; max-width: 600px; margin: 0.75rem auto 0; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #1a1040 100%);
  padding: 6rem 2rem 5rem;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -50%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(105,108,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: -30%; right: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(105,108,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(105,108,255,0.2); border: 1px solid rgba(105,108,255,0.3);
  color: #a5a7ff; font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem;
}

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--primary); }

.hero-desc { color: rgba(255,255,255,0.7); font-size: 1.2rem; max-width: 580px; margin-bottom: 2.25rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-hero-primary {
  background: var(--primary); color: #fff; padding: 0.9rem 2.2rem;
  font-size: 1rem; font-weight: 700; border-radius: 10px; border: none;
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { background: #5558e3; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(105,108,255,0.4); }

.btn-hero-secondary {
  background: rgba(255,255,255,0.1); color: #fff; padding: 0.9rem 2rem;
  font-size: 1rem; font-weight: 600; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.18); color: #fff; }

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
}

.hero-stat { }
.hero-stat .stat-num { color: #fff; font-size: 1.6rem; font-weight: 800; }
.hero-stat .stat-label { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

/* ── APP PREVIEW ── */
.app-preview {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  margin-top: 4rem;
}

.preview-topbar {
  background: var(--surface-2);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.preview-dot { width: 12px; height: 12px; border-radius: 50%; }

.preview-body {
  display: grid; grid-template-columns: 220px 1fr; min-height: 380px;
}

.preview-sidebar {
  background: var(--surface-2); padding: 1.25rem 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.preview-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 0.6rem 0.75rem;
  border-radius: 8px; margin-bottom: 2px; color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}
.preview-nav-item.active { background: rgba(105,108,255,0.2); color: #a5a7ff; }
.preview-nav-item i { font-size: 1rem; }

.preview-main { padding: 1.5rem; background: var(--dark-2); }

.preview-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem;
}

.preview-card {
  background: var(--surface); border-radius: 10px;
  padding: 1rem; border: 1px solid rgba(255,255,255,0.06);
}
.preview-card .card-num { color: #fff; font-size: 1.5rem; font-weight: 800; }
.preview-card .card-label { color: rgba(255,255,255,0.45); font-size: 0.72rem; margin-top: 2px; }
.preview-card .card-badge { 
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; margin-top: 0.5rem;
}
.badge-green { background: rgba(40,199,111,0.15); color: #28c76f; }
.badge-orange { background: rgba(255,165,0,0.15); color: #ffa500; }
.badge-red { background: rgba(234,84,85,0.15); color: #ea5455; }
.badge-blue { background: rgba(105,108,255,0.15); color: #848aff; }

/* ── FEATURES ── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
  margin-top: 3.5rem;
}

.feature-card {
  padding: 2rem; border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #fff;
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.3rem; margin-bottom: 1rem;
}

.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: 3.5rem;
}

.step-card {
  text-align: center; padding: 2rem 1.5rem;
}

.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; margin: 0 auto 1.25rem;
}

.step-card h3 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.92rem; }

/* ── PRICING CARDS ── */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 2rem 0;
  font-size: 0.95rem; font-weight: 600;
}

.toggle-label { color: var(--text-muted); }
.toggle-label.active { color: var(--text); }

.toggle-switch {
  position: relative; width: 52px; height: 28px; cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: 0.2s;
}
.toggle-track::after {
  content: ''; position: absolute;
  width: 22px; height: 22px; border-radius: 50%; top: 3px; left: 3px;
  background: #fff; transition: 0.2s;
}
.toggle-switch input:checked + .toggle-track { background: var(--primary); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(24px); }

.save-badge {
  background: #d1fae5; color: #065f46;
  padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  max-width: 900px; margin: 0 auto;
}

.plan-card {
  border: 2px solid var(--border); border-radius: 16px;
  padding: 2.5rem; background: #fff; position: relative;
  transition: all 0.2s;
}

.plan-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.plan-featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  padding: 4px 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  white-space: nowrap;
}

.plan-name { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 0.25rem; }
.plan-price sup { font-size: 1.5rem; vertical-align: top; margin-top: 0.6rem; }
.plan-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.plan-yearly-note { color: var(--primary); font-size: 0.82rem; font-weight: 600; margin-bottom: 1.5rem; }

.plan-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 0.5rem 0; font-size: 0.92rem; color: var(--text);
}
.plan-features li i { color: var(--success); font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.plan-features li.disabled { opacity: 0.4; }
.plan-features li.disabled i { color: var(--text-muted); }

.plan-cta { width: 100%; padding: 0.85rem; border-radius: 10px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.2s; border: none; color: #fff; text-align: center; display: block; }
.plan-cta.primary-cta { background: var(--primary); }
.plan-cta.primary-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(105,108,255,0.35); }
.plan-cta.outline-cta { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.plan-cta.outline-cta:hover { background: var(--primary); color: #fff; }

.invoice-box {
  background: var(--light); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 1.5rem 2rem; max-width: 700px; margin: 2.5rem auto 0;
  display: flex; align-items: center; gap: 1.25rem;
}
.invoice-icon { font-size: 1.8rem; color: var(--text-muted); flex-shrink: 0; }
.invoice-box h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.invoice-box p { font-size: 0.88rem; margin: 0; }

/* COMPARISON TABLE */
.compare-table {
  width: 100%; border-collapse: collapse; margin-top: 3rem;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; text-align: left;
}
.compare-table thead th { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.check { color: var(--success); font-size: 1.1rem; }
.cross { color: #ccc; font-size: 1.1rem; }
.compare-section th { background: var(--light); font-weight: 700; color: var(--text); text-transform: none; font-size: 0.9rem; letter-spacing: 0; }

/* ── SECURITY PAGE ── */
.security-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
  margin-top: 3rem;
}

.security-card {
  padding: 1.75rem; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: #fff;
}
.security-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.security-card p { font-size: 0.9rem; }

.cert-badges {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem;
}

.cert-badge {
  padding: 0.75rem 1.5rem; border-radius: 10px;
  background: var(--light); border: 1.5px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}

/* ── POLICY PAGES ── */
.policy-content { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.policy-content h1 { margin-bottom: 0.5rem; font-size: 2rem; }
.policy-content .effective { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.policy-content h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.policy-content h2:first-of-type { border-top: none; }
.policy-content p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { font-size: 0.95rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 0.25rem; }
.policy-content a { color: var(--primary); }
.policy-content strong { color: var(--text); font-weight: 600; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.cta-section h2 { color: #fff; margin-bottom: 1rem; font-size: 2.2rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }
.btn-cta-white { background: #fff; color: var(--primary); font-weight: 700; padding: 0.9rem 2.2rem; border-radius: 10px; border: none; cursor: pointer; font-size: 1rem; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: var(--primary); }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,0.7);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-brand { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.footer-col h5 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.55); margin-left: 1.25rem; }
.footer-bottom a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-sidebar { display: none; }
  .preview-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .invoice-box { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── DEMO SPECIFIC ── */
.demo-wrapper {
  display: grid; grid-template-columns: 240px 1fr; min-height: 100vh;
  font-size: 14px;
}

.demo-sidebar {
  background: var(--dark-2); border-right: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0; position: fixed; left: 0; top: 0; bottom: 0; width: 240px;
  overflow-y: auto; transition: transform 0.2s;
}

.demo-main { margin-left: 240px; min-height: 100vh; background: #f5f5f9; }

.demo-topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 1.5rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}

.demo-content { padding: 1.5rem 2rem; }

.demo-brand { 
  display: flex; align-items: center; gap: 10px; padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 0.75rem;
  font-size: 1.1rem; font-weight: 800; color: #fff;
}

.demo-nav-section {
  padding: 0.5rem 1.25rem 0.25rem; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}

.demo-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 0.55rem 1.25rem;
  color: rgba(255,255,255,0.55); cursor: pointer; transition: all 0.15s;
  border-radius: 0; font-size: 0.875rem;
}
.demo-nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.demo-nav-item.active { background: rgba(105,108,255,0.2); color: #a5a7ff; }
.demo-nav-item i { font-size: 16px; }

.demo-stat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.5rem;
}

.demo-stat-card {
  background: #fff; border-radius: 10px; padding: 1.25rem 1.5rem;
  border: 1px solid var(--border); display: flex; align-items: center; gap: 1rem;
}

.demo-stat-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  flex-shrink: 0;
}

.demo-stat-card .num { font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1; }
.demo-stat-card .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.demo-table-card {
  background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden;
}

.demo-table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}

.demo-table-header h3 { font-size: 1rem; margin: 0; }

.demo-table { width: 100%; border-collapse: collapse; }
.demo-table th, .demo-table td { padding: 0.85rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.demo-table th { background: #f9f9fb; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.demo-table tr:last-child td { border-bottom: none; }
.demo-table tr:hover td { background: #f9f9fb; }

.risk-badge {
  padding: 3px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
}
.risk-critical { background: #fee2e2; color: #ef4444; }
.risk-high { background: #ffedd5; color: #f97316; }
.risk-medium { background: #fef9c3; color: #ca8a04; }
.risk-low { background: #dcfce7; color: #16a34a; }

.status-badge {
  padding: 3px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
}
.status-active { background: #dcfce7; color: #16a34a; }
.status-review { background: #fef9c3; color: #ca8a04; }
.status-draft { background: #f3f4f6; color: #6b7280; }
.status-open { background: #fee2e2; color: #ef4444; }

.demo-cta-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  margin: 1.5rem 0; border-radius: 12px; padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.demo-cta-bar h3 { color: #fff; margin: 0 0 0.25rem; font-size: 1.1rem; }
.demo-cta-bar p { color: rgba(255,255,255,0.8); font-size: 0.88rem; margin: 0; }

.demo-view { display: none; }
.demo-view.active { display: block; }

.demo-banner {
  background: var(--primary-light); border: 1.5px dashed var(--primary);
  border-radius: 10px; padding: 0.75rem 1.25rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--primary); font-weight: 600;
}

/* ── LOGO ICON (standalone) ── */
.logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 900;
}

/* ── NAV ACTIVE LINK ── */
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1a1040 100%);
  padding: 4.5rem 2rem 3.5rem; text-align: center; position: relative;
}
.page-hero .section-label { margin-bottom: 0.75rem; }
.page-hero h1, .page-hero p { position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.65); }

/* ── BILLING TOGGLE (pricing page) ── */
.billing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin: 0 auto 2.5rem; background: var(--light); border: 1.5px solid var(--border);
  border-radius: 999px; padding: 4px; width: fit-content;
}
.toggle-btn {
  padding: 0.55rem 1.5rem; border-radius: 999px; border: none; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; background: transparent; color: var(--text-muted);
  transition: all 0.2s;
}
.toggle-btn.active { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.badge-save {
  display: inline-block; background: #d1fae5; color: #065f46;
  padding: 1px 7px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; margin-left: 4px;
}

/* ── PRICE CARDS (pricing page) ── */
.price-card {
  background: #fff; border: 2px solid var(--border); border-radius: 16px;
  padding: 2.25rem; position: relative; transition: all 0.2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card-featured { border-color: var(--primary); box-shadow: var(--shadow-lg); background: linear-gradient(145deg, #1a1c2e 0%, #252948 100%); color: #fff; }
.price-card-featured .plan-tagline, .price-card-featured .plan-name { color: rgba(255,255,255,0.65); }
.price-card-featured .price-period { color: rgba(255,255,255,0.55); }
.price-card-featured .price-note { color: rgba(255,255,255,0.55); }
.price-card-featured .plan-price { color: #fff; }
.price-card-featured .price-amount { color: #fff; }

.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.plan-tagline { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
.plan-price { margin: 0.75rem 0 0.25rem; }
.price-amount { font-size: 2.75rem; font-weight: 800; color: var(--text); }
.price-period { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.price-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.btn-invoice {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0.55rem 1rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border); background: transparent; color: var(--text-muted);
  transition: all 0.2s;
}
.btn-invoice:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-invoice-dark { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.btn-invoice-dark:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.08); }

.feature-list { list-style: none; margin-top: 0.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 0.45rem 0; font-size: 0.88rem; color: var(--text); }
.feature-check { color: var(--success); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.feature-no { opacity: 0.4; }
.feature-x { color: var(--text-muted); font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.feature-list-dark li { color: rgba(255,255,255,0.85); }
.feature-list-dark .feature-check { color: #6bcf9e; }
.feature-list-dark strong { color: #fff; }

/* ── COMPARE TABLE overrides ── */
.compare-check { color: var(--success); text-align: center; font-size: 1.1rem; }
.compare-x { color: #ccc; text-align: center; font-size: 1.1rem; }
.compare-section td { background: var(--light); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 0.6rem 1.25rem; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border: 1.5px solid var(--border); border-bottom: none; padding: 0;
  transition: background 0.15s;
}
.faq-item:first-child { border-radius: 12px 12px 0 0; }
.faq-item:last-child { border-bottom: 1.5px solid var(--border); border-radius: 0 0 12px 12px; }
.faq-item summary {
  padding: 1.1rem 1.5rem; cursor: pointer; font-weight: 600; font-size: 0.95rem;
  color: var(--text); list-style: none; display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--primary); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { background: #fafaff; }
.faq-item p { padding: 0 1.5rem 1.1rem; font-size: 0.9rem; color: var(--text-muted); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 999; padding: 1rem;
}
.modal-box {
  background: #fff; border-radius: 16px; padding: 2rem; max-width: 480px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}
.modal-box h3 { margin-bottom: 0.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.form-group input, .form-group select {
  width: 100%; padding: 0.65rem 0.85rem; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 0.9rem; font-family: inherit; color: var(--text);
  outline: none; transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); }

/* ── SECURITY PAGE ── */
.sec-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: 8px; background: #fff;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
}
.sec-badge i { color: var(--primary); font-size: 1rem; }

.sec-section {
  display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem 0;
  border-bottom: 1.5px solid var(--border);
}
.sec-section:last-of-type { border-bottom: none; }
.sec-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.4rem; margin-top: 4px;
}
.sec-section h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.sec-section p { font-size: 0.92rem; margin-bottom: 0.75rem; }
.sec-list { padding-left: 1.25rem; margin-top: 0.5rem; }
.sec-list li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.4rem; line-height: 1.55; }
.sec-list li strong { color: var(--text); }

/* ── POLICY/LEGAL PAGES ── */
.policy-doc { max-width: 100%; }
.policy-doc h2 { font-size: 1.3rem; margin: 2.25rem 0 0.65rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text); }
.policy-doc h2:first-child { border-top: none; margin-top: 0; }
.policy-doc h3 { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; color: var(--text); }
.policy-doc p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.85rem; }
.policy-doc ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-doc ul li { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 0.3rem; }
.policy-doc a { color: var(--primary); }
.policy-doc strong { color: var(--text); }
.policy-doc code { background: var(--light); padding: 1px 6px; border-radius: 4px; font-size: 0.88rem; }
.policy-notice {
  display: flex; gap: 0.75rem; align-items: flex-start;
  background: #f0f0ff; border: 1px solid #d0d0ff; border-radius: 10px;
  padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.88rem; color: #566a7f;
}
.policy-notice i { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.policy-table {
  width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-bottom: 1rem;
}
.policy-table th, .policy-table td {
  padding: 0.75rem 1rem; border: 1px solid var(--border); text-align: left; vertical-align: top;
}
.policy-table th { background: var(--light); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
