@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   CSS VARIABLES & BASE - Palmer Style
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palmer Color Palette - Pure Black & White */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.08);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --text-ghost: rgba(255, 255, 255, 0.15);

  /* No accent color - Pure monochrome with occasional blue glow */
  --accent: #ffffff;
  --accent-blue: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --accent-tan: #c9a87c;
  --accent-tan-muted: rgba(201, 168, 124, 0.15);

  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.25);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 80px;
  --space-4xl: 120px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions - Smooth & Elegant */
  --transition-fast: 200ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-base: 300ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-slow: 500ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Blue Glow Border Effect */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  box-shadow: inset 0 0 100px rgba(59, 130, 246, 0.15);
}

/* Diagonal Tan Accents - Multiple aesthetic stripes */
.diagonal-accent {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 45%;
  height: 45%;
  background: linear-gradient(135deg, transparent 50%, var(--accent-tan-muted) 50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.diagonal-accent::before {
  content: '';
  position: fixed;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 30%;
  background: linear-gradient(135deg, transparent 50%, var(--accent-tan) 50%);
  opacity: 0.15;
  pointer-events: none;
}

.diagonal-accent::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 25%;
  height: 25%;
  background: linear-gradient(-45deg, transparent 50%, var(--accent-tan-muted) 50%);
  opacity: 0.3;
  pointer-events: none;
}

/* Grain Overlay for texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ========================================
   HEADER - Minimal Palmer Style
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-lg) 0;
  background: transparent;
  transition: background var(--transition-base);
}

/* Fix Card Content Alignment */
.card-content {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  /* Vertical Center */
}

/* Style Card Specific - Horizontal Layout */
.style-card .card-content {
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  justify-content: flex-start;
}

/* SVG Icon alignment within options */
.opt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  text-decoration: none;
}

.logo {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo sup {
  font-size: 10px;
  font-weight: 600;
  vertical-align: super;
  margin-left: 2px;
}

.top-nav {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.header-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Rolling Text Effect on Hover */
.nav-link span {
  display: block;
  transition: transform var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
}

/* ========================================
   HOMEPAGE HERO - Palmer Splash Style
   ======================================== */
.homepage {
  background: var(--bg-primary);
}

.hero-section {
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Hero Content - Big Bold Typography */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1200px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }

  50% {
    opacity: 0.8;
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
  }
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0;
  animation: heroFadeIn 1s ease-out forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--text-primary);
  position: relative;
}

.title-accent sup {
  font-size: 18px;
  font-weight: 600;
  vertical-align: super;
}

.hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0;
  line-height: 1.6;
  animation: fadeSlideUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2xl);
  margin-top: var(--space-lg);
  animation: fadeSlideUp 1s ease-out 0.5s forwards;
  opacity: 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: var(--space-sm);
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  animation: fadeSlideUp 1s ease-out 0.7s forwards;
  opacity: 0;
}

.cta-hint {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Floating Shoes Hidden - Going for pure typography */
.floating-shoes {
  display: none;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent-blue);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  animation: fadeSlideUp 1s ease-out 1.2s forwards;
  opacity: 0;
  z-index: 20;
  cursor: pointer;
  transition: var(--transition-base);
}

.scroll-indicator:hover {
  color: var(--text-primary);
}

.scroll-indicator:hover .scroll-arrow {
  transform: translateY(12px);
}

.scroll-arrow {
  transition: var(--transition-spring);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* Hero Split Layout - Edge-to-Edge Right */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Equal split */
  align-items: center;
  width: 100%;
  max-width: 100%;
  /* Override max-width constraint */
  margin: 0;
  /* Left padding aligns content to a virtual 1280px container */
  padding-left: max(32px, calc(50vw - 640px + 32px));
  padding-right: 0;
  /* No padding on right - flush to edge */
  min-height: 85vh;
  position: relative;
  z-index: 10;
  gap: 64px;
}

/* Hero Content - Left Side */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  max-width: 580px;
  gap: 24px;
}

.hero-btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Hero Visual - Right Side */
/* Hero Visual - Right Side */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Align to right edge */
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  perspective: 1000px;
  overflow: visible;
  padding-right: 0;
}

.hero-shoe-img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  animation: heroShoeFloat 1.2s ease-out forwards, shoeFloat 6s ease-in-out 1.2s infinite;
  cursor: grab;
  transition: transform 0.15s ease-out, opacity 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-shoe-img:active {
  cursor: grabbing;
}

/* Background decorative gradient - MOVED/REMOVED per request to fix overflow */
.hero-bg-shoe {
  display: none;
}

