/* ========================================================================
   Section Styles — 다타랩 TV Homepage
   ======================================================================== */

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(237, 28, 36, 0.08), transparent 70%),
    radial-gradient(ellipse at 20% 30%, #1a1a1a 0%, var(--color-bg-dark) 60%),
    var(--color-bg-dark);
  color: #fff;
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 420px;
  background: linear-gradient(180deg, rgba(237, 28, 36, 0.6), transparent);
  transform: rotate(22deg);
  pointer-events: none;
}
.hero::before { top: 8%; left: 10%; }
.hero::after  { top: 20%; right: 12%; transform: rotate(-22deg); }
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 20ch;
}
.circle-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.circle-mark::after {
  content: "";
  position: absolute;
  inset: -0.18em -0.35em;
  border: 3px solid var(--color-brand-red);
  border-radius: 50%;
  transform: rotate(-3deg);
  pointer-events: none;
}
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1fr 2.2fr 1fr;
  align-items: center;
  gap: 1rem;
}
.hero__cars,
.hero__model {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.hero__cars { object-fit: cover; }
.hero__video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
}
.hero__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.9);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-base);
}
.hero__play:hover { transform: scale(1.08); }
.hero__video-chrome {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.8rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero__video-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero__caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: -1rem;
}
.hero__cta {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: 999px;
}
@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero__title { font-size: clamp(2.25rem, 3.2vw, 3rem); }
}
@media (max-width: 900px) {
  .hero__stage { grid-template-columns: 1fr; max-width: 560px; }
  .hero__cars, .hero__model { max-height: 260px; }
  .hero__cars { display: none; }
}

