/* ============================================
   LEDGER.AI — Authority-First Landing Page
   ============================================ */

:root {
  --void: #0A0A0B;
  --graphite: #1C1C20;
  --surface-2: #141416;
  --border: #2A2A30;
  --teal: #00D4AA;
  --teal-light: #00F5C4;
  --teal-dim: rgba(0, 212, 170, 0.08);
  --cloud: #F0F0F2;
  --text-2: #8A8A96;
  --text-3: #55555F;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1200px;
  --gutter: 20px;
}

/* ---- Promo Banner ---- */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  background: linear-gradient(90deg, rgba(0,212,170,0.15), rgba(0,212,170,0.06));
  border-bottom: 1px solid rgba(0,212,170,0.2);
  padding: 10px var(--gutter);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.promo-banner.hidden {
  display: none;
}
.promo-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.promo-banner__text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--cloud);
}
.promo-banner__text strong {
  color: var(--teal);
  font-weight: 600;
}
.promo-banner__cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--void);
  background: var(--teal);
  padding: 4px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.promo-banner__cta:hover {
  background: var(--teal-light);
  box-shadow: 0 0 16px rgba(0,212,170,0.3);
}
.promo-banner__close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s ease;
}
.promo-banner__close:hover {
  color: var(--cloud);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cloud);
  background: var(--void);
  overflow-x: hidden;
}
/* Subtle dot grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(240,240,242,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
body.menu-open { overflow: hidden; position: fixed; width: 100%; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main, section, footer, nav { position: relative; z-index: 1; }

/* ---- Ambient Orbs ---- */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
}
.ambient-orb--hero {
  width: 600px; height: 600px;
  top: -10%; right: -10%;
  background: radial-gradient(circle, rgba(0,212,170,0.07) 0%, transparent 70%);
}
.ambient-orb--mid {
  width: 500px; height: 500px;
  top: 45%; left: -15%;
  background: radial-gradient(circle, rgba(0,212,170,0.04) 0%, transparent 70%);
}
.ambient-orb--contact {
  width: 700px; height: 700px;
  bottom: -10%; right: -5%;
  background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
}

/* ---- Gradient Text ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--cloud) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Solid Teal Text ---- */
.text-teal {
  color: var(--teal);
}

/* ---- Shimmer Text Effect ---- */
.text-shimmer {
  background: linear-gradient(
    110deg,
    var(--teal) 0%,
    var(--teal) 35%,
    var(--teal-light) 50%,
    var(--teal) 65%,
    var(--teal) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

/* ---- Section Utilities ---- */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.section-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  color: var(--cloud);
  margin-bottom: 48px;
  line-height: 1.15;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--teal);
  margin-top: 40px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.section-link:hover { gap: 12px; color: var(--teal-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  min-height: 48px;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--teal);
  color: var(--void);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
}
.btn--primary:hover::before {
  animation: btnShimmer 0.6s ease forwards;
}
@keyframes btnShimmer {
  0% { left: -100%; }
  100% { left: 150%; }
}
.btn--primary:hover {
  background: var(--teal-light);
  box-shadow: 0 0 40px rgba(0,212,170,0.35), 0 0 80px rgba(0,212,170,0.15), 0 4px 20px rgba(0,212,170,0.25);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--cloud);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 30px rgba(0,212,170,0.1);
}
.btn--large {
  font-size: 1.05rem;
  padding: 18px 40px;
  font-weight: 700;
}

/* ---- Glass Card ---- */
.glass-card {
  background: linear-gradient(145deg, rgba(28,28,32,0.7), rgba(20,20,22,0.5));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(42,42,48,0.5);
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.1),
    0 16px 40px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.03);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
  border-color: rgba(0,212,170,0.25);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.1),
    0 24px 60px rgba(0,0,0,0.25),
    0 0 50px rgba(0,212,170,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ---- Callout Labels ---- */
.callout-label {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--text-2);
  transform: rotate(-2.5deg);
  margin-top: 8px;
}
.callout-label--card {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Tags ---- */
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,170,0.12);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* ============================================
   MARGIN LINE
   ============================================ */