@keyframes heroShoeFloat {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shoeFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    padding: 0 var(--space-md);
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 72px);
    letter-spacing: -2px;
    margin-bottom: var(--space-md);
  }

  .hero-description {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: clamp(28px, 6vw, 40px);
  }

  .hero-visual {
    order: -1;
    justify-content: center;
    margin-right: 0;
    margin-bottom: var(--space-lg);
  }

  .hero-shoe-img {
    width: 80%;
    max-width: 400px;
    margin-top: 0;
  }

  .hero-cta {
    margin-top: var(--space-md);
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: var(--space-2xl) var(--space-md);
  }

  .hero-title {
    font-size: clamp(36px, 12vw, 52px);
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .stat-number {
    font-size: 28px;
  }

  .hero-shoe-img {
    width: 90%;
    max-width: 320px;
  }
}

/* ========================================
   MARQUEE SECTION - Palmer Style
   ======================================== */
.marquee-section {
  padding: var(--space-3xl) 0;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.marquee-text {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
  display: flex;
  animation: marquee 30s linear infinite;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.marquee-text span {
  padding: 0 var(--space-2xl);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   SECTION HEADERS - Palmer Style
   ======================================== */
.section-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2xl);
}

.section-meta-left {
  display: flex;
  gap: var(--space-md);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-meta-left span {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-header {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
}

.section-title sup {
  font-size: 20px;
  font-weight: 600;
  vertical-align: super;
}

/* ========================================
   FEATURES SECTION - Palmer Services Style
   ======================================== */
.features-section {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.features-intro {
  max-width: 800px;
  margin-bottom: var(--space-3xl);
}

.features-intro p {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.features-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  align-items: start;
  transition: var(--transition-base);
}

.feature-item:hover {
  background: linear-gradient(90deg, transparent, var(--bg-card), transparent);
}

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

.feature-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Fallback Grid for smaller screens */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.feature-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

/* ========================================
   BRANDS SECTION - Marquee Style
   ======================================== */
.brands-section {
  padding: var(--space-3xl) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-track {
  display: flex;
  gap: var(--space-3xl);
  animation: marquee 40s linear infinite;
}

.brand-item {
  font-family: var(--font-body);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition-base);
  letter-spacing: -1px;
}

.brand-item:hover {
  color: var(--text-primary);
}

/* ========================================
   CTA SECTION - Palmer Statement Style
   ======================================== */
.cta-section {
  padding: var(--space-4xl) 0;
}

.cta-card {
  padding: var(--space-3xl);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition-base);
}

.cta-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.cta-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: var(--space-2xl);
}

.cta-visual,
.cta-shoe-stack {
  display: none;
}

/* ========================================
   BUTTONS - Palmer Outlined Style
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
  background: transparent;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  z-index: -1;
}

.btn:hover {
  color: var(--bg-primary);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-primary::before {
  background: transparent;
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: var(--space-sm) var(--space-md);
  text-transform: none;
  letter-spacing: 0;
}

.btn-ghost::before {
  display: none;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.btn-large {
  padding: 20px 48px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--accent-blue);
  border-radius: inherit;
  opacity: 0;
  filter: blur(16px);
  transition: var(--transition-base);
  z-index: -2;
}

.btn-glow:hover::after {
  opacity: 0.3;
}

/* ========================================
   FOOTER - Palmer Minimal Style
   ======================================== */
.footer {
  padding: var(--space-3xl) 0 var(--space-2xl);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: var(--space-xs);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-base);
}

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

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}

/* ========================================
   QUIZ PAGE - Palmer Style
   ======================================== */
.quiz-page {
  background: var(--bg-primary);
}

.quiz-container {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
}

/* Progress */
.quiz-progress {
  margin-bottom: var(--space-3xl);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-lg);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  transition: var(--transition-base);
}

