/* ============================================
   RESET & VARIABLES
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --darker: #161616;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --muted: #666;
  --text: #999;
  --light: #ccc;
  --white: #f5f5f0;
  --red: #e63946;
  --red-dark: #c1121f;
  --red-glow: rgba(230, 57, 70, 0.15);
  --green: #2ec4b6;
  --amber: #e9c46a;
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Outfit', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--red); color: var(--white); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  display: none;
}

.nav-cta {
  padding: 10px 20px;
  background: var(--red);
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-phone { display: block; }
}

/* ============================================
   SHARED COMPONENTS
   ============================================ */
.page-content {
  min-height: 100vh;
  padding-top: 64px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 800px; }
.container--wide { max-width: 1300px; }

.section {
  padding: 100px 0;
  position: relative;
}

.section--dark { background: var(--dark); }
.section--darker { background: var(--darker); }

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 40px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.headline--sm {
  font-size: clamp(2rem, 4vw, 3rem);
}

.headline em {
  font-style: normal;
  color: var(--red);
}

.subhead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 600px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.03);
}

.btn-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin-top: 12px;
}

/* Proof photo styling */
.proof-photo {
  border-radius: 4px;
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.proof-photo:hover {
  transform: scale(1.02) rotate(-0.5deg);
  box-shadow: 0 25px 70px rgba(0,0,0,0.6);
}

/* Stat blocks */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.stat-block {
  background: var(--card);
  padding: 32px 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number--red { color: var(--red); }

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.card-grid--2 { grid-template-columns: 1fr 1fr; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .card-grid--2, .card-grid--3, .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  padding: 40px 32px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

/* Testimonial cards */
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  position: relative;
}

.testimonial-result {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--light);
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Guarantee bar */
.guarantee-bar {
  background: var(--red);
  padding: 40px 0;
  text-align: center;
}

.guarantee-bar h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.guarantee-bar p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Two-column layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

@media (max-width: 768px) {
  .split, .split--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
}

/* List with checks */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--light);
  line-height: 1.5;
}

.check-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.x-list li::before {
  content: '\2715';
  background: var(--border);
  color: var(--muted);
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

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

.pricing-card {
  background: var(--card);
  padding: 40px 32px;
  position: relative;
}

.pricing-card--featured {
  background: var(--darker);
  border-top: 3px solid var(--red);
}

.pricing-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* Case study cards */
.case-study {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.case-study-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.case-study-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.case-study-sprint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.case-study-body { padding: 28px; }

.case-study-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.case-study-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.case-study-result {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  padding: 16px 20px;
  background: rgba(46, 196, 182, 0.06);
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 4px;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Red accent line */
.red-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

/* Quote block */
.quote-block {
  border-left: 3px solid var(--red);
  padding: 24px 32px;
  margin: 32px 0;
  background: var(--card);
}

.quote-block p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--light);
  line-height: 1.6;
}

/* Not/Anti list */
.anti-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.anti-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--light);
}

.anti-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Step process */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* Table of contents */
.toc {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.toc-part {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--border);
}

.toc-chapter {
  font-size: 0.95rem;
  color: var(--light);
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid rgba(42,42,42,0.5);
}

/* Book form */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
}

.book-form input {
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.book-form input:focus { border-color: var(--red); }

.book-form input::placeholder { color: var(--muted); }
.book-form button {
  background: none;
  border: none;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}


/* Arrow items */
.arrow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arrow-list li {
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.6;
}

.arrow-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* Ticker bar */
.ticker {
  background: var(--red);
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 40px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Photo with caption */
.proof-figure {
  position: relative;
}

.proof-caption {
  position: absolute;
  bottom: -12px;
  right: 20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
}

/* Highlight number */
.highlight-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--red);
}

/* Gate detail section */
.gates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  transition: border-color 0.3s ease;
}

.gate-card:hover {
  border-color: var(--red);
}

.gate-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.gate-card-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  opacity: 0.4;
}

.gate-card-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.gate-card-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.gate-card-hook {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.gate-card-body {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

@media (max-width: 768px) {
  .gates-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gate-card {
    padding: 24px 20px;
  }
}

/* Gate styles (used on system page) */
.gate-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.gate-section:last-of-type { border-bottom: none; }

.gate-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--red);
  color: var(--red);
  margin-bottom: 16px;
  border-radius: 2px;
}

.gate-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gate-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 20px;
}

.gate-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 700px;
}

.gate-result {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(46, 196, 182, 0.06);
  border-left: 3px solid var(--green);
  display: inline-block;
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Video embed */
.video-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9/16;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .headline { font-size: clamp(2rem, 8vw, 3rem); }
  .split { gap: 30px; }
  .stat-number { font-size: 1.8rem; }
}