/* ============================================
   REFINE - Marketing Site Styles
   Design System: Dark, monospaced, intentional
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Backgrounds */
  --bg-primary: #0A0A0A;
  --bg-secondary: rgba(0, 0, 0, 0.5);
  --bg-tertiary: rgba(0, 0, 0, 0.3);
  --bg-card: rgba(255, 255, 255, 0.03);

  /* Brand */
  --purple: #A855F7;
  --green: #22C55E;
  --blue: #3B82F6;
  --amber: #F59E0B;
  --violet: #8B5CF6;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-tertiary: rgba(255, 255, 255, 0.35);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.06);

  /* Spacing — strict 8pt scale */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-xxxl: 64px;

  /* Radius — only 3 values used */
  --radius-md: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Typography */
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-mono);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Background Orbs (static — no animation) --- */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.orb--purple {
  width: 500px;
  height: 500px;
  background: var(--purple);
  opacity: 0.08;
  top: -10%;
  left: -5%;
}

.orb--green {
  width: 400px;
  height: 400px;
  background: var(--green);
  opacity: 0.05;
  bottom: -5%;
  right: -5%;
}

.orb--blue {
  width: 350px;
  height: 350px;
  background: var(--blue);
  opacity: 0.04;
  top: 50%;
  left: 60%;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  position: relative;
  z-index: 1;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  padding: 8px 20px;
  background: var(--purple);
  border-radius: var(--radius-full);
  transition: box-shadow 0.2s;
}

.nav__cta:hover {
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
}

.hero__content {
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: 12px;
  line-height: 1;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xxl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.btn--primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.5);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- Video Protection --- */
