*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #06080f;
  --bg-navy: #0c1430;
  --navy: #121c42;
  --navy-deep: #0a1028;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --text: #f5f7fb;
  --text-soft: #c9cfdc;
  --text-muted: #8a93a8;
  --glow: rgba(196, 212, 255, 0.55);
  --glow-soft: rgba(140, 165, 255, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --container: 1140px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 75% 0%, rgba(40, 62, 150, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(28, 40, 100, 0.25) 0%, transparent 60%);
}

body > .header,
body > main,
body > .footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.logo__mark {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 0 18px var(--glow);
}

.logo__suffix {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-soft);
}

/* ---------- Buttons ---------- */

.btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: #ffffff;
  color: #070a14;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 8px 30px rgba(170, 190, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 10px 40px rgba(170, 190, 255, 0.4);
}

.btn--outline,
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn--outline:hover,
.btn--ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--ghost {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.1rem;
  font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 6rem;
    padding-bottom: 5rem;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.4rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__title {
  margin: 0 0 1.3rem;
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero__title-accent {
  background: linear-gradient(180deg, #ffffff 0%, #9aa6c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 30rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.phone-reveal {
  margin: 1.4rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone-reveal a {
  text-decoration: none;
  text-shadow: 0 0 20px var(--glow);
  border-bottom: 1px solid var(--border-strong);
}

/* ---------- Signboard ---------- */

.hero__visual {
  position: relative;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 10% 5% -10%;
  background: radial-gradient(ellipse at 50% 40%, rgba(120, 150, 255, 0.28), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}

.sign {
  position: relative;
  padding: 2rem 1.5rem 2.3rem;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.sign::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.05) 45%, transparent 60%);
  pointer-events: none;
}

.sign__name {
  margin: 0 0 1.8rem;
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 26px var(--glow);
}

.sign__name span {
  font-weight: 600;
}

.sign__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 1.6rem);
}

.badge {
  --size: clamp(78px, 11vw, 112px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #eef2fb 55%, #cfd8ec 100%);
  border: 3px solid #1c2652;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(220, 230, 255, 0.55),
    0 0 60px rgba(150, 175, 255, 0.35);
  animation: glow 4s ease-in-out infinite;
  transition: transform var(--transition);
}

.badge:nth-child(2) {
  animation-delay: 0.6s;
}

.badge:nth-child(3) {
  animation-delay: 1.2s;
}

.badge:hover {
  transform: translateY(-4px) scale(1.04);
}

.badge img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* ---------- Strip ---------- */

.strip {
  max-width: var(--container);
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

.strip__item {
  padding: 1.4rem 1rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.strip__item strong {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.strip__item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.strip__item:first-child { border-radius: var(--radius) 0 0 0; }
.strip__item:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.strip__item:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.strip__item:last-child { border-radius: 0 0 var(--radius) 0; }

@media (min-width: 720px) {
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .strip__item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .strip__item:nth-child(2),
  .strip__item:nth-child(3) { border-radius: 0; }
  .strip__item:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
}

/* ---------- Features ---------- */

.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.9rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow-soft);
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-navy);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 24px var(--glow-soft);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.feature p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ---------- Showroom ---------- */

.section-label {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.showroom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem 5.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .showroom {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.showroom__photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 4 / 3;
}

.showroom__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(0.25) contrast(1.05);
  transition: transform 0.8s ease;
}

.showroom__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 8, 15, 0.7) 100%);
}

.showroom__photo:hover img {
  transform: scale(1.04);
}

.showroom__text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.showroom__text > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.showroom__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.showroom__list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.showroom__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--glow);
}

/* ---------- Cooperation ---------- */

.cooperation {
  padding: 0 1.25rem 6rem;
}

.cooperation__box {
  position: relative;
  max-width: calc(var(--container) - 2.5rem);
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) 1.5rem;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(120, 150, 255, 0.25), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.cooperation__box h2 {
  margin: 0 auto 1rem;
  max-width: 18ch;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cooperation__box > p {
  margin: 0 auto 2.2rem;
  max-width: 34rem;
  color: var(--text-soft);
}

.cooperation__box .section-label {
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.cooperation__box .cooperation__hint {
  margin: 1.1rem auto 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.footer .logo__mark {
  font-size: 1.1rem;
}

.footer .logo__suffix {
  font-size: 0.9rem;
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__link {
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-underline-offset: 4px;
}

.footer__link:hover {
  text-decoration: underline;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  padding: 0.95rem 1.5rem;
  background: #ffffff;
  color: #070a14;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(170, 190, 255, 0.35);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 100;
  white-space: nowrap;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

.toast a {
  color: #0c1430;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.15),
      0 0 22px rgba(220, 230, 255, 0.55),
      0 0 60px rgba(150, 175, 255, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.2),
      0 0 30px rgba(230, 238, 255, 0.75),
      0 0 90px rgba(150, 175, 255, 0.5);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .badge,
  .dot {
    animation: none;
  }
}
