:root {
  --gold: #c8973a;
  --gold-light: #e6b554;
  --gold-dim: rgba(200, 151, 58, 0.15);
  --black: #0a0a0a;
  --dark: #111111;
  --card: #161616;
  --border: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.45);
  --success: #4ade80;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--black);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 20% -10%,
      rgba(200, 151, 58, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 110%,
      rgba(200, 151, 58, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 36px;
  object-fit: contain;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-back:hover {
  color: var(--gold);
}
.nav-back svg {
  transition: transform 0.2s;
}
.nav-back:hover svg {
  transform: translateX(-3px);
}

.nav-phone {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

/* MAIN LAYOUT */
main {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* HEADER */
.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-dim);
  border: 1px solid rgba(200, 151, 58, 0.3);
  color: var(--gold);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-header h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 8vw, 90px);
  line-height: 0.95;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 16px;
}

.page-header h1 span {
  color: var(--gold);
}

.page-header p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* STEPS INDICATOR */
.steps-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.step-item.active .step-circle {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 20px rgba(200, 151, 58, 0.4);
}

.step-item.done .step-circle {
  border-color: var(--success);
  background: var(--success);
  color: #000;
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.step-item.active .step-label {
  color: var(--gold);
}
.step-item.done .step-label {
  color: var(--success);
}

.step-line {
  width: 80px;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
  position: relative;
}
.step-line.done {
  background: var(--success);
}

/* FORM CARD */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* FORM SECTIONS */
.form-section {
  display: none;
}
.form-section.active {
  display: block;
  animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 8px;
}

.section-desc {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

/* DEVICE GRID */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.device-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.02);
}

.device-card:hover {
  border-color: rgba(200, 151, 58, 0.4);
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.device-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 20px rgba(200, 151, 58, 0.2);
}

.device-icon {
  font-size: 36px;
  margin-bottom: 10px;
  display: block;
}

.device-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}

/* FILM OPTIONS */
.film-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.film-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s;
  background: rgba(255, 255, 255, 0.02);
}

.film-card:hover {
  border-color: rgba(200, 151, 58, 0.4);
  background: var(--gold-dim);
}

.film-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.film-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.film-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.film-price {
  font-weight: 800;
  color: var(--gold);
  font-size: 16px;
}

/* FORM FIELDS */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 58, 0.12);
}

select {
  cursor: pointer;
  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='%23c8973a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

select option {
  background: #1a1a1a;
  color: white;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* TIME SLOTS */
.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.time-slot {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}

.time-slot:hover:not(.taken) {
  border-color: var(--gold);
  color: var(--gold);
}

.time-slot.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
}

.time-slot.taken {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* NAVIGATION BUTTONS */
.btn-row {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}

.btn-back {
  padding: 15px 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  border-color: var(--muted);
  color: var(--text);
}

.btn-next {
  flex: 1;
  padding: 15px 30px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #000;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(200, 151, 58, 0.3);
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 151, 58, 0.45);
}

.btn-next:active {
  transform: translateY(0);
}

.btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* SUMMARY BOX */
.summary-box {
  background: rgba(200, 151, 58, 0.07);
  border: 1px solid rgba(200, 151, 58, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
}

.summary-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-key {
  color: var(--muted);
}
.summary-val {
  font-weight: 700;
  color: var(--text);
}
.summary-val.price {
  color: var(--gold);
  font-size: 18px;
}

/* SUCCESS STATE */
.success-screen {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--success), #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
}

.success-screen h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 52px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.success-screen p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 30px;
}

.success-screen .btn-next {
  display: inline-block;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 12px;
}

/* NOTICE */
.notice {
  background: rgba(200, 151, 58, 0.08);
  border: 1px solid rgba(200, 151, 58, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: rgba(200, 151, 58, 0.9);
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  nav {
    padding: 0 20px;
  }
  .form-card {
    padding: 28px 20px;
  }
  .film-options {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .device-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-track {
    gap: 0;
  }
  .step-line {
    width: 40px;
  }
  .step-label {
    font-size: 10px;
  }
}

/* Info blocks next to form */
.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}

.booking-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 16px;
}

.sidebar-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 16px;
}

.sidebar-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.sidebar-info-item .icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.why-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 840px) {
  .booking-wrapper {
    grid-template-columns: 1fr;
  }
  .booking-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .booking-sidebar {
    grid-template-columns: 1fr;
  }
}
