* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
  background: transparent;
  color: #111827;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.video-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

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

.project-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.project-header {
  text-align: center;
  margin-bottom: 4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  margin-bottom: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.back-link:hover {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.25);
  transform: translateX(-4px);
}

.project-header h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: 600px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.step-number {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(17, 24, 39, 0.15);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.active .step-number {
  background: #000;
  border-color: #000;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.step.completed .step-number {
  background: #000;
  border-color: #000;
  color: #fff;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.4);
  transition: color 0.3s ease;
}

.step.active .step-label {
  color: #000;
}

.step.completed .step-label {
  color: #000;
}

.step-line {
  flex: 1;
  height: 2px;
  background: rgba(17, 24, 39, 0.12);
  min-width: 2rem;
  max-width: 6rem;
  transition: background 0.4s ease;
}

.step.completed ~ .step-line {
  background: #000;
}

/* Form Steps */
.project-form {
  position: relative;
  min-height: 500px;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-subtitle {
  font-size: 1rem;
  color: rgba(17, 24, 39, 0.6);
  margin-bottom: 2rem;
  text-align: center;
}

.form-section {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.form-section:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 1.5rem;
  border: 2px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem 1.75rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  border-color: rgba(17, 24, 39, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.service-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-card input[type="radio"]:checked ~ .service-content {
  opacity: 1;
}

.service-card input[type="radio"]:checked ~ .service-check {
  opacity: 1;
  transform: scale(1);
}

.service-card:has(input[type="radio"]:checked) {
  border-color: #000;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  transform: translateY(-6px);
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(17, 24, 39, 0.04);
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(17, 24, 39, 0.08);
}

.service-card:has(input[type="radio"]:checked) .service-icon {
  background: rgba(0, 0, 0, 0.06);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.75;
}

.service-card h3 {
  font-size: 1.2rem;
  margin: 0.25rem 0 0;
  line-height: 1.3;
  font-weight: 600;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(17, 24, 39, 0.65);
  line-height: 1.55;
  margin: 0;
}

.service-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  margin-top: 0.75rem;
  letter-spacing: -0.02em;
}

.service-check {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-check svg {
  width: 1.25rem;
  height: 1.25rem;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

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

.input-group label {
  font-size: 0.925rem;
  font-weight: 600;
  color: #111827;
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(17, 24, 39, 0.15);
  background: rgba(255, 255, 255, 0.98);
  font-size: 0.975rem;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
  background: #fff;
}

.input-group input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.input-group textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}

.next-btn,
.submit-btn,
.back-btn {
  padding: 1.15rem 2.5rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.next-btn svg,
.submit-btn svg,
.back-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.next-btn,
.submit-btn {
  background: #000;
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  min-width: 200px;
}

.next-btn:hover,
.submit-btn:hover {
  background: #1f2937;
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.back-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border: 1.5px solid rgba(17, 24, 39, 0.15);
}

.back-btn:hover {
  background: #fff;
  border-color: rgba(17, 24, 39, 0.3);
  transform: translateX(-4px);
}

/* Success Step */
.success-step {
  text-align: center;
}

.success-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 1.75rem;
  padding: 4rem 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.success-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000;
  color: #fff;
  animation: successPop 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.success-icon svg {
  width: 3rem;
  height: 3rem;
}

.success-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.success-content p {
  font-size: 1.05rem;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.home-btn:hover {
  background: #1f2937;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .project-container {
    padding: 2rem 1rem;
  }

  .project-header {
    margin-bottom: 3rem;
  }

  .stepper {
    gap: 0.5rem;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.95rem;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .step-line {
    min-width: 1rem;
    max-width: 3rem;
  }

  .form-section {
    padding: 2rem 1.5rem;
  }

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

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

  .form-actions {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .next-btn,
  .submit-btn,
  .back-btn {
    width: 100%;
    min-width: 100%;
  }

  .success-content {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .form-section {
    padding: 1.5rem 1.25rem;
  }

  .step-label {
    display: none;
  }
}
