/* ============================================================
   AutoAddy Landing Page — Complete Design System
   Dark charcoal + electric green · autoaddy.net
   Brief: media command center for automotive dealership groups
============================================================ */

/* === RESET ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; outline: none; }
ul[role="list"] { list-style: none; }

/* === DESIGN TOKENS ======================================================== */
:root {
  /* Dark palette (per brief) */
  --bg:          #0B0E14;
  --bg-surface:  #111620;
  --bg-raised:   #161D28;
  --bg-card:     #1B2333;
  --bg-card-2:   #1F2840;

  /* Borders */
  --border:      rgba(255,255,255,0.07);
  --border-md:   rgba(255,255,255,0.13);
  --border-lg:   rgba(255,255,255,0.2);

  /* Electric green (primary accent per brief) */
  --green:       #42FF88;
  --green-dim:   #21D66B;
  --green-glow:  rgba(66,255,136,0.12);
  --green-text:  #42FF88;

  /* Neutrals */
  --white:       #FFFFFF;
  --gray:        #8A94A6;
  --gray-light:  #C4CDD8;

  /* Status colors */
  --red:         #FF4E4E;
  --red-bg:      rgba(255,78,78,0.1);
  --amber:       #FFB340;
  --amber-bg:    rgba(255,179,64,0.12);
  --blue:        #4E8CFF;
  --blue-bg:     rgba(78,140,255,0.12);
  --green-bg:    rgba(66,255,136,0.1);
  --purple:      #A78BFA;
  --purple-bg:   rgba(167,139,250,0.12);

  /* Typography */
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --section-v: 8rem;

  /* Motion */
  --ease:     cubic-bezier(0.22,1,0.36,1);
  --ease-out: cubic-bezier(0,0,0.2,1);

  /* Radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-2xl: 32px;
}

/* === BASE ================================================================= */
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === UTILITY CLASSES ====================================================== */
.text-green {
  background: linear-gradient(135deg, var(--green) 0%, #B8FDD2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.125rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  padding: 0.28rem 0.8rem;
  border: 1px solid rgba(66,255,136,0.28);
  border-radius: 100px;
  background: rgba(66,255,136,0.07);
  margin-bottom: 1.375rem;
}

.section-tag--red {
  color: var(--red);
  border-color: rgba(255,78,78,0.28);
  background: rgba(255,78,78,0.07);
}

/* === STATUS PILLS ========================================================= */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
}
.pill--green  { color: var(--green);  background: var(--green-bg);  border: 1px solid rgba(66,255,136,0.25); }
.pill--amber  { color: var(--amber);  background: var(--amber-bg);  border: 1px solid rgba(255,179,64,0.25); }
.pill--red    { color: var(--red);    background: var(--red-bg);    border: 1px solid rgba(255,78,78,0.25); }
.pill--blue   { color: var(--blue);   background: var(--blue-bg);   border: 1px solid rgba(78,140,255,0.25); }
.pill--sm { font-size: 0.62rem; padding: 0.18rem 0.5rem; }

/* === BUTTONS ============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-md);
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn--green {
  background: var(--green);
  color: #0A0E14;
  box-shadow: 0 4px 20px rgba(66,255,136,0.28);
}
.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(66,255,136,0.44);
}
.btn--green:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--border-md); }

.btn--outline {
  background: transparent;
  color: var(--gray-light);
  border: 1px solid var(--border-md);
}
.btn--outline:hover { color: var(--white); border-color: var(--border-lg); background: rgba(255,255,255,0.04); }

.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: var(--r-md); }

/* === EYEBROW ============================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  padding: 0.3rem 0.875rem;
  border: 1px solid rgba(66,255,136,0.22);
  border-radius: 100px;
  background: rgba(66,255,136,0.06);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2.2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(66,255,136,0.5); }
  50%      { opacity:.75; box-shadow:0 0 0 5px rgba(66,255,136,0); }
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 2rem;
  transition: background 0.35s var(--ease), border-color 0.35s;
}

.nav.is-scrolled {
  background: rgba(11,14,20,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img { height: 28px; width: auto; }

.nav__links {
  display: flex; list-style: none; gap: 0.125rem; margin-left: auto;
}
.nav__links a {
  display: block;
  padding: 0.45rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav__actions { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem; margin-left: auto;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s var(--ease); transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__drawer {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 199;
  background: rgba(11,14,20,0.97);
  backdrop-filter: blur(24px);
  padding: 5.5rem 2rem 2.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.nav__drawer.is-open { transform: translateY(0); }
.nav__drawer ul { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; }
.nav__drawer a {
  display: block; padding: 0.75rem 1rem;
  font-size: 1.1rem; font-weight: 600; font-family: var(--display);
  color: rgba(255,255,255,0.75); border-radius: var(--r-md);
  transition: color 0.2s, background 0.2s;
}
.nav__drawer a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav__drawer .btn--green { width: 100%; justify-content: center; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 80px;
}

.hero__fx {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(66,255,136,0.08) 0%, transparent 70%);
  top: -20%; left: -8%;
  animation: orb1 24s ease-in-out infinite;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(78,140,255,0.1) 0%, transparent 70%);
  bottom: -10%; right: 10%;
  animation: orb2 30s ease-in-out infinite;
}

@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(6%,8%) scale(1.1); }
  66%     { transform: translate(-5%,3%) scale(0.92); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-8%,6%) scale(1.12); }
  66%     { transform: translate(5%,-5%) scale(0.9); }
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 35%, black 0%, transparent 100%);
}

.hero__inner {
  position: relative; z-index: 1; flex: 1;
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero__content { display: flex; flex-direction: column; align-items: flex-start; }

.hero__h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero__em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green) 0%, #A8FFD0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 470px;
  margin-bottom: 2.25rem;
}

.hero__ctas { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hero__trust {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.01em;
  line-height: 1.5;
  border-left: 2px solid rgba(66,255,136,0.3);
  padding-left: 0.875rem;
}

/* Hero visual */
.hero__visual { position: relative; }

/* ============================================================
   LOOP VISUAL — Three-Tier Closed Loop Hero Graphic
============================================================ */
.loop-vis {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  animation: dash-float 9s ease-in-out infinite;
}

.loop-vis__stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* Cards */
.loop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}
.loop-card__accent {
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  border-radius: 3px 0 0 3px;
}
.loop-card__accent--blue   { background: var(--blue); }
.loop-card__accent--green  { background: var(--green); }
.loop-card__accent--purple { background: var(--purple); }

