:root {
  --audi-black: #000000;
  --audi-white: #ffffff;
  --audi-gray-dark: #1a1a1a;
  --audi-gray-medium: #333333;
  --audi-gray-light: #f2f2f2;
  --audi-red: #bb0a30;

  --font-audi: 'AudiType', 'DFHSGothic', "Noto Sans JP", sans-serif;
  --font-audi-extended: 'AudiType', 'DFHSGothic', "Noto Sans JP", sans-serif;

  --section-padding: 120px;
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }
}

body.theme-dark {
  background-color: var(--audi-black);
  color: var(--audi-white);
  font-family: var(--font-audi);
  letter-spacing: 0.04em;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* Typography Refinement */
h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: var(--font-audi-extended);
  font-stretch: 125%;
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }
}

/* Layout */
section {
  padding: var(--section-padding) 0;
}

.bg-darker {
  background-color: var(--audi-gray-dark);
}

/* Buttons (Pill-shaped) */
.btn-audi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-audi-extended);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-audi-primary {
  background-color: var(--audi-white);
  color: var(--audi-black);
}

.btn-audi-primary:hover {
  background-color: transparent;
  color: var(--audi-white);
  border-color: var(--audi-white);
}

.btn-audi-outline {
  background-color: transparent;
  color: var(--audi-white);
  border-color: var(--audi-white);
}

.btn-audi-outline:hover {
  background-color: var(--audi-white);
  color: var(--audi-black);
}

/* Hero Section */
.hero-section {
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-annotation {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  bottom: 2rem;
  right: 2rem;
}

/* Support Table */
.support-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.support-table th,
.support-table td {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent !important;
  color: var(--audi-white) !important;
}

.support-table th {
  font-family: var(--font-audi-extended);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5) !important;
}

.support-table td {
  font-size: 1.1rem;
}

.support-table tr:last-child td {
  border-bottom: 1px solid var(--audi-white);
}

/* Car Cards */
.car-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--audi-gray-dark);
}

.car-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 12px;
}

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

.car-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.car-title {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.car-support {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.car-support .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  font-weight: 400;
}

.car-support .rate {
  font-family: var(--font-audi-extended);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 768px) {
  .car-title {
    font-size: 1.2rem;
    top: 1rem;
    left: 1rem;
  }

  .car-support {
    bottom: 1rem;
    left: 1rem;
  }

  .car-support .rate {
    font-size: 1.4rem;
  }
}

/* Condition Box */
.condition-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 4px;
}

.condition-box p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.annotation-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}