.margin-line {
  position: fixed;
  left: 0; top: 0;
  width: 3px; height: 0%;
  background: var(--text-3);
  z-index: 9999;
  pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--gutter);
  background: rgba(10,10,11,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  opacity: 1;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.nav-transparent {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.visible {
  border-bottom-color: rgba(42,42,48,0.4);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo svg { display: block; }
.nav__links { display: none; gap: 36px; }
.nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
}
.nav__link:hover { color: var(--cloud); }
.nav__cta {
  display: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--void);
  transition: all 0.3s ease;
}
.nav__cta:hover { background: var(--teal-light); box-shadow: 0 0 30px rgba(0,212,170,0.3); }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 10px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cloud);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,11,0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.mobile-menu__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--cloud);
  transition: color 0.3s ease;
}
.mobile-menu__link:hover { color: var(--teal); }
.mobile-menu__cta {
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--teal);
  color: var(--void);
  transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 60px;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.hero__text {
  max-width: 560px;
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--cloud);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Hero Photo */
.hero__photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__photo-frame {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}

.hero__photo {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(0,212,170,0.2);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    0 0 60px rgba(0,212,170,0.08);
}

.hero__photo-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* Hero GL-A bars (accent element) */
.hero__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 120px;
}

.hero__bar {
  height: 6px;
  border-radius: 3px;
  width: 0;
  animation: barGrow 0.9s ease-out forwards;
}
.hero__bar--1 { background: var(--cloud); opacity: 0.3; max-width: 25%; animation-delay: 0.4s; }
.hero__bar--2 { background: var(--cloud); opacity: 0.5; max-width: 45%; animation-delay: 0.6s; }
.hero__bar--3 { background: var(--cloud); opacity: 0.7; max-width: 70%; animation-delay: 0.8s; }
.hero__bar--4 {
  background: var(--teal);
  max-width: 100%;
  animation-delay: 1s;
  animation-name: barGrow, barGlow;
  animation-duration: 0.9s, 2.5s;
  animation-timing-function: ease-out, ease-in-out;
  animation-fill-mode: forwards, none;
  animation-delay: 1s, 1.9s;
  animation-iteration-count: 1, infinite;
}

@keyframes barGrow {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes barGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(0,212,170,0); }
  50% { box-shadow: 0 0 20px rgba(0,212,170,0.35), 0 0 50px rgba(0,212,170,0.1); }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 100px;
  overflow: hidden;
  position: relative;
}
.trust-strip::before,
.trust-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--void), transparent);
}
.trust-strip::after {
  right: 0;
  background: linear-gradient(-90deg, var(--void), transparent);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.03em;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.trust-strip__inner:hover {
  animation-play-state: paused;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-strip__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ============================================
   VIDEOS
   ============================================ */
.videos {
  padding: 0 0 120px;
}

.videos__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.video-featured { overflow: hidden; }

/* Video Player Mock */
.video-player {
  display: flex;
  flex-direction: column;
}
.video-player__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(20,20,22,0.8);
  border-bottom: 1px solid var(--border);
}
.video-player__dots {
  display: flex; gap: 5px;
}
.video-player__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.video-player__dots span:first-child { background: #ff5f57; }
.video-player__dots span:nth-child(2) { background: #ffbd2e; }
.video-player__dots span:nth-child(3) { background: #28c840; }
.video-player__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
}

.video-player__screen {
  position: relative;
  padding: 28px 24px 40px;
  background: var(--void);
  min-height: 200px;
}

/* Terminal mock inside video player */
.video-player__terminal { position: relative; z-index: 1; }
.terminal-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 2;
  color: var(--text-2);
}
.t-prompt { color: var(--teal); font-weight: 500; }
.t-cmd { color: var(--cloud); }
.t-output { padding-left: 16px; color: var(--text-3); }
.t-success { color: var(--teal); }
.t-cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--teal);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.video-player__bar {
  height: 4px;
  background: var(--border);
}
.video-player__progress {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 0 2px 2px 0;
}

/* Side video cards */
.video-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.video-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
}
.video-card:hover { transform: translateX(4px); }
.video-card__thumb {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.video-card__info h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cloud);
  line-height: 1.3;
  margin-bottom: 2px;
}
.video-card__info span {
  font-size: 0.78rem;
  color: var(--text-3);
}

.videos__subtext {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-top: 32px;
}

