:root {
  --bg: #0a0c11;
  --bg-elev: #11141c;
  --bg-alt: #0d1016;
  --panel: #141823;
  --border: #1f2531;
  --text: #e7ebf2;
  --muted: #99a2b3;
  --red: #ff3b3b;
  --red-deep: #b81d1d;
  --red-soft: #ff5c5c;
  --accent-grad: linear-gradient(135deg, #ff5c5c 0%, #b81d1d 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-soft);
  margin-bottom: 14px;
}

.grad {
  background: var(--accent-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;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 59, 59, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 59, 59, 0.7); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--red-soft); color: #fff; }
.btn-ghost { padding: 9px 18px; border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--red-soft); color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-mark { display: inline-flex; }
.brand-accent { color: var(--red-soft); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-ghost { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* Hero */
.hero { position: relative; padding: 120px 0 100px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 10%, rgba(255, 59, 59, 0.16), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(184, 29, 29, 0.12), transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; max-width: 820px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; margin-bottom: 22px; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-badges li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.9rem; }
.hero-badges li::before { content: "✓"; position: absolute; left: 0; color: var(--red-soft); font-weight: 700; }

/* Stats */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: 0.9rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 92, 92, 0.45); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 12px; margin-bottom: 18px; color: var(--red-soft);
  background: rgba(255, 59, 59, 0.1); border: 1px solid rgba(255, 59, 59, 0.25);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; }
.step-num { font-family: "JetBrains Mono", monospace; font-size: 0.95rem; color: var(--red-soft); font-weight: 600; }
.step h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 18px; }
.why-copy > p { color: var(--muted); margin-bottom: 24px; }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; border-radius: 6px; font-size: 0.7rem; font-weight: 700;
}

/* Terminal */
.terminal { background: #07090d; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.terminal-bar { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: #0b0e14; }
.terminal-bar span { width: 12px; height: 12px; border-radius: 50%; background: #2a3140; }
.terminal-bar span:first-child { background: #ff5f56; }
.terminal-bar span:nth-child(2) { background: #ffbd2e; }
.terminal-bar span:nth-child(3) { background: #27c93f; }
.terminal-body { padding: 22px; font-family: "JetBrains Mono", monospace; font-size: 0.86rem; line-height: 1.9; color: #cdd6e4; overflow-x: auto; }
.t-dim { color: #5c6678; }
.t-ok { color: #27c93f; }
.t-warn { color: #ffbd2e; }
.t-accent { color: var(--red-soft); font-weight: 600; }

/* Quote */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; margin-bottom: 24px; }
.quote footer { display: flex; flex-direction: column; gap: 2px; }
.quote-name { font-weight: 600; }
.quote-role { color: var(--muted); font-size: 0.9rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 18px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-values { display: grid; gap: 16px; }
.value { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; }
.value h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--red-soft); }
.value p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); margin-bottom: 28px; }
.contact-meta { list-style: none; display: grid; gap: 18px; }
.contact-meta li { display: flex; flex-direction: column; gap: 2px; }
.contact-meta strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.contact-meta a, .contact-meta span { color: var(--text); font-weight: 500; }
.contact-meta a:hover { color: var(--red-soft); }

.contact-form {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: 12px 14px; font-family: inherit; font-size: 0.95rem; resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red-soft); box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.15);
}
.contact-form .btn-block { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; color: var(--red-soft); min-height: 1em; }
.form-status.ok { color: #27c93f; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 30px; align-items: center; }
.footer-brand .brand-text { font-size: 1.2rem; font-weight: 800; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; max-width: 320px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 0.85rem; text-align: right; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 920px) {
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-copy { text-align: left; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 8px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-links a.btn-ghost { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .cards, .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 80px 0 70px; }
}
