/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1A1A2E;
  --primary-dark: #16213E;
  --orange: #FF6B35;
  --orange-light: #FF8A5C;
  --orange-bg: #FFF4EE;
  --orange-border: #FFDCC8;
  --blue: #4361EE;
  --blue-bg: #EEF0FF;
  --green: #06D6A0;
  --green-bg: #E8FFF6;
  --white: #FFFFFF;
  --bg-light: #F5F6F8;
  --bg-card: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-main: #374151;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --border: #F0F0F0;
  --border-hover: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

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

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-icon {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-dark);
  background: var(--bg-light);
}

.nav-links a.active {
  color: var(--orange);
  background: var(--gold-bg);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: var(--bg-light);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FFF0E8 0%, #FFFFFF 50%, #F0F4FF 100%);
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.04) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 80px 24px 60px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 4px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.btn-sell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--orange);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
  letter-spacing: 0.5px;
}

.btn-sell:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 107, 53, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
  line-height: 1.2;
}

.hero-stat-text {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== Section Common ===== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-gray);
}

.section-header.left {
  text-align: left;
}

/* ===== Sell Car - Core Section ===== */
.sell-car {
  background: var(--bg-light);
  padding: 100px 0;
}

.sell-car-wrapper {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.sell-form-section {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sell-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: var(--gold-bg);
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold-border);
}

.sell-form {
  padding: 28px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group select,
.form-group input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.btn-submit {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.35);
  transform: translateY(-1px);
}

