/* =============================================
   CLZR — Sales Intelligence
   CSS Stylesheet
   ============================================= */

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

:root {
  --black: #0D0D0D;
  --surface: #1A1A1A;
  --surface-2: #222222;
  --red: #FF3B30;
  --red-dim: rgba(255,59,48,0.15);
  --white: #F5F5F5;
  --gray: #888;
  --gray-2: #444;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-condensed: 'Inter', sans-serif;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.red { color: var(--red); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

@media (max-width: 600px) {
  .container { padding: 0 20px; }
}


/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.3s, border-bottom 0.3s;
}

#navbar.scrolled {
  background: rgba(13,13,13,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 36px; }
.logo-dark { display: block; }
.logo-light { display: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

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

.btn-nav {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  transition: opacity 0.2s, box-shadow 0.3s;
  white-space: nowrap;
  animation: navPulse 2s infinite;
}

@keyframes navPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.btn-nav:hover { 
  opacity: 0.85; 
  animation: none;
  box-shadow: 0 4px 16px rgba(255, 59, 48, 0.6);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--surface);
  padding: 16px 24px 24px;
  gap: 16px;
  border-top: 1px solid var(--gray-2);
}

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

.nav-mobile a {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

.nav-mobile .btn-nav { width: fit-content; margin-top: 8px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 3px;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { 
  opacity: 1; 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(255, 59, 48, 0.3);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 13px 32px;
  border: 1px solid var(--gray-2);
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--white); }

.btn-large { font-size: 17px; padding: 16px 40px; }

/* =============================================
   SECTION LABELS & HEADLINES
   ============================================= */
.section-label {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-label.light { color: var(--red); }

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}


/* =============================================
   HERO
   ============================================= */
#hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.waveform-bg {
  position: absolute;
  bottom: -10%;
  right: -5%;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 70%;
  opacity: 0.04;
}

.wb-bar {
  width: 48px;
  height: var(--h);
  background: var(--red);
  border-radius: 4px 4px 0 0;
  animation: wbPulse 3s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes wbPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.6; transform: scaleY(0.85); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
  margin-left: calc((100vw - 1160px) / 2);
}


@media (max-width: 1200px) {
  .hero-content { margin-left: 24px; }
}

.hero-eyebrow {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.35s;
}


.hero-sub {
  font-size: 17px;
  color: var(--gray);
  max-width: 480px;
  line-height: 1.5;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.5s;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.65s;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.8s;
}

.hero-badges span {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--gray-2);
  padding: 4px 10px;
  border-radius: 2px;
}

/* Score card */
.hero-score-card {
  position: absolute;
  right: calc((100vw - 1160px) / 2);
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  transform-origin: right center;
  z-index: 2;
  opacity: 0;
  animation: fadeLeft 0.8s ease forwards 1s;
}

@media (max-width: 1200px) {
  .hero-score-card { right: 24px; }
}

@media (max-width: 900px) {
  .hero-score-card { display: none; }
}

.score-card-inner {
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 28px;
  width: 320px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.score-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sc-waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}

.sc-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--red);
  animation: barAnim 1.2s ease-in-out infinite;
}

.sc-waveform span:nth-child(1) { height: 40%; animation-delay: 0s; }
.sc-waveform span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.sc-waveform span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.sc-waveform span:nth-child(4) { height: 85%; animation-delay: 0.3s; }
.sc-waveform span:nth-child(5) { height: 55%; animation-delay: 0.4s; }
.sc-waveform span:nth-child(6) { height: 75%; animation-delay: 0.2s; }
.sc-waveform span:nth-child(7) { height: 40%; animation-delay: 0.5s; }

@keyframes barAnim {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

.sc-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.score-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.score-number {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--red);
}

.score-denom {
  font-family: var(--font-condensed);
  font-size: 20px;
  font-weight: 600;
  color: var(--gray);
}

