/* ============================================ */
/* AI COMMERCE — BRAND STYLE SYSTEM v1.0       */
/* Minimal Futurist · Dark-First               */
/* ============================================ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --color-cyan:         #00AEEF;
  --color-cyan-bright:  #1DCEFF;
  --color-cyan-deep:    #0087C0;
  --color-black:        #000000;
  --color-bg:           #080A0C;
  --color-surface-1:    #0D1117;
  --color-surface-2:    #111820;
  --color-surface-3:    #161E28;
  --color-surface-4:    #1C2535;
  --color-border:       rgba(0, 174, 239, 0.12);
  --color-border-hover: rgba(0, 174, 239, 0.30);
  --color-text-primary: #FFFFFF;
  --color-text-body:    rgba(255, 255, 255, 0.90);
  --color-text-muted:   rgba(255, 255, 255, 0.60);
  --color-glow:         rgba(0, 174, 239, 0.15);
  --color-success:      #4ADE80;
  --color-warning:      #FACC15;
  --color-error:        #EF4444;

  --font-display: 'Barlow', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --max-width: 1440px;
  --max-width-wide: 1600px;
  --gutter: 24px;
  --pad-desktop: 80px;
  --pad-mobile: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }

/* ─── TYPOGRAPHY ─── */
.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.display-l {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--color-text-primary);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  color: var(--color-text-primary);
}

.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.body-lg {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
}

.text-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.text-muted {
  color: var(--color-text-muted);
}

/* ─── TAGS / BADGES ─── */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(0, 174, 239, 0.06);
  border: 0.5px solid rgba(0, 174, 239, 0.20);
  padding: 4px 12px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  background: rgba(0, 174, 239, 0.06);
  border: 0.5px solid var(--color-border);
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge--active { color: var(--color-cyan); }
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.badge__dot--green {
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse-glow-green 2s ease-in-out infinite;
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-desktop);
}

.container--wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--pad-desktop);
}

.section {
  padding: 120px 0 160px;
  position: relative;
}

.section--bg { background: var(--color-bg); }
.section--surface1 { background: var(--color-bg); }
.section--cta { padding: 160px 0; }

.section__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.5px;
  background: var(--color-cyan);
  opacity: 0.10;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 200ms ease-out;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cyan);
  color: var(--color-black);
  padding: 12px 32px;
  border: none;
}
.btn--primary:hover {
  background: var(--color-cyan-bright);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text-primary);
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn--secondary:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.btn--ghost {
  background: none;
  border: none;
  color: var(--color-cyan);
  padding: 12px 0;
}
.btn--ghost:hover { text-decoration: underline; }

.btn--lg { padding: 16px 40px; font-size: 15px; }
.btn--xl { padding: 20px 48px; font-size: 16px; }
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--full { width: 100%; justify-content: center; }

.arrow { font-size: 1.1em; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition: background 300ms ease, backdrop-filter 300ms ease;
}

.nav--scrolled {
  background: rgba(8, 10, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--color-border);
}

.nav__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--pad-desktop);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer__logo-wrap {
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 200ms, text-decoration 200ms;
  position: relative;
}
.nav__link:hover {
  color: var(--color-text-primary);
}
.nav__link:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-cyan);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__btn-book {
  font-size: 12px;
  padding: 8px 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: all 300ms ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 12, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-text-primary);
  transition: color 200ms;
}
.mobile-menu__link:hover { color: var(--color-cyan); }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 280px;
  margin-top: 32px;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
  padding-top: 64px;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 48px;
  max-width: var(--max-width-wide);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 32px;
}

