:root {
  --bg-deep: #0A0A0A;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --text-primary: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #FFFFFF;
  --accent-dim: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, 0.1);
  --warning: #fcd34d;
  --warning-bg: rgba(252, 211, 77, 0.1);
  --muted-tag: rgba(255, 255, 255, 0.08);
  /* Premium accent - warm champagne gold for luxury feel */
  --premium-accent: #D4A574;
  --premium-accent-dim: rgba(212, 165, 116, 0.15);
  --premium-glow: rgba(212, 165, 116, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'Geist', -apple-system, sans-serif;
  font-weight: 200;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.configurator {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.header {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.progress-fill {
  height: 100%;
  background: var(--text-primary);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 0;
}

.progress-step {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

/* Main content area */
.main-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  flex: 1;
  min-height: calc(100vh - 100px);
  height: 100%;
  padding: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ALL screens use identical width - 100% of parent (which is 90%/1280px) */
.screen {
  display: none;
  width: 100%;
  padding: 4rem 0;
  animation: fadeIn 0.5s ease;
}

.screen.active {
  display: block;
  width: 100%;
}

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

.question-number {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}

.question-title {
  display: block;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Options Grid - Psychology: Gestalt proximity, visual grouping */
.options-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
}
.options-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
  .options-grid.cols-2,
  .options-grid.cols-3 { grid-template-columns: 1fr; }
}

/* Option Cards - Psychology: Fitts's Law (large targets), visual hierarchy, affordance */
.option-card {
  position: relative;
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

/* Glow effect layer */
.option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 165, 116, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

/* Shimmer/highlight effect */
.option-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

/* Hover State - Psychology: Feedback, anticipation */
.option-card:hover {
  border-color: rgba(212, 165, 116, 0.5);
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(180deg, #1e1e1e 0%, #181818 100%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 25px rgba(212, 165, 116, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.option-card:hover::before {
  opacity: 1;
}

.option-card:hover::after {
  left: 100%;
}

/* Selected State - Psychology: Confirmation, reward */
.option-card.selected {
  border-color: var(--premium-accent);
  background: linear-gradient(180deg, #231e18 0%, #1a1714 100%);
  box-shadow:
    0 15px 50px rgba(212, 165, 116, 0.25),
    0 0 0 1px var(--premium-accent),
    inset 0 1px 0 rgba(212, 165, 116, 0.1);
  transform: translateY(-4px);
}

.option-card.selected::before {
  opacity: 1;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 165, 116, 0.15) 0%, transparent 60%);
}

/* Check indicator for selected cards */
.option-card.selected .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  background: var(--premium-accent);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.5);
  z-index: 3;
  animation: checkPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.check-icon svg {
  width: 18px;
  height: 18px;
}

/* Icon Container - Psychology: Visual anchor, recognition */
.option-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #252525 0%, #1f1f1f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.option-card:hover .option-icon {
  background: linear-gradient(135deg, #2d2d2d 0%, #252525 100%);
  border-color: rgba(212, 165, 116, 0.4);
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(212, 165, 116, 0.2);
  transform: scale(1.05);
}

.option-card.selected .option-icon {
  background: linear-gradient(135deg, #3a3020 0%, #2a2518 100%);
  border-color: rgba(212, 165, 116, 0.6);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(212, 165, 116, 0.25);
}

.option-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-secondary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: stroke 0.3s ease;
}

/* Path tracing animation for all SVG paths */
.option-icon svg path,
.option-icon svg rect,
.option-icon svg circle,
.option-icon svg ellipse,
.option-icon svg polyline {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180 20;
  animation: pathTrace 3s linear infinite;
}

.option-card:hover .option-icon svg {
  stroke: var(--premium-accent);
}

.option-card:hover .option-icon svg path,
.option-card:hover .option-icon svg rect,
.option-card:hover .option-icon svg circle,
.option-card:hover .option-icon svg ellipse,
.option-card:hover .option-icon svg polyline {
  animation: pathTraceFast 1.5s linear infinite;
}

.option-card.selected .option-icon svg {
  stroke: var(--premium-accent);
  filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.4));
}

.option-card.selected .option-icon svg path,
.option-card.selected .option-icon svg rect,
.option-card.selected .option-icon svg circle,
.option-card.selected .option-icon svg ellipse,
.option-card.selected .option-icon svg polyline {
  animation: pathTraceGlow 2s linear infinite;
}

/* Icon Path Tracing Animations */
@keyframes pathTrace {
  0% {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pathTraceFast {
  0% {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pathTraceGlow {
  0% {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Staggered animation delays for visual interest */
.option-card:nth-child(1) .option-icon svg path,
.option-card:nth-child(1) .option-icon svg rect,
.option-card:nth-child(1) .option-icon svg circle { animation-delay: 0s; }
.option-card:nth-child(2) .option-icon svg path,
.option-card:nth-child(2) .option-icon svg rect,
.option-card:nth-child(2) .option-icon svg circle { animation-delay: 0.3s; }
.option-card:nth-child(3) .option-icon svg path,
.option-card:nth-child(3) .option-icon svg rect,
.option-card:nth-child(3) .option-icon svg circle { animation-delay: 0.6s; }

/* Method icon path tracing */
.method-icon svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-icon svg path,
.method-icon svg rect,
.method-icon svg circle {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180 20;
  animation: pathTrace 3s linear infinite;
}

.method-card:hover .method-icon svg path,
.method-card:hover .method-icon svg rect,
.method-card:hover .method-icon svg circle {
  animation: pathTraceFast 1.5s linear infinite;
}

/* Fail screen icon path tracing */
.fail-icon svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fail-icon svg path,
.fail-icon svg circle {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 130 20;
  animation: pathTraceSlow 4s linear infinite;
}

@keyframes pathTraceSlow {
  0% {
    stroke-dashoffset: 150;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Title - Psychology: Visual hierarchy, readability */
.option-title {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.option-card:hover .option-title {
  color: #fff;
}

.option-card.selected .option-title {
  color: var(--premium-accent);
}

/* Description - Psychology: Supporting information, reduces cognitive load */
.option-description {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 200;
  line-height: 1.6;
  transition: color 0.3s ease;
  flex-grow: 1;
}

.option-card:hover .option-description {
  color: rgba(255, 255, 255, 0.7);
}

/* Tags - Psychology: Social proof, urgency, categorization */
.option-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
}

.option-tag.green {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.25);
  color: #6ee7a0;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
}

.option-tag.green::before {
  content: '✓';
  font-size: 0.65rem;
}

.option-tag.yellow {
  background: rgba(252, 211, 77, 0.12);
  border-color: rgba(252, 211, 77, 0.25);
  color: #fcd861;
  box-shadow: 0 0 20px rgba(252, 211, 77, 0.1);
}

.option-card:hover .option-tag.green {
  background: rgba(74, 222, 128, 0.18);
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.15);
}

.option-card:hover .option-tag.yellow {
  background: rgba(252, 211, 77, 0.18);
  border-color: rgba(252, 211, 77, 0.4);
  box-shadow: 0 0 25px rgba(252, 211, 77, 0.15);
}

.fail-screen {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.fail-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  opacity: 0.5;
}

.fail-title {
  font-size: 1.8rem;
  font-weight: 200;
  margin-bottom: 1rem;
}

.fail-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.fail-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3rem;
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.fail-cta:hover {
  border-color: var(--text-primary);
  background: var(--accent-dim);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .method-grid { grid-template-columns: 1fr; }
}

.method-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2.5rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-align: center;
}

.method-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.method-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) scale(1.02);
}

.method-card:hover::before { opacity: 1; }

.method-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.method-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-primary);
  stroke-width: 1;
  fill: none;
}

.method-title {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.method-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 200;
  line-height: 1.6;
}

.method-arrow {
  margin-top: 1.5rem;
  width: 32px;
  height: 32px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.method-card:hover .method-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Configurator */
.configurator-section {
  width: 100%;
}

.configurator-grid {
  display: flex;
  flex-direction: row-reverse;
  gap: 4rem;
  align-items: start;
  width: 100%;
}

@media (max-width: 1024px) {
  .configurator-grid {
    flex-direction: column;
    gap: 2rem;
  }
}

.visuals-column {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  flex: 0;
  min-width: 0;
  width: 0;
  overflow: hidden;
  transition: flex 0.4s ease, width 0.4s ease;
}

.visuals-column.has-visuals {
  flex: 1;
  width: auto;
}

.visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin-bottom 0.4s ease;
  margin-bottom: 0;
}

.visual-card.visible {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 1.5rem;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  position: absolute;
  inset: 0;
}

.visual-card canvas {
  width: 100%;
  height: 100%;
}

.config-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
  width: 100%;
  transition: flex 0.4s ease;
}

#products-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-number {
  width: 32px;
  height: 32px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 400;
}

