/* GoLove.AI — base: tokens, reset, typography, backdrop, nav */

:root {
  --ink: #0B0710;
  --ink-2: #110A18;
  --surface: #17101F;
  --surface-2: #1E1529;
  --edge: rgba(255, 255, 255, 0.08);
  --edge-2: rgba(255, 61, 154, 0.30);

  --brand: #FF3D9A;
  --brand-2: #9B5CFF;
  --brand-3: #FF8CC6;

  --tx: #F6F1FA;
  --tx-2: #C3B7D0;
  --tx-3: #877A98;

  --grad: linear-gradient(120deg, #FF3D9A 0%, #9B5CFF 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 61, 154, 0.16), rgba(155, 92, 255, 0.12));
  --grad-tx: linear-gradient(115deg, #FF8CC6 0%, #FF3D9A 42%, #9B5CFF 100%);

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --sh-sm: 0 6px 22px rgba(0, 0, 0, 0.35);
  --sh: 0 20px 50px rgba(0, 0, 0, 0.45);
  --sh-brand: 0 18px 50px rgba(255, 61, 154, 0.28);

  --ez: cubic-bezier(0.4, 0, 0.2, 1);
  --ez-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ink);
  color: var(--tx);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { font-family: 'Sora', system-ui, sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }

::selection { background: rgba(255, 61, 154, 0.35); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--brand), var(--brand-2)); border-radius: 9px; border: 2px solid var(--ink); }

/* Layout primitives */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }
.wrap--narrow { max-width: 820px; }

.grad {
  background: var(--grad-tx);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--xs { width: 15px; height: 15px; }

/* ===== Backdrop ===== */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg__mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 45% at 18% 12%, rgba(255, 61, 154, 0.22), transparent 60%),
    radial-gradient(45% 50% at 85% 20%, rgba(155, 92, 255, 0.20), transparent 60%),
    radial-gradient(50% 55% at 60% 95%, rgba(255, 140, 198, 0.14), transparent 60%);
  filter: blur(20px);
}
.bg__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; will-change: transform; }
.bg__orb--a { width: 460px; height: 460px; top: -6%; left: -6%; background: radial-gradient(circle, rgba(255, 61, 154, 0.5), transparent 70%); animation: drift 26s var(--ez) infinite; }
.bg__orb--b { width: 560px; height: 560px; top: 30%; right: -12%; background: radial-gradient(circle, rgba(155, 92, 255, 0.45), transparent 70%); animation: drift 32s var(--ez) infinite reverse; }
.bg__orb--c { width: 380px; height: 380px; bottom: -8%; left: 30%; background: radial-gradient(circle, rgba(255, 140, 198, 0.4), transparent 70%); animation: drift 29s var(--ez) infinite; }
.bg__grain {
  position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.12); }
}

/* ===== Nav ===== */
.gl-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: padding 0.35s var(--ez); }
.gl-nav__inner {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  border: 1px solid transparent; transition: all 0.35s var(--ez);
}
.gl-nav.is-stuck .gl-nav__inner {
  background: rgba(17, 10, 24, 0.72);
  border-color: var(--edge);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--sh-sm);
}
.gl-brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.gl-brand__mark { border-radius: 8px; }
.gl-nav__links { display: flex; align-items: center; gap: 26px; }
.gl-nav__links > a:not(.gl-btn) { color: var(--tx-2); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.gl-nav__links > a:not(.gl-btn):hover { color: var(--tx); }
.gl-nav__inner .gl-nav__cta-m { display: none; }
.gl-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--edge); align-items: center; justify-content: center; }
.gl-burger .ic { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .gl-nav__inner .gl-nav__cta { display: none; }
  .gl-burger { display: inline-flex; }
  .gl-nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(11, 7, 16, 0.97); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ez);
  }
  .gl-nav__links.is-open { opacity: 1; pointer-events: auto; }
  .gl-nav__links > a:not(.gl-btn) { font-size: 1.5rem; font-weight: 700; color: var(--tx); padding: 16px; }
  .gl-nav__inner .gl-nav__cta-m { display: inline-flex; margin-top: 18px; font-size: 1rem; padding: 15px 30px; }
  body.is-locked { overflow: hidden; }
}
