:root {
  --bg: #0b0c0f;
  --bg-alt: #101216;
  --surface: #15171c;
  --line: rgba(255, 255, 255, .08);
  --text: #f4f5f7;
  --muted: #9aa0aa;
  --accent: #8a2bff;
  --accent-soft: #c08bff;
  --kakao: #fee500;
  --radius: 20px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.m-only { display: none; }

h1, h2, h3 { line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; margin-bottom: 40px; }
h3 { font-size: 19px; font-weight: 650; }
.eyebrow { color: var(--accent-soft); font-size: 14px; font-weight: 600; letter-spacing: .04em; margin-bottom: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 650; font-size: 16px; transition: transform .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #a155ff; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .22); }
.btn--ghost:hover { border-color: #fff; }
.btn--light { background: #fff; color: #0b0c0f; }
.btn--kakao { background: var(--kakao); color: #191600; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.header.is-scrolled, .header.is-open { background: rgba(11, 12, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__word { height: 30px; width: auto; overflow: visible; }
.logo__tube { stroke: #a45cff; filter: drop-shadow(0 0 5px #8a2bff) drop-shadow(0 0 12px rgba(138, 43, 255, .7)); }
.logo__sub { font-size: 10px; font-weight: 600; letter-spacing: .28em; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: #d5d8de; }
.nav a:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.is-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.is-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 170px 0 90px; min-height: min(100svh, 860px); display: flex; align-items: center; }
.hero__glow { position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 78% 30%, rgba(138, 43, 255, .34), transparent 70%),
  radial-gradient(40% 40% at 10% 90%, rgba(138, 43, 255, .12), transparent 70%),
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 72px; }
.hero__ghost { position: absolute; right: -2vw; bottom: -6vw; font-size: clamp(180px, 34vw, 520px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); user-select: none; pointer-events: none; }
.hero__in { position: relative; }
.hero h1 { font-size: clamp(34px, 6.2vw, 68px); font-weight: 750; }
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero__lead { margin-top: 22px; font-size: clamp(16px, 1.8vw, 19px); color: #c3c7cf; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line); max-width: 760px; }
.stats div { padding: 24px 16px 0 0; display: flex; flex-direction: column-reverse; }
.stats dd { font-size: clamp(24px, 3.4vw, 38px); font-weight: 750; letter-spacing: -.02em; }
.stats dt { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--cars { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(138, 43, 255, .6); transform: translateY(-4px); }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(138, 43, 255, .14); fill: none; stroke: var(--accent-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Banner */
.banner { padding: 0 0 clamp(72px, 10vw, 120px); }
.banner__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(36px, 6vw, 64px); border-radius: 28px; background: linear-gradient(120deg, #3a0b8f, #8a2bff 55%, #c08bff); }
.banner h2 { margin-bottom: 12px; }
.banner .eyebrow { color: rgba(255, 255, 255, .8); }
.banner .muted { color: rgba(255, 255, 255, .85); }

/* Fleet */
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: -16px -20px 28px; padding: 4px 20px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 550; transition: all .2s; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { background: #fff; color: #0b0c0f; border-color: #fff; }
.car { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.car:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .2); }
.car__img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; background: radial-gradient(90% 90% at 70% 10%, rgba(138, 43, 255, .28), transparent 65%), #1b1e25; }
.car__img img { width: 100%; height: 100%; object-fit: cover; }
.car__img span { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; color: rgba(255, 255, 255, .16); text-align: center; padding: 0 12px; }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(11, 12, 15, .7); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: #fff; }
.car__body { padding: 18px 20px 22px; }
.car__body small { color: var(--accent-soft); font-size: 11px; font-weight: 650; letter-spacing: .14em; }
.car__body h3 { margin-top: 4px; }
.car__body p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Cases */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.case__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 18px; }
.case__row span { color: var(--muted); }
.case__row i { color: var(--accent-soft); font-style: normal; }
.case__row strong { font-weight: 700; }
.case small { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { padding: 28px 0 0; border-top: 1px solid var(--line); }
.steps span { display: block; color: var(--accent-soft); font-weight: 700; font-size: 14px; letter-spacing: .08em; margin-bottom: 14px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 8px; padding-right: 12px; }

/* Reviews */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: #ffc531; letter-spacing: 2px; font-size: 14px; }
.review p { color: #dfe2e8; font-size: 15.5px; flex: 1; }
.review small { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 17px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 44px 26px 0; color: var(--muted); }

/* Contact */
.contact { padding: clamp(80px, 11vw, 130px) 0; text-align: center; background: radial-gradient(60% 90% at 50% 100%, rgba(138, 43, 255, .3), transparent 70%), var(--bg-alt); border-top: 1px solid var(--line); }
.contact h2 { margin-bottom: 20px; }
.contact__tel { display: inline-block; font-size: clamp(30px, 6vw, 56px); font-weight: 750; letter-spacing: -.02em; }
.contact .hero__cta { justify-content: center; }

/* Footer */
.footer { padding: 56px 0 110px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__logo { height: 34px; margin-bottom: 22px; }
.footer__info { line-height: 1.9; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a:hover { color: #fff; }
.footer__copy { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* Mobile dock */
.dock { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--cars { grid-template-columns: repeat(3, 1fr); }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: rgba(11, 12, 15, .96); border-bottom: 1px solid var(--line); display: none; }
  .nav a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .is-open .nav { display: flex; }
  .banner__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .m-only { display: inline; }
  .logo__sub { display: none; }
  .hero { padding: 130px 0 64px; min-height: 0; }
  .hero__cta .btn { flex: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .grid--4, .grid--3, .steps { grid-template-columns: 1fr; }
  .grid--cars { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .car__body { padding: 14px 14px 18px; }
  .car__body h3 { font-size: 16px; }
  .badge { font-size: 11px; top: 8px; left: 8px; }
  h2 { margin-bottom: 28px; }
  .card { padding: 26px 22px; }
  .dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 12, 15, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .dock .btn { height: 50px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Neon */
.btn--primary { box-shadow: 0 0 0 1px rgba(192, 139, 255, .45) inset, 0 0 18px rgba(138, 43, 255, .65), 0 0 46px rgba(138, 43, 255, .35); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(192, 139, 255, .7) inset, 0 0 24px rgba(161, 85, 255, .9), 0 0 64px rgba(138, 43, 255, .5); }
.hero h1 em { color: #d9b8ff; text-shadow: 0 0 14px rgba(161, 85, 255, .85), 0 0 44px rgba(138, 43, 255, .6); }
.hero__ghost { -webkit-text-stroke: 1px rgba(192, 139, 255, .22); filter: drop-shadow(0 0 14px rgba(138, 43, 255, .45)); }
.eyebrow { text-shadow: 0 0 12px rgba(138, 43, 255, .7); }
.stats dd { text-shadow: 0 0 22px rgba(138, 43, 255, .55); }
.card:hover, .car:hover { border-color: rgba(192, 139, 255, .7); box-shadow: 0 0 0 1px rgba(138, 43, 255, .35), 0 0 34px rgba(138, 43, 255, .28); }
.ico { box-shadow: 0 0 16px rgba(138, 43, 255, .35); filter: drop-shadow(0 0 4px rgba(192, 139, 255, .6)); }
.banner__in { box-shadow: 0 0 60px rgba(138, 43, 255, .4); }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: #c08bff; color: #fff; box-shadow: 0 0 16px rgba(138, 43, 255, .7); }
.steps li { border-top-color: rgba(192, 139, 255, .45); box-shadow: 0 -1px 12px -2px rgba(138, 43, 255, .6); }
.contact__tel { text-shadow: 0 0 18px rgba(161, 85, 255, .8), 0 0 54px rgba(138, 43, 255, .5); }

/* Hero image */
.hero { background: #07060b; }
.hero__glow { background:
  linear-gradient(90deg, rgba(7, 6, 11, .88) 0%, rgba(7, 6, 11, .55) 38%, transparent 62%),
  linear-gradient(180deg, rgba(11, 12, 15, .55) 0%, transparent 22%, transparent 78%, var(--bg) 100%),
  url("images/hero.jpg") 60% 50% / cover no-repeat; }
.hero__ghost { display: none; }
@media (max-width: 640px) {
  .hero { padding-bottom: 0; }
  .hero__in { padding-bottom: 62vw; }
  .hero__glow { background:
    linear-gradient(180deg, rgba(7, 6, 11, .92) 0%, rgba(7, 6, 11, .75) 45%, transparent 66%, transparent 90%, var(--bg) 100%),
    url("images/hero.jpg") 76% 100% / auto 105vw no-repeat, #07060b; }
}
@media (min-width: 641px) and (max-width: 1180px) {
  .hero__glow { background:
    linear-gradient(90deg, rgba(7, 6, 11, .92) 0%, rgba(7, 6, 11, .72) 55%, rgba(7, 6, 11, .35) 100%),
    linear-gradient(180deg, transparent 78%, var(--bg) 100%),
    url("images/hero.jpg") 75% 50% / cover no-repeat; }
}

.car__img img { position: absolute; inset: 0; }
.badge { z-index: 1; }