.hero__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-body);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.hero__metrics {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.metric-mini {
  background: rgba(0, 174, 239, 0.04);
  border: 0.5px solid var(--color-border);
  padding: 16px 20px;
  min-width: 140px;
}

.metric-mini__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.metric-mini__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.hero__scroll-chevron {
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__animation {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
}

.hero__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.node-network {
  width: 100%;
  height: auto;
}

/* ─── DATA LINE ANIMATION ─── */
@media (prefers-reduced-motion: no-preference) {
  .data-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: data-flow 3s linear infinite;
  }
  .data-line--1 { animation-delay: 0s; }
  .data-line--2 { animation-delay: 0.5s; }
  .data-line--3 { animation-delay: 1s; }
  .data-line--4 { animation-delay: 1.5s; }
  .data-line--5 { animation-delay: 2s; }
  .data-line--6 { animation-delay: 2.5s; }
  .data-line--7 { animation-delay: 0.8s; }
  .data-line--8 { animation-delay: 1.3s; }
}

/* ─── PROBLEM SECTION ─── */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.problem__left h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  color: var(--color-text-primary);
}

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

.problem__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.problem__item .body-lg {
  color: var(--color-text-body);
}

/* ─── CARDS ─── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.card {
  background: rgba(0, 174, 239, 0.03);
  border: 0.5px solid var(--color-border);
  padding: 32px;
  transition: background 200ms ease-out, border-color 200ms ease-out;
}

.card:hover {
  background: rgba(0, 174, 239, 0.06);
  border-color: var(--color-border-hover);
}

.card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 24px;
}

.card__icon {
  margin-bottom: 24px;
}

.card .h2 { margin-bottom: 12px; }

.card--sm { padding: 24px; }
.card--sm .card__label { margin-bottom: 12px; }

/* ─── SPLIT LAYOUT ─── */
.split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 120px;
  align-items: center;
}

.split__left .display-l { margin-bottom: 24px; }
.split__left .body-lg { margin-bottom: 16px; }

.feature-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
}

/* ─── FEEDBACK LOOP ─── */
.feedback-loop {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.feedback-loop svg { width: 100%; height: auto; }

/* ─── PLATFORMS ─── */
.platforms-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.platform-group__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.platform-card {
  background: rgba(0, 174, 239, 0.03);
  border: 0.5px solid var(--color-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.platform-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 0 20px var(--color-glow);
}

.platform-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-cyan);
}

.platform-card span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

.platforms__note {
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  margin-top: 48px;
}

/* ─── DASHBOARD MOCKUP ─── */
.dashboard {
  background: var(--color-surface-1);
  border: 0.5px solid var(--color-border);
  overflow: hidden;
}

.dashboard__topbar {
  background: var(--color-surface-2);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--color-border);
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard__topbar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.dashboard__topbar-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 400px;
}

.dashboard__sidebar {
  background: var(--color-bg);
  border-right: 0.5px solid var(--color-border);
  padding: 16px 0;
}

.dashboard__sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 200ms, background 200ms;
}
.dashboard__sidebar-item:hover {
  color: var(--color-text-body);
  background: var(--color-surface-1);
}
.dashboard__sidebar-item.active {
  color: var(--color-cyan);
  background: var(--color-surface-1);
  border-left: 2px solid var(--color-cyan);
}

.dashboard__main {
  padding: 24px;
}

.dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-metric {
  background: rgba(0, 174, 239, 0.03);
  border: 0.5px solid var(--color-border);
  padding: 16px;
}

.dash-metric__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.dash-metric__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.dash-metric__unit {
  font-size: 18px;
  color: var(--color-text-muted);
}

.dash-metric__trend {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.dash-metric__trend--up { color: var(--color-success); }
.dash-metric__trend--down { color: var(--color-error); }

.dashboard__content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
}

/* ─── DASHBOARD TABLE ─── */
.dashboard__table-wrap {
  background: rgba(0, 174, 239, 0.02);
  border: 0.5px solid var(--color-border);
  padding: 16px;
  overflow-x: auto;
}

.dash-table__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 0.5px solid var(--color-border);
}

.dash-table td {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-body);
  padding: 10px 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}

.dash-table tr:nth-child(even) { background: rgba(0, 174, 239, 0.03); }
.dash-table__name { color: var(--color-text-primary); font-family: var(--font-body); font-size: 13px; }

.status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-success);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  display: inline-block;
  animation: pulse-glow-green 2s ease-in-out infinite;
}

/* ─── DASHBOARD EVENTS ─── */
.dashboard__events {
  background: rgba(0, 174, 239, 0.02);
  border: 0.5px solid var(--color-border);
  padding: 16px;
}

