/* order.css - Modern Stepper Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #050505;
  --surface: rgba(20, 20, 20, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #C9A84C;
  --accent-glow: rgba(201, 168, 76, 0.4);
  --text-primary: #F0F0F0;
  --text-secondary: #A0A0A0;
  --glass: blur(12px);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(201, 168, 76, 0.03) 0%, transparent 40%);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Progress Header */
.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent);
  width: 10%; 
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
}

.back-btn {
  position: absolute;
  top: 40px;
  left: 24px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.back-btn:hover {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.step-counter {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 20px;
  border-radius: 100px;
}

.step-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(to bottom, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .step-title { font-size: 28px; }
}

.step-content {
  width: 100%;
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Options Grid */
.lang-grid, .whom-grid, .occasion-grid, .voice-grid, .style-grid, .character-grid {
  display: grid;
  gap: 16px;
}

.lang-grid { grid-template-columns: repeat(3, 1fr); }
.whom-grid { grid-template-columns: repeat(2, 1fr); }
.occasion-grid { grid-template-columns: repeat(2, 1fr); }
.style-grid { 
  grid-template-columns: repeat(4, 1fr); 
  max-height: 420px;
  overflow-y: auto;
  padding: 10px 10px 10px 0;
}
.style-grid::-webkit-scrollbar { width: 4px; }
.style-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

.option-card {
  background: var(--surface);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.option-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.option-card.selected {
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.15);
}

.option-card svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  transition: 0.3s;
}

.option-card.selected svg {
  filter: drop-shadow(0 0 8px var(--accent));
}

.option-label {
  font-weight: 600;
  font-size: 16px;
}

/* Style Groups */
.style-separator {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-top: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  opacity: 0.8;
}

/* Textarea */
textarea {
  width: 100%;
  background: var(--surface);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.6;
  resize: none;
  min-height: 240px;
  transition: 0.3s;
}

textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.char-counter {
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* Summary Box */
.summary-card {
  background: var(--surface);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.summary-val {
  color: var(--text-secondary);
  font-weight: 600;
}

.price-line {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

.btn-full {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  height: 60px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 17px;
  margin-top: 40px;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.2);
  border: none;
  cursor: pointer;
}

.btn-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px var(--accent-glow);
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .step-title { font-size: 32px; }
  .order-container { padding: 40px 20px; }
}
