/* =========================================================
   SUPERSIDE.COM — FAITHFUL HOMEPAGE RECREATION
   Design tokens, components, and section styles
   ========================================================= */

/* ── FONTS ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Instrument+Serif:ital@0;1&display=swap');

/* ── TOKENS ───────────────────────────────────────────── */
:root {
  /* ── Core brand ── */
  --dark:          #0F1417;   /* Carbon Black */
  --dark-2:        #1A1F23;   /* Near Black */
  --light:         #EBEBED;   /* Soft Gray */
  --purple:        #6045F4;   /* Royal Purple */
  --purple-hover:  #4F36D8;
  --mint:          #53E6D4;   /* Neon Mint */

  /* ── Purple scale ── */
  --purple-50:   #F0EDFE;
  --purple-100:  #DDD7FD;
  --purple-200:  #BEB0FB;
  --purple-300:  #9E88F8;
  --purple-400:  #7F61F6;
  --purple-500:  #6045F4;   /* Royal Purple */
  --purple-600:  #4F36D8;
  --purple-700:  #3D27B0;
  --purple-800:  #2B1A85;
  --purple-900:  #1C1040;

  /* ── Mint scale ── */
  --mint-50:   #EDFCFA;
  --mint-100:  #C8F7F2;
  --mint-200:  #99EFE6;
  --mint-300:  #6BE8D9;
  --mint-400:  #53E6D4;   /* Neon Mint */
  --mint-500:  #30D4BF;
  --mint-600:  #1DBBA7;
  --mint-700:  #159689;

  /* ── Grey scale ── */
  --grey-50:   #F8F8F9;
  --grey-100:  #EBEBED;   /* Soft Gray */
  --grey-200:  #D4D4D8;
  --grey-300:  #B8B8BE;
  --grey-400:  #9898A0;
  --grey-500:  #787880;
  --grey-600:  #5A5A62;
  --grey-700:  #3D3D44;
  --grey-800:  #25252B;
  --grey-900:  #0F1417;   /* Carbon Black */

  /* ── Semantic ── */
  --success:       #22C55E;
  --success-light: #DCFCE7;
  --warning:       #F59E0B;
  --warning-light: #FEF3C7;
  --error:         #EF4444;
  --error-light:   #FEE2E2;
  --info:          #3B82F6;
  --info-light:    #DBEAFE;

  /* ── Surface & border ── */
  --card-1:        #1C1040;   /* Deep purple card */
  --card-2:        #0F1417;
  --card-3:        #1A1F23;
  --border-light:  rgba(15,20,23,0.14);
  --border-dark:   rgba(235,235,237,0.1);

  /* ── Text ── */
  --text-on-dark:     #EBEBED;
  --text-muted:       rgba(235,235,237,0.55);
  --text-on-light:    #0F1417;
  --text-muted-light: rgba(15,20,23,0.55);
  --check-color:      #53E6D4;

  /* ── Typography ── */
  --sans:  'Inter Tight', Inter, Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  /* ── Motion / easing ── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);   /* snappy deceleration */
  --ease-in:     cubic-bezier(0.64, 0, 0.78, 0);   /* accelerate into exit */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);   /* smooth both ends */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* slight overshoot */
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 700ms;

  /* ── Elevation / shadows ── */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.10);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.16), 0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.20), 0 4px 8px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.28), 0 8px 16px rgba(0,0,0,0.12);
  --shadow-purple: 0 8px 32px rgba(96,69,244,0.35);
  --shadow-mint:   0 8px 32px rgba(83,230,212,0.25);

  /* ── Border radius ── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ── Breakpoints (for reference — use in media queries) ── */
  /* --bp-sm: 480px  | --bp-md: 768px | --bp-lg: 900px | --bp-xl: 1200px | --bp-2xl: 1440px */

  /* ── Layout ── */
  --nav-h:    78px;
  --max-w:    1440px;
  --pad-x:    80px;
  --pad-x-md: 40px;
  --pad-x-sm: 20px;
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  background: var(--light);
  color: var(--text-on-light);
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }
ul, ol { list-style: none; }

