/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--solo-red);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 101;
  box-shadow: 0 0 12px var(--solo-red-glow);
  pointer-events: none;
  transition: transform 0.1s linear;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,10,0.55), rgba(10,10,10,0));
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 1px 0 rgba(230,57,71,0.08);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
}
.nav__center {
  display: flex;
  justify-content: center;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
}
.nav__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--solo-red);
  box-shadow: 0 0 10px var(--solo-red-glow);
  animation: pulse 2.2s var(--ease-in-out) infinite;
}
@media (max-width: 1100px) {
  .nav__status { display: none; }
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 1;
  transition: transform 0.35s var(--ease-spring), opacity 0.2s var(--ease-out);
}
.nav__logo svg,
.nav__logo img,
.nav__logo .logo-img {
  height: 26px;
  width: auto;
  display: block;
}
.nav__logo:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav__link {
  position: relative;
  padding: 8px 16px;
  color: var(--text-muted);
  border-radius: 100px;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.nav__link.is-active {
  color: var(--solo-red);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-spring);
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 24px; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg-black);
    padding: var(--s-6) var(--gutter);
    gap: var(--s-4);
    font-size: 32px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    z-index: 99;
  }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: transform 0.35s var(--ease-spring), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--solo-red);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: #ff4754;
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn--ghost:hover {
  border-color: var(--solo-red);
  color: var(--solo-red);
}

.btn--ghost-ink {
  background: transparent;
  color: var(--text-ink);
  border: 1px solid var(--border-ink);
}
.btn--ghost-ink:hover {
  border-color: var(--solo-red);
  color: var(--solo-red);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-spring);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============ CARDS ============ */
.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: var(--s-5);
  border-radius: var(--r-sm);
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 2px;
  background: var(--solo-red);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}
.card:hover::before {
  transform: scaleX(1);
}

/* ============ RED BLOCK ============ */
.red-block {
  background: var(--solo-red);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-deep);
  padding: var(--s-8) 0 var(--s-5);
  border-top: 1px solid var(--border-subtle);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5);
  }
}
.footer__logo {
  display: inline-block;
  color: #fff;
  margin-bottom: var(--s-4);
  line-height: 1;
}
.footer__logo svg,
.footer__logo img,
.footer__logo .logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 var(--s-3);
  font-weight: 600;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s var(--ease-out);
}
.footer__col a:hover {
  color: var(--solo-red);
}
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .footer__base {
    flex-direction: column;
    gap: var(--s-3);
    text-align: center;
  }
}

/* ============ YT MODAL ============ */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: var(--s-5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.yt-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.yt-modal__frame {
  width: min(1200px, 92vw);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-subtle);
  background: #000;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.45s var(--ease-spring);
}
.yt-modal.is-open .yt-modal__frame { transform: scale(1); }
.yt-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), transform 0.3s var(--ease-spring), border-color 0.2s var(--ease-out);
  display: grid;
  place-items: center;
}
.yt-modal__close:hover {
  background: var(--solo-red);
  border-color: var(--solo-red);
  transform: rotate(90deg);
}
