:root {
  --bg: #000;
  --bg-2: #0b0b0d;
  --card: #111113;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f2f2f4;
  --muted: #b7b7bd;
  --gold: #ffca00;
  --pink: #e30059;
  --grad: linear-gradient(90deg, var(--gold) 0%, var(--pink) 100%);
  --head: "Unbounded", "Noto Sans KR", sans-serif;
  --body: "Manrope", "Noto Sans KR", sans-serif;
  --r: 18px;
}
:lang(ko) { --head: "Noto Sans KR", sans-serif; --body: "Noto Sans KR", sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5.5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.6vw, 42px); font-weight: 700; text-transform: uppercase; margin-bottom: 40px; }
:lang(ko) h2 { text-transform: none; font-weight: 900; }
:lang(ko) h1 { font-weight: 900; }
h3 { font-size: 20px; font-weight: 700; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px; border-radius: 12px;
  font: 700 14px/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border: 0; transition: transform .2s, box-shadow .2s, background .2s; }
.btn--grad { background: var(--grad); color: #000; }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(227, 0, 89, .35); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .44); color: #fff; background: rgba(0, 0, 0, .3); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* Шапка */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(8, 8, 10, .94); backdrop-filter: blur(10px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.header__logo { font: 800 18px/1 "Unbounded", sans-serif; letter-spacing: .12em; }
.header__nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.header__nav a:hover { color: #fff; }
.lang { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; }
.lang a { padding: 6px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang a.is-active { background: var(--grad); color: #000; }
.lang a:not(.is-active):hover { color: #fff; }

/* Главный экран */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 70px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.9) 100%); }
.hero__content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: 180px; height: auto; margin-bottom: 28px; }
.hero h1 { max-width: 900px; }
.hero__sub { max-width: 620px; margin: 20px auto 36px; color: var(--muted); font-size: 17px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__actions .btn { min-width: 220px; }

/* Цифры */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 700 clamp(26px, 3vw, 38px)/1.1 "Unbounded", sans-serif; color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Секции */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-2); }