/* ===== QR Banner ===== */
.qr-banner {
  background: var(--color-bg-surface);
  color: #fff;
  padding: 2.5rem 0;
}
.qr-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.qr-banner__text h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.qr-banner__lead {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.qr-banner__quote {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.qr-banner__quote em {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}
.qr-banner__qr {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: right;
}
.qr-banner__qr-copy { display: flex; flex-direction: column; gap: 0.25rem; }
.qr-banner__qr-copy strong {
  font-size: 0.95rem;
  color: #fff;
}
.qr-banner__qr-copy span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.qr-banner__qr img {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 6px;
  object-fit: contain;
  padding: 4px;
}
@media (max-width: 700px) {
  .qr-banner__inner { flex-direction: column; align-items: flex-start; }
  .qr-banner__qr { align-self: center; text-align: left; }
}

/* ===== YOUTUBE PICK ===== */
.pick {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 5rem 0;
}
.pick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.car-card {
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.car-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.car-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-card__label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-brand-red);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.car-card__body {
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.car-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.car-card__meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.car-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.5rem 0 0.75rem;
}
.pick__note {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin: 1.5rem 0 1rem;
}
.pick__more { text-align: center; }
@media (max-width: 900px) { .pick__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pick__grid { grid-template-columns: 1fr; } }

/* ===== Comment Best Rank ===== */
.comment-best {
  background: var(--color-bg-light);
  padding: 5rem 0;
}
.rank__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rank-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform var(--dur-base) var(--ease-out);
}
.rank-card:hover { transform: translateY(-4px); }
.rank-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #f0f0f0, #e8e8e8);
  overflow: hidden;
}
.rank-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-card__ribbon {
  position: absolute;
  top: 0;
  left: 1rem;
  min-width: 48px;
  padding: 0.25rem 0.75rem 1.25rem;
  background: var(--color-brand-red);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  z-index: 1;
}
.rank-card__body {
  padding: 1rem 1.25rem 1.5rem;
  text-align: center;
}
.rank-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.rank-card__meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.rank-card__price {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: right;
}
.rank-card__price strong {
  color: var(--color-text-primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0.15rem;
}
@media (max-width: 900px) { .rank__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rank__grid { grid-template-columns: 1fr; } }

/* ===== Quote Form ===== */
.quote {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.quote__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.quote__body h2 {
  font-size: var(--fs-h1);
  margin: 1rem 0 1.5rem;
  line-height: 1.35;
  font-weight: 800;
}
.quote__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 1rem;
}
.form-row label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.form-row label em {
  color: var(--color-brand-red);
  font-style: normal;
}
.form-row input {
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  transition: border-color var(--dur-fast);
}
.form-row input::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-row input:focus {
  outline: 2px solid var(--color-brand-red);
  outline-offset: -1px;
  border-color: transparent;
}
.form-agree {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.chk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  padding: 0.15rem 0;
}
.chk em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
  font-size: 1rem;
}
.chk-all {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: #fff;
  flex-wrap: wrap;
  font-weight: 600;
}
.chk-all small {
  display: block;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  padding-left: 1.6rem;
  margin-top: 0.15rem;
  font-weight: 400;
}
.chk input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-brand-red);
  flex-shrink: 0;
}
.quote__status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  min-height: 1.2em;
  text-align: center;
}
.quote__status.is-error { color: #ffb3b3; }
.quote__status.is-success { color: #8eff9a; }
.quote__model {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
}
.quote__model img {
  max-height: 560px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .quote__inner { grid-template-columns: 1fr; }
  .quote__model { order: -1; max-height: 320px; overflow: hidden; }
  .quote__model img { max-height: 320px; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* ===== Stamp Title (Italic/Skewed titles) ===== */
.stamp-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-style: italic;
  transform: skewX(-6deg);
  display: inline-block;
}

/* ===== Cost Comparison ===== */
.cost {
  background: var(--color-bg-light);
  padding: 5rem 0;
}
.cost__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
}
.cost__head { grid-column: 1; }
.cost__sub {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.cost__hero {
  position: relative;
  grid-column: 2;
}
.cost__hero img {
  width: 100%;
  border-radius: var(--radius-md);
}
/* The extracted genesis-black image already contains the -55% badge. */
.cost__table-wrap {
  grid-column: 1 / -1;
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.cost__table {
  min-width: 720px;
  font-size: 0.9rem;
}
.cost__table thead {
  background: transparent;
}
.cost__table thead th {
  padding: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}
.cost__table thead th:first-child { opacity: 0; }
.cost__table tbody th,
.cost__table tbody td {
  padding: 1.1rem 0.5rem;
  text-align: center;
  border: none;
}
.cost__table tbody tr.is-highlight {
  background: var(--color-brand-red);
  color: #fff;
}
.cost__table tbody tr.is-highlight th,
.cost__table tbody tr.is-highlight td {
  font-weight: 700;
}
.cost__table tbody tr.is-highlight th {
  background: var(--color-brand-red-dark);
  border-radius: 999px 0 0 999px;
  font-size: 1.05rem;
}
.cost__table tbody tr.is-highlight td:last-child {
  border-radius: 0 999px 999px 0;
}
.cost__table tbody tr:not(.is-highlight) th {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 1rem;
}
.cell-label { display: none; }
@media (max-width: 900px) {
  .cost__inner { grid-template-columns: 1fr; }
  .cost__hero { grid-column: 1; }
}
@media (max-width: 600px) {
  .cost__table-wrap { padding: 0.5rem; }
  .cost__table { min-width: 0; font-size: 0.85rem; }
  .cost__table thead { display: none; }
  .cost__table, .cost__table tbody, .cost__table tr { display: block; width: 100%; }
  .cost__table tbody tr {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: #f5f5f5;
  }
  .cost__table tbody tr.is-highlight {
    background: var(--color-brand-red);
    border-radius: var(--radius-md);
  }
  .cost__table tbody tr.is-highlight th,
  .cost__table tbody tr.is-highlight td { border-radius: 0; background: transparent; }
  .cost__table tbody th,
  .cost__table tbody td { display: flex; justify-content: space-between; padding: 0.3rem 0; text-align: left; }
  .cost__table tbody th { font-size: 1.1rem !important; margin-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 0.5rem; }
  .cell-label { display: inline; font-weight: 500; opacity: 0.8; margin-right: 1rem; }
}

/* ===== Zero Cost ===== */
.zero {
  background: var(--color-bg-light);
  padding: 4rem 0 6rem;
}
.zero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
}
.zero__head { grid-column: 1; }
.zero__compare {
  grid-column: 2;
  display: flex;
  gap: 2.5rem;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.zero__big-wrap {
  grid-column: 3;
  position: relative;
}
.bar-col {
  text-align: center;
  position: relative;
}
.bar-col__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}
.bar-col__value {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.bar-col__value.red {
  color: var(--color-brand-red);
  font-size: 2.25rem;
}
.bar {
  width: 90px;
  height: 260px;
  background: transparent;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.bar span {
  display: block;
  width: 100%;
  background: #c8c8c8;
  border-radius: 8px 8px 0 0;
}
.bar .bar__red {
  background: var(--color-brand-red);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -6px 18px rgba(237, 28, 36, 0.3);
}
.bar-col__caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-top: 0.5rem;
  border-top: 1px solid #d8d8d8;
}
.zero__arrow {
  position: absolute;
  width: 100px;
  height: 70px;
  top: -30px;
  left: -65px;
  pointer-events: none;
}
.zero__big {
  position: relative;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  font-weight: 800;
  text-align: center;
  color: rgba(0, 0, 0, 0.18);
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.zero__big-stamp {
  display: block;
  font-size: 2.5em;
  color: var(--color-brand-red);
  font-weight: 900;
  margin-top: 0.25em;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  .zero__inner { grid-template-columns: 1fr; }
  .zero__compare { grid-column: 1; }
  .zero__big-wrap { grid-column: 1; }
  .zero__big { margin-top: 2rem; }
}

/* ===== Stats ===== */
.stats {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 3.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.stat__value {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ===== YouTube Reviews Slider ===== */
.yt-reviews {
  background: var(--color-bg-light);
  padding: 5rem 0;
}
.slider { position: relative; }
.slider__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.5rem;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:active { cursor: grabbing; }
.slider__btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 1.5rem;
  z-index: 2;
  transition: transform var(--dur-fast);
}
.slider__btn:hover { transform: translateY(-50%) scale(1.08); }
.slider__btn--prev { left: -8px; }
.slider__btn--next { right: -8px; }
.yt-card {
  flex: 0 0 calc((100% - 3rem) / 3.3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform var(--dur-base);
  user-select: none;
}
.yt-card:hover { transform: translateY(-2px); }
.yt-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  pointer-events: none;
}
.yt-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-accent-youtube);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.yt-card p {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-primary);
}
@media (max-width: 900px) { .yt-card { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 560px) { .yt-card { flex-basis: 80%; } }

/* ===== Real Reviews ===== */
.reviews {
  background: var(--color-bg-light);
  padding: 5rem 0;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.review-card__image img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}
.review-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.review-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.review-card__user {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.review-card__stars {
  color: var(--color-brand-red);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.review-card__text {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
  flex: 1;
}
.review-card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; }
}

/* ===== Partners ===== */
.partners {
  background: var(--color-bg-light);
  padding: 4rem 0 5rem;
}
.partners__strip {
  max-width: 900px;
  margin: 0 auto;
}
.partners__strip img {
  width: 100%;
  height: auto;
  display: block;
}
.partners__fallback {
  text-align: center;
  color: var(--color-text-muted);
  padding: 2rem;
}