/* ============================================
   BUILDS / PORTFOLIO
   ============================================ */
.builds {
  padding: 0 0 120px;
}

.builds__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.build-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.build-card:hover { transform: translateY(-4px); }

/* ---- Mock UI Shared ---- */
.mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(42,42,48,0.4);
}
.mock-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.mock-dot--red { background: #ff5f57; }
.mock-dot--yellow { background: #ffbd2e; }
.mock-dot--green { background: #28c840; }
.mock-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  margin-left: 6px;
}

/* Mock Dashboard */
.build-card__mock {
  background: var(--void);
  position: relative;
  height: 220px;
  overflow: hidden;
}
.mock-dashboard__body {
  padding: 20px 16px 16px;
}
.mock-dashboard__charts {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  height: 80px;
}
.mock-bar-group {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}
.mock-bar {
  width: 10px;
  height: var(--h, 50%);
  background: var(--text-3);
  border-radius: 2px 2px 0 0;
  opacity: 0.5;
}
.mock-bar--teal {
  background: var(--teal);
  opacity: 0.85;
}
.mock-bar--dim {
  background: var(--border);
  opacity: 0.4;
}
.mock-dashboard__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal);
}
.mock-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
}

/* Mock Workflow */
.mock-workflow__body {
  padding: 24px 16px 16px;
}
.mock-workflow__nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.mock-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}
.mock-node--active {
  border-color: rgba(0,212,170,0.3);
  background: rgba(0,212,170,0.05);
  box-shadow: 0 0 16px rgba(0,212,170,0.08);
}
.mock-node span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-2);
}
.mock-connector {
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--teal), var(--border));
  position: relative;
}
.mock-workflow__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
}
.mock-status-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(0,212,170,0); }
  50% { opacity: 0.6; box-shadow: 0 0 8px rgba(0,212,170,0.4); }
}

/* Mock Gamify */
.mock-gamify__body {
  padding: 16px;
}
.mock-gamify__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.mock-gamify__xp {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal);
}
.mock-gamify__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.mock-gamify__track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.mock-gamify__fill {
  height: 100%;
  width: 73%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 3px;
}
.mock-gamify__pct {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
}
.mock-gamify__tasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-task {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-task--done { color: var(--text-2); }
.mock-check {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-check::after {
  content: '';
  width: 5px; height: 3px;
  border-left: 1.5px solid var(--void);
  border-bottom: 1.5px solid var(--void);
  transform: rotate(-45deg) translateY(-1px);
}
.mock-check--empty {
  background: transparent;
  border: 1.5px solid var(--border);
}
.mock-check--empty::after { display: none; }

/* Build card body */
.build-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.build-card__body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--cloud);
  margin-bottom: 8px;
}
.build-card__body p {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 16px;
}
.build-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.build-card__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.build-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.3s ease, color 0.3s ease;
}
.build-card__link:hover { gap: 10px; color: var(--teal-light); }
.build-card__link--demo {
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.build-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 0 0 120px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); }
.service-card p {
  flex: 1;
}

.service-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), transparent);
}

.service-card__icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,170,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cloud);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 24px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal);
  transition: gap 0.3s ease, color 0.3s ease;
}
.service-card__link:hover { gap: 10px; color: var(--teal-light); }

/* ============================================
   RESULTS
   ============================================ */
.results {
  padding: 0 0 120px;
}

.results__panel {
  position: relative;
  overflow: hidden;
  padding: 48px 32px;
}
.results__panel-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,170,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.results__metrics {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
}
.results__divider {
  display: none;
}
.results__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.results__number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--teal);
  letter-spacing: -0.03em;
  line-height: 1;
}
.results__desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-2);
  margin-top: 8px;
}
.results__source {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-3);
  font-style: italic;
  margin-top: 24px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 0;
  text-align: center;
}
.contact__headline {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.contact__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.contact__socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--graphite);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all 0.3s ease;
}
.social-icon:hover {
  color: var(--teal);
  border-color: rgba(0,212,170,0.35);
  background: var(--teal-dim);
  box-shadow: 0 0 28px rgba(0,212,170,0.15);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 28px var(--gutter);
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-3);
}
.footer__dot { opacity: 0.4; }

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
  :root { --gutter: 40px; }

  .hero__content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }
  .hero__text {
    text-align: left;
    flex: 0 1 500px;
  }
  .hero__subtitle { margin-left: 0; margin-right: 0; }
  .hero__ctas { justify-content: flex-start; }
  .hero__photo-frame { width: 280px; }
  .hero__bars { width: 100px; }
  .hero__bar { height: 7px; }

  .videos__layout {
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
  }
  .video-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .video-card {
    flex: 1;
  }

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

  .results__metrics {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
  }
  .results__divider {
    display: block;
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
  }
}