/* ── UTILITY ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 20px;
  display: block;
}
.section-label--light { color: var(--text-muted); }

/* ── NAVIGATION ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  transition: background var(--duration-slow) var(--ease-out), backdrop-filter var(--duration-slow) var(--ease-out);
}
.nav.scrolled {
  background: rgba(15,20,23,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 22px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-on-dark);
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.nav__link:hover { background: rgba(235,235,237,0.08); }
.nav__link svg { opacity: 0.7; }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--purple);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-demo:hover { background: var(--purple-hover); }
.btn-demo:active { transform: scale(0.98); }
.btn-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: transparent;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(235,235,237,0.35);
  transition: border-color var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out);
}
.btn-signin:hover {
  border-color: rgba(235,235,237,0.7);
  background: rgba(235,235,237,0.06);
}
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  justify-content: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x) 48px;
  max-width: 720px;
  width: 100%;
}

/* ── HERO GALLERY (horizontal marquee) ───────────────── */
.hero__gallery {
  width: 100%;
  overflow: hidden;
  padding-bottom: 48px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-out) 0.6s both;
}
.hero__gallery-col {
  display: flex;
  gap: 12px;
}
.hero__gallery-reel {
  display: flex;
  flex-direction: row;
  gap: 12px;
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
}
.hero__gallery-reel--offset {
  animation-duration: 22s;
  animation-direction: reverse;
}
.hero__work-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  width: 200px;
  height: 130px;
  position: relative;
}
.hero__work-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  backdrop-filter: blur(6px);
}
.hero__logo-card {
  border-radius: var(--radius-md);
  background: rgba(235,235,237,0.05);
  border: 1px solid rgba(235,235,237,0.08);
  padding: 0 28px;
  flex-shrink: 0;
  height: 130px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.hero__logo-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(235,235,237,0.28);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes galleryScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}
.hero__tag-dot {
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
}
.hero__heading {
  font-family: var(--sans);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  max-width: 820px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.2s both;
}
.hero__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
}
.hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.32s both;
}
.hero__cta {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.44s both;
}
.btn-demo-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--purple);
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.btn-demo-dark:hover { background: var(--purple-hover); }
.btn-demo-dark:active { transform: scale(0.98); }

/* ── HERO SCAN FORM ───────────────────────────────────── */
.hero__scan-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.44s both;
}
.hero__scan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(235,235,237,0.07);
  border: 1px solid rgba(235,235,237,0.14);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 18px;
  max-width: 500px;
  transition: border-color 0.2s, background 0.2s;
}
.hero__scan-row:focus-within {
  border-color: rgba(235,235,237,0.3);
  background: rgba(235,235,237,0.10);
}
.hero__scan-icon {
  flex-shrink: 0;
}
.hero__scan-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-on-dark);
  min-width: 0;
}
.hero__scan-input::placeholder {
  color: rgba(235,235,237,0.35);
}
.hero__scan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  background: var(--purple);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.hero__scan-btn:hover { background: var(--purple-hover); }
.hero__scan-btn:active { transform: scale(0.97); }
.hero__scan-meta {
  font-size: 12px;
  color: rgba(235,235,237,0.35);
  letter-spacing: 0.01em;
  padding-left: 4px;
}

/* ── MARQUEE ──────────────────────────────────────────── */
.marquee-section {
  background: var(--dark);
  padding: 40px 0 80px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.marquee-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.marquee-item:hover img { transform: scale(1.04); }
.marquee-item__label {
  position: absolute;
  bottom: 12px; left: 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(15,20,23,0.6);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Placeholder gradient cards for marquee */
.marquee-placeholder {
  width: 100%; height: 100%;
  border-radius: 12px;
}

/* ── BRANDS SECTION ───────────────────────────────────── */
.brands-section {
  background: var(--light);
  padding: 96px var(--pad-x);
}
.brands-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.brands-section__heading {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted-light);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: 0;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 40px 24px;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.brand-logo:hover { opacity: 0.8; filter: grayscale(0); }
.brand-logo svg, .brand-logo img { max-height: 32px; width: auto; }
.brand-logo__text {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-on-light);
  letter-spacing: -0.02em;
}

/* ── AI FEATURE SECTION ───────────────────────────────── */
.ai-section {
  background: var(--light);
  padding: 96px var(--pad-x);
  border-top: 1px solid var(--border-light);
}
.ai-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-section__left {}
.ai-section__heading {
  font-family: var(--sans);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
  margin-bottom: 28px;
}
.ai-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.ai-section__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted-light);
  margin-bottom: 16px;
  max-width: 480px;
}
.ai-section__body + .ai-section__body { margin-bottom: 36px; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--dark);
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition: background var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.btn-dark:hover { background: #252a2e; }
.btn-dark:active { transform: scale(0.98); }
.ai-section__right {}
.ai-section__image {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, #d4e8dc 0%, #a8d4bc 100%);
  position: relative;
}
.ai-section__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ai-section__image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #c2ddd0 0%, #8fbfa8 50%, #6aa88e 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

/* ── VIDEO SECTION ────────────────────────────────────── */
.video-section {
  background: var(--light);
  padding: 80px var(--pad-x);
  border-top: 1px solid var(--border-light);
}
.video-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.video-section__player {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.video-section__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(235,235,237,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.video-section__player:hover .video-section__play {
  background: rgba(235,235,237,0.25);
  transform: translate(-50%, -50%) scale(1.05);
}
.video-section__play svg { margin-left: 4px; }
.video-section__content {}
.video-section__heading {
  font-family: var(--sans);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
  margin-bottom: 24px;
}
.video-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.video-section__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted-light);
  margin-bottom: 12px;
}

/* ── STATS SECTION ────────────────────────────────────── */
.stats-section {
  background: var(--dark);
  padding: 120px var(--pad-x);
  border-top: 1px solid var(--border-dark);
}
.stats-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.stats-section__intro {
  text-align: center;
  margin-bottom: 96px;
}
.stats-section__heading {
  font-family: var(--sans);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin: 16px auto 0;
  max-width: 760px;
}
.stats-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
}
.stat-item {
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
}
.stat-item + .stat-item {
  padding-left: 48px;
  border-left: 1px solid var(--border-dark);
}
.stat-item__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 200px;
  margin-bottom: 24px;
}
.stat-item__desc a {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.stat-item__number {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 128px);
  font-weight: 400;
  line-height: 0.88;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
}

