/* ═══════════════════════════════════════════════════════════════
   SCALE TECHNICS AI SOLUTIONS — Main Stylesheet
   scaletechnics.com
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --black: #0a0a0a;
  --white: #f5f2ed;
  --cream: #ece8e1;
  --accent: #c8ff00;
  --accent-dim: #a3cc00;
  --gray-1: #1a1a1a;
  --gray-2: #2a2a2a;
  --gray-3: #888;
  --gray-4: #bbb;
  --red: #ff3b30;
  --green: #34c759;
}

/* ─── Reset & Base ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ─── Utility ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.serif { font-family: 'Instrument Serif', serif; }
.accent { color: var(--accent); }
.dim { color: var(--gray-3); }

/* ─── Grain Overlay ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.15;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13px;
  color: var(--gray-3);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--black) !important;
  padding: 10px 24px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200,255,0,0.3);
}

/* Mobile Nav */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}
.nav-links.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-2);
  padding: 24px;
  gap: 20px;
  z-index: 999;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200,255,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,255,0,0.08);
  border: 1px solid rgba(200,255,0,0.15);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out;
}
.hero-tag .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-tag span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -2px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  color: var(--gray-4);
  max-width: 580px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,255,0,0.25);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--gray-2);
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--gray-3);
  background: rgba(255,255,255,0.03);
}

/* ═══════════════════════════════════════════════════════════════
   TICKER BAR
   ═══════════════════════════════════════════════════════════════ */
.ticker-bar {
  padding: 20px 0;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  margin-top: 80px;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 64px;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
}
.ticker-item .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — Shared
   ═══════════════════════════════════════════════════════════════ */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════════════════════════ */