.score-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.si {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.si-pass { color: var(--white); }
.si-fail { color: var(--gray); }
.si-icon { font-size: 11px; width: 16px; text-align: center; }
.si-pass .si-icon { color: var(--red); }
.si-fail .si-icon { color: var(--gray-2); }

.score-rep {
  font-size: 11px;
  color: var(--gray);
  padding-top: 16px;
  border-top: 1px solid var(--gray-2);
}

/* =============================================
   TICKER
   ============================================= */
.ticker-wrap {
  overflow: hidden;
  background: var(--red);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

.ticker-dot { color: rgba(255,255,255,0.5) !important; margin: 0 12px; }

@media (max-width: 768px) {
  .ticker-track { gap: 32px; }
  .ticker-track span { font-size: 11px; }
}


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

/* =============================================
   DASHBOARD DEMO
   ============================================= */
.dashboard-section {
  padding: 80px 0 0;
  position: relative;
  z-index: 10;
  margin-top: 0;
}

.dash-image-wrapper {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 80px rgba(255, 59, 48, 0.15);
  overflow: hidden;
  background: var(--surface);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dash-image-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 50px 120px rgba(0,0,0,0.9), 0 0 100px rgba(255, 59, 48, 0.25);
}

.dash-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 20;
  overflow-x: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.dash-tabs-wrap::-webkit-scrollbar { display: none; }


.dash-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 4px;
  backdrop-filter: blur(12px);
}

.d-tab {
  background: transparent;
  border: none;
  color: var(--gray);
  padding: 10px 24px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.d-tab:hover {
  color: var(--white);
}

.d-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.d-panel {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  height: 100%;
}

@media (max-width: 900px) {
  .d-panel { grid-template-columns: 1fr; gap: 24px; }
}


.d-panel.active {
  display: grid;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dash-ui {
  display: flex;
  flex-direction: column;
  background: #0A0A0A;
  width: 100%;
  min-height: 820px;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .dash-ui { min-height: auto; }
}


.dash-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-ui-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-ui-subtitle {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray);
  padding-left: 16px;
  border-left: 1px solid var(--gray-2);
}

.dash-ui-user {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--white);
  font-weight: 500;
}

.user-avatar {
  width: 28px;
  height: 28px;
  background: var(--gray-2);
  border-radius: 50%;
}

.dash-ui-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 40px;
  height: auto;
  overflow: visible;
}

@media (max-width: 1024px) {
  .dash-ui-body { padding: 32px; gap: 24px; }
}

@media (max-width: 900px) {
  .dash-ui-body { grid-template-columns: 1fr; padding: 24px; }
}


.dash-ui-panel {
  display: flex;
  flex-direction: column;
}

.dash-panel-title {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-panel-sub {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}

.rep-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.rep-card.alert {
  background: rgba(255, 59, 48, 0.05);
  border-left: 4px solid var(--red);
}

.rep-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.rep-card.alert:hover {
  background: rgba(255, 59, 48, 0.08);
}

.rep-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 160px;
}

.rep-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-2);
}

.rep-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.rep-rank {
  font-size: 12px;
  color: var(--gray);
}

.rep-stats {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rep-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.rep-fill {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

.rep-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  width: 32px;
}

.rep-deals {
  font-size: 12px;
  color: var(--gray);
  text-align: right;
  line-height: 1.4;
}

.metrics-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.metrics-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 59, 48, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.call-score-box {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.cs-title {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

.cs-number {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 40px rgba(255, 59, 48, 0.4);
}

.cs-denom {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--gray);
  font-weight: 500;
}

.cs-status {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-top: 12px;
}

.call-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  margin-bottom: 32px;
}

.call-waveform span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--red);
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}

.call-waveform span:nth-child(even) { animation-delay: 0.2s; }
.call-waveform span:nth-child(3n) { animation-delay: 0.4s; }
.call-waveform span:nth-child(4n) { animation-delay: 0.6s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.2); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; box-shadow: 0 0 10px rgba(255, 59, 48, 0.8); }
}

.call-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.c-tag {
  font-size: 11px;
  color: var(--gray);
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid var(--gray-2);
}

.c-tag.active {
  color: var(--white);
  border-color: var(--red);
  background: rgba(255, 59, 48, 0.1);
}

.call-bottom-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.cb-stat {
  text-align: center;
}

.cb-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gray);
  margin-bottom: 8px;
}

