/* =====================================================================
   VamiSec Bug Bounty · bugbounty.vamisec.com
   Static landing page — vamiSec CI (Teal #00949D / Purple #6E56CF)
   on a dark "offensive" base. No framework, self-contained.

   Fonts: desired brand faces named first (Sora / Manrope / JetBrains
   Mono). No external request and no @font-face on missing files, so
   the robust system fallback renders until self-hosted woff2 are added
   under /assets/fonts/ (then declare @font-face here — nothing else
   changes).
   ===================================================================== */

:root {
  /* Brand */
  --teal: #00949D;
  --teal-light: #12b6c0;
  --purple: #6E56CF;
  --purple-light: #8b72e0;
  --grad: linear-gradient(105deg, #12b6c0 0%, #00949D 46%, #6E56CF 100%);

  /* Dark base (vamisec footer navy, deepened) */
  --bg-0: #08161c;
  --bg-1: #0b1e26;
  --bg-2: #0f2831;
  --card: #10262f;
  --card-2: #143039;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --ink: #eef6f7;
  --ink-soft: #b4c6cc;
  --muted: #7f959d;

  /* Severity (CVSS) */
  --sev-critical: #e5484d;
  --sev-high: #f76808;
  --sev-medium: #f5a623;
  --sev-low: #30a46c;

  /* Shape */
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: 'Sora', 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -8px rgba(110, 86, 207, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(110, 86, 207, .8); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal-light); background: rgba(18, 182, 192, .08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 22, 28, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; }
.brand-mark { font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.brand-mark-acc { color: var(--teal-light); }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-divider { width: 1px; height: 34px; background: var(--line-strong); }
.brand-sub { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.main-nav { display: flex; gap: 26px; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.main-nav a:hover { color: var(--teal-light); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: none; background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; transition: .2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--grad); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

.mobile-drawer { display: none; flex-direction: column; gap: 4px; padding: 16px 24px 24px; border-top: 1px solid var(--line); background: var(--bg-1); }
.mobile-drawer a { padding: 12px 8px; font-weight: 600; color: var(--ink-soft); border-radius: 8px; }
.mobile-drawer a:hover { background: rgba(255, 255, 255, .04); color: var(--ink); }
.mobile-drawer .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 340px at 22% 8%, rgba(0, 148, 157, .22), transparent 65%),
    radial-gradient(560px 320px at 82% 22%, rgba(110, 86, 207, .20), transparent 62%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  background: rgba(18, 182, 192, .10); border: 1px solid rgba(18, 182, 192, .35);
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-light);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 10px var(--teal-light); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero-h1 { font-size: clamp(34px, 5.2vw, 60px); margin: 22px 0 20px; letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(16px, 1.7vw, 20px); color: var(--ink-soft); max-width: 720px; font-weight: 400; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.check { color: var(--teal-light); font-weight: 700; }

/* Corporate signature block */
.hero-signature { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.hs-tagline { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.8vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.hs-the { color: var(--teal-light); }
.hs-pillars { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-family: var(--font-mono); font-size: clamp(13px, 1.3vw, 16px); font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.hs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 8px rgba(18,182,192,.6); flex-shrink: 0; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 34px 22px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-n { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-l { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-1); }
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-light); margin-bottom: 16px; }
.eyebrow-n { color: var(--teal-light); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.sec-lead { margin-top: 16px; font-size: 17px; color: var(--ink-soft); font-weight: 400; }

/* ---------- Card grids ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card-ico { font-size: 26px; margin-bottom: 14px; }
.tcloud-logo { height: 46px; width: auto; display: block; }
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; font-weight: 400; }
.card-feature { background: linear-gradient(160deg, var(--card-2), var(--card)); border-color: var(--line-strong); }
.card-muted { background: transparent; border-style: dashed; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.step-n { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; position: relative; overflow: hidden; transition: transform .25s var(--ease); }
.price-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.price-card:hover { transform: translateY(-5px); }
.tier-critical::before { background: var(--sev-critical); }
.tier-high::before { background: var(--sev-high); }
.tier-medium::before { background: var(--sev-medium); }
.tier-low::before { background: var(--sev-low); }
.price-tier { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tier-critical .price-tier { color: var(--sev-critical); }
.tier-high .price-tier { color: var(--sev-high); }
.tier-medium .price-tier { color: var(--sev-medium); }
.tier-low .price-tier { color: var(--sev-low); }
.price-cvss { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.price-amount { font-family: var(--font-display); font-size: 34px; font-weight: 700; margin: 16px 0 12px; color: var(--ink); }
.price-note { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.price-foot { text-align: center; margin-top: 26px; font-size: 14px; color: var(--muted); max-width: 720px; margin-left: auto; margin-right: auto; }
.price-foot strong { color: var(--ink-soft); }

.targets-grid .card h3 { font-size: 16px; }

/* ---------- Regulatory cards ---------- */
.reg-grid { gap: 18px; }
.reg-card h3 { font-size: 17px; margin-bottom: 12px; color: var(--teal-light); }
.reg-card p { font-size: 13.5px; }
.reg-tag { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--purple-light); background: rgba(110, 86, 207, .12); border: 1px solid rgba(110, 86, 207, .3); border-radius: 999px; padding: 4px 11px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split-reverse .split-text { order: 2; }
.split-text .eyebrow { margin-bottom: 14px; }
.split-text h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.split-text > p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); }

.policy-card, .timer-card { background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 26px; }
.policy-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.policy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 8px var(--teal-light); }
.policy-flow { list-style: none; display: flex; flex-direction: column; gap: 0; }
.policy-flow li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-soft); }
.policy-flow li:last-child { border-bottom: none; }
.pf-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: rgba(18, 182, 192, .14); border: 1px solid rgba(18, 182, 192, .35); color: var(--teal-light); font-family: var(--font-mono); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }

.timer-card { display: flex; flex-direction: column; gap: 4px; }
.timer-row { display: flex; align-items: baseline; gap: 18px; padding: 18px 6px; border-bottom: 1px solid var(--line); }
.timer-row:last-child { border-bottom: none; }
.timer-t { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--sev-high); min-width: 90px; }
.timer-row:first-child .timer-t { color: var(--sev-critical); }
.timer-row:last-child .timer-t { color: var(--teal-light); }
.timer-l { font-size: 14px; color: var(--ink-soft); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--bg-2); font-family: var(--font-display); font-size: 14px; color: var(--ink); }
.compare-table td { color: var(--ink-soft); }
.compare-table .col-vami { background: rgba(0, 148, 157, .07); color: var(--ink); font-weight: 600; }
.compare-table thead .col-vami { color: var(--teal-light); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ---------- CTA ---------- */
.cta-section { padding: 90px 0; background: linear-gradient(160deg, var(--bg-1), var(--bg-0)); position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 0%, rgba(110, 86, 207, .18), transparent 60%); }
.cta-inner { position: relative; text-align: center; max-width: 720px; }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 40px); }
.cta-inner p { color: var(--ink-soft); font-size: 17px; margin: 16px 0 30px; }
.cta-inner .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #061116; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 40px; }
.footer-brand .brand-mark { font-family: var(--font-display); font-size: 22px; }
.footer-logo { height: 58px; width: auto; display: block; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 18px; max-width: 300px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.fbadge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--ink-soft); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.footer-col h4 { font-size: 13px; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--teal-light); }

/* ---------- Scroll reveal ---------- */
.sr { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sr--left { transform: translateX(-28px); }
.sr--right { transform: translateX(28px); }
.sr.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sr { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .split, .split-reverse { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-text { order: 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .site-header.nav-open .mobile-drawer { display: flex; }
}
@media (max-width: 560px) {
  .cards-4, .steps, .price-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .lang-switch { display: none; }
  .mobile-drawer .lang-switch { display: flex; margin-top: 12px; }
}
