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

.estimator-container {
  width: 100%;
}

.estimator-glass {
  max-width: 1400px;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 56px 56px 56px 56px;
  box-shadow: 0 30px 60px -15px rgba(0,162,230,0.2);
  padding: 44px 42px;
  border: 1px solid rgba(255,255,255,0.6);
  transition: all 0.3s ease;
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 2px solid #d0e2ef;
  color: #4a6679;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  transition: 0.2s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.02);
}

.step-label {
  font-weight: 600;
  font-size: 15px;
  color: #3c5a6e;
  letter-spacing: 0.3px;
}

.step-active .step-circle {
  background: #00A2E6;
  border-color: #00A2E6;
  color: white;
  box-shadow: 0 10px 20px -5px #00A2E6;
  transform: scale(1.05);
}

.step-active .step-label {
  color: #00A2E6;
  font-weight: 700;
}

.step-completed .step-circle {
  background: #00A2E6;
  border-color: #00A2E6;
  color: white;
}

.progress-line {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #e3ecf3;
  z-index: 1;
}

.progress-fill {
  height: 4px;
  background: #00A2E6;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  border-radius: 4px;
  box-shadow: 0 0 12px #00A2E6;
}

.step-content {
  position: relative;
  min-height: 360px;
  transition: height 0.3s ease;
}

.step-pane {
  animation: fadeSlide 0.4s ease forwards;
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translateX(16px); }
  100% { opacity: 1; transform: translateX(0); }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.service-card, .category-card, .extra-card {
  background: white;
  border-radius: 32px;
  padding: 32px 20px;
  border: 1px solid #f0f5fa;
  box-shadow: 0 15px 30px -10px rgba(0,162,230,0.06);
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.service-card:before, .category-card:before, .extra-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 0%;
  background: #00A2E6;
  transition: height 0.2s ease;
}

.service-card:hover:before, .category-card:hover:before, .extra-card:hover:before {
  height: 100%;
}

.service-card:hover, .category-card:hover, .extra-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 35px -12px rgba(0,162,230,0.2);
  border-color: #00A2E680;
}

.service-card.active, .category-card.active, .extra-card.active {
  background: linear-gradient(145deg, #ffffff, #f2fbff);
  border: 2px solid #00A2E6;
  box-shadow: 0 20px 35px -10px #00A2E6;
}

.card-icon {
  background: #e9f5fd;
  border-radius: 22px;
  padding: 14px;
  font-size: 30px;
  color: #00A2E6;
  margin-bottom: 24px;
  transition: 0.2s;
}

.service-card:hover .card-icon {
  background: #00A2E6;
  color: white;
}

.card-title {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
  color: #0b1e33;
}

.card-badge {
  background: #cce9ff;
  color: #005f8c;
  border-radius: 60px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}

.details-panel {
  background: white;
  border-radius: 36px;
  padding: 36px;
  border: 1px solid #e9f0f7;
  box-shadow: inset 0 2px 8px rgba(0,162,230,0.02), 0 12px 24px -12px rgba(0,0,0,0.05);
  margin-top: 16px;
}

.option-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.option-card {
  background: #fafdff;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #e0ecf5;
  transition: all 0.15s;
}

.option-card:hover {
  border-color: #00A2E6;
  background: white;
}

.option-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0b2a3b;
  margin-bottom: 24px;
  font-size: 18px;
}

.option-title i {
  color: #00A2E6;
}

.checkbox-item, .range-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #dbe8f0;
}

.checkbox-item:last-child, .range-item:last-child { border-bottom: none; }

.checkbox-custom {
  width: 22px;
  height: 22px;
  accent-color: #00A2E6;
  border-radius: 8px;
  cursor: pointer;
}

.range-slider {
  width: 160px;
  height: 6px;
  background: #d4e2ec;
  border-radius: 10px;
  -webkit-appearance: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #00A2E6;
  border-radius: 50%;
  box-shadow: 0 4px 8px #00A2E6;
  border: 2px solid white;
  cursor: pointer;
  transition: 0.1s;
}

.estimate-float {
  background: white;
  border-radius: 32px;
  padding: 32px;
  margin-top: 48px;
  border: 1px solid #00A2E620;
  box-shadow: 0 -8px 30px rgba(0,162,230,0.06), 0 20px 40px -12px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  transition: all 0.3s;
}

.total-price {
  font-size: 58px;
  font-weight: 800;
  color: #0b1e33;
  letter-spacing: -2px;
  display: flex;
  align-items: baseline;
}
.currency {
  font-size: 32px;
  color: #00A2E6;
  margin-right: 6px;
}

.btn-next, .btn-reset {
  border: none;
  background: #00A2E6;
  color: white;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 60px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 18px -8px #00A2E6;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid white;
}
.btn-next:hover, .btn-reset:hover {
  background: #007bb0;
  transform: scale(1.02);
}
.btn-reset {
  background: white;
  color: #00A2E6;
  border: 2px solid #00A2E6;
  box-shadow: none;
}
.btn-reset:hover {
  background: #00A2E6;
  color: white;
}

.pulse {
  animation: pulseNumber 0.4s ease;
}
@keyframes pulseNumber {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #00A2E6; }
  100% { transform: scale(1); }
}

.hidden-pane { display: none; }
.flex-center { display: flex; align-items: center; }

.config-hint {
  background: #f0f8ff;
  padding: 16px 24px;
  border-radius: 60px;
  color: #006994;
  font-size: 14px;
}

@media (max-width: 700px) {
  .estimator-glass { padding: 28px 20px; }
  .step-label { font-size: 12px; }
  .step-circle { width: 40px; height: 40px; font-size: 18px; }
  .progress-line { top: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .estimate-float { flex-direction: column; align-items: flex-start; }
  .total-price { font-size: 44px; }
  .btn-next, .btn-reset { padding: 12px 24px; font-size: 16px; }
}