/* ── Variables & Reset ───────────────────────────────────── */
:root {
  --bg:           #08080C;
  --bg-2:         #0D0D14;
  --bg-card:      #0F0F18;
  --bg-hover:     #151520;
  --border:       rgba(255,255,255,0.07);
  --border-mid:   rgba(255,255,255,0.04);
  --text:         #F4F4F8;
  --text-2:       #9090A8;
  --text-3:       #54546A;

  --g: linear-gradient(135deg, #6C64EB 0%, #9966CC 28%, #D94CA5 55%, #ED5583 78%, #F38E25 100%);
  --g-90: linear-gradient(90deg, #6C64EB 0%, #9966CC 28%, #D94CA5 55%, #ED5583 78%, #F38E25 100%);

  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s var(--ease);

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Utilities ───────────────────────────────────────────── */
.g-text {
  background: var(--g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.sh {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.ss {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.72;
  max-width: 540px;
}
.sh-center { text-align: center; }
.sh-center .ss { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--t), transform var(--t);
  border-radius: 10px;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-grad {
  background: var(--g);
  color: #fff;
  padding: 11px 24px;
  font-size: 14px;
}
.btn-grad-lg {
  padding: 15px 36px;
  font-size: 16px;
  border-radius: 12px;
}
.btn-ghost {
  color: var(--text-2);
  padding: 11px 18px;
  font-size: 14px;
  background: transparent;
}
.btn-ghost:hover { color: var(--text); opacity: 1; transform: none; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  transition: padding var(--t), background var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.s {
  background: rgba(8,8,12,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 48px;
  border-bottom-color: var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,12,0.98);
  backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column;
  padding: 88px 32px 48px;
  gap: 0;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
}
.mob-menu a:hover { color: #D94CA5; }
.mob-menu .mob-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.mob-menu .mob-btns a {
  font-size: 16px;
  padding: 14px 24px;
  border-bottom: none;
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────── */
.foot {
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
}
.foot-copy { font-size: 13px; color: var(--text-3); }
.foot-links { display: flex; gap: 24px; }
.foot-links a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--t);
}
.foot-links a:hover { color: var(--text); }

/* ── Scroll animation ────────────────────────────────────── */
.fu {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fu.v { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ── Responsive (shared) ─────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav.s { padding: 12px 20px; }
  .nav-links, .nav-right { display: none; }
  .burger { display: flex; }

  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .foot { justify-content: center; text-align: center; flex-direction: column; }
  .foot-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fu { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ── Cookie Consent ──────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cookie-bar.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-bar__text {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.cookie-bar__text strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}
.cookie-bar__text a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t);
}
.cookie-bar__text a:hover { color: var(--text); }
.cookie-bar__btns {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}
.cookie-bar__btns .btn {
  font-size: 0.8125rem;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
}
.cookie-bar__btns .btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.cookie-bar__btns .btn-ghost:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}
@media (max-width: 640px) {
  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .cookie-bar__btns {
    flex-direction: column;
  }
  .cookie-bar__btns .btn {
    width: 100%;
    justify-content: center;
  }
}