video {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* --- Demo Video Section --- */
.demo {
  padding: var(--space-xxxl) 0;
}

.demo__window {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(20, 20, 20, 0.8);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.demo__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(30, 30, 30, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo__dot--red { background: #FF5F57; }
.demo__dot--yellow { background: #FEBC2E; }
.demo__dot--green { background: #28C840; }

.demo__titlebar-text {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

.demo__body {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168,85,247,0.03), rgba(34,197,94,0.02));
}

.demo__placeholder {
  text-align: center;
  color: var(--text-tertiary);
}

.demo__placeholder-icon {
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.demo__placeholder-text {
  font-size: 13px;
  letter-spacing: 1px;
}

.demo__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.demo__body.has-video .demo__placeholder { display: none; }
.demo__body.has-video .demo__video { display: block; }

/* --- Section Headings --- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-desc {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works {
  padding: 160px 0 150px;
}

.how-it-works__header {
  text-align: center;
  margin-bottom: calc(var(--space-xxl) + 12px);
}

.how-it-works__header .section-desc {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
  margin-top: calc(var(--space-xl) + 10px);
  margin-bottom: calc(var(--space-xxl) + 10px);
}

/* Dot lines positioned by JS for pixel-perfect alignment */
.steps__line {
  position: absolute;
  top: 28px;
  height: 2px;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.steps__line.measured {
  opacity: 0;
}

.steps__line.visible {
  opacity: 0.6;
}

.steps__line--1 {
  background: repeating-linear-gradient(90deg, var(--purple) 0 3px, transparent 3px 10px);
  background-size: 10px 2px;
}

.steps__line--2 {
  background: repeating-linear-gradient(90deg, var(--green) 0 3px, transparent 3px 10px);
  background-size: 10px 2px;
}

.step {
  text-align: center;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 22px;
  font-weight: 900;
  color: var(--purple);
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: 0.5px;
}

.step__desc {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === Features — Vertical Scrolling Columns === */
.features {
  padding: var(--space-xxxl) 0 100px;
}

.features__header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.features__columns {
  display: flex;
  gap: var(--space-lg);
  height: 400px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.features__col {
  flex: 1;
  position: relative;
  will-change: transform;
}

.features__col-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xs) 0;
}

/* JS drives the scroll — see script.js */

/* Individual feature items */
.feature-item {
  padding: var(--space-lg);
  padding-left: calc(var(--space-lg) + 12px);
  position: relative;
  border-left: 3px solid transparent;
}

.feature-item--purple { border-left-color: var(--purple); }
.feature-item--green { border-left-color: var(--green); }
.feature-item--blue { border-left-color: var(--blue); }
.feature-item--amber { border-left-color: var(--amber); }

.feature-item__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: var(--space-xxs);
  letter-spacing: 0.3px;
}

.feature-item__desc {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Demo Slots --- */
.demos {
  padding: 80px 0;
}

.demos__header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.demos__header .section-desc {
  margin: 0 auto;
}

.demos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.demo-slot {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  position: relative;
  cursor: pointer;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
}

.demo-slot:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* --- Expanded: fade + shrink inactive tiles (removed from flow) --- */
.demos__grid.expanded .demo-slot:not(.playing) {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

/* --- Expanded: the active tile lifts out of flow --- */
.demos__grid.expanded .demo-slot.playing {
  position: absolute;
  z-index: 5;
  border-color: rgba(168, 85, 247, 0.3);
  /* top/left/width/height set by JS for the FLIP animation */
  transition: top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
}

/* Ensure grid height accommodates the expanded tile */
.demos__grid.expanded {
  min-height: var(--grid-h, auto);
}

/* Minimize button */
.demo-slot__minimize {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, opacity 0.3s ease;
  line-height: 1;
  opacity: 0;
}

.demo-slot__minimize:hover {
  background: rgba(168, 85, 247, 0.4);
  transform: scale(1.1);
}

.demos__grid.expanded .demo-slot.playing .demo-slot__minimize {
  display: flex;
  opacity: 1;
}

.demo-slot__video {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(168,85,247,0.04), rgba(34,197,94,0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.demo-slot__vid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-slot__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, opacity 0.3s;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.demo-slot.playing .demo-slot__play {
  opacity: 0;
  pointer-events: none;
}

.demo-slot:hover .demo-slot__play {
  background: rgba(168, 85, 247, 0.25);
}

.demo-slot.playing:hover .demo-slot__play {
  opacity: 1;
  pointer-events: auto;
}

.demo-slot__info {
  padding: var(--space-md) var(--space-lg);
}

.demo-slot__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.demo-slot__desc {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-secondary);
}

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.pricing__header .section-desc {
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: border-color 0.3s;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card--featured {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(34,197,94,0.03));
}

.pricing-card--featured:hover {
  border-color: rgba(168, 85, 247, 0.5);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #000;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-card__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card__desc {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
}

.pricing-card__features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.pricing-card__features li {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-card__features li::before {
  content: '\2022';
  font-size: 14px;
  color: var(--green);
  flex-shrink: 0;
}

.pricing-card__features li.disabled {
  color: var(--text-tertiary);
}

.pricing-card__features li.disabled::before {
  color: #ff6363;
}

.pricing-card__btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* --- Waitlist / CTA Section --- */
.waitlist {
  padding: 100px 0 120px;
}

.waitlist__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-xxl) var(--space-xl);
  background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(34,197,94,0.03));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.waitlist__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--green));
}

.waitlist__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.waitlist__desc {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.waitlist__form {
  display: flex;
  gap: var(--space-sm);
  max-width: 440px;
  margin: 0 auto var(--space-md);
}

.waitlist__input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.waitlist__input::placeholder {
  color: var(--text-tertiary);
}

.waitlist__input:focus {
  border-color: rgba(168, 85, 247, 0.4);
}

.waitlist__submit {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: box-shadow 0.2s;
  white-space: nowrap;
  position: relative;
}

.waitlist__submit:hover {
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.waitlist__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  box-shadow: none;
}

.waitlist__submit-spinner {
  display: none;
}

.waitlist__submit.loading .waitlist__submit-text {
  visibility: hidden;
}

.waitlist__submit.loading .waitlist__submit-spinner {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.waitlist__note {
  font-size: 12px;
  color: var(--text-tertiary);
}

.waitlist__success {
  display: none;
  padding: var(--space-lg);
  text-align: center;
}

.waitlist__success.show {
  display: block;
}

.waitlist__success-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: var(--space-xs);
}

.waitlist__success-sub {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--text-tertiary);
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer__links a {
  font-size: 12px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-secondary);
}

.footer__copy {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.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; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .features__columns {
    height: 340px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
  }

  .steps__line {
    display: none;
  }

  .demos__grid {
    grid-template-columns: 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }

  .hero__title {
    letter-spacing: 6px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .features__columns {
    flex-direction: column;
    height: auto;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .features__col {
    transform: none !important;
  }

  .features__col-inner[aria-hidden="true"] {
    display: none;
  }

  .waitlist__form {
    flex-direction: column;
  }

  .footer .container {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

/* --- Concept Card Preview Strip --- */
.card-strip {
  overflow: hidden;
  padding: var(--space-xxl) 0;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.card-strip__track {
  display: flex;
  gap: var(--space-md);
  will-change: transform;
}

.preview-card {
  flex-shrink: 0;
  width: 260px;
  padding: var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: border-color 0.3s;
}

.preview-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.preview-card__category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.preview-card__category--purple {
  color: var(--purple);
  background: rgba(168, 85, 247, 0.1);
}

.preview-card__category--green {
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
}

.preview-card__category--blue {
  color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
}

.preview-card__category--amber {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
}

.preview-card__title {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 6px;
}

.preview-card__hook {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.preview-card__signal {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.preview-card__signal-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}
