/* ============================================================
   TrainBetter.Coach — Landing Page Styles
   Brand: Navy #0B1D2E, Teal #00B4D8, Orange #F77F00
   Font: Inter
   ============================================================ */

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

:root {
  --navy: #0B1D2E;
  --navy-light: #111A24;
  --navy-card: #0F2236;
  --teal: #00B4D8;
  --teal-dark: #0097B2;
  --orange: #F77F00;
  --orange-dark: #D96E00;
  --swim: #0EA5E9;
  --bike: #8B5CF6;
  --run: #10B981;
  --white: #FFFFFF;
  --white-90: rgba(255,255,255,0.9);
  --white-65: rgba(255,255,255,0.65);
  --white-40: rgba(255,255,255,0.40);
  --white-20: rgba(255,255,255,0.20);
  --white-08: rgba(255,255,255,0.08);
  --border: #1E293B;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-md: 0 4px 12px rgba(11,29,46,0.08);
  --shadow-lg: 0 8px 24px rgba(11,29,46,0.12);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   TEXTURE / GRAIN OVERLAY
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-teal { color: var(--teal); }
.text-center { text-align: center; }
.text-muted { color: var(--white-65); font-size: 0.9rem; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 29, 46, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--white-08);
}

.nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav__wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav__logo img { height: 36px; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links a {
  color: var(--white-65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
}

.btn--sm { font-size: 0.8125rem; padding: 0.5rem 1rem; }
.btn--lg { font-size: 1rem; padding: 0.875rem 1.75rem; }
.btn--full { width: 100%; }

.btn--teal {
  background: var(--teal);
  color: var(--white);
}
.btn--teal:hover { background: var(--teal-dark); }

.btn--orange {
  background: var(--orange);
  color: var(--white);
}
.btn--orange:hover { background: var(--orange-dark); }

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

/* Button arrow micro-interaction */
.btn__arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1em;
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================================
   HERO — Asymmetric layout
   ============================================================ */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Dot grid behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow--teal {
  width: 500px; height: 500px;
  background: var(--teal);
  top: -150px; right: -100px;
  opacity: 0.08;
}
.glow--orange {
  width: 350px; height: 350px;
  background: var(--orange);
  bottom: -100px; left: -80px;
  opacity: 0.05;
}

.hero__content {
  position: relative;
}

/* Asymmetric split: text left, mockup right */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero__text {
  text-align: left;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--white-65);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product mockup frame */
.hero__mockup {
  position: relative;
  perspective: 1200px;
}

.hero__mockup-frame {
  background: #1a2332;
  border-radius: 12px;
  border: 1px solid var(--white-08);
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.05);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__mockup:hover .hero__mockup-frame {
  transform: rotateY(-1deg) rotateX(1deg);
}

.hero__mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0d1a26;
  border-bottom: 1px solid var(--white-08);
}

.hero__mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white-08);
}
.hero__mockup-dot:nth-child(1) { background: #ff5f57; }
.hero__mockup-dot:nth-child(2) { background: #febc2e; }
.hero__mockup-dot:nth-child(3) { background: #28c840; }

.hero__mockup-url {
  margin-left: 12px;
  font-size: 0.7rem;
  color: var(--white-40);
  background: var(--white-08);
  padding: 3px 10px;
  border-radius: 4px;
  flex: 1;
  max-width: 200px;
}

.hero__mockup-body {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.hero__mockup-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Gradient fade at bottom of mockup */
.hero__mockup-body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--navy), transparent);
  pointer-events: none;
}

/* Dashboard mockup */
.mock-dash {
  width: 100%;
  height: 100%;
  display: flex;
  background: #080f18;
  font-size: 0; /* kill whitespace */
}

.mock-dash__sidebar {
  width: 52px;
  background: #0a1420;
  border-right: 1px solid var(--white-08);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.mock-dash__logo {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  padding: 2px;
}
.mock-dash__logo-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  flex-shrink: 0;
}
.mock-dash__logo-text {
  height: 6px;
  width: 20px;
  border-radius: 2px;
  background: var(--white-20);
}

.mock-dash__nav-item {
  height: 7px;
  border-radius: 3px;
  background: var(--white-08);
  width: 100%;
}
.mock-dash__nav-item--active {
  background: rgba(0,180,216,0.2);
  border: 1px solid rgba(0,180,216,0.3);
}
.mock-dash__sidebar-spacer { flex: 1; }

.mock-dash__main {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.mock-dash__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mock-dash__greeting {
  height: 8px;
  width: 100px;
  border-radius: 3px;
  background: var(--white-20);
  margin-bottom: 4px;
}
.mock-dash__subtext {
  height: 5px;
  width: 140px;
  border-radius: 2px;
  background: var(--white-08);
}
.mock-dash__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,180,216,0.3), rgba(247,127,0,0.3));
  border: 1px solid var(--white-08);
}