.dash-event {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.dash-event:last-child { border-bottom: none; }

.dash-event__date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  white-space: nowrap;
  padding-top: 2px;
}

.dash-event__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.dash-event__meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* ─── TABS ─── */
.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid var(--color-border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }

.tabs__tab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 16px 24px;
  border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms;
  flex-shrink: 0;
}
.tabs__tab:hover { color: var(--color-text-body); }
.tabs__tab.active {
  color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
}

.tabs__panel {
  display: none;
}
.tabs__panel.active { display: block; }

.tabs__panel-inner {
  max-width: 640px;
}

.tabs__panel-icon { margin-bottom: 24px; }
.tabs__panel-inner .h1 { margin-bottom: 16px; }
.tabs__panel-inner .text-body { margin-bottom: 24px; }

.tabs__list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tabs__list li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body);
  padding-left: 20px;
  position: relative;
}
.tabs__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
}

/* ─── RESULTS METRICS ─── */
.results__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin: 64px 0;
}

.result-metric {
  text-align: center;
  padding: 32px 16px;
}

.result-metric__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.result-metric__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  max-width: 200px;
  margin: 0 auto;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.testimonial {
  background: rgba(0, 174, 239, 0.03);
  border: 0.5px solid var(--color-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.testimonial__stars {
  color: #FACC15;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial__quote {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-body);
  flex-grow: 1;
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-primary);
}

.testimonial__company {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* ─── TIMELINE ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin-top: 80px;
}

.timeline__step {
  position: relative;
  padding-right: 24px;
}

.timeline__number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 6vw, 80px);
  line-height: 1;
  color: var(--color-cyan);
  opacity: 0.25;
  margin-bottom: 16px;
}

.timeline__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 12px;
}

.timeline__step .h2 { margin-bottom: 12px; }

.timeline__connector {
  position: absolute;
  top: 40px;
  right: 0;
  width: 24px;
  height: 1px;
  border-top: 1px dashed var(--color-cyan);
  opacity: 0.3;
}

.timeline__step:last-child .timeline__connector { display: none; }

/* ─── PRICING ─── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.pricing__card {
  background: rgba(0, 174, 239, 0.03);
  border: 0.5px solid var(--color-border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.pricing__card--featured {
  border-color: rgba(0, 174, 239, 0.6);
  background: rgba(0, 174, 239, 0.06);
  position: relative;
}

.pricing__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.pricing__label--cyan { color: var(--color-cyan); }

.pricing__tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  display: inline-block;
  background: rgba(0, 174, 239, 0.04);
  border: 0.5px solid var(--color-border);
  padding: 4px 12px;
}

.pricing__card .h1 {
  margin: 16px 0 24px;
  font-size: 24px;
}

.pricing__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing__features li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body);
  padding-left: 20px;
  position: relative;
}
.pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
}

.pricing__note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 48px;
}

/* ─── AUTOMATIONS TABS ─── */
.auto-tabs {
  width: 100%;
}

.auto-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid var(--color-border);
  margin-bottom: 32px;
}

.auto-tabs__tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 16px 32px;
  border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms;
  flex-shrink: 0;
  cursor: pointer;
}
.auto-tabs__tab:hover { color: var(--color-text-body); }
.auto-tabs__tab.active {
  color: var(--color-cyan);
  border-bottom-color: var(--color-cyan);
}

.auto-tabs__panel {
  display: none;
}
.auto-tabs__panel.active {
  display: block;
}

.auto-tabs__iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: 0.5px solid var(--color-border);
  background: var(--color-bg);
  display: block;
}

/* ─── CTA SECTION ─── */
.section--cta {
  text-align: center;
  overflow: hidden;
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta__content .display-xl {
  margin-bottom: 24px;
}

.cta__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 24px;
}