.loop-card__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-left: 0.25rem;
}
.loop-card__num {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray);
}
.loop-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.loop-card__dot--blue   { background: var(--blue);   box-shadow: 0 0 8px rgba(78,140,255,0.7); }
.loop-card__dot--green  { background: var(--green);  box-shadow: 0 0 8px rgba(66,255,136,0.7); }
.loop-card__dot--purple { background: var(--purple); box-shadow: 0 0 8px rgba(167,139,250,0.7); }

.loop-card__body { flex: 1; min-width: 0; }

.loop-card__badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.35rem;
}
.loop-card__badge--blue   { color: var(--blue);   background: var(--blue-bg); }
.loop-card__badge--green  { color: var(--green);  background: var(--green-bg); }
.loop-card__badge--purple { color: var(--purple); background: var(--purple-bg); }

.loop-card__name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  line-height: 1;
}
.loop-green {
  background: linear-gradient(135deg, var(--green) 0%, #B8FDD2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loop-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.loop-card__chips span {
  font-size: 0.67rem;
  color: var(--gray);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
}

/* Connectors */
.loop-conn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0 1.25rem;
  height: 44px;
}
.loop-conn__line {
  width: 2px;
  height: 100%;
  background: var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  flex-shrink: 0;
}
.loop-conn__particle {
  position: absolute;
  top: -10px;
  left: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: loop-flow 2.2s ease-in-out infinite;
}
.loop-conn--1 .loop-conn__particle {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(78,140,255,0.9);
  animation-delay: 0s;
}
.loop-conn--2 .loop-conn__particle {
  background: var(--green);
  box-shadow: 0 0 10px rgba(66,255,136,0.9);
  animation-delay: 0.9s;
}
@keyframes loop-flow {
  0%   { top: -10px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: calc(100% + 10px); opacity: 0; }
}

.loop-conn__label {
  font-size: 0.67rem;
  color: var(--gray);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Arc */
.loop-vis__arc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  width: 60px;
  flex-shrink: 0;
}
.loop-arc__svg { flex: 1; width: 54px; }
.loop-arc__label {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 0.6;
  line-height: 1;
}