.mock-dash__stats {
  display: flex;
  gap: 8px;
}
.mock-dash__stat-card {
  flex: 1;
  background: var(--white-08);
  border-radius: 6px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.mock-dash__stat-label {
  height: 4px;
  width: 60%;
  border-radius: 2px;
  background: var(--white-08);
  margin-bottom: 6px;
}
.mock-dash__stat-value {
  height: 10px;
  width: 45%;
  border-radius: 3px;
}
.mock-dash__stat-value--teal  { background: rgba(0,180,216,0.3); }
.mock-dash__stat-value--orange { background: rgba(247,127,0,0.3); }
.mock-dash__stat-value--green  { background: rgba(16,185,129,0.3); }

.mock-dash__stat-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
  margin-top: 6px;
}
.mock-dash__stat-sparkline > div {
  flex: 1;
  background: rgba(0,180,216,0.25);
  border-radius: 1px 1px 0 0;
}

.mock-dash__section-title {
  height: 6px;
  width: 90px;
  border-radius: 2px;
  background: var(--white-20);
  margin-top: 2px;
}

.mock-dash__queue {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-dash__activity {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-08);
  border-radius: 6px;
  padding: 7px 8px;
  border: 1px solid rgba(255,255,255,0.03);
}

.mock-dash__activity-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.mock-dash__activity-icon--swim { background: rgba(14,165,233,0.25); border: 1px solid rgba(14,165,233,0.3); }
.mock-dash__activity-icon--bike { background: rgba(139,92,246,0.25); border: 1px solid rgba(139,92,246,0.3); }
.mock-dash__activity-icon--run  { background: rgba(16,185,129,0.25); border: 1px solid rgba(16,185,129,0.3); }

.mock-dash__activity-info {
  flex: 1;
  min-width: 0;
}
.mock-dash__activity-name {
  height: 5px;
  width: 70%;
  border-radius: 2px;
  background: var(--white-20);
  margin-bottom: 3px;
}
.mock-dash__activity-meta {
  height: 4px;
  width: 50%;
  border-radius: 2px;
  background: var(--white-08);
}

.mock-dash__activity-badge {
  width: 36px;
  height: 10px;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 0;
}
.mock-dash__activity-badge--ready  { background: rgba(0,180,216,0.2); border: 1px solid rgba(0,180,216,0.3); }
.mock-dash__activity-badge--pending { background: rgba(247,127,0,0.15); border: 1px solid rgba(247,127,0,0.25); }

/* Stats bar stays full-width centered */
.hero__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--white-08);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal);
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--white-40);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--white-20);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 6rem 0;
  position: relative;
}

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

/* Radial accent spots for depth */
.section--dark::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.03), transparent 70%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__title--lg {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.section__text {
  color: var(--white-65);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================================
   SPLIT (Problem / Solution)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.split__left {
  padding-right: 2rem;
  border-right: 1px solid var(--border);
}

/* ============================================================
   FEATURES — Bento Grid
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

/* Gradient hover effect */
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature:hover::before {
  opacity: 1;
}

.feature:hover {
  border-color: var(--white-20);
  transform: translateY(-3px);
}

/* Hero feature card — spans 2 columns */
.feature--hero {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-card) 100%);
  border-color: rgba(0,180,216,0.2);
}

