/* ===== Custom Properties ===== */
:root {
  --color-bg-dark: #0B0F19;
  --color-bg-light: #F8F9FC;
  --color-surface: #FFFFFF;
  --color-surface-dark: rgba(255, 255, 255, 0.05);
  --color-text: #0B0F19;
  --color-text-light: #FFFFFF;
  --color-text-secondary: #5A5F73;
  --color-text-muted: #8B90A0;
  --color-accent-start: #6366F1;
  --color-accent-end: #8B5CF6;
  --color-accent-gold: #D4A574;
  --color-accent: #6366F1;
  --color-accent-light: rgba(99, 102, 241, 0.08);
  --color-border: #E2E4EA;
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-start), var(--color-accent-end));

  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-lg: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --nav-height: 72px;
}

/* ===== Shader Background ===== */
.shader-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

body > section,
body > div:not(.shader-bg):not(.mouse-glow),
body > footer {
  position: relative;
  z-index: 1;
}

/* Mouse glow layer — positioned by JS */
.mouse-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.3s ease-out, top 0.3s ease-out;
  will-change: left, top;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  background: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--font-heading);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: #5558E8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 15px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-light);
}
.nav__logo span {
  color: var(--color-accent-gold);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}
.nav__link:hover {
  color: #FFFFFF;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Hero grid removed — shader background replaces it */

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-gold);
  background: rgba(212, 165, 116, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-xs);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  color: var(--color-accent-gold);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Live Activity Feed ===== */
.feed {
  background: #1A1D26;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feed__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feed__dots {
  display: flex;
  gap: 6px;
}
.feed__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.feed__dot--red { background: #FF5F57; }
.feed__dot--yellow { background: #FEBC2E; }
.feed__dot--green { background: #28C840; }

.feed__title {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.02em;
  flex: 1;
}

.feed__status {
  font-size: 11px;
  font-weight: 600;
  color: #28C840;
  display: flex;
  align-items: center;
  gap: 6px;
}
.feed__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28C840;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.feed__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feed__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
}
.feed__item:hover {
  background: #2A2A2A;
}

.feed__dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.feed__dot-indicator--green { background: #28C840; }
.feed__dot-indicator--accent { background: var(--color-accent-gold); }
.feed__dot-indicator--blue { background: #5B9CF6; }

.feed__time {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  min-width: 60px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.feed__text {
  font-size: 13px;
  color: #CCCCCC;
  line-height: 1.5;
}
.feed__text strong {
  color: #FFFFFF;
  font-weight: 600;
}

.feed__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feed__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.feed__footer-text {
  font-size: 12px;
  color: #666;
}

/* ===== Products / Engine Section ===== */
.products {
  padding: 100px 0;
  background: var(--color-bg-light);
}

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

.engine__card {
  position: relative;
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
}
.engine__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
/* Vary card sizes — first card spans 2 columns on desktop, third is taller */
.engine__card:first-child {
  padding: 36px;
}
.engine__card:first-child .engine__card-title {
  font-size: 20px;
}
.engine__card:nth-child(3) {
  padding: 32px 28px 40px;
}

.engine__number {
  display: none;
}

.engine__card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.engine__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.engine__price-hint {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: rgba(99, 102, 241, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(99, 102, 241, 0.12);
}
.engine__price-hint p {
  font-size: 17px;
  color: var(--color-text-secondary);
}
.engine__price-hint strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* Engine Showcase Layout */
.engine__showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.engine__showcase-content {
  text-align: left;
}

.engine__showcase-content .section-label {
  display: inline-block;
}

.engine__showcase-content .section-title {
  text-align: left;
}

.engine__showcase-content .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.engine__showcase-content .engine__price-hint {
  margin-top: 32px;
  text-align: left;
}

/* Dashboard Mockup */
.dashboard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
}

.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.dashboard__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.dashboard__status {
  font-size: 12px;
  font-weight: 600;
  color: #28C840;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dashboard__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28C840;
  display: inline-block;
}

.dashboard__listing {
  padding: 16px 20px;
}

.dashboard__photo {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm);
  background: url('assets/listing-photo.jpg') center/cover no-repeat;
  margin-bottom: 12px;
}

.dashboard__listing-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.dashboard__address {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.dashboard__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

.dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--color-border);
}

.dashboard__metric {
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}
.dashboard__metric:last-child {
  border-right: none;
}

.dashboard__metric-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.dashboard__metric-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dashboard__platforms {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--color-border);
}

.dashboard__platform {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.dashboard__platform--ig {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
}

.dashboard__platform--fb {
  background: #1877F2;
}

.dashboard__platform--g {
  background: #34A853;
}

.dashboard__platform-text {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

/* ===== Content Studio Section ===== */
.studio {
  padding: 100px 0;
  background: rgba(11, 15, 25, 0.85);
}

.studio__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.studio__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.studio__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.studio__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.studio__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}
.studio__list svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Calendar Mockup */
.calendar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.1);
}

.dark-section .calendar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-dark);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.dark-section .calendar__header {
  border-bottom-color: var(--color-border-dark);
}