.problem {
  padding: 120px 0;
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-2) 20%, var(--gray-2) 80%, transparent);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1px;
}
.problem h2 em { font-style: italic; color: var(--accent); }

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.problem-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-1);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}
.problem-list li:hover { border-color: rgba(200,255,0,0.2); }
.problem-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0;
}
.problem-list h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.problem-list p { font-size: 14px; color: var(--gray-3); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   24/7 REVENUE SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.revenue { padding: 120px 0; position: relative; }
.revenue-header { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.revenue h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.revenue h2 em { font-style: italic; color: var(--accent); }
.revenue-sub { font-size: 18px; color: var(--gray-4); line-height: 1.6; }

/* Pipeline */
.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  margin-bottom: 80px;
}
.pipeline-step {
  background: var(--gray-1);
  padding: 32px 24px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.pipeline-step:first-child { border-radius: 16px 0 0 16px; }
.pipeline-step:last-child { border-radius: 0 16px 16px 0; }
.pipeline-step:hover {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.12);
}
.pipeline-step::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  z-index: 2;
}
.pipeline-step:last-child::after { display: none; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--gray-3); line-height: 1.5; }
.step-status {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.step-status .blink {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ═══════════════════════════════════════════════════════════════
   AGENT CARDS
   ═══════════════════════════════════════════════════════════════ */
.agents { padding: 80px 0 120px; }
.agents-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.agents h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.agent-card {
  background: var(--gray-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.agent-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.agent-card:hover::before { transform: scaleX(1); }
.agent-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.agent-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(200,255,0,0.5);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.agent-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
.agent-card .agent-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.agent-card p { font-size: 14px; color: var(--gray-3); line-height: 1.6; margin-bottom: 20px; }
.agent-tasks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.agent-tasks li {
  font-size: 13px;
  color: var(--gray-4);
  display: flex;
  align-items: center;
  gap: 8px;
}
.agent-tasks li::before {
  content: '—';
  color: rgba(255,255,255,0.25);
  font-size: 12px;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   CONTROL / COMMAND SECTION
   ═══════════════════════════════════════════════════════════════ */
.control { padding: 120px 0; position: relative; }
.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.control h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 24px;
}
.control h2 em { font-style: italic; color: var(--accent); }
.control-text { font-size: 17px; color: var(--gray-4); line-height: 1.7; margin-bottom: 32px; }
.control-channels { display: flex; flex-wrap: wrap; gap: 12px; }
.channel-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}
.channel-tag span.ch-icon { font-size: 18px; }

/* Phone Mockup */
.phone-mock {
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 32px;
  padding: 16px;
  max-width: 340px;
  margin: 0 auto;
}
.phone-screen {
  background: var(--black);
  border-radius: 24px;
  padding: 24px 20px;
  min-height: 420px;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-2);
}
.phone-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.phone-name { font-size: 15px; font-weight: 600; }
.phone-status {
  font-size: 11px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}
.phone-status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.messages { display: flex; flex-direction: column; gap: 12px; }
.msg {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 85%;
  animation: msgIn 0.4s ease-out backwards;
}
.msg-user {
  background: var(--accent);
  color: var(--black);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg-agent {
  background: var(--gray-2);
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg:nth-child(1) { animation-delay: 0.5s; }
.msg:nth-child(2) { animation-delay: 1.2s; }
.msg:nth-child(3) { animation-delay: 2s; }
.msg:nth-child(4) { animation-delay: 2.8s; }

/* ═══════════════════════════════════════════════════════════════
   PACKAGES
   ═══════════════════════════════════════════════════════════════ */
.packages { padding: 120px 0; }
.packages-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.packages h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
}
.packages h2 em { font-style: italic; color: var(--accent); }
.packages-sub { font-size: 17px; color: var(--gray-3); }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pkg-card {
  background: var(--gray-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s;
}
.pkg-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.pkg-card.featured {
  border-color: rgba(200,255,0,0.35);
  background: linear-gradient(160deg, rgba(200,255,0,0.03) 0%, transparent 60%);
}
.pkg-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: var(--black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.pkg-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gray-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pkg-title {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.pkg-desc { font-size: 14px; color: var(--gray-3); line-height: 1.6; margin-bottom: 28px; }
.pkg-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pkg-features li {
  font-size: 14px;
  color: var(--gray-4);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.pkg-features li::before {
  content: '—';
  color: rgba(255,255,255,0.2);
  font-size: 12px;
  margin-top: 1px;
  flex-shrink: 0;
}
.pkg-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.2px;
}
.pkg-cta-primary { background: var(--accent); color: var(--black); }
.pkg-cta-primary:hover { box-shadow: 0 4px 24px rgba(200,255,0,0.2); transform: translateY(-1px); }
.pkg-cta-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.pkg-cta-secondary:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }

/* ═══════════════════════════════════════════════════════════════
   CASE STUDY TEASERS
   ═══════════════════════════════════════════════════════════════ */
.cs-teasers { padding: 100px 0; border-top: 1px solid var(--gray-2); }
.cs-teasers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}
.cs-teasers-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.1;
}
.cs-teasers-header h2 em { font-style: italic; color: var(--accent); }
.cs-teasers-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cs-teasers-link:hover { opacity: 0.7; }
.cs-teasers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cs-teaser-card {
  background: var(--gray-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.cs-teaser-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.cs-teaser-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.cs-teaser-card:hover::before { transform: scaleX(1); }
.cs-teaser-industry {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-teaser-metric {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
  font-weight: 400;
}
.cs-teaser-desc {
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.5;
  flex: 1;
}
.cs-teaser-arrow {
  font-size: 16px;
  color: var(--accent);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   STICKY CTA
   ═══════════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--accent);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(200,255,0,0.25), 0 2px 8px rgba(0,0,0,0.4);
}
.sticky-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  border-radius: 100px;
  white-space: nowrap;
}
.sticky-cta-dismiss {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.15);
  border: none;
  border-radius: 50%;
  color: var(--black);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  flex-shrink: 0;
  line-height: 1;
  transition: background 0.2s;
}
.sticky-cta-dismiss:hover { background: rgba(0,0,0,0.25); }

/* ═══════════════════════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════════════════════ */
.social-proof {
  padding: 100px 0;
  position: relative;
}
.proof-header { text-align: center; margin-bottom: 48px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proof-card {
  background: var(--gray-1);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.3s;
}
.proof-card:hover { border-color: rgba(255,255,255,0.12); }
.proof-quote {
  font-family: 'Instrument Serif', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
}
.proof-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.proof-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(200,255,0,0.1);
  border: 1px solid rgba(200,255,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.proof-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.proof-role { font-size: 12px; color: var(--gray-3); }

/* ═══════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════ */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--gray-3); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════
   WHY NOW / TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.why-now { padding: 120px 0; }
.why-now-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-now h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 32px;
}
.why-now h2 em { font-style: italic; color: var(--accent); }
.why-now-text { font-size: 17px; color: var(--gray-4); line-height: 1.7; margin-bottom: 24px; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gray-2), var(--accent), var(--gray-2));
}
.timeline-item { position: relative; padding: 0 0 40px 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-2);
  border: 2px solid var(--black);
}
.timeline-item.active::before {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(200,255,0,0.4);
}
.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.timeline-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.timeline-desc { font-size: 14px; color: var(--gray-3); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   VANCOUVER / LOCAL
   ═══════════════════════════════════════════════════════════════ */
.local {
  padding: 100px 0;
  background: var(--gray-1);
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
}
.local-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.local h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
}
.local h2 em { font-style: italic; color: var(--accent); }
.local p { font-size: 16px; color: var(--gray-4); line-height: 1.7; margin-bottom: 16px; }
.local-points { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.local-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-4);
  line-height: 1.5;
}
.local-points li::before { content: '→'; color: rgba(255,255,255,0.3); font-weight: 400; flex-shrink: 0; }

