/* ============ Design Tokens ============ */
:root {
  --bg: #08090f;
  --bg-elevated: #0f1119;
  --bg-card: #12141e;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --text: #f4f5f7;
  --text-muted: #9aa1b4;
  --text-faint: #656d82;

  --red: #791515;
  --red-bright: #a02222;
  --red-dim: #7a2a24;
  --red-glow: rgba(219,36,36,0.3);
  --red-gradient: linear-gradient(135deg, #a02222 0%, #791515 100%);
  --navy: #0f1424;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Inter', var(--font-body);

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

  --shadow-glow: 0 0 60px rgba(179,56,47,0.25);
}

/* ============ Reset ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }
h1, h2 { font-weight: 900; letter-spacing: -0.025em; }
h3, h4 { font-weight: 700; letter-spacing: -0.02em; }

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

.text-accent {
  background: var(--red-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--red-bright);
}

/* subtle grain overlay for texture */
.noise-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, rgba(179,56,47,0.06), transparent 40%),
                     radial-gradient(circle at 80% 0%, rgba(179,56,47,0.05), transparent 45%);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red-gradient);
  color: #fff;
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 32px var(--red-glow), 0 8px 24px var(--red-glow); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--red-bright); background: rgba(179,56,47,0.08); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,9,15,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-accent { color: var(--red-bright); }

.main-nav { display: flex; gap: 32px; }
.main-nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: all 0.2s ease; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav a { padding: 12px 4px; color: var(--text-muted); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 12px; }

.site-header.nav-open .mobile-nav { display: flex; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 120px 0 90px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(circle, rgba(179,56,47,0.28), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 8px var(--red-bright); }

.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--text-muted);
}
.hero-stats strong { color: var(--text); font-family: var(--font-head); font-size: 1.05rem; margin-right: 6px; }

@media (max-width: 640px) {
  .hero { padding: 90px 0 60px; }
  .hero-stats { gap: 20px 28px; }
}

/* ============ Tool Strip ============ */
.tool-strip { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.tool-strip-label { text-align: center; font-size: 0.8rem; color: var(--text-faint); margin-bottom: 18px; letter-spacing: 0.02em; text-transform: uppercase; }
.tool-marquee {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--text-faint);
}

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-elevated); }

.section-kicker {
  color: var(--red-bright);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 720px;
  margin-bottom: 18px;
}
.section-lede {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 56px;
}

/* ============ Grid / Cards ============ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.card-index {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  color: var(--red-bright); font-size: 0.85rem; margin-bottom: 14px; opacity: 0.85;
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-outline { background: transparent; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ============ Pillars ============ */
.pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-bottom: 72px;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
}
.pillar-head { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.pillar-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--red-bright);
  background: rgba(179,56,47,0.12);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.pillar-tag-alt { color: #b7bfd6; background: rgba(183,191,214,0.1); }
.pillar-head h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pillar-head p { color: var(--text-muted); font-size: 0.98rem; }

.pillar-steps { display: flex; flex-direction: column; gap: 22px; }
.pillar-steps li { display: flex; gap: 16px; }
.step-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(179,56,47,0.14);
  color: var(--red-bright);
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
}
.step-num-alt { background: rgba(183,191,214,0.12); color: #c7cee2; }
.pillar-steps h4 { font-size: 1rem; margin-bottom: 4px; }
.pillar-steps p { color: var(--text-muted); font-size: 0.92rem; }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

.addons-label { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }

/* ============ Timeline ============ */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.timeline-item { display: flex; gap: 24px; padding-bottom: 44px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 42px; bottom: 0;
  width: 1px; background: var(--border-strong);
}
.timeline-marker {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  font-family: var(--font-head); font-weight: 700; color: var(--red-bright);
}
.timeline-content h4 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-content p { color: var(--text-muted); font-size: 0.96rem; max-width: 560px; }

/* ============ About ============ */
.about-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start;
}
.about-copy p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border-strong);
  padding: 8px 14px; border-radius: 999px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  position: sticky; top: 110px;
}
.about-card-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(160deg, var(--red-bright), var(--red-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 900; color: #fff;
  margin-bottom: 18px;
}
.about-card h3 { font-size: 1.2rem; margin-bottom: 2px; }
.about-card-role { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.about-card-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.about-card-list li {
  font-size: 0.88rem; color: var(--text-muted); padding-left: 18px; position: relative;
}
.about-card-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red-bright);
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
}

/* ============ FAQ ============ */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem; color: var(--red-bright); font-weight: 400;
  transition: transform 0.2s ease;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding-bottom: 20px; }
.faq-body p { color: var(--text-muted); font-size: 0.96rem; }

/* ============ Final CTA ============ */
.cta-final { padding: 110px 0; }
.cta-final-inner {
  text-align: center; max-width: 680px; margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 64px 40px;
  box-shadow: var(--shadow-glow);
}
.cta-final-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-final-inner p { color: var(--text-muted); margin-bottom: 32px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 240px; }
.footer-brand .brand-mark { width: 30px; height: 30px; border-radius: 7px; }
.footer-brand p { color: var(--text-faint); font-size: 0.88rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-contact a[href^="mailto"] { color: var(--text-muted); font-size: 0.92rem; }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { color: var(--text-faint); font-size: 0.82rem; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; }
}

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