.feature--hero::before {
  background: linear-gradient(135deg, rgba(0,180,216,0.04), transparent 60%);
}

.feature--hero .feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini chart visual inside hero feature */
.feature__mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  border: 1px solid var(--white-08);
  width: 100%;
}

.feature__mini-chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-width: 12px;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature__icon--teal   { background: rgba(0,180,216,0.1); color: var(--teal); }
.feature__icon--orange { background: rgba(247,127,0,0.1); color: var(--orange); }
.feature__icon--swim   { background: rgba(14,165,233,0.1); color: var(--swim); }
.feature__icon--bike   { background: rgba(139,92,246,0.1); color: var(--bike); }
.feature__icon--run    { background: rgba(16,185,129,0.1); color: var(--run); }

.feature__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature--hero .feature__title {
  font-size: 1.35rem;
  font-weight: 700;
}

.feature__text {
  font-size: 0.9rem;
  color: var(--white-65);
  line-height: 1.6;
}

/* ============================================================
   SOCIAL PROOF / TESTIMONIAL
   ============================================================ */
.testimonial-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,127,0,0.04), transparent 70%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial__quote-mark {
  font-size: 6rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.15;
  font-family: Georgia, serif;
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  pointer-events: none;
}

.testimonial__text {
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: var(--white-90);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(0,180,216,0.25);
  object-fit: cover;
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.testimonial__role {
  font-size: 0.85rem;
  color: var(--white-40);
}

/* ============================================================
   INTEGRATIONS — Timeline
   ============================================================ */
.integrations-timeline {
  position: relative;
  margin-top: 3rem;
  padding: 2rem 0;
}

/* Hide the horizontal connecting line for 2x2 grid */
.integrations-timeline::before {
  display: none;
}

.integrations-timeline__track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.integration-node {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  text-align: center;
}

.integration-node:hover {
  border-color: var(--white-20);
}

/* Glow effect on hover, colored per integration */
.integration-node--active:hover {
  box-shadow: 0 0 24px rgba(252, 76, 2, 0.08);
}
.integration-node--coming:hover {
  box-shadow: 0 0 24px rgba(68, 194, 167, 0.08);
}
.integration-node--planned:hover {
  box-shadow: 0 0 24px rgba(255,255,255,0.04);
}

/* Status dot */
.integration-node__dot {
  display: none;
}


.integration-node__status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.integration-node--active .integration-node__status {
  background: rgba(40,200,64,0.12);
  color: #28c840;
}
.integration-node--coming .integration-node__status {
  background: rgba(254,188,46,0.12);
  color: #febc2e;
}
.integration-node--planned .integration-node__status {
  background: var(--white-08);
  color: var(--white-40);
}

.integration-node__icon {
  margin: 0 auto 0.75rem;
}

.integration-node__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.integration-node__desc {
  font-size: 0.85rem;
  color: var(--white-65);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.integration-node__data {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
}

.integration-node__data li {
  font-size: 0.78rem;
  color: var(--white-40);
  padding-left: 1rem;
  position: relative;
}

.integration-node__data li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
}

.integrations__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   HOW IT WORKS (Steps)
   ============================================================ */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 2rem;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.step__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.9rem;
  color: var(--white-65);
  line-height: 1.6;
}

.step__arrow {
  display: flex;
  align-items: center;
  padding-top: 3rem;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.price-card__yearly {
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 0.25rem;
}

/* Enterprise Banner */
.pricing-enterprise {
  margin-top: 2rem;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
}

.pricing-enterprise__content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.pricing-enterprise__content > div:first-child {
  flex-shrink: 0;
  min-width: 200px;
}

.pricing-enterprise__content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.pricing-enterprise__content > div:first-child p {
  font-size: 0.85rem;
  color: var(--white-65);
}

.pricing-enterprise__content ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--white-65);
  line-height: 1.8;
}

.pricing-enterprise__content ul li {
  padding-left: 1.5rem;
  position: relative;
}