.local-map {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  height: 360px;
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section { padding: 140px 0; text-align: center; position: relative; }
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,255,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.cta-section h2 em { font-style: italic; color: var(--accent); }
.cta-section p {
  font-size: 18px;
  color: var(--gray-4);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; position: relative; z-index: 2; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer { padding: 60px 0; border-top: 1px solid var(--gray-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 14px; color: var(--gray-3); line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-4);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--gray-3); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cs-teasers-grid { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline-step:nth-child(3) { border-radius: 0 16px 0 0; }
  .pipeline-step:nth-child(1) { border-radius: 16px 0 0 0; }
  .pipeline-step:last-child { border-radius: 0 0 16px 0; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid .pkg-card:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 20px; }

  /* Nav */
  .nav-links { display: none; }
  .mobile-toggle { display: block; }

  /* Hero */
  .hero { padding: 100px 0 56px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-sub { margin-bottom: 36px; font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-tag { margin-bottom: 28px; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; width: 100%; }

  /* Ticker */
  .ticker-bar { margin-top: 48px; }

  /* Section labels */
  .section-label { margin-bottom: 28px; }

  /* Problem */
  .problem { padding: 72px 0; }
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  .problem h2 { font-size: clamp(30px, 8vw, 42px); }

  /* Revenue */
  .revenue { padding: 72px 0; }
  .revenue-header { margin-bottom: 40px; }
  .revenue h2 { font-size: clamp(30px, 8vw, 48px); }
  .pipeline { grid-template-columns: 1fr; margin-bottom: 40px; }
  .pipeline-step { border-radius: 12px !important; padding: 24px 20px; }
  .pipeline-step::after { display: none; }

  /* Agents */
  .agents { padding: 48px 0 64px; }
  .agents-header { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .agents-grid { grid-template-columns: 1fr; }
  .agent-card { padding: 28px 24px; }

  /* Control */
  .control { padding: 72px 0; }
  .control-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-mock { max-width: 100%; }

  /* Case study teasers */
  .cs-teasers { padding: 64px 0; }
  .cs-teasers-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .cs-teasers-grid { grid-template-columns: 1fr; }
  .cs-teaser-metric { font-size: 40px; }

  /* Packages */
  .packages { padding: 72px 0; }
  .packages-header { margin-bottom: 40px; }
  .packages-grid { grid-template-columns: 1fr; }
  .packages-grid .pkg-card:last-child { grid-column: unset; max-width: none; }
  .pkg-card { padding: 32px 24px; }

  /* Social proof */
  .social-proof { padding: 64px 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { padding: 28px 24px; }

  /* Stats */
  .stats { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }

  /* Why Now */
  .why-now { padding: 72px 0; }
  .why-now-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-now h2 { font-size: clamp(30px, 8vw, 44px); }

  /* Vancouver / Local */
  .local { padding: 64px 0; }
  .local-inner { grid-template-columns: 1fr; gap: 36px; }
  .local-map { height: 260px; }

  /* CTA */
  .cta-section { padding: 80px 0; }
  .cta-section h2 { letter-spacing: -0.5px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary { width: 100%; max-width: 360px; justify-content: center; }

  /* Footer */
  footer { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-brand p { max-width: none; }

  /* Sticky CTA */
  .sticky-cta { bottom: 16px; right: 16px; left: 16px; }
  .sticky-cta-inner { justify-content: space-between; border-radius: 16px; }
  .sticky-cta-btn { flex: 1; border-radius: 16px; justify-content: center; }
}
