/* ── SecureInsights Website ── */
/* Fonts: Instrument Serif (headlines), Inter (body), JetBrains Mono (code) */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --si-dark: #0a0a0f;
  --si-darker: #06060a;
  --si-card: #111118;
  --si-border: #1e1e2a;
  --si-text: #e4e4e7;
  --si-muted: #71717a;
  --si-accent: #3b82f6;
  --si-accent-light: #60a5fa;
  --si-green: #10b981;
  --si-amber: #f59e0b;
  --si-red: #ef4444;
  --si-purple: #8b5cf6;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--si-dark);
  color: var(--si-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}

a { color: var(--si-accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--si-accent); }

/* ── Navbar ── */
.si-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--si-border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.si-nav .logo { display: flex; align-items: center; gap: 10px; }
.si-nav .logo img { height: 32px; }
.si-nav .logo span { font-family: 'Instrument Serif', serif; font-size: 1.3rem; color: var(--si-text); }
.si-nav .nav-links { display: flex; gap: 28px; align-items: center; }
.si-nav .nav-links a { color: var(--si-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.si-nav .nav-links a:hover { color: var(--si-text); }
.si-nav .nav-links a.active { color: var(--si-text); }

/* ── Buttons ── */
.btn-primary-si {
  background: var(--si-accent);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary-si:hover { background: #2563eb; color: white; transform: translateY(-1px); }

.btn-outline-si {
  background: transparent;
  color: var(--si-text);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--si-border);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-outline-si:hover { border-color: var(--si-accent); color: var(--si-accent); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { max-width: 800px; margin: 0 auto 1.5rem; }
.hero h1 em { font-style: italic; color: var(--si-accent-light); }
.hero .subtitle { font-size: 1.2rem; color: var(--si-muted); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; justify-content: center; margin-top: 4rem;
  flex-wrap: wrap;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat .value { font-size: 1.5rem; font-weight: 700; color: var(--si-accent-light); }
.hero-stats .stat .label { font-size: 13px; color: var(--si-muted); margin-top: 4px; }

/* ── Sections ── */
.section {
  padding: 100px 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-dark { background: var(--si-darker); }
.section-border { border-top: 1px solid var(--si-border); }
.section-center { text-align: center; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--si-accent);
  margin-bottom: 12px;
}

/* ── Cards ── */
.card-si {
  background: var(--si-card);
  border: 1px solid var(--si-border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.2s;
}
.card-si:hover { border-color: var(--si-accent); transform: translateY(-2px); }

/* ── Before/After ── */
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}
.before-after .arrow { font-size: 2rem; color: var(--si-accent); padding-top: 40px; }
.before-col, .after-col { padding: 24px; border-radius: 12px; }
.before-col { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.15); }
.after-col { background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.15); }
.before-col h4 { color: var(--si-red); }
.after-col h4 { color: var(--si-green); }
.before-col li, .after-col li { margin-bottom: 12px; color: var(--si-muted); }

/* ── How It Works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.step { text-align: center; }
.step .step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--si-accent);
  color: white; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step p { color: var(--si-muted); }

/* ── Product Cards ── */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.product-card { text-align: center; }
.product-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.4rem; }
.product-card p { color: var(--si-muted); margin: 12px 0 20px; font-size: 14px; }

/* ── Code Block ── */
.code-block {
  background: var(--si-darker);
  border: 1px solid var(--si-border);
  border-radius: 10px;
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  color: var(--si-green);
}
.code-block .comment { color: var(--si-muted); }

/* ── Comparison Table ── */
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14px; }
.comparison-table th { text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--si-border); color: var(--si-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.comparison-table td { padding: 10px 16px; border-bottom: 1px solid var(--si-border); }
.comparison-table tr:hover td { background: rgba(59,130,246,0.03); }
.comparison-table .check { color: var(--si-green); font-weight: 700; }
.comparison-table .cross { color: var(--si-red); }
.comparison-table .partial { color: var(--si-amber); }
.comparison-table .highlight { background: rgba(59,130,246,0.05); }

/* ── Is / Is Not ── */
.is-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.is-col h4 { margin-bottom: 16px; }
.is-col li { margin-bottom: 10px; padding-left: 24px; position: relative; color: var(--si-muted); }
.is-col.is li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--si-green); border-radius: 50%; }
.is-col.isnot li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--si-red); border-radius: 50%; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--si-border); padding: 20px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--si-muted); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { color: var(--si-muted); margin-top: 12px; font-size: 14px; line-height: 1.8; }

/* ── Feature Grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card { padding: 28px; }
.feature-card .feature-icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature-card h4 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.feature-card p { color: var(--si-muted); font-size: 13px; }

/* ── Pillar Section ── */
.pillar { padding: 80px 0; }
.pillar-icon { font-size: 2rem; margin-bottom: 16px; }
.pillar-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 32px; }
.pillar-text p { color: var(--si-muted); margin-bottom: 16px; }
.pillar-text ul { list-style: none; }
.pillar-text li { padding: 8px 0; padding-left: 20px; position: relative; color: var(--si-muted); font-size: 14px; }
.pillar-text li::before { content: ''; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; background: var(--si-accent); border-radius: 50%; }

.pillar-visual {
  background: var(--si-card);
  border: 1px solid var(--si-border);
  border-radius: 12px;
  padding: 24px;
  font-size: 13px;
}

/* ── Footer ── */
.si-footer {
  border-top: 1px solid var(--si-border);
  padding: 60px 2rem 40px;
  background: var(--si-darker);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.footer-col h5 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--si-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--si-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--si-text); }
.footer-brand p { color: var(--si-muted); font-size: 13px; margin-top: 12px; line-height: 1.7; }
.footer-bottom { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--si-border); color: var(--si-muted); font-size: 12px; max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .steps, .product-grid, .feature-grid, .is-grid { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .before-after .arrow { display: none; }
  .pillar-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
  .si-nav .nav-links { display: none; }
  .comparison-table { font-size: 12px; }
}