.cb-val {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.dash-glow {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
  pointer-events: none;
}

.route-card {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.route-card.done { border-left-color: #1A7A1A; }
.route-card.done .rc-status { color: #1A7A1A; }
.route-card.active { border-left-color: var(--red); background: rgba(255, 59, 48, 0.05); }
.route-card.active .rc-status { color: var(--red); font-weight: 600; }

.rc-time { font-family: var(--font-condensed); font-size: 13px; color: var(--gray); width: 60px; }
.rc-name { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.rc-status { font-size: 12px; color: var(--gray); }

.coaching-points { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.cp-item { padding: 12px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.cp-item.pass { background: rgba(26, 122, 26, 0.1); color: #2EAB2E; border: 1px solid rgba(26, 122, 26, 0.2); }
.cp-item.fail { background: rgba(255, 165, 0, 0.1); color: #FFA500; border: 1px solid rgba(255, 165, 0, 0.2); }

.vp-stats { display: flex; flex-direction: column; gap: 16px; }
.vp-stat-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 24px; border-radius: 12px; }
.vps-label { font-family: var(--font-condensed); font-size: 12px; color: var(--gray); letter-spacing: 0.1em; margin-bottom: 8px; }
.vps-val { font-size: 32px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 8px; }
.vps-trend { font-size: 13px; font-weight: 500; }
.vps-trend.pass { color: #2EAB2E; }

/* =============================================
   FEATURES
   ============================================= */
#features {
  padding: 140px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feat-card {
  background: var(--surface);
  padding: 36px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.feat-card:hover { 
  background: var(--surface-2); 
  transform: translateY(-4px);
  border-color: rgba(255, 59, 48, 0.2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.feat-large { grid-column: span 2; }

.feat-dark {
  background: var(--black);
  border: 1px solid var(--gray-2);
}

.feat-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.feat-icon svg { 
  width: 100%; 
  height: 100%; 
  filter: drop-shadow(0 0 12px rgba(255, 59, 48, 0.4));
}

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--white);
}

.feat-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.feat-tag {
  display: inline-block;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 10px;
  border-radius: 2px;
}

.crm-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.crm-logos span {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.1);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.hiw-section {
  padding: 140px 0;
  background: var(--surface);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}

.step {
  flex: 1;
  min-width: 160px;
  padding: 0 20px 0 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--red);
  opacity: 0.3;
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.step-arrow {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--red);
  opacity: 0.4;
  padding-top: 12px;
  flex-shrink: 0;
}

/* =============================================
   AUDIENCES
   ============================================= */
#audiences {
  padding: 140px 0;
}

.audience-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gray-2);
  margin-bottom: 64px;
}

.aud-tab {
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  background: none;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: -1px;
}

.aud-tab:hover { color: var(--white); }
.aud-tab.active {
  color: var(--white);
  border-bottom-color: var(--red);
  text-shadow: 0 0 12px rgba(255, 59, 48, 0.5);
}

.aud-panel { display: none; }
.aud-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 400px;
}

.aud-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.aud-copy > p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

.aud-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.aud-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--white);
}

.aud-list li::before {
  content: '→';
  color: var(--red);
  flex-shrink: 0;
  font-family: var(--font-condensed);
  font-weight: 700;
}

.aud-quote {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  color: var(--red);
  border-left: 2px solid var(--red);
  padding-left: 16px;
  letter-spacing: 0.02em;
}

/* Phone mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-screen {
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: 20px;
  padding: 24px;
  width: 240px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.pm-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray);
}

.pm-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.pm-wave span {
  display: block;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  animation: barAnim 1.2s ease-in-out infinite;
}

.pm-wave span:nth-child(1) { height: 40%; }
.pm-wave span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.pm-wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.pm-wave span:nth-child(4) { height: 70%; animation-delay: 0.15s; }
.pm-wave span:nth-child(5) { height: 50%; animation-delay: 0.3s; }

.pm-score {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--red);
}

.pm-score span {
  font-size: 20px;
  color: var(--gray);
}

.pm-label {
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pm-bar {
  height: 4px;
  background: var(--gray-2);
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}

.pm-bar-fill {
  height: 100%;
  background: var(--red);
  border-radius: 2px;
}

.pm-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-item {
  font-size: 12px;
  font-weight: 500;
}

.pm-item.pass { color: var(--white); }
.pm-item.fail { color: var(--gray); }

/* Dashboard mockup */
.dashboard-mockup {
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.dm-header {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.dm-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.dm-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dm-name {
  font-size: 13px;
  font-weight: 500;
  width: 80px;
  flex-shrink: 0;
}

.dm-track {
  flex: 1;
  height: 4px;
  background: var(--gray-2);
  border-radius: 2px;
  overflow: visible;
}

.dm-fill {
  height: 100%;
  max-width: 100%;
  background: var(--red);
  border-radius: 2px;
  transition: width 1s ease;
}

.dm-val {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  width: 40px;
  text-align: right;
}

.dm-val.red-text, .red-text { color: var(--red); }

.dm-footer {
  font-size: 12px;
  color: var(--gray);
  border-top: 1px solid var(--gray-2);
  padding-top: 14px;
}

/* =============================================
   PROOF
   ============================================= */
.proof-section {
  background: var(--surface);
  padding: 80px 0;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid var(--gray-2);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 32px;
  border-right: 1px solid var(--gray-2);
}

.proof-stat:last-child { border-right: none; }

.ps-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--white);
}

.ps-unit {
  font-size: 32px;
  color: var(--gray);
}

.ps-label {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.compliance-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.comp-badge {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.3);
  padding: 8px 24px;
  border-radius: 30px;
}

.comp-note {
  font-size: 13px;
  color: var(--gray);
  margin-left: 8px;
}

/* =============================================
   PAIN SECTION
   ============================================= */
.pain-section {
  padding: 140px 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pain-card {
  background: var(--surface);
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.pain-card:hover { 
  background: var(--surface-2); 
  transform: translateY(-4px);
  border-color: rgba(255, 59, 48, 0.2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.pain-q {
  font-style: italic;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-2);
}

.pain-a {
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.4;
}

/* =============================================
   DEMO CTA
   ============================================= */
.demo-section {
  background: var(--black);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-2);
}

.demo-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.demo-waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 60px;
  margin-bottom: 32px;
}

.demo-waveform span {
  display: block;
  width: 6px;
  border-radius: 3px;
  background: var(--red);
  animation: barAnim 1.4s ease-in-out infinite;
}

.demo-waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.demo-waveform span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.demo-waveform span:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.demo-waveform span:nth-child(4) { height: 100%; animation-delay: 0.3s; }
.demo-waveform span:nth-child(5) { height: 90%; animation-delay: 0.4s; }
.demo-waveform span:nth-child(6) { height: 70%; animation-delay: 0.3s; }
.demo-waveform span:nth-child(7) { height: 85%; animation-delay: 0.2s; }
.demo-waveform span:nth-child(8) { height: 55%; animation-delay: 0.1s; }
.demo-waveform span:nth-child(9) { height: 35%; animation-delay: 0s; }
.demo-waveform span:nth-child(10) { height: 20%; animation-delay: 0.5s; }

.demo-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.demo-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.demo-sub {
  font-size: 18px;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.demo-form {
  max-width: 680px;
  margin: 0 auto 20px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.form-row input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: 3px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.form-row input::placeholder { color: var(--gray); }
.form-row input:focus { border-color: var(--red); }

.demo-note {
  font-size: 13px;
  color: var(--gray);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--surface);
  border-top: 1px solid var(--gray-2);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo img { height: 28px; }

.footer-logo span {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-2);
  border-top: 1px solid var(--gray-2);
  padding-top: 24px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(32px) translateY(-50%); }
  to { opacity: 1; transform: translateX(0) translateY(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-large { grid-column: span 2; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-stat { border-right: 1px solid var(--gray-2); border-bottom: 1px solid var(--gray-2); }
  .proof-stat:nth-child(2n) { border-right: none; }
  .proof-stat:nth-last-child(-n+2) { border-bottom: none; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 767px) {
  .nav-links, .btn-nav:not(.nav-mobile .btn-nav) { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { gap: 0; }

  #hero { flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 48px); }
  .hero-content { padding: 0 24px 60px; margin-left: 0; }
  .hero-headline { font-size: clamp(56px, 15vw, 80px); }

  .features-grid { grid-template-columns: 1fr; }
  .feat-large { grid-column: span 1; }

  .steps { flex-direction: column; gap: 32px; }
  .step-arrow { display: none; }
  .step { padding: 0; }

  .aud-panel.active { grid-template-columns: 1fr; gap: 40px; }

  .proof-grid { grid-template-columns: 1fr 1fr; border-right: none; }
  .proof-stat { border-right: 1px solid var(--gray-2); border-bottom: 1px solid var(--gray-2); padding: 24px; }
  .proof-stat:nth-child(2n) { border-right: none; }
  .proof-stat:nth-last-child(-n+2) { border-bottom: none; }


  .pain-grid { grid-template-columns: 1fr; }

  .form-row { flex-direction: column; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-stat { border-right: none; border-bottom: 1px solid var(--gray-2); }
  .proof-stat:last-child { border-bottom: none; }

  .section-headline { font-size: 36px; }
  .demo-headline { font-size: 52px; }
}