/* Floating badges */
.loop-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-raised);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  padding: 0.6rem 0.875rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.loop-badge strong { display: block; color: var(--white); font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
.loop-badge span   { color: var(--gray); font-size: 0.68rem; }
.loop-badge__icon  { font-size: 1rem; flex-shrink: 0; }

.loop-badge--top {
  top: -18px;
  right: 64px;
  animation: badge-float 4s ease-in-out infinite;
}
.loop-badge--bot {
  bottom: -18px;
  left: -12px;
  animation: badge-float 4s ease-in-out infinite 2s;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ============================================================
   DASHBOARD MOCKUP
============================================================ */
.dash {
  background: var(--bg-surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 64px 180px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.08) inset;
  animation: dash-float 9s ease-in-out infinite;
}

@keyframes dash-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.dash__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0.7rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.dash__dot { width: 10px; height: 10px; border-radius: 50%; }
.dash__dot--r { background: #FF5F57; }
.dash__dot--y { background: #FEBC2E; }
.dash__dot--g { background: #28C840; }

.dash__url {
  margin-left: 0.5rem;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.22);
  font-family: var(--display);
  letter-spacing: 0.04em;
  flex: 1;
  text-align: center;
}

.dash__status {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.6rem; font-weight: 600;
  color: var(--green); letter-spacing: 0.06em;
}
.dash__live {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  animation: pulse-dot 2s ease infinite;
}

.dash__body {
  display: flex;
  height: 420px;
}

/* Sidebar */
.dash__sidebar {
  width: 54px;
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--border);
  padding: 0.875rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.dash__sidebar-logo { width: 28px; height: auto; margin-bottom: 0.5rem; }

.dash__nav-items { display: flex; flex-direction: column; gap: 0.625rem; width: 100%; }

.dash__nav-item {
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  margin: 0 auto;
  transition: background 0.2s;
}
.dash__nav-item--active {
  background: var(--green-bg);
  border: 1px solid rgba(66,255,136,0.25);
  box-shadow: 0 0 12px rgba(66,255,136,0.12);
}

/* Main content */
.dash__main {
  flex: 1; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  overflow: hidden; min-width: 0;
}

.dash__toprow { display: flex; justify-content: space-between; align-items: flex-start; }

.dash__fake-title {
  font-family: var(--display);
  font-size: 0.8rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
}
.dash__fake-sub { font-size: 0.65rem; color: var(--gray); margin-top: 2px; }

.dash__btn {
  font-size: 0.65rem; font-weight: 700; font-family: var(--display);
  color: #0A0E14;
  background: var(--green);
  border-radius: 6px;
  padding: 0.3rem 0.625rem;
  cursor: default;
}

/* Stat tiles */
.dash__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.dash__stat {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.625rem;
  min-width: 0;
}

.dash__stat-label {
  font-size: 0.58rem; color: var(--gray);
  font-weight: 500; letter-spacing: 0.03em; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash__stat-val {
  font-family: var(--display);
  font-size: 0.875rem; font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 3px;
}
.dash__stat-val--big { font-size: 0.95rem; }
.dash__stat-delta { font-size: 0.56rem; font-weight: 600; }
.dash__stat-delta.up { color: var(--green); }
.dash__stat-delta.neutral { color: var(--gray); }

/* Alerts */
.dash__alerts {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.dash__alert {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.62rem; font-weight: 600; font-family: var(--display);
  padding: 0.25rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.dash__alert--amber { color: var(--amber); background: var(--amber-bg); border: 1px solid rgba(255,179,64,0.2); }
.dash__alert--red   { color: var(--red);   background: var(--red-bg);   border: 1px solid rgba(255,78,78,0.2); }
.dash__alert--blue  { color: var(--blue);  background: var(--blue-bg);  border: 1px solid rgba(78,140,255,0.2); }
.dash__alert-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.dash__section-label {
  font-size: 0.62rem; font-weight: 700; font-family: var(--display);
  color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase;
}

/* Creative cards */
.dash__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

.dash__card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
}

.dash__card-thumb {
  aspect-ratio: 16/9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.dash__card-thumb--hyundai {
  background: linear-gradient(135deg, #003399 0%, #0055cc 100%);
}
.dash__card-thumb--ford {
  background: linear-gradient(135deg, #003087 0%, #0046af 100%);
}
.dash__card-thumb--kia {
  background: linear-gradient(135deg, #05141F 0%, #BE2228 100%);
}

.dash__card-play {
  font-size: 0.6rem;
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
}
.dash__card-dur {
  position: absolute; bottom: 3px; right: 4px;
  font-size: 0.52rem; font-weight: 700; font-family: var(--display);
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.4);
  padding: 1px 4px; border-radius: 3px;
}

.dash__card-info { padding: 0.4rem 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.dash__card-title { font-size: 0.6rem; font-weight: 600; font-family: var(--display); color: rgba(255,255,255,0.8); line-height: 1.3; }
.dash__card-meta  { font-size: 0.55rem; color: var(--gray); }

/* Performance Pulse */
.dash__pulse {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  background: rgba(66,255,136,0.05);
  border: 1px solid rgba(66,255,136,0.18);
  border-radius: var(--r-sm);
}
.dash__pulse-icon { flex-shrink: 0; }
.dash__pulse-label { font-size: 0.55rem; font-weight: 700; color: var(--green); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.dash__pulse-text { font-size: 0.62rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.dash__pulse-text strong { color: var(--green); }

/* Floating badges */
.fbadge {
  position: absolute;
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  background: rgba(17,22,32,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-md);
  border-radius: var(--r-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  white-space: nowrap;
  pointer-events: none;
}
.fbadge--tl { bottom: 14%; left: -10%; animation: fbadge1 11s ease-in-out infinite; }
.fbadge--br { top: 8%;   right: -10%; animation: fbadge2 14s ease-in-out infinite; }

@keyframes fbadge1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fbadge2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }

.fbadge__icon { font-size: 1.125rem; }
.fbadge__body { display: flex; flex-direction: column; line-height: 1.3; }
.fbadge__body strong { font-size: 0.75rem; font-weight: 600; color: var(--white); }
.fbadge__body span   { font-size: 0.68rem; color: var(--gray); }

/* Scroll cue */
.hero__scroll-cue {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.5rem 2rem 2.5rem;
}
.hero__scroll-cue span { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.18); }
.scroll-track { width: 1px; height: 44px; background: rgba(255,255,255,0.06); overflow: hidden; }
.scroll-thumb { width: 100%; height: 50%; background: var(--green); animation: scroll-cue 2.2s ease-in-out infinite; }
@keyframes scroll-cue {
  0%   { transform: translateY(-100%); opacity:0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(200%); opacity:0; }
}

/* ============================================================
   TRUST STRIP
============================================================ */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.012);
  overflow: hidden;
  padding: 1.5rem 0;
}
.trust__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.trust__label {
  font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.trust__marquee {
  width: 100%; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust__track {
  display: flex; gap: 2rem; align-items: center;
  animation: marquee 32s linear infinite;
  white-space: nowrap; width: max-content;
}
.trust__track span {
  font-family: var(--display);
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.trust__dot { color: rgba(66,255,136,0.3) !important; }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ============================================================
   PAIN SECTION
============================================================ */
.pain { padding: var(--section-v) 2rem; }
.pain__inner { max-width: var(--container); margin: 0 auto; }

.pain__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1rem;
  display: flex; flex-direction: column; gap: 0.625rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.pain-card:hover { transform: translateY(-3px); border-color: rgba(255,78,78,0.25); }

.pain-card__icon { font-size: 1.375rem; }
.pain-card__text { font-size: 0.85rem; color: var(--gray-light); line-height: 1.45; }

.pain__punch {
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(66,255,136,0.2);
  border-radius: var(--r-xl);
  background: rgba(66,255,136,0.04);
}
.pain__punch-line {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ============================================================
   WORKFLOW TIMELINE
============================================================ */
.workflow {
  padding: var(--section-v) 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(22,35,107,0.06) 50%, transparent 100%);
  position: relative;
}

.workflow__inner { max-width: var(--container); margin: 0 auto; }

.wf-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 0;
  scrollbar-width: none;
}
.wf-timeline::-webkit-scrollbar { display: none; }

.wf-step {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}

.wf-step__node {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: all 0.3s var(--ease);
}
.wf-step__node:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
  background: var(--bg-raised);
}

.wf-step--active .wf-step__node {
  background: var(--green-bg);
  border-color: rgba(66,255,136,0.5);
  box-shadow: 0 0 24px rgba(66,255,136,0.2);
}

.wf-step__num {
  position: absolute;
  top: -8px; right: -8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-md);
  font-size: 0.55rem; font-weight: 800;
  font-family: var(--display);
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
}

.wf-step--active .wf-step__num { color: var(--green); border-color: rgba(66,255,136,0.4); }

.wf-step__icon { width: 22px; height: 22px; color: var(--gray); }
.wf-step--active .wf-step__icon { color: var(--green); }

.wf-step__label {
  font-family: var(--display);
  font-size: 0.7rem; font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.04em;
  text-align: center;
}
.wf-step--active .wf-step__label { color: var(--white); }

.wf-connector {
  flex: 0 0 40px; height: 1px;
  background: linear-gradient(90deg, var(--border-md), var(--border));
  position: relative;
  margin-top: -36px;
  flex-shrink: 0;
}
.wf-connector--active {
  background: linear-gradient(90deg, rgba(66,255,136,0.6), rgba(66,255,136,0.2));
}

.wf-copy {
  text-align: center; max-width: 560px; margin: 3rem auto 0;
  font-size: 1rem; color: var(--gray); line-height: 1.7;
}

/* ============================================================
   PLATFORM PILLARS
============================================================ */
.pillars {
  padding: var(--section-v) 2rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillars__inner { max-width: var(--container); margin: 0 auto; }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.875rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.pillar-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.035) 0%, transparent 60%);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.pillar-card:hover { transform: translateY(-5px); border-color: var(--border-md); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.pillar-card:hover::after { opacity: 1; }

.pillar-card--green {
  background: rgba(66,255,136,0.04);
  border-color: rgba(66,255,136,0.18);
}
.pillar-card--green:hover {
  border-color: rgba(66,255,136,0.35);
  box-shadow: 0 20px 60px rgba(66,255,136,0.08);
}

.pillar-card__num {
  font-family: var(--display);
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.18);
  position: absolute; top: 1.5rem; right: 1.5rem;
}

.pillar-card__tag {
  display: inline-block;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid rgba(66,255,136,0.22);
  border-radius: 100px;
  padding: 0.18rem 0.5rem;
}

.pillar-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar-card__icon svg { width: 22px; height: 22px; }

.pillar-card__icon--blue   { background: var(--blue-bg);   border: 1px solid rgba(78,140,255,0.25);   color: var(--blue); }
.pillar-card__icon--green  { background: var(--green-bg);  border: 1px solid rgba(66,255,136,0.25);  color: var(--green); }
.pillar-card__icon--amber  { background: var(--amber-bg);  border: 1px solid rgba(255,179,64,0.25);  color: var(--amber); }
.pillar-card__icon--purple { background: var(--purple-bg); border: 1px solid rgba(167,139,250,0.25); color: var(--purple); }

.pillar-card h3 {
  font-family: var(--display);
  font-size: 1.125rem; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.25;
}
.pillar-card__hook { font-style: italic; color: var(--gray-light); font-size: 0.875rem; line-height: 1.45; }
.pillar-card p    { font-size: 0.875rem; color: var(--gray); line-height: 1.65; }

.pillar-card__bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.pillar-card__bullets li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}
.pillar-card__bullets li::before {
  content: '–';
  position: absolute; left: 0;
  color: var(--green);
}

/* Mini cards in Creative Library card */
.pillar-card__preview {
  display: flex; flex-direction: column; gap: 0.4rem;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  margin-top: 0.25rem;
}

.mini-card {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.4rem 0.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.mini-card__play {
  width: 28px; height: 20px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.5rem;
  flex-shrink: 0;
}
.mini-card--a .mini-card__play { background: linear-gradient(135deg, #003399, #0055cc); color: rgba(255,255,255,0.6); }
.mini-card--b .mini-card__play { background: linear-gradient(135deg, #003087, #0046af); color: rgba(255,255,255,0.6); }
.mini-card--c .mini-card__play { background: linear-gradient(135deg, #1a0030, #3d0070); color: rgba(255,255,255,0.6); }

.mini-card__info { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; flex: 1; }
.mini-card__title { font-size: 0.62rem; font-weight: 600; font-family: var(--display); color: rgba(255,255,255,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Campaign preview */
.campaign-preview {
  display: flex; flex-direction: column; gap: 0.4rem;
  border-top: 1px solid var(--border); padding-top: 0.875rem;
}
.cp-row {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-family: var(--display);
}
.cp-name { flex: 1; color: rgba(255,255,255,0.7); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-stat { color: var(--gray); font-size: 0.65rem; white-space: nowrap; }

/* Pulse preview */
.pulse-preview { display: flex; flex-direction: column; gap: 0.5rem; }
.pulse-card {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
}
.pulse-card strong { color: var(--green); }
.pulse-card__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  flex-shrink: 0; margin-top: 0.3rem;
  box-shadow: 0 0 6px rgba(66,255,136,0.5);
}
.pulse-card__dot--amber { background: var(--amber); box-shadow: 0 0 6px rgba(255,179,64,0.4); }

/* ============================================================
   CHAOS NODE CANVAS
============================================================ */
.chaos-stage {
  position: relative;
  width: 100%;
  margin-bottom: 3.5rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 78, 78, 0.14);
  background: var(--bg-surface);
}

.chaos-canvas {
  display: block;
  width: 100%;
  height: 400px;
}

.chaos-stage__label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 78, 78, 0.45);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 768px) {
  .chaos-canvas { height: 280px; }
}

/* ============================================================
   BEFORE / AFTER
============================================================ */
.ba-section { padding: var(--section-v) 2rem; }
.ba-inner { max-width: var(--container); margin: 0 auto; }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.ba-col {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.ba-col--before { border-color: rgba(255,78,78,0.18); }
.ba-col--after  { border-color: rgba(66,255,136,0.18); background: rgba(66,255,136,0.03); }

.ba-col__header { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.75rem; }
.ba-col__badge {
  font-family: var(--display); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.22rem 0.6rem; border-radius: 100px;
}
.ba-col__badge--before { color: var(--red); background: var(--red-bg); border: 1px solid rgba(255,78,78,0.25); }
.ba-col__badge--after  { color: var(--green); background: var(--green-bg); border: 1px solid rgba(66,255,136,0.25); }

.ba-col__header h3 {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: -0.015em;
}

.ba-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.ba-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9rem; color: var(--gray-light); line-height: 1.45; }
.ba-x     { color: var(--red);   font-weight: 700; flex-shrink: 0; }
.ba-check { color: var(--green); font-weight: 700; flex-shrink: 0; }

.ba-divider {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.5rem; padding-top: 6rem;
}
.ba-divider__line {
  flex: 1; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-md), transparent);
}
.ba-divider__arrow {
  font-size: 1.25rem; color: var(--green);
  background: var(--green-bg);
  border: 1px solid rgba(66,255,136,0.3);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   ROLES
============================================================ */
.roles { padding: var(--section-v) 2rem; background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.roles__inner { max-width: var(--container); margin: 0 auto; }

.roles__tab-bar {
  display: flex; gap: 0.375rem; flex-wrap: wrap;
  justify-content: center; margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg-raised);
  padding: 0.375rem;
  width: fit-content;
  margin-left: auto; margin-right: auto;
}

.role-tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--display); font-size: 0.875rem; font-weight: 600;
  color: var(--gray);
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-md);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.role-tab:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.role-tab--active { color: #0A0E14; background: var(--green); }

.roles__panels { }

.role-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3rem;
}
.role-panel[hidden] { display: none; }

.role-panel__headline {
  font-family: var(--display);
  font-size: 1.375rem; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.role-panel__list {
  list-style: none; display: flex; flex-direction: column; gap: 0.625rem;
}
.role-panel__list li {
  font-size: 0.9rem; color: var(--gray-light);
  padding-left: 1.25rem; position: relative; line-height: 1.45;
}
.role-panel__list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Role visuals */
.role-visual {
  display: flex; flex-direction: column; gap: 0.875rem;
  padding: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
}

.rv-stat {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.rv-stat:last-child { border-bottom: none; padding-bottom: 0; }
.rv-stat span { font-family: var(--display); font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: -0.03em; }
.rv-stat small { font-size: 0.75rem; color: var(--gray); }

.rv-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.82rem; color: var(--gray-light); }

.rv-upload {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1.5rem;
  border: 2px dashed rgba(66,255,136,0.2); border-radius: var(--r-md);
  font-size: 0.85rem; color: var(--gray); text-align: center;
}
.rv-upload__icon { font-size: 1.75rem; }

/* ============================================================
   AI SECTION
============================================================ */
.ai-section {
  padding: var(--section-v) 2rem;
  position: relative; overflow: hidden;
}

.ai-section::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(66,255,136,0.06) 0%, transparent 65%);
  left: -15%; top: 50%; transform: translateY(-50%);
  border-radius: 50%; filter: blur(50px); pointer-events: none;
}

.ai-section__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative; z-index: 1;
}

.ai-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; }
.ai-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.925rem; color: rgba(255,255,255,0.8); }
.ai-check { color: var(--green); font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }

.ai-note {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(66,255,136,0.05);
  border: 1px solid rgba(66,255,136,0.18);
  border-radius: var(--r-sm);
  font-size: 0.78rem; color: var(--gray-light); line-height: 1.4;
  font-style: italic;
}

/* AI Chat mockup */
.ai-chat {
  background: var(--bg-surface);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 48px 140px rgba(0,0,0,0.55);
}

.ai-chat__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--border);
}
.ai-chat__status {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.ai-chat__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(66,255,136,0.6);
  animation: pulse-dot 2s ease infinite;
}
.ai-chat__live {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); background: var(--green-bg);
  border: 1px solid rgba(66,255,136,0.25); border-radius: 100px;
  padding: 0.15rem 0.5rem;
}

.ai-chat__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

.ai-chat__msg { display: flex; gap: 0.625rem; }
.ai-chat__msg--user { justify-content: flex-end; }

.ai-chat__msg--user .ai-chat__bubble {
  background: rgba(78,140,255,0.15);
  border: 1px solid rgba(78,140,255,0.25);
  color: rgba(255,255,255,0.88);
  border-radius: 16px 16px 4px 16px;
  max-width: 82%; font-size: 0.82rem;
  padding: 0.625rem 0.875rem; line-height: 1.5;
}

.ai-chat__msg--ai .ai-chat__bubble {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.82);
  border-radius: 4px 16px 16px 16px;
  font-size: 0.82rem; padding: 0.875rem 1rem;
  flex: 1; line-height: 1.55;
}
.ai-chat__msg--ai .ai-chat__bubble p { margin-bottom: 0; }

.ai-chat__avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.48rem; font-weight: 800; color: #050A05;
  flex-shrink: 0; align-self: flex-start; margin-top: 2px;
}

.ai-hl { color: var(--green); font-weight: 600; }

.ai-chart {
  display: flex; align-items: flex-end; gap: 4px;
  height: 44px; margin-top: 0.875rem;
  padding-top: 0.625rem; border-top: 1px solid var(--border);
}
.ai-bar {
  flex: 1; height: var(--h,50%);
  background: rgba(66,255,136,0.22);
  border-radius: 3px 3px 0 0;
  position: relative; display: flex; align-items: flex-start;
}
.ai-bar--active { background: var(--green); }
.ai-bar span {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  font-size: 0.42rem; color: var(--gray); white-space: nowrap;
}

.typing-dots { display: flex; gap: 4px; align-items: center; height: 18px; }
.typing-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gray); animation: typing 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-6px); opacity: 1; }
}