.progress-step.active .step-dot {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.progress-step.completed .step-dot {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.step-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: var(--transition-base);
}

.progress-step.active .step-label {
  color: var(--text-primary);
}

.progress-connector {
  width: 80px;
  height: 1px;
  background: var(--border);
  margin: 0 var(--space-md);
  margin-bottom: 24px;
  transition: var(--transition-base);
}

.progress-connector.active {
  background: var(--text-primary);
}

.progress-bar-mini {
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill-mini {
  height: 100%;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 20%;
}

/* Quiz Steps */
.quiz-step {
  display: none;
  animation: stepFadeIn 0.6s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content {
  max-width: 900px;
  margin: 0 auto;
}

.step-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.step-number {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.step-title {
  font-family: var(--font-body);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.step-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
}

/* Options Grid */
.options-grid {
  display: grid;
  gap: var(--space-md);
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.style-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gender-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}

/* Option Cards */
.option-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-base);
}

.option-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
}

.option-card:active {
  transform: scale(0.98);
}

.category-card {
  padding: var(--space-xl) var(--space-2xl);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  flex-shrink: 0;
  transition: var(--transition-base);
}

.option-card:hover .card-icon {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.card-arrow,
.card-check {
  color: var(--text-muted);
  transition: var(--transition-base);
}

.option-card:hover .card-arrow,
.option-card:hover .card-check {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Gender Cards */
.gender-grid .option-card {
  flex-direction: column;
  text-align: center;
  padding: var(--space-2xl);
}

.option-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  transition: var(--transition-base);
}

.gender-grid .option-card:hover .option-icon {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.option-label {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Size Selector */
.size-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--space-md);
  max-width: 700px;
  margin: 0 auto;
}

.size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-xl);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
  color: var(--text-primary);
}

.size-btn:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-primary);
}

.size-uk {
  font-size: 20px;
  font-weight: 700;
}

.size-eu {
  font-size: 12px;
  opacity: 0.6;
}

/* Budget Grid */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.budget-card {
  flex-direction: column;
  text-align: center;
  padding: var(--space-2xl);
}

.budget-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.budget-range {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

/* Quiz Nav */
.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: var(--space-3xl) auto 0;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.nav-hint {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ========================================
   RESULTS - Palmer Style
   ======================================== */
.results-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.results-title-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.results-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.results-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
}

.results-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.results-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

/* Results Grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
  animation: cardSlideIn 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes cardSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card:hover {
  border-color: var(--text-primary);
  background: var(--bg-card);
}

.result-rank {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
  letter-spacing: 1px;
}

.result-media {
  position: relative;
  background: var(--bg-tertiary);
  padding: var(--space-xl);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-slow);
}

.result-card:hover .result-image {
  transform: scale(1.05);
}

.result-info {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.result-brand {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.size-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.result-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.result-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 12px;
  color: var(--text-muted);
}

.result-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stars {
  color: var(--text-primary);
}

.result-platform {
  padding: 2px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-price {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: auto;
  letter-spacing: -1px;
}

.result-cta {
  padding: var(--space-lg);
  background: transparent;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-base);
}

.result-card:hover .result-cta {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl);
  text-align: center;
}

.loading-spinner-modern {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-xl);
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 50%;
}

.spinner-ring:nth-child(1) {
  border-top-color: var(--text-primary);
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
  inset: 8px;
  border-right-color: var(--text-secondary);
  animation: spin 1.5s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
  inset: 16px;
  border-bottom-color: var(--text-muted);
  animation: spin 2s linear infinite;
}

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

.loading-state .loading-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.3px;
}

.loading-state .loading-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* No Results */
.no-results-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl);
  text-align: center;
}

.no-results-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-bottom: var(--space-xl);
  color: var(--text-muted);
}

.no-results-state h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.no-results-state p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* ========================================
   ANIMATIONS - Scroll Reveal
   ======================================== */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .feature-item {
    grid-template-columns: 60px 1fr;
    gap: var(--space-lg);
  }

  .feature-desc {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    letter-spacing: -2px;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .progress-connector {
    width: 40px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .feature-number {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 var(--space-lg);
  }

  .hero-section {
    padding: 100px var(--space-lg) var(--space-2xl);
  }

  .hero-title {
    font-size: 48px;
    letter-spacing: -1.5px;
  }

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

  .category-grid,
  .style-grid,
  .budget-grid {
    grid-template-columns: 1fr;
  }

  .gender-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .size-selector {
    grid-template-columns: repeat(4, 1fr);
  }

  .results-header {
    flex-direction: column;
    gap: var(--space-lg);
  }

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

  .quiz-nav {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* Grain Overlay - Subtle texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   NEW ADDITIONS - Step Icons & Multi-Select
   ======================================== */

/* Dynamic Question Icons (Lucide SVGs) */
.opt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-right: var(--space-md);
}

.opt-icon svg {
  width: 24px;
  height: 24px;
}

/* Multi Select Styles */
.multi-select-card {
  position: relative;
  justify-content: space-between;
}

.checkbox-indicator {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition-base);
  position: relative;
}

.multi-select-card.selected .checkbox-indicator {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.multi-select-card.selected .checkbox-indicator::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: solid var(--bg-primary);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Full Width Action for Multi-Select Continue */
.full-width-action {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
  animation: fadeIn 0.3s ease;
}

/* Why Recommended Tag */
.why-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 8px;
  line-height: 1.4;
}