/* ============================================
   XIUKEAI — Main Styles
   ============================================ */

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  transition: background var(--duration-base) var(--ease-out),
              backdrop-filter var(--duration-base) var(--ease-out);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__logo span {
  color: var(--color-red);
}

.nav__links {
  display: none;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
    align-items: center;
  }
}

.nav__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-red);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover {
  color: var(--color-white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__lang {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.nav__lang:hover {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.nav__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav__menu-btn {
    display: none;
  }
}

.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-white);
  transition: all var(--duration-base) var(--ease-out);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(255,59,48,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,59,48,0.06) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--space-6);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-red);
}

.hero__tagline {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-12);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.7s forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  background: var(--color-red);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: background var(--duration-fast), transform var(--duration-fast);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.9s forwards;
}

.hero__cta:hover {
  background: var(--color-red-dark);
  transform: scale(1.03);
}

.hero__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast);
}

.hero__cta:hover svg {
  transform: translateX(3px);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.4s forwards;
}

.hero__scroll span {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---- Footer ---- */

.footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.6);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__brand-name span {
  color: var(--color-red);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
}

.footer__social-link:hover {
  color: var(--color-white);
  border-color: var(--color-red);
  background: rgba(255,59,48,0.08);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}

.footer__col-link:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---- Mobile Nav Drawer ---- */

.nav__links.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: var(--space-8) var(--space-6);
  gap: var(--space-6);
  z-index: calc(var(--z-nav) - 1);
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .nav__links.mobile-open {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    backdrop-filter: none;
    padding: 0;
    gap: var(--space-8);
    border-top: none;
  }
}

/* Hamburger → X animation */
.nav__menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}



@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}
