/* ==========================================================
   바카라 오토모음 — Noir & Champagne Gold
   ========================================================== */
:root {
  --bg: #08090c;
  --bg-2: #0d0f14;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f1ee;
  --muted: #a3a3ab;
  --dim: #6d6e78;
  --gold: #d9b56c;
  --gold-hi: #f6e2b0;
  --gold-lo: #a97c32;
  --gold-grad: linear-gradient(135deg, #f8e7b9 0%, #d9b56c 45%, #a97c32 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.7; letter-spacing: -.01em; word-break: keep-all; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body::before { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(217, 181, 108, .35); }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); color: #17130a; box-shadow: 0 8px 30px -10px rgba(217, 181, 108, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(217, 181, 108, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(217, 181, 108, .55); background: rgba(217, 181, 108, .08); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217, 181, 108, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(217, 181, 108, 0); } }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled, body:not(.page-home) .site-header { background: rgba(8, 9, 12, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--gold-grad); position: relative; box-shadow: 0 6px 20px -6px rgba(217, 181, 108, .7); }
.brand__mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid #17130a; border-right-color: transparent; transform: rotate(-30deg); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #d5d4d0; transition: color .2s, background .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: #fff; background: var(--surface-2); }
.nav__link svg { transition: transform .25s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .btn { margin-left: 8px; }
.nav__item--mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); width: min(880px, calc(100vw - 32px)); }
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; padding: 26px; border-radius: var(--radius); background: rgba(16, 17, 22, .96); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(20px); }
.mega__title { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; align-items: center; gap: 6px; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .2s, transform .2s; }
.mega a:hover { color: #fff; transform: translateX(3px); }
.mega em { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--dim); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 80px; overflow: hidden; isolation: isolate; }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg {
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(217, 181, 108, .18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(120, 134, 163, .14), transparent 70%),
    linear-gradient(180deg, rgba(8, 9, 12, .55), var(--bg) 92%),
    url("/uploads/2026/01/%E2%80%94Pngtree%E2%80%943d-eclipse-illustration-in-the_7147755-1-scaled.jpg") center 30% / cover no-repeat;
}
.hero__bg::after { /* grid */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero__title { margin: 0; font-size: clamp(40px, 6.2vw, 78px); line-height: 1.08; font-weight: 800; letter-spacing: -.045em; }
.hero__title .gold { padding-right: .06em; }
.hero__lead { margin: 26px 0 0; max-width: 520px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__stats { display: flex; gap: 0; margin: 52px 0 0; padding: 0; }
.hero__stats > div { padding: 0 28px; border-left: 1px solid var(--line-2); }
.hero__stats > div:first-child { padding-left: 0; border: 0; }
.hero__stats dt { font-size: 13px; color: var(--dim); }
.hero__stats dd { margin: 2px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.hero__stats small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.hero__visual { position: relative; perspective: 1400px; }
.frame { border-radius: 16px; overflow: hidden; background: #111318; border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(217, 181, 108, .08), 0 0 80px -20px rgba(217, 181, 108, .35); transform: rotateY(-9deg) rotateX(4deg); transition: transform .7s var(--ease); }
.hero__visual:hover .frame { transform: rotateY(-3deg) rotateX(1deg) translateY(-6px); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #16181e; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2c33; }
.frame__bar i:first-child { background: #e0605a; } .frame__bar i:nth-child(2) { background: #e4b74a; } .frame__bar i:nth-child(3) { background: #5cbf62; }
.frame__bar span { margin-left: 10px; }
.frame__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(18, 19, 24, .85); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite; }
.hero__chip svg { color: var(--gold); }
.hero__chip--a { top: -18px; right: 6%; }
.hero__chip--b { bottom: -20px; left: -4%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg-2); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-size: 15px; font-weight: 600; color: var(--dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--gold-lo); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 80px 0 40px; }
.section--alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.section__title--sm { font-size: clamp(22px, 2.6vw, 30px); }
.section__lead { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: 15px; }
.link:hover svg { transform: translateX(3px); } .link svg { transition: transform .2s; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--muted); transition: .2s; }
.chip span { font-size: 12px; color: var(--dim); }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.chip.is-active { background: var(--text); color: #0b0b0d; border-color: var(--text); }
.chip.is-active span { color: #6b6b72; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(246, 226, 176, .6), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 50px -25px rgba(217, 181, 108, .45); }
.card:hover::before { opacity: 1; }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111318; }
.card__media > img, .card__media > .cover-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85) brightness(.88); }
.card:hover .card__media > img, .card:hover .card__media > .cover-fallback { transform: scale(1.05); filter: none; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 12, .7)); }
.card__badge { position: absolute; z-index: 1; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: rgba(8, 9, 12, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.card__badge svg { width: 12px; height: 12px; color: var(--gold); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card__eyebrow { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--gold); }
.card__title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.card__summary { margin: 10px 0 20px; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #d8d6d0; }
.card__more svg { transition: transform .25s var(--ease); }
.card:hover .card__more { color: var(--gold-hi); } .card:hover .card__more svg { transform: translateX(4px); }
.card--soon .card__more { color: var(--dim); }
.cover-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(80% 90% at 30% 20%, rgba(217, 181, 108, .25), transparent 60%), radial-gradient(60% 80% at 90% 100%, rgba(120, 134, 163, .25), transparent 60%), #101217; }
.cover-fallback span { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover-fallback small { font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 36px 30px 40px; background: var(--bg-2); transition: background .3s; }
.feature:hover { background: #11131a; }
.feature__num { display: block; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; margin-bottom: 40px; }
.feature h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.03em; }
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: start; }
.review { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #0f1116; transition: transform .35s var(--ease), border-color .3s; }
.review:nth-child(even) { margin-top: 40px; }
.review:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(217, 181, 108, .5); }
.review img { width: 100%; }

/* ---------- CTA ---------- */
.cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px 60px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(217, 181, 108, .25); background: radial-gradient(70% 140% at 100% 0%, rgba(217, 181, 108, .22), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgba(120, 134, 163, .18), transparent 60%), #0f1014; }
.cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.04em; line-height: 1.25; }
.cta p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 520px; }

/* ---------- Product page ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 56px; overflow: hidden; isolation: isolate; }
.page-hero--center { min-height: 80svh; display: flex; align-items: center; text-align: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; } .page-hero--center .btn { margin-top: 32px; }
.page-hero__bg { background: radial-gradient(50% 80% at 85% 0%, rgba(217, 181, 108, .16), transparent 70%), radial-gradient(40% 60% at 0% 30%, rgba(120, 134, 163, .12), transparent 70%); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .4; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--dim); margin-bottom: 26px; }
.crumbs a:hover { color: var(--text); }
.page-hero__title { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.12; font-weight: 800; letter-spacing: -.045em; }
.page-hero__lead { margin: 20px 0 0; max-width: 720px; font-size: 18px; color: var(--muted); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-bottom: 40px; }
.player { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.player > img { width: 100%; }
.player__slide { display: none; }
.player__slide.is-active { display: block; }
.player__slide video, .player__slide img { width: 100%; max-height: 72vh; object-fit: contain; background: #000; }
.player__slide img { cursor: zoom-in; }
.player__tabs { display: flex; gap: 6px; padding: 10px; background: #0e1014; border-top: 1px solid var(--line); overflow-x: auto; }
.player__tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-size: 13.5px; color: var(--muted); white-space: nowrap; transition: .2s; }
.player__tabs button svg { width: 12px; height: 12px; }
.player__tabs button:hover { color: #fff; background: var(--surface-2); }
.player__tabs button.is-active { color: #17130a; background: var(--gold-grad); font-weight: 600; }

.prose { margin-top: 48px; font-size: 17.5px; line-height: 1.95; color: #d6d5d1; }
.prose h2 { margin: 0 0 24px; font-size: 26px; line-height: 1.35; letter-spacing: -.035em; color: var(--text); padding-left: 16px; border-left: 3px solid var(--gold); }
.prose p { margin: 0 0 14px; }
.prose .hl { font-weight: 700; color: var(--gold-hi); background: linear-gradient(transparent 62%, rgba(217, 181, 108, .25) 62%); padding: 0 2px; }

.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.panel { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel--download { background: radial-gradient(100% 70% at 100% 0%, rgba(217, 181, 108, .14), transparent 70%), rgba(255, 255, 255, .035); border-color: rgba(217, 181, 108, .22); display: grid; gap: 12px; }
.panel__label { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.panel__title { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; line-height: 1.35; }
.panel__file { margin: -2px 0 4px; text-align: center; font-size: 12.5px; color: var(--dim); word-break: break-all; }
.panel__muted { margin: 0; font-size: 14px; color: var(--muted); }
.panel__meta { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.panel__meta div { display: flex; justify-content: space-between; gap: 12px; }
.panel__meta dt { color: var(--dim); } .panel__meta dd { margin: 0; text-align: right; }
.panel__list { list-style: none; margin: 12px 0 0; padding: 0; }
.panel__list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #d5d4d0; transition: color .2s; }
.panel__list li:last-child a { border: 0; padding-bottom: 0; }
.panel__list a:hover { color: var(--gold-hi); }
.panel__list svg { color: var(--dim); }
.grid--3 .card__summary { -webkit-line-clamp: 2; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; padding: 56px 0 40px; }
.site-footer__tag { margin: 14px 0 0; color: var(--dim); font-size: 14px; }
.site-footer__legal p { margin: 0 0 8px; font-size: 13px; color: var(--dim); line-height: 1.7; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.site-footer__bottom a { display: inline-flex; align-items: center; gap: 6px; } .site-footer__bottom a:hover { color: var(--text); }

/* ---------- Floating button ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; background: #229ed9; color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 14px 40px -10px rgba(34, 158, 217, .7); transition: transform .25s var(--ease); }
.fab svg { width: 22px; height: 22px; }
.fab:hover { transform: translateY(-3px); }

/* ---------- Modal & lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal[hidden], .lightbox[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__panel { position: relative; width: min(520px, 100%); padding: 36px 34px 28px; border-radius: 22px; background: #121318; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px #000; animation: pop .4s var(--ease); }
.modal__panel h2 { margin: 0 0 16px; font-size: 24px; letter-spacing: -.03em; }
.modal__panel p:not(.eyebrow) { margin: 0 0 10px; font-size: 14.5px; color: var(--muted); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .88); backdrop-filter: blur(8px); animation: fade .25s; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px #000; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail__aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 620px; }
  .nav-toggle { display: inline-flex; }
  /* 헤더의 backdrop-filter 가 fixed 기준 박스가 되므로 높이를 명시 */
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 16px 32px; background: rgba(8, 9, 12, .98); overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav.is-open { transform: none; }
  .nav__link { padding: 14px 12px; font-size: 17px; justify-content: space-between; border-radius: 12px; }
  .nav .btn { margin: 12px 0 0; --h: 52px; }
  .mega { position: static; transform: none; width: auto; max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transition: max-height .4s var(--ease); }
  .mega.is-open { transform: none; max-height: 1400px; }
  .mega__inner { grid-template-columns: 1fr 1fr; padding: 12px; background: transparent; border: 0; box-shadow: none; }
  .section { padding: 88px 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature__num { margin-bottom: 20px; }
  .reviews { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .review:nth-child(even) { margin-top: 24px; }
  .hero__stats > div { padding: 0 18px; }
  .hero__stats dd { font-size: 28px; }
  .hero__chip--b { left: 0; }
  .frame { transform: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .detail__aside { grid-template-columns: 1fr; }
  .prose { font-size: 16.5px; margin-top: 36px; }
  .mega__inner { grid-template-columns: 1fr; }
  .fab span { display: none; }
  .fab { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .brand__name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