.ai-chat__input {
  display: flex; gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}
.ai-chat__input input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 0.5rem 0.875rem; font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.ai-chat__send {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--green); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #060A06;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.ai-chat__send:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(66,255,136,0.35); }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  padding: var(--section-v) 2rem;
  position: relative; overflow: hidden;
}
.cta-section__bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.cta-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(66,255,136,0.1) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-90%, -50%);
}
.cta-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(78,140,255,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(15%, -50%);
}

.cta-section__inner {
  max-width: 600px; margin: 0 auto; text-align: center; position: relative; z-index: 1;
}

.cta-section__h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.035em; margin-bottom: 1.125rem;
}

.cta-section__sub { font-size: 1rem; color: var(--gray); line-height: 1.7; margin-bottom: 2.5rem; }

.cta-form { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.cta-email {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-md); border-radius: var(--r-md);
  padding: 0.875rem 1.25rem; font-size: 0.9rem; color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.cta-email::placeholder { color: rgba(255,255,255,0.25); }
.cta-email:focus { border-color: rgba(66,255,136,0.45); background: rgba(255,255,255,0.08); outline: none; }
.cta-email.is-error { border-color: rgba(255,78,78,0.55); animation: shake 0.35s var(--ease); }

@keyframes shake {
  0%,100%{ transform: translateX(0); }
  25%    { transform: translateX(-6px); }
  75%    { transform: translateX(6px); }
}

.cta-fine { font-size: 0.72rem; color: rgba(255,255,255,0.22); }

/* ============================================================
   FOOTER
============================================================ */
.footer { border-top: 1px solid var(--border); padding: 5rem 2rem 2rem; }
.footer__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem 4rem; padding-bottom: 4rem;
  border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}