/* ============================================
   DESKTOP (1200px+)
   ============================================ */
@media (min-width: 1200px) {
  :root { --gutter: 48px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__hamburger { display: none; }

  .hero__photo-frame { width: 340px; }
  .hero__bars { width: 140px; gap: 14px; }
  .hero__bar { height: 8px; border-radius: 4px; }

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

  .build-card:hover {
    transform: perspective(800px) rotateY(1.5deg) translateY(-4px);
  }
}

/* ============================================
   HOW IT WORKS / PROCESS
   ============================================ */
.process {
  padding: 0 0 100px;
}
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(145deg, rgba(28,28,32,0.5), rgba(20,20,22,0.3));
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.process__step:hover {
  border-color: rgba(0,212,170,0.3);
  box-shadow: 0 0 36px rgba(0,212,170,0.1);
}
.process__number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(0,212,170,0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.process__step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cloud);
  margin-bottom: 8px;
}
.process__step p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.process__connector {
  display: none;
}

/* ============================================
   RESULTS DASHBOARD (Interactive)
   ============================================ */
.results-dash {
  overflow: hidden;
}
.results-dash__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(42,42,48,0.4);
  background: rgba(20,20,22,0.5);
}
.results-dash__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.results-dash__dot--r { background: #ff5f57; }
.results-dash__dot--y { background: #ffbd2e; }
.results-dash__dot--g { background: #28c840; }
.results-dash__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  margin-left: 8px;
}
.results-dash__status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal);
}
.results-dash__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  animation: pulse 1.5s ease-in-out infinite;
}
.results-dash__body {
  padding: 28px 24px;
}

/* Client Selector */
.results-dash__selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.results-dash__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}
.results-dash__btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}
.results-dash__btn:hover {
  border-color: rgba(0,212,170,0.3);
  color: var(--cloud);
}
.results-dash__btn.active {
  background: var(--teal-dim);
  border-color: var(--teal);
  color: var(--teal);
}

/* Metric Cards */
.results-dash__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.results-dash__metric {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.results-dash__metric:hover {
  border-color: rgba(0,212,170,0.35);
  box-shadow: 0 0 28px rgba(0,212,170,0.1);
  transform: translateY(-2px);
}
.results-dash__metric-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.02em;
}
.results-dash__metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* Before/After Toggle */
.results-dash__compare {
  margin-top: 8px;
}
.results-dash__toggle {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.results-dash__toggle-btn {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.results-dash__toggle-btn:hover:not(.active) {
  color: var(--cloud);
}
.results-dash__toggle-btn--before.active {
  background: rgba(255,77,77,0.08);
  color: #FF4D4D;
}
.results-dash__toggle-btn--after.active {
  background: var(--teal-dim);
  color: var(--teal);
}
.results-dash__compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.results-dash__compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.results-dash__compare-item:hover {
  border-color: rgba(42,42,48,0.8);
}
.results-dash__compare-label {
  font-size: 0.85rem;
  color: var(--text-2);
}
.results-dash__compare-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.results-dash__compare-value--bad { color: #FF4D4D; }
.results-dash__compare-value--good { color: var(--teal); }

/* Service Price Tag */
.service-card__price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,212,170,0.12);
  border-radius: 6px;
  display: inline-block;
}

/* Featured build card */
.build-card--featured {
  grid-column: 1 / -1;
}

/* ---- Tablet process ---- */
@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .results-dash__metrics {
    grid-template-columns: repeat(4, 1fr);
  }
  .results-dash__compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Desktop process ---- */
@media (min-width: 1200px) {
  .build-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  .build-card--featured .build-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ---- Selection ---- */
::selection {
  background: rgba(0,212,170,0.2);
  color: var(--cloud);
}