.calendar__header-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.dark-section .calendar__header-label {
  color: var(--color-text-light);
}

.studio__preview-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent);
}

.calendar__body {
  padding: 4px 0;
}

.calendar__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.calendar__row:last-child {
  border-bottom: none;
}

.calendar__day {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 32px;
  flex-shrink: 0;
}

.dark-section .calendar__day {
  color: rgba(255, 255, 255, 0.35);
}

.calendar__content {
  flex: 1;
  min-width: 0;
}

.calendar__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark-section .calendar__title {
  color: var(--color-text-light);
}

.calendar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.calendar__badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calendar__badge--carousel {
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-accent);
}
.dark-section .calendar__badge--carousel {
  color: #A5B4FC;
}

.calendar__badge--market {
  background: rgba(46, 139, 87, 0.15);
  color: #4ADE80;
}

.calendar__badge--reel {
  background: rgba(91, 156, 246, 0.15);
  color: #93BBFD;
}

.calendar__badge--listing {
  background: rgba(212, 165, 116, 0.15);
  color: var(--color-accent-gold);
}

.calendar__platform {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.dark-section .calendar__platform {
  color: rgba(255, 255, 255, 0.3);
}

.calendar__status {
  flex-shrink: 0;
  color: #4ADE80;
  display: flex;
  align-items: center;
}

.calendar__footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.calendar__footer-text {
  font-size: 12px;
  color: var(--color-text-muted);
}

.dark-section .calendar__footer-text {
  color: rgba(255, 255, 255, 0.3);
}

/* ===== Bonus Features ===== */
.features {
  padding: 100px 0;
  background: var(--color-bg-light);
}

.features .section-header {
  text-align: left;
  margin-bottom: 48px;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.feature {
  padding: 24px 24px 24px 20px;
  border-left: 2px solid var(--color-border);
  transition: border-color 0.2s;
}
.feature:hover {
  border-left-color: var(--color-accent);
}

.feature__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-accent);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.feature__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.feature__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ===== Philosophy ===== */
.philosophy {
  padding: 100px 0;
  background: rgba(11, 15, 25, 0.85);
}

.philosophy__timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.philosophy__timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.philosophy__item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 48px;
}
.philosophy__item:last-child {
  padding-bottom: 0;
}

.philosophy__number {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.philosophy__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.philosophy__card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.philosophy__card-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* ===== CTA Section ===== */
.cta {
  padding: 100px 0 60px;
  background: rgba(11, 15, 25, 0.9);
  text-align: center;
}

.cta__inner {
  max-width: 600px;
}

.cta__title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta__subtitle {
  font-size: 18px;
  color: #AAAAAA;
  margin-bottom: 36px;
}

.cta__form[hidden] {
  display: none;
}
.cta__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 16px;
}

.cta__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta__input--full {
  width: 100%;
}

.cta__input {
  flex: 1;
  padding: 16px 20px;
  font-size: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}
.cta__input::placeholder {
  color: #999;
}
.cta__input:focus {
  border-color: var(--color-accent);
}

.cta__btn {
  width: 100%;
  padding: 16px;
}