.sell-form-tips {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 28px 20px;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

.sell-benefits {
  flex: 0 0 320px;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.sell-benefits h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-bg);
  border-radius: 12px;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.benefit-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.benefit-text span {
  font-size: 13px;
  color: var(--text-gray);
}

/* ===== Brands ===== */
.brands {
  background: var(--white);
  padding: 80px 0;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.brand-item {
  padding: 10px 28px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.brand-item:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--gold-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== Services ===== */
.services {
  background: var(--white);
}

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

.service-card {
  padding: 36px 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  background: var(--gold-bg);
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card:nth-child(2) .service-icon {
  background: var(--blue-bg);
}

.service-card:nth-child(2) .service-tag {
  color: var(--blue);
  background: var(--blue-bg);
}

.service-card:nth-child(3) .service-icon {
  background: var(--green-bg);
}

.service-card:nth-child(3) .service-tag {
  color: var(--green);
  background: var(--green-bg);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 10px;
}

.service-link.link-blue {
  color: var(--blue);
}

.service-link.link-green {
  color: var(--green);
}

/* ===== Process (卖车流程) ===== */
.process {
  background: var(--bg-light);
  padding: 80px 0;
}

.process-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.process-item {
  flex: 0 0 180px;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.process-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--bg-light);
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
  line-height: 1;
  user-select: none;
  z-index: 0;
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--gold-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.process-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.process-item p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.process-arrow {
  flex-shrink: 0;
  padding: 0 4px;
  color: var(--orange);
  opacity: 0.5;
}

/* ===== Cars Page Hero ===== */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #FFF0E8 0%, #FFFFFF 50%, #F0F4FF 100%);
  text-align: center;
}

.page-hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.page-hero-content p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 36px;
}

.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.page-hero-stat {
  text-align: center;
}

.page-hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
}

.page-hero-stat span {
  font-size: 13px;
  color: var(--text-gray);
}

/* ===== Cars (二手车展示) ===== */
.cars-main {
  background: var(--white);
}

.cars-filter {
  margin-bottom: 32px;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  background: var(--bg-light);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
}

.filter-tab {
  padding: 8px 24px;
  border: none;
  background: transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.filter-tab:hover {
  color: var(--text-dark);
}

.filter-tab.active {
  background: var(--white);
  color: var(--orange);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  padding: 6px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-gray);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.filter-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-tag.active {
  background: var(--orange-bg);
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 500;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.car-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.car-card.hidden {
  display: none;
}

.car-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  background: var(--orange);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
}

.car-tag.tag-new {
  background: var(--blue);
}

.car-tag.tag-hot {
  background: var(--green);
}

.car-info {
  padding: 16px;
}

.car-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.car-meta span {
  font-size: 12px;
  color: var(--text-light);
  padding: 2px 8px;
  background: var(--bg-light);
  border-radius: 4px;
}

.car-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.car-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
  line-height: 1.2;
}

.price-unit {
  font-size: 14px;
  font-weight: 600;
}

.price-wan {
  font-size: 13px;
  font-weight: 600;
}

.car-city {
  font-size: 12px;
  color: var(--text-light);
}

.cars-more {
  text-align: center;
}

/* ===== Modal ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 20px;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 24px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}

.modal-car-name {
  padding: 8px 24px 0;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.5;
}

.modal-form {
  padding: 16px 24px;
}

.modal-form .form-group {
  margin-bottom: 12px;
}

.modal-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-form .form-group input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.modal-form .form-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.modal-form .form-group input::placeholder {
  color: var(--text-light);
}

.modal-form .btn-submit {
  margin-top: 4px;
}

.modal-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px 20px;
  font-size: 12px;
  color: var(--text-light);
}

.modal-success {
  display: none;
  text-align: center;
  padding: 48px 24px 32px;
}

.modal-success.show {
  display: block;
}

.modal-success svg {
  margin-bottom: 16px;
}

.modal-success h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-success p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-wrapper {
  display: flex;
  gap: 80px;
  align-items: center;
}

.about-content {
  flex: 1;
}

.about-content .section-header {
  margin-bottom: 32px;
}

.about-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 2;
  margin-bottom: 40px;
}

.about-features {
  display: flex;
  gap: 48px;
}

.about-feature {
  text-align: center;
}

.feature-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
  font-family: 'DIN Alternate', 'Helvetica Neue', sans-serif;
}

.feature-text {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.about-image {
  flex: 0 0 420px;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.about-img-placeholder:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-light);
}

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

.contact-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card:nth-child(2) .contact-icon {
  background: var(--blue-bg);
}

.contact-card:nth-child(3) .contact-icon {
  background: var(--green-bg);
}

.contact-info h4 {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 600;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  padding: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo span {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h5 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom-left p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-right a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-right a:hover {
  color: var(--orange);
}

/* ===== Back to Top ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  color: var(--text-gray);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

/* ===== Form Success Message ===== */
.sell-success {
  display: none;
  text-align: center;
  padding: 48px 28px;
}

.sell-success.show {
  display: block;
}

.sell-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sell-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.sell-success p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .page-hero {
    padding: 100px 0 48px;
  }

  .page-hero-content h1 {
    font-size: 28px;
  }

  .page-hero-stats {
    gap: 32px;
  }

  .page-hero-stat strong {
    font-size: 24px;
  }

  .sell-car-wrapper {
    flex-direction: column;
  }

  .sell-benefits {
    flex: none;
    width: 100%;
  }

  .sell-benefits h3 {
    text-align: left;
  }

  .benefit-item {
    padding: 12px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .process-item {
    flex: 0 0 160px;
  }

  .process-arrow {
    display: none;
  }

  .about-wrapper {
    flex-direction: column-reverse;
    gap: 48px;
  }

  .about-image {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stats {
    gap: 28px;
    padding: 24px 32px;
  }

  .hero-stat-num {
    font-size: 26px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 88px 0 36px;
  }

  .page-hero-content h1 {
    font-size: 24px;
  }

  .page-hero-stats {
    gap: 24px;
  }

  .page-hero-stat strong {
    font-size: 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 20px;
    border-radius: 10px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--gold-bg);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-content {
    padding: 60px 20px 40px;
  }

  .hero-content h1 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .hero-sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn-sell,
  .btn-outline {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

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

  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .filter-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
  }

  .process-item {
    flex: none;
    width: 100%;
    max-width: 280px;
    padding: 24px 20px;
  }

  .process-num {
    font-size: 36px;
  }

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

  .about-features {
    gap: 24px;
  }

  .feature-num {
    font-size: 28px;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .back-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .service-card {
    padding: 28px 24px 24px;
  }

  .brands-grid {
    gap: 8px;
  }

  .brand-item {
    padding: 8px 20px;
    font-size: 13px;
  }

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

  .sell-form {
    padding: 20px;
  }
}
