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

body {
  font-family: "Inter", sans-serif;
  background-color: #0b1120; /* Глубокий тёмно-синий, необычный фон */
  color: #e2e8f0;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Необычный градиент для акцентов */
.accent-gradient {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  color: white;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 10px 25px -5px rgba(167, 139, 250, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px -5px rgba(236, 72, 153, 0.5);
}

/* Шапка */
.header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-phone {
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s;
}
.header-phone i {
  margin-right: 8px;
  color: #ec4899;
}
.header-phone:hover {
  color: white;
}

/* Hero секция */
.hero {
  padding: 60px 0 40px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(167, 139, 250, 0.1);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
}

.hero-image {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  display: block;
}

/* Плюшки (условия) */
.features {
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 28px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: 0.2s;
}

.feature-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.05);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.feature-desc {
  color: #94a3b8;
  font-size: 15px;
}

/* ---------- ПОЛНОСТЬЮ ПЕРЕДЕЛАННЫЙ БЛОК АВТОМОБИЛЕЙ ---------- */
.cars {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-align: center;
}

.section-title span {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 60px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.car-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.car-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 25px 40px -15px rgba(236, 72, 153, 0.3);
}

.car-image {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
  transform: scale(1.08);
}

.car-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 2;
}

.car-badge.new {
  background: linear-gradient(135deg, #00b09b, #96c93d);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 176, 155, 0.3);
}

.car-badge.used {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #0b1120;
  box-shadow: 0 5px 15px rgba(247, 151, 30, 0.3);
}

.car-info {
  padding: 24px 20px 20px;
}

.car-name {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  line-height: 1.2;
}

.car-details {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: #94a3b8;
  font-size: 14px;
}

.car-details i {
  color: #ec4899;
  margin-right: 5px;
}

.car-price-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.car-price-label {
  font-size: 14px;
  color: #64748b;
}

.car-price-value {
  font-size: 26px;
  font-weight: 700;
  color: white;
}

.car-price-value small {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
}

.car-btn {
  background: transparent;
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: white;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.car-btn:hover {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  border-color: transparent;
}
/* ---------- КОНЕЦ БЛОКА АВТО ---------- */

/* Карта + форма (без изменений) */
.location {
  padding: 60px 0 80px;
}

.location-wrapper {
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.map-container {
  flex: 1.2;
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) invert(0.9) hue-rotate(200deg);
}

.form-container {
  flex: 0.8;
  padding: 40px 30px;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.form-text {
  color: #94a3b8;
  margin-bottom: 24px;
  font-size: 15px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: white;
  outline: none;
  transition: 0.2s;
}

.input-group input::placeholder {
  color: #475569;
}

.input-group input:focus {
  border-color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
}

.form-btn {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* Футер */
.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 14px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-links a:hover {
  color: #ffffff;
}
/* Адаптация */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
  }
  .hero-title {
    font-size: 42px;
  }
  .features-grid,
  .cars-grid {
    grid-template-columns: 1fr;
  }
  .location-wrapper {
    flex-direction: column;
  }
  .map-container {
    height: 250px;
  }
}