/* Stepper dots */
.cta__stepper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.cta__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.cta__dot--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Step containers */
.cta__step {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.cta__step--active {
  display: flex;
}

/* Step label */
.cta__step-label {
  font-size: 14px;
  font-weight: 500;
  color: #999;
  margin-bottom: 4px;
}

/* Step prompt (question text) */
.cta__step-prompt {
  font-size: 16px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 4px;
}

/* Chip/pill selection */
.cta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cta__chip {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #999;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.cta__chip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cta__chip--selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--color-accent);
  color: #fff;
}

/* Select dropdowns */
.cta__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.cta__select option {
  background: #1a1d26;
  color: #fff;
}

/* Textarea */
.cta__textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

/* Button row (back + next side by side) */
.cta__btn-row {
  display: flex;
  gap: 12px;
}
.cta__btn-row .cta__btn {
  flex: 1;
}

/* Ghost button (Back) */
.btn--ghost {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #999;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cta__privacy {
  font-size: 13px;
  color: #666;
}

.cta__error {
  font-size: 14px;
  color: #ff6b6b;
  margin-top: 8px;
}

.cta__success {
  padding: 60px 0;
  text-align: center;
}
.cta__success-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta__success-text {
  font-size: 20px;
  color: var(--color-accent);
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  background: rgba(8, 12, 20, 0.95);
  border-top: 1px solid var(--color-border-dark);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  color: #666;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: var(--color-accent-gold);
}

/* ===== Dark Section Context ===== */
.dark-section .section-title {
  color: var(--color-text-light);
}
.dark-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.dark-section .studio__title {
  color: var(--color-text-light);
}
.dark-section .studio__text {
  color: rgba(255, 255, 255, 0.6);
}
.dark-section .studio__list li {
  color: rgba(255, 255, 255, 0.85);
}
.dark-section .studio__list svg {
  color: var(--color-accent-gold);
}

.dark-section .studio__preview-badge {
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-accent);
}

.dark-section .philosophy__timeline::before {
  background: var(--color-border-dark);
}
.dark-section .philosophy__number {
  background: var(--color-accent);
}
.dark-section .philosophy__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-dark);
}
.dark-section .philosophy__card-title {
  color: var(--color-text-light);
}
.dark-section .philosophy__card-text {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Marquee ===== */
.marquee {
  background: rgba(11, 15, 25, 0.6);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: 16px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}
.marquee__content {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}
.marquee__item {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.marquee__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }

/* ===== Hero Word Reveal ===== */
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: word-reveal 0.5s ease forwards;
}
.hero__word:nth-child(1) { animation-delay: 0.1s; }
.hero__word:nth-child(2) { animation-delay: 0.2s; }
.hero__word:nth-child(3) { animation-delay: 0.3s; }
.hero__word:nth-child(4) { animation-delay: 0.4s; }
.hero__word:nth-child(5) { animation-delay: 0.6s; }
.hero__word:nth-child(6) { animation-delay: 0.7s; }
.hero__word:nth-child(7) { animation-delay: 0.8s; }

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Card Tilt ===== */
[data-tilt] {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* ===== Feed Typing Effect ===== */
.feed__item {
  opacity: 0;
  transform: translateY(8px);
}
.feed__item.is-typed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.feed__text .typed-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--color-accent);
  margin-left: 2px;
  animation: cursor-blink 0.7s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== CTA Urgency ===== */
.cta__urgency {
  font-size: 12px;
  color: var(--color-accent-gold);
  margin-top: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== Responsive ===== */

/* Tablet */
@media (min-width: 640px) {
  .engine__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* CTA form stays stacked with name fields side by side */

  .section-title {
    font-size: 36px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero__title {
    font-size: 56px;
  }

  .section-title {
    font-size: 40px;
  }

  .studio__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .studio__title {
    font-size: 36px;
  }

  .cta__title {
    font-size: 42px;
  }

  /* Philosophy alternating layout */
  .philosophy__timeline {
    max-width: 900px;
  }

  .philosophy__timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .philosophy__item {
    padding-left: 0;
    padding-bottom: 56px;
    width: 50%;
  }

  .philosophy__item:nth-child(odd) {
    margin-left: 0;
    padding-right: 56px;
    text-align: right;
  }
  .philosophy__item:nth-child(odd) .philosophy__number {
    left: auto;
    right: -21px;
  }

  .philosophy__item:nth-child(even) {
    margin-left: 50%;
    padding-left: 56px;
  }
  .philosophy__item:nth-child(even) .philosophy__number {
    left: -21px;
  }

  .engine__showcase {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .engine__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .engine__card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
    align-items: start;
    padding: 36px 40px;
  }
  .engine__card:first-child .engine__card-title {
    grid-column: 1 / -1;
  }
}

/* Mobile Nav */
@media (max-width: 767px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border-dark);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__visual {
    order: -1;
  }

  .cta__success-title {
    font-size: 36px;
  }

  .dashboard__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard__metric:nth-child(2) {
    border-right: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
