/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e3e8ef 100%);
  color: #1a202c;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Progress Bar */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #ffad0c, #ff5900);
  transition: width 0.3s ease;
  width: 0%;
}

/* Main Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-wrapper {
  width: 100%;
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Hero Image */
.hero-image-container {
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.hero-image-container.visible {
  height: 280px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Step Content */
.step-content {
  padding: 2.5rem 2rem;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a202c;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1a202c;
}

p {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
  width: 100%;
  background: linear-gradient(to right, #ffad0c, #ff5900);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(255, 89, 0, 0.15);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(255, 89, 0, 0.25);
  transform: scale(1.02);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: scale(1);
}

/* Option Cards */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 2px solid #eaeaea;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
  color: #1a202c;
}

.option-card:hover {
  border-color: #ffad0c;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.option-card.selected {
  background: linear-gradient(to right, #ffad0c, #ff5900);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 89, 0, 0.2);
}

.option-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 8px;
}

/* Form Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a202c;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #ffad0c;
  box-shadow: 0 0 0 3px rgba(255, 173, 12, 0.1);
}

/* Consent Checkbox */
.consent-group {
  margin-bottom: 1.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #ff5900;
}

.consent-link {
  color: #ff5900;
  text-decoration: underline;
}

.consent-link:hover {
  color: #ffad0c;
}

/* Package Cards */
.packages-section {
  background: #e8ddf7;
  margin: -2.5rem -2rem 0;
  padding: 2.5rem 2rem;
}

.packages-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.package-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  position: relative;
}

.package-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.selected-package {
  border: 2px solid #ff5900;
  box-shadow: 0 4px 16px rgba(255, 89, 0, 0.2);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d0c1d;
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 6px 6px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.package-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.package-divider {
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 1rem;
}

.package-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.package-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #4a5568;
}

.check-icon {
  color: #7b2ff7;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.btn-package {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid #d1d5db;
  background: white;
  color: #4a5568;
}

.btn-package:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}

.btn-package.gradient {
  background: linear-gradient(to right, #7b2ff7, #a855f7);
  color: white;
  border: none;
}

.btn-package.gradient:hover {
  box-shadow: 0 4px 12px rgba(123, 47, 247, 0.3);
}

.package-note {
  text-align: right;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* Success Message */
.success-container {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: #10b981;
}

.success-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a202c;
}

.success-message {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

/* Navigation Buttons */
.navigation-buttons {
  padding: 0 2rem 2rem;
  display: flex;
  gap: 1rem;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
}

.btn-reset {
  padding: 0.75rem 1.5rem;
  background: #f3f4f6;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.btn-reset:hover {
  background: #e5e7eb;
}

/* Error Message */
.error-message {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out;
}

/* Responsive Design */
@media (min-width: 768px) {
  .container {
    padding: 3rem 2rem;
  }

  .step-content {
    padding: 3rem 2.5rem;
  }

  .hero-image-container.visible {
    height: 320px;
  }

  h1 {
    font-size: 3rem;
  }

  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .packages-section {
    margin: -3rem -2.5rem 0;
    padding: 3rem 2.5rem;
  }

  .navigation-buttons {
    padding: 0 2.5rem 2.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .step-content {
    padding: 2rem 1.5rem;
  }

  .hero-image-container.visible {
    height: 200px;
  }
}

/* Secondary Button */
.btn-secondary {
  width: 100%;
  background: transparent;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
}