.product-title {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.input-row select,
.input-row input { flex: 1; }

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

.input-wrapper { position: relative; }

.input-suffix {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

select,
input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-weight: 200;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

select {
  padding-right: 2.5rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

select:focus,
input:focus { border-color: var(--text-secondary); }

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] { -moz-appearance: textfield; }
.input-wrapper input { padding-right: 3rem; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1rem 0;
}

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

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

.icon-btn svg { width: 16px; height: 16px; }

.add-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
}

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

/* Select highlight wrapper with path-tracing animation */
.select-highlight-wrapper {
  position: relative;
  flex: 1;
}

.select-highlight-wrapper select {
  position: relative;
  z-index: 1;
}

.select-highlight-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  color: var(--premium-accent);
  opacity: 0.8;
}

.select-highlight-border rect {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: selectHighlightTrace 3s ease-in-out infinite;
}

@keyframes selectHighlightTrace {
  0% {
    stroke-dashoffset: 400;
    opacity: 0.8;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -400;
    opacity: 0.8;
  }
}

/* Quantity controls */
.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.quantity-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.25rem 0.5rem;
}

.quantity-controls.full-width {
  width: 100%;
  justify-content: center;
  padding: 0.5rem 1rem;
}

.quantity-btn {
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  color: var(--premium-accent);
  background: var(--accent-dim);
}