/* ── FEATURES CARDS SECTION ───────────────────────────── */
.features-section {
  background: var(--dark);
  padding: 0 var(--pad-x) 120px;
}
.features-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  border-radius: 16px;
  padding: 40px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card--olive { background: #2A1A6E; }   /* deep purple */
.feature-card--teal  { background: #1A1F23; border: 1px solid rgba(235,235,237,0.08); }
.feature-card--slate { background: #0F1417; border: 1px solid rgba(235,235,237,0.06); }
.feature-card__number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(235,235,237,0.4);
  margin-bottom: 12px;
}
.feature-card__title {
  font-family: var(--sans);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}
.feature-card__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.feature-card__icon {
  width: 48px; height: 48px;
  background: rgba(235,235,237,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  margin-top: 0;
  position: absolute;
  top: 40px; left: 40px;
}
.feature-card__arrow {
  position: absolute;
  top: 40px; right: 40px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(235,235,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.feature-card:hover .feature-card__arrow {
  background: var(--mint);
  border-color: var(--mint);
}
.feature-card:hover .feature-card__arrow svg path { stroke: var(--dark); }

/* ── OUR WORK SECTION ─────────────────────────────────── */
.work-section {
  background: var(--light);
  padding: 120px var(--pad-x);
}
.work-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.work-section__header {
  margin-bottom: 64px;
}
.work-section__heading {
  font-family: var(--sans);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
  max-width: 600px;
}
.work-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.work-item:first-child {
  grid-column: span 2;
}
.work-item__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease-out);
}
.work-item:first-child .work-item__img { aspect-ratio: 8/5; }
.work-item:hover .work-item__img { transform: scale(1.03); }
.work-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,20,23,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.work-item:hover .work-item__overlay { opacity: 1; }
.work-item__info {
  padding: 16px 0;
}
.work-item__client {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-on-light);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.work-item__tags {
  font-size: 12px;
  color: var(--text-muted-light);
}

/* ── COMPARISON SECTION ───────────────────────────────── */
.comparison-section {
  background: var(--dark);
  padding: 120px var(--pad-x);
}
.comparison-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.comparison-section__heading {
  font-family: var(--sans);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: 64px;
  max-width: 500px;
}
.comparison-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border-dark);
}
.comparison-table th:first-child { text-align: left; }
.comparison-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  color: var(--text-muted);
}
.comparison-table td:first-child {
  text-align: left;
  font-size: 14px;
  color: rgba(247,249,242,0.5);
  padding-left: 0;
}
.comparison-table tr:last-child td { border-bottom: none; }
.col-superflow {
  background: rgba(96,69,244,0.08);
  color: var(--text-on-dark) !important;
}
.col-superflow th {
  color: var(--mint) !important;
}
.check {
  color: var(--check-color);
  font-size: 18px;
  font-weight: 500;
}
.cross {
  color: rgba(235,235,237,0.2);
  font-size: 16px;
}
.check-partial {
  color: rgba(235,235,237,0.4);
  font-size: 14px;
}
.comparison-table .row-header {
  background: rgba(96,69,244,0.04);
}
.comparison-table .row-header td {
  padding: 28px 20px 8px;
  border-bottom: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── WORLD-CLASS SECTION ──────────────────────────────── */
.worldclass-section {
  background: var(--dark);
  padding: 180px var(--pad-x);
  border-top: 1px solid var(--border-dark);
  text-align: center;
}
.worldclass-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.worldclass-section__heading {
  font-family: var(--sans);
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  max-width: 1000px;
  margin: 0 auto;
}
.worldclass-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ── CUSTOMER STORIES ─────────────────────────────────── */
.stories-section {
  background: var(--dark);
  padding: 120px var(--pad-x);
  border-top: 1px solid var(--border-dark);
}
.stories-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.story-card {
  border-radius: 20px;
  padding: 48px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out);
}
.story-card:hover { transform: translateY(-4px); }
.story-card--dark {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
}
.story-card--teal {
  background: linear-gradient(140deg, #1a4a5a 0%, #0d3040 100%);
}
.story-card__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(235,235,237,0.2);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  width: fit-content;
}
.story-card__heading {
  font-family: var(--sans);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  max-width: 420px;
}
.story-card__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.story-card__person {
  position: absolute;
  bottom: 0; right: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.story-card__person-placeholder {
  position: absolute;
  bottom: 0; right: 0;
  width: 42%;
  height: 85%;
  background: linear-gradient(160deg, rgba(83,230,212,0.2) 0%, rgba(96,69,244,0.15) 100%);
  border-radius: 80px 80px 0 0;
}

/* ── TESTIMONIAL SECTION ──────────────────────────────── */
.testimonials-section {
  background: var(--light);
  padding: 120px var(--pad-x);
  border-bottom: 1px solid var(--border-light);
}
.testimonials-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.testimonials-section__heading {
  font-family: var(--sans);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-on-light);
  margin-bottom: 64px;
  max-width: 480px;
}
.testimonials-section__heading em {
  font-family: var(--serif);
  font-style: italic;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card__stars {
  color: var(--dark);
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-on-light);
  flex: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #53E6D4, #6045F4);
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-light);
}
.testimonial-card__role {
  font-size: 12px;
  color: var(--text-muted-light);
}