.footer__brand-link { display: inline-flex; margin-bottom: 1rem; }
.footer__logo { height: 26px; width: auto; }
.footer__tagline { font-size: 0.875rem; color: var(--gray); line-height: 1.6; margin-bottom: 0.5rem; }
.footer__col h4 {
  font-family: var(--display); font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 1rem;
}
.footer__col a { display: block; font-size: 0.875rem; color: var(--gray); margin-bottom: 0.625rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.18);
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
[data-animate] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-delay="60"]  { transition-delay: 0.06s; }
[data-delay="80"]  { transition-delay: 0.08s; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="120"] { transition-delay: 0.12s; }
[data-delay="140"] { transition-delay: 0.14s; }
[data-delay="160"] { transition-delay: 0.16s; }
[data-delay="180"] { transition-delay: 0.18s; }
[data-delay="220"] { transition-delay: 0.22s; }
[data-delay="260"] { transition-delay: 0.26s; }
[data-delay="280"] { transition-delay: 0.28s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="340"] { transition-delay: 0.34s; }
[data-delay="360"] { transition-delay: 0.36s; }
[data-delay="380"] { transition-delay: 0.38s; }

/* ============================================================
   RESPONSIVE — 1100px
============================================================ */
@media (max-width: 1100px) {
  :root { --section-v: 6rem; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { align-items: center; }
  .hero__sub { max-width: 100%; }
  .hero__trust { border-left: none; padding-left: 0; border-top: 1px solid rgba(66,255,136,0.2); padding-top: 0.75rem; }
  .hero__visual { display: none; }

  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .ai-section__inner { grid-template-columns: 1fr; gap: 3rem; }
  .roles__panels .role-panel { grid-template-columns: 1fr; gap: 2rem; }

  .ba-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ba-divider { flex-direction: row; padding: 0; }
  .ba-divider__line { flex: 1; height: 1px; width: auto; background: linear-gradient(90deg, transparent, var(--border-md), transparent); }
  .ba-divider__arrow { transform: rotate(90deg); }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

/* ============================================================
   RESPONSIVE — 768px
============================================================ */
@media (max-width: 768px) {
  :root { --section-v: 5rem; }
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn--green { display: none; }
  .nav__signin {
    display: inline-flex;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
  }
  .nav__hamburger { display: flex; }

  .pain__grid { grid-template-columns: repeat(2, 1fr); }
  .pillars__grid { grid-template-columns: 1fr; }

  .wf-step__node { width: 48px; height: 48px; }
  .wf-step__icon { width: 18px; height: 18px; }
  .wf-connector { flex: 0 0 24px; }

  .dash__stats { grid-template-columns: repeat(2, 1fr); }
  .dash__cards { grid-template-columns: repeat(2, 1fr); }

  .cta-form { flex-direction: column; }
  .cta-form .btn { width: 100%; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .roles__tab-bar { border-radius: var(--r-lg); width: 100%; }
  .role-panel { padding: 1.75rem; }
}

/* ============================================================
   RESPONSIVE — 480px
============================================================ */
@media (max-width: 480px) {
  .nav__inner {
    gap: 0.75rem;
  }

  .nav__logo-img {
    height: 24px;
    max-width: 132px;
  }

  .nav__signin {
    font-size: 0.82rem;
    padding-inline: 0.75rem;
  }

  .pain__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .dash__stats { grid-template-columns: repeat(2, 1fr); }
  .dash__cards { grid-template-columns: 1fr; }
  .dash__body { height: auto; }
  .dash__main { padding: 0.75rem; }
}