/* Продукты */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.product:hover { border-color: rgba(255, 202, 0, .5); transform: translateY(-4px); }
.product__img { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 60%, #222 0%, #0a0a0a 70%); display: grid; place-items: center; padding: 24px; }
.product__img img { max-height: 100%; width: auto; object-fit: contain; }
.product__body { padding: 28px; }
.product__size { margin: 8px 0 14px; font: 700 15px/1 "Unbounded", sans-serif; color: var(--gold); }
.product--mf .product__size { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.product__meta { color: #fff; font-weight: 600; margin-bottom: 10px; }
.product__body p:last-child { color: var(--muted); }

/* Принципы */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.principle__n { display: block; font: 700 26px/1 "Unbounded", sans-serif; color: var(--gold); margin-bottom: 18px; }
.principle h3 { font-size: 18px; margin-bottom: 10px; }
.principle p { color: var(--muted); font-size: 15px; }

/* Спецификация */
.specs { position: relative; overflow: hidden; }
.specs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.specs__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 55%, rgba(0,0,0,.92) 100%); }
.specs__inner { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.spec-table div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-table div:first-child { border-top: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { font-weight: 700; text-align: right; }

/* Награды */
.awards { background: var(--grad); color: #000; }
.awards__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.award { padding: 34px 20px; border-left: 1px solid rgba(0, 0, 0, .15); display: flex; flex-direction: column; gap: 6px; }
.award:first-child { border-left: 0; }
.award span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.award b { font: 700 16px/1.2 "Unbounded", sans-serif; }
.award i { font: 800 30px/1 "Unbounded", sans-serif; font-style: normal; }

/* Наличие */
.stock { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stock__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; }
.stock__img img { width: 100%; height: 100%; object-fit: cover; }
.stock__list { display: flex; flex-direction: column; gap: 20px; }
.stock__item { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.stock__item svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255, 202, 0, .1); fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stock__item h3 { margin-bottom: 6px; }
.stock__item p { color: var(--muted); }

/* Форма */
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.venues h2 { margin-bottom: 20px; }
.venues__sub { color: var(--muted); font-size: 17px; }
.venues__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.venues__contacts a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14px; }
.venues__contacts a:hover { border-color: var(--gold); color: var(--gold); }
.form { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input:not([type=checkbox]), .form textarea { width: 100%; padding: 15px 16px; border-radius: 10px; border: 1px solid var(--line); background: #0f0f11; color: #fff; font: 500 15px var(--body); outline: none; transition: border-color .2s; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--gold); }
.form input::placeholder, .form textarea::placeholder { color: #767676; }
.form .is-invalid { border-color: var(--pink) !important; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; margin: 4px 0 8px; }
.form__check input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.form { position: relative; overflow: visible; }
.form__fields { display: flex; flex-direction: column; gap: 12px; transition: opacity .4s, transform .4s, filter .4s; }
.form .btn { width: 100%; }

/* Кнопка отправки: загрузка */
.form__btn { position: relative; overflow: hidden; background-size: 200% 100%; }
.form__btn-load { display: none; align-items: center; gap: 10px; }
.form.is-sending .form__btn { cursor: wait; animation: shimmer 1.2s linear infinite; background-image: linear-gradient(90deg, var(--gold), var(--pink), var(--gold)); }
.form.is-sending .form__btn-text { display: none; }
.form.is-sending .form__btn-load { display: inline-flex; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: -200% 0; } }

/* Ошибка: кнопка трясётся */
.form.is-error .form__btn { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* Искры, разлетающиеся от кнопки */
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 4px #fff;
  animation: spark var(--d) cubic-bezier(.15,.6,.3,1) forwards; }
@keyframes spark {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.2); opacity: 0; }
}

/* Успех */
.form__success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 32px;
  opacity: 0; pointer-events: none; transform: scale(.94); transition: opacity .5s .25s, transform .5s .25s; }
.form__success h3 { font-size: 22px; margin-top: 8px; }
.form__success p { color: var(--muted); max-width: 320px; }
.form__success .btn { width: auto; margin-top: 18px; min-height: 46px; font-size: 12px; }
.form.is-done .form__fields { opacity: 0; transform: scale(.96); filter: blur(4px); pointer-events: none; }
.form.is-done .form__success { opacity: 1; transform: none; pointer-events: auto; }
.form.is-done { border-color: rgba(255, 202, 0, .45); box-shadow: 0 0 60px rgba(227, 0, 89, .18); transition: border-color .6s, box-shadow .6s; }
.check { width: 88px; height: 88px; }
.check__ring, .check__tick { fill: none; stroke: url(#cg); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.check__ring { stroke-dasharray: 227; stroke-dashoffset: 227; transform: rotate(-90deg); transform-origin: center; }
.check__tick { stroke-dasharray: 60; stroke-dashoffset: 60; }
.form.is-done .check__ring { animation: draw .7s .35s ease-out forwards; }
.form.is-done .check__tick { animation: draw .4s 1s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .spark { display: none; }
  .check__ring, .check__tick { stroke-dashoffset: 0; animation: none !important; }
}
.form__status { font-size: 14px; min-height: 1px; }
.form__status.ok { color: #6ee7a8; }
.form__status.err { color: #ff6b9a; }

/* Подвал */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { font: 700 15px/1.3 "Unbounded", "Noto Sans KR", sans-serif; margin-bottom: 6px; }
.footer__muted, .footer__bottom { color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a:hover, .footer__bottom a:hover { color: var(--gold); }
.footer__bottom { margin-top: 32px; font-size: 13px; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Адаптив */
@media (max-width: 960px) {
  .header__nav { display: none; }
  .lang { margin-left: auto; }
  .principles { grid-template-columns: 1fr 1fr; }
  .specs__inner, .stock, .venues { grid-template-columns: 1fr; }
  .stock__img { max-height: 420px; aspect-ratio: auto; }
  .section { padding: 72px 0; }
}
@media (max-width: 680px) {
  .stats__grid, .awards__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3), .award:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .award:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, .15); }
  .products, .principles, .form__row { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__logo { width: 140px; }
  h2 { margin-bottom: 28px; }
  .form { padding: 22px; }
  .lang a { padding: 6px 8px; }
}