.pricing-enterprise__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.5px solid var(--teal);
  opacity: 0.6;
}

.pricing-enterprise__content > a {
  flex-shrink: 0;
  margin-left: auto;
}

/* Team Section */
.team {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.team__member {
  display: flex;
  gap: 1.5rem;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.team__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(0, 180, 216, 0.25);
  object-fit: cover;
}

.team__avatar--initials {
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
}

.team__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team__role {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team__bio {
  font-size: 0.9rem;
  color: var(--white-65);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.team__org {
  font-size: 0.85rem;
  color: var(--white-40);
}

.team__org a { text-decoration: none; }

.price-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.price-card:hover {
  transform: translateY(-2px);
}

.price-card__features {
  flex: 1;
}

.price-card--featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 8px 32px rgba(0, 180, 216, 0.1);
  transform: scale(1.02);
}

.price-card--featured:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 0 0 1px var(--teal), 0 12px 40px rgba(0, 180, 216, 0.15);
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card__name {
  font-size: 1.25rem;
  font-weight: 700;
}

.price-card__desc {
  font-size: 0.85rem;
  color: var(--white-65);
  margin-top: 0.25rem;
}

.price-card__price {
  margin: 1.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-card__amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-card__period {
  font-size: 0.9rem;
  color: var(--white-40);
}

.price-card__features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-card__features li {
  font-size: 0.9rem;
  color: var(--white-65);
  padding-left: 1.5rem;
  position: relative;
}

.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1.5px solid var(--teal);
  opacity: 0.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 6rem 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding-top: 0;
  position: relative;
}

/* Top gradient for footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,180,216,0.03), transparent);
  pointer-events: none;
}

.footer__signup {
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.footer__signup-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__signup-text h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer__signup-text p {
  font-size: 0.85rem;
  color: var(--white-65);
}

.footer__signup-form {
  display: flex;
  gap: 0.5rem;
}

.footer__signup-input {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.625rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  width: 260px;
  outline: none;
  transition: border-color 0.2s;
}

.footer__signup-input::placeholder {
  color: var(--white-40);
}

.footer__signup-input:focus {
  border-color: var(--teal);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 0;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--white-40);
  margin-top: 0.75rem;
}

.footer__links {
  display: flex;
  gap: 4rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-40);
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: var(--white-65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--white-40);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .pricing-enterprise__content { flex-wrap: wrap; gap: 1.5rem; }
  .integrations-timeline__track { max-width: 100%; }
}

@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); border-bottom: 1px solid var(--border); padding: 1.5rem; gap: 1rem; }
  .nav__links--open { display: flex; }
  .nav__toggle { display: block; }

  .hero { padding: 7rem 0 3rem; }
  .hero__split { grid-template-columns: 1fr; gap: 2rem; }
  .hero__text { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__mockup-frame { transform: none; }
  .hero__mockup:hover .hero__mockup-frame { transform: none; }
  .hero__stats { gap: 1.5rem; }
  .hero__stat-num { font-size: 1.25rem; }

  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__left { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 2.5rem; }

  .features { grid-template-columns: 1fr; }
  .feature--hero { grid-column: span 1; grid-template-columns: 1fr; }
  .integrations-timeline__track { grid-template-columns: 1fr; }
  .integrations-timeline::before { display: none; }
  .integration-node__dot { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-enterprise { padding: 1.5rem; }
  .pricing-enterprise__content { flex-direction: column; gap: 1.5rem; text-align: center; }
  .pricing-enterprise__content ul { columns: 1 !important; }
  .pricing-enterprise__content > a { margin-left: 0; }

  .team__member { flex-direction: column; text-align: center; align-items: center; }

  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding: 0; }

  .footer__signup-inner { flex-direction: column; text-align: center; }
  .footer__signup-form { flex-direction: column; }
  .footer__signup-input { width: 100%; }
  .footer__inner { flex-direction: column; }
  .footer__links { gap: 2rem; }

  .testimonial__text { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__ctas { flex-direction: column; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .hero__stat-divider { width: 40px; height: 1px; }
}