.quantity-btn svg {
  width: 16px;
  height: 16px;
}

.quantity-value {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  min-width: 2rem;
  text-align: center;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2rem;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.summary-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 200;
  line-height: 1.6;
}

.summary-details { opacity: 0.6; }

.summary-total {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 1.75rem;
  font-weight: 200;
}

.summary-tva {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.cta-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.25rem 2rem;
  background: var(--text-primary);
  color: var(--bg-deep);
  border: none;
  border-radius: 1.5rem;
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.cta-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(255,255,255,0.1);
}

.back-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--text-secondary);
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

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

.back-btn svg { width: 16px; height: 16px; }
.back-btn.hidden { display: none; }

.footer {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2rem 0;
  text-align: center;
}

.footer-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
  .header { width: 100%; padding: 0.25rem 0 0.15rem 0; }
  .main-content { width: 100%; }
  .screen { padding: 2rem 0; }
  .footer { width: 100%; }
  .question-title { font-size: 1.75rem; margin-bottom: 0.75rem; }
  .option-card {
    padding: 1.75rem 1.5rem;
    min-height: 200px;
  }
  .option-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.25rem;
  }
  .option-title { font-size: 1.2rem; }
  .option-description { font-size: 0.9rem; }
  .method-card { padding: 2rem; }
  .back-btn { bottom: 1rem; left: 1rem; }
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

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

/* ============================================
   NEW FLOW STYLES
   ============================================ */

/* Glass Options - Large buttons */
.glass-options {
  max-width: 800px;
  margin: 0 auto;
}

.glass-card {
  min-height: 320px;
}

.glass-card .option-icon.large {
  width: 100px;
  height: 100px;
  padding: 1.25rem;
}

/* Frame Grid - Photo cards */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 1200px) {
  .frame-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .frame-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .frame-grid {
    grid-template-columns: 1fr;
  }
}

.frame-card {
  background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.frame-card:hover {
  border-color: rgba(212, 165, 116, 0.5);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 8px 25px rgba(212, 165, 116, 0.15);
}

.frame-card.selected {
  border-color: var(--premium-accent);
  box-shadow:
    0 15px 50px rgba(212, 165, 116, 0.25),
    0 0 0 1px var(--premium-accent);
}

.frame-image {
  position: relative;
  aspect-ratio: 1;
  background: #0d0d0d;
  overflow: hidden;
}

.frame-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.frame-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.frame-badge.popular {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #6ee7a0;
}

.frame-badge.premium {
  background: rgba(212, 165, 116, 0.15);
  border: 1px solid rgba(212, 165, 116, 0.3);
  color: var(--premium-accent);
}

.frame-info {
  padding: 1.25rem;
}

.frame-name {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.frame-price {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--premium-accent);
  margin-bottom: 0.35rem;
}

.frame-benefit {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 200;
}

/* Configurator Layout */
.config-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.config-selection-info {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-primary);
}

.change-link {
  background: none;
  border: none;
  color: var(--premium-accent);
  font-family: 'Geist', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.change-link:hover {
  opacity: 0.7;
}

.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .configurator-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.config-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  top: 2rem;
}