/* ── CTA SECTION ──────────────────────────────────────── */
.cta-section {
  background: var(--dark);
  padding: 160px var(--pad-x);
  text-align: center;
}
.cta-section__inner {
  max-width: 800px;
  margin: 0 auto;
}
.cta-section__heading {
  font-family: var(--sans);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}
.cta-section__heading em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
}
.cta-section__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 48px;
}
.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: 64px var(--pad-x);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border-dark);
}
.footer__brand-name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
}
.footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 220px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__col-links a:hover { color: var(--text-on-dark); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}
.footer__copy {
  font-size: 12px;
  color: rgba(235,235,237,0.3);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 12px;
  color: rgba(235,235,237,0.3);
  transition: color 0.2s;
}
.footer__legal a:hover { color: rgba(235,235,237,0.7); }
.footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(235,235,237,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.footer__social-icon:hover {
  border-color: rgba(235,235,237,0.55);
  color: var(--text-on-dark);
}

/* ── SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slower) var(--ease-out), transform var(--duration-slower) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

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

@keyframes countUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1200px) {
  :root {
    --pad-x: var(--pad-x-md);
  }
  .brands-grid { grid-template-columns: repeat(5, 1fr); }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--border-dark);
  }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .ai-section__inner,
  .video-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .ai-section__image { aspect-ratio: 3/2; }
  .video-section__player { aspect-ratio: 16/9; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-item:first-child { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .comparison-table { font-size: 13px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__gallery { display: none; }
  .stories-grid { grid-template-columns: 1fr; }
  .worldclass-section { padding: 100px var(--pad-x-md); }
}

@media (max-width: 768px) {
  :root {
    --pad-x: var(--pad-x-sm);
    --nav-h: 64px;
  }
  .nav__links { display: none; }
  .nav__mobile-toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--dark);
    padding: 32px var(--pad-x-sm);
    z-index: 99;
    gap: 4px;
  }
  .nav__links.open .nav__link {
    font-size: 20px;
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border-dark);
  }
  .hero__content { padding: 60px var(--pad-x-sm) 60px; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
  .brands-section, .ai-section, .video-section,
  .stats-section, .work-section, .comparison-section,
  .stories-section, .cta-section { padding: 64px var(--pad-x-sm); }
  .worldclass-section { padding: 80px var(--pad-x-sm); }
  .features-section { padding: 0 var(--pad-x-sm) 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item:first-child { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item { padding-left: 24px; }
  .cta-section__actions { flex-direction: column; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-wrap: wrap; gap: 16px; }
  .comparison-table th, .comparison-table td { padding: 12px 8px; }
  .comparison-table th:first-child, .comparison-table td:first-child { min-width: 100px; }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border-dark); padding-left: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer__social { justify-content: center; }
}
