/* ============================================================
   IGNIS SCALING — SITE STYLES  ·  clean · minimal · dark
   Brand: white + red (deep-red #8B1A1A → red #e11d2a) + near-black.
   NO orange. Type: Space Grotesk (headings) · Inter (body).
   ============================================================ */


:root {
  --red-deep: #8B1A1A;
  --red: #e11d2a;
  --red-bright: #ff3b42;
  --ink: #f6f6f8;
  --body: #a7a9b2;
  --muted: #7c7e88;
  --subtle: #585a63;
  --bg: #0c0c0f;
  --bg-2: #121318;
  --surface: #16171c;
  --surface-2: #1d1e25;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --grad: linear-gradient(135deg, #8B1A1A 0%, #e11d2a 100%);
  --grad-hover: linear-gradient(135deg, #a51f1f 0%, #ff2e3a 100%);
  --grad-text: linear-gradient(120deg, #ff5a5f 0%, #e11d2a 60%);
  --radius: 16px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.top-accent { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--grad); z-index: 1000; }

/* soft radial brand glow helper */
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.5; pointer-events: none; z-index: 0; }
.glow-red { background: #e11d2a; }
.glow-deep { background: #8B1A1A; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em; padding: 14px 28px; border: none; border-radius: 12px; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; }
.btn-primary { color: #fff; background: var(--grad); box-shadow: 0 10px 26px rgba(225, 29, 42, 0.28); }
.btn-primary:hover { background: var(--grad-hover); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(225, 29, 42, 0.42); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(225, 29, 42, 0.5); background: rgba(225, 29, 42, 0.08); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright); background: rgba(225, 29, 42, 0.09); border: 1px solid rgba(225, 29, 42, 0.22); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow-dot { width: 7px; height: 7px; background: var(--red-bright); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }

.h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.7; }
.section-head { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.section-head .lead { max-width: 660px; margin: 16px auto 0; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 108px 0; overflow: hidden; }
.section-2 { background: var(--bg-2); }

/* ---------- Card ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px 30px; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; z-index: 1; }
.card:hover { transform: translateY(-4px); border-color: rgba(225, 29, 42, 0.32); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45); }
.card-num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; width: 42px; height: 42px; display: grid; place-items: center; background: var(--grad); border-radius: 11px; margin-bottom: 20px; }
.card .h3 { margin-bottom: 10px; }
.card p { color: var(--body); }

.list { list-style: none; margin-top: 16px; }
.list li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--body); }
.list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.list li strong { color: var(--ink); }
.list-x li::before { content: '✕'; background: none; color: #ff5a5f; font-size: 0.8rem; top: 2px; width: auto; height: auto; }
.list-check li::before { content: '✓'; background: none; color: #37d67a; font-weight: 700; top: 1px; width: auto; height: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; position: relative; z-index: 2; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }

/* ============================================================ NAV ============================================================ */
.nav { position: sticky; top: 3px; z-index: 900; background: rgba(12, 12, 15, 0.8); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-soft); }
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 15px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo-mark { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.nav-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo-text { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta .btn { padding: 11px 22px; font-size: 0.9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 25px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 10px 24px 22px; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nav-mobile .btn { margin-top: 14px; }
@media (max-width: 920px) { .nav-links, .nav-cta { display: none; } .nav-toggle { display: flex; } }

/* ============================================================ HERO ============================================================ */
.hero { position: relative; padding: 96px 0 104px; overflow: hidden; }
.hero .glow-deep { width: 460px; height: 460px; top: -160px; left: -120px; opacity: 0.35; }
.hero .glow-red { width: 420px; height: 420px; bottom: -180px; right: -120px; opacity: 0.28; }
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 840px; margin: 0 auto; }
.hero .h1 { margin-bottom: 22px; }
.hero .lead { max-width: 620px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 860px; margin: 66px auto 0; position: relative; z-index: 2; }
.stat { text-align: center; padding: 28px 20px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 9px; }
.stat-label { font-size: 0.88rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; z-index: 2; }
.step { text-align: center; }
.step-num { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(225, 29, 42, 0.4); background: rgba(225, 29, 42, 0.07); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--red-bright); }
.step .h3 { margin-bottom: 8px; }

/* ---------- panel (guarantee) ---------- */
.panel { position: relative; z-index: 2; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 52px 44px; overflow: hidden; }
.panel .glow-red { width: 320px; height: 320px; top: -160px; left: 50%; transform: translateX(-50%); opacity: 0.16; }
.panel .h2 { margin-bottom: 14px; }
.panel p { max-width: 620px; margin: 0 auto 26px; color: var(--body); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.cta .glow-red { width: 520px; height: 340px; top: -120px; left: 50%; transform: translateX(-50%); opacity: 0.2; }
.cta .h2 { margin-bottom: 16px; }
.cta .lead { max-width: 600px; margin: 0 auto 28px; }

/* ============================================================ FOOTER ============================================================ */
.ftr { position: relative; background: var(--bg); border-top: 1px solid var(--line-soft); }
.ftr-main { max-width: 1180px; margin: 0 auto; padding: 60px 24px 40px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ftr-brand { flex: 1; min-width: 240px; max-width: 330px; }
.ftr-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.ftr-logo-mark { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex-shrink: 0; }
.ftr-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.ftr-logo-text { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: 0.14em; text-transform: uppercase; }
.ftr-tagline { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.ftr-col { min-width: 150px; }
.ftr-title { font-size: 0.75rem; font-weight: 600; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.ftr-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ftr-nav a { font-size: 0.95rem; color: var(--muted); transition: color 0.25s ease; }
.ftr-nav a:hover { color: var(--red-bright); }
.ftr-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; color: var(--muted); font-size: 0.93rem; }
.ftr-contact-item svg { width: 17px; height: 17px; fill: var(--red-bright); flex-shrink: 0; margin-top: 3px; }
.ftr-contact-item a { color: var(--muted); }
.ftr-contact-item a:hover { color: var(--red-bright); }
.ftr-social { display: flex; gap: 11px; margin-top: 6px; }
.ftr-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: all 0.25s ease; }
.ftr-social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.ftr-social svg { width: 17px; height: 17px; fill: var(--muted); transition: fill 0.25s ease; }
.ftr-social a:hover svg { fill: #fff; }
.ftr-bottom { max-width: 1180px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); }
.ftr-copy { font-size: 0.85rem; color: var(--subtle); }
.ftr-copy strong { color: var(--ink); font-weight: 600; }
.ftr-legal { display: flex; gap: 24px; }
.ftr-legal a { font-size: 0.8rem; color: var(--muted); }
.ftr-legal a:hover { color: var(--red-bright); }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: 1fr; max-width: 340px; }
  .section { padding: 74px 0; }
  .steps { gap: 30px; }
  .panel { padding: 40px 26px; }
}
@media (max-width: 560px) { .hero-cta { flex-direction: column; } .hero-cta .btn { width: 100%; } .ftr-bottom { flex-direction: column; text-align: center; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