.config-preview canvas {
  width: 100%;
  height: 100%;
}

.config-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.control-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
}

.control-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.control-col.quantity-col {
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .control-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}

.control-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dimension-inputs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dimension-inputs .input-wrapper {
  flex: 1;
}

.dimension-x {
  color: var(--text-muted);
  font-size: 1.25rem;
  font-weight: 200;
}

.dimension-presets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--text-secondary);
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.preset-btn.active {
  background: var(--premium-accent-dim);
  border-color: var(--premium-accent);
  color: var(--premium-accent);
}

.dimension-manual-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 200;
  margin-top: 0.5rem;
}

/* Toggle Buttons */
.toggle-buttons {
  display: flex;
  gap: 0.5rem;
}

.toggle-btn {
  flex: 1;
  padding: 0.85rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text-secondary);
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.toggle-btn.active {
  background: var(--premium-accent-dim);
  border-color: var(--premium-accent);
  color: var(--premium-accent);
}

/* Price Display */
.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 1.5rem;
}

.price-display.hidden {
  display: none;
}

.price-value {
  font-size: 2rem;
  font-weight: 300;
  color: var(--premium-accent);
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Add Product Button */
.add-product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-product-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.hidden {
  display: none !important;
}

/* Cart Styles */
.cart-container {
  max-width: 700px;
  margin: 0 auto;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
}

@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.cart-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-item-title {
  font-size: 1.1rem;
  font-weight: 400;
}

.cart-item-details {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 200;
}

.cart-item-price {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--premium-accent);
}

.cart-item-actions {
  display: flex;
  gap: 0.75rem;
}

.cart-action-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2rem;
  color: var(--text-secondary);
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.cart-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.cart-summary {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.cart-total {
  font-size: 1.5rem;
  font-weight: 300;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.cart-total span:first-of-type {
  color: var(--premium-accent);
}

.cart-incentive {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-incentive.hidden {
  display: none;
}

.cart-incentive.unlocked {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.12) 0%, rgba(212, 165, 116, 0.05) 100%);
  border-color: rgba(212, 165, 116, 0.3);
}

.cart-incentive.unlocked strong {
  color: var(--premium-accent);
}

.cart-incentive strong {
  color: var(--text-primary);
}

.incentive-icon {
  font-size: 1.1rem;
}

.cart-actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 600px) {
  .cart-actions {
    flex-direction: column;
  }
}

.secondary-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  color: var(--text-secondary);
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.add-more-btn {
  width: 100%;
  margin-bottom: 2rem;
}

/* Cart Form Styles */
.cart-form-fields {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-field {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Geist', sans-serif;
  font-weight: 200;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-field:focus {
  border-color: var(--text-secondary);
}

.form-field::placeholder {
  color: var(--text-muted);
}

/* Select dropdown styling */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.25rem 2rem;
  background: var(--text-primary);
  color: var(--bg-deep);
  border: none;
  border-radius: 1.5rem;
  font-family: 'Geist', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-align: center;
  display: block;
  box-sizing: border-box;
}

.form-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(255,255,255,0.1);
}

/* Reset Webflow default styles */
.w-form {
  margin: 0;
  padding: 0;
}

.cart-form-block {
  margin-top: 2rem;
}

.w-input,
.w-button {
  all: unset;
  box-sizing: border-box;
}

/* Hide Webflow success/error messages */
.w-form-done,
.w-form-fail {
  display: none !important;
}

.cart-actions .cta-btn {
  flex: 1;
  margin-top: 0;
}

/* Suggested scope card */
.option-card.suggested {
  border-color: rgba(212, 165, 116, 0.3);
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.1);
}

.option-card.suggested::before {
  opacity: 0.5;
}

/* Email Capture */
.email-capture {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.email-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: var(--premium-accent);
  opacity: 0.8;
}

.email-title {
  font-size: 2rem;
  font-weight: 200;
  margin-bottom: 1rem;
}

.email-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 200;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.email-form input {
  text-align: center;
  font-size: 1.1rem;
}

.email-form .cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.back-home-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Success Screen */
.success-screen {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  color: #4ade80;
}

.success-icon svg {
  stroke-width: 1.5;
}

.success-title {
  font-size: 2.5rem;
  font-weight: 200;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 200;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.success-screen .cta-btn {
  display: inline-flex;
  width: auto;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