.cta__email {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--color-cyan);
  margin-top: 16px;
  transition: text-decoration 200ms;
}
.cta__email:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
.footer {
  background: var(--color-bg);
  border-top: 0.5px solid var(--color-border);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0.5px solid var(--color-border);
  background: rgba(0, 174, 239, 0.04);
  color: var(--color-text-muted);
  transition: color 200ms, border-color 200ms, background 200ms, box-shadow 200ms;
}
.footer__social-link:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
  background: rgba(0, 174, 239, 0.08);
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.15);
}
.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-body);
  padding: 4px 0;
  transition: color 200ms;
}
.footer__link:hover { color: var(--color-text-primary); }
.footer__link--cyan { color: var(--color-cyan); }
.footer__link--cyan:hover { text-decoration: underline; }

.footer__location {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 16px;
}

.footer__bottom {
  border-top: 0.5px solid var(--color-border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
  .reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
  .reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
  .reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
  .reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
  .reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
  .reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
  .reveal-stagger.visible > *:nth-child(8) { transition-delay: 560ms; }
}

/* ─── KEYFRAME ANIMATIONS ─── */
@keyframes pulse-glow-green {
  0%, 100% { box-shadow: 0 0 4px var(--color-success); }
  50% { box-shadow: 0 0 12px var(--color-success); }
}

@keyframes pulse-glow-cyan {
  0%, 100% { box-shadow: 0 0 4px rgba(0,174,239,0.3); }
  50% { box-shadow: 0 0 16px rgba(0,174,239,0.5); }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 0.8; }
}

@keyframes data-flow {
  0% { stroke-dashoffset: 200; opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ─── RESPONSIVE — TABLET ─── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .container--wide { padding: 0 32px; }
  .section { padding: 96px 0 120px; }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__sub { margin: 0 auto 40px; }
  .hero__ctas { justify-content: center; }
  .hero__metrics { justify-content: center; flex-wrap: wrap; }
  .hero__scroll { align-items: center; }
  .hero__right { margin-top: 48px; }
  .hero__animation { max-width: 400px; margin: 0 auto; }

  .problem__grid { grid-template-columns: 1fr; gap: 48px; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }

  .dashboard__body { grid-template-columns: 1fr; }
  .dashboard__sidebar { display: none; }
  .dashboard__metrics { grid-template-columns: repeat(2, 1fr); }
  .dashboard__content-grid { grid-template-columns: 1fr; }

  .results__metrics { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .timeline__connector { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ─── RESPONSIVE — MOBILE ─── */
@media (max-width: 768px) {
  .container { padding: 0 var(--pad-mobile); }
  .container--wide { padding: 0 var(--pad-mobile); }
  .section { padding: 80px 0 96px; }
  .section--cta { padding: 120px 0; }

  .nav__links { display: none; }
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { padding: 0 var(--pad-mobile); max-width: 100%; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero__headline { margin-bottom: 24px; }
  .hero__metrics { gap: 12px; }
  .metric-mini { min-width: auto; padding: 12px 16px; flex: 1; }
  .metric-mini__number { font-size: 22px; }

  .cards-4 { grid-template-columns: 1fr; }
  .results__metrics { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 40px; }

  .tabs__nav { gap: 0; }
  .tabs__tab { padding: 12px 16px; font-size: 10px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

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

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }
  .hero__metrics { flex-direction: column; }
  .metric-mini { min-width: 100%; }
  .results__metrics { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard__metrics { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE — ULTRAWIDE ─── */
@media (min-width: 1600px) {
  :root {
    --pad-desktop: 120px;
  }
  .container { max-width: 1600px; }
  .container--wide { max-width: 1800px; }
  .nav__inner { max-width: 1800px; }
  .hero__content { gap: 160px; max-width: 1800px; }
  .problem__grid { gap: 160px; }
  .split { gap: 160px; }
  .cards-3 { gap: 32px; }
  .cards-4 { gap: 32px; }
  .pricing { gap: 32px; }
  .testimonials { gap: 32px; }
  .timeline { gap: 40px; }
  .footer__grid { gap: 80px; }
}

@media (min-width: 1920px) {
  :root {
    --pad-desktop: 160px;
  }
  .container { max-width: 1800px; }
  .container--wide { max-width: 1920px; }
  .nav__inner { max-width: 1920px; }
  .hero__content { max-width: 1920px; }
}
