/* ===== Garoov — Choose Your AI Assistant ===== */

:root {
  --bg: #060a16;
  --bg-2: #0a1124;
  --panel: #0e1730;
  --panel-2: #121d3d;
  --line: rgba(120, 160, 255, 0.14);
  --ink: #eaf0ff;
  --ink-soft: #a8b6d9;
  --ink-dim: #6c7aa3;
  --blue: #1d6fff;
  --blue-bright: #36a8ff;
  --cyan: #00d4ff;
  --grad: linear-gradient(135deg, #1d6fff 0%, #36a8ff 45%, #00d4ff 100%);
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(0, 60, 180, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 75% -5%, rgba(29, 111, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(0, 212, 255, 0.10), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.05; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

/* ---- Atmosphere ---- */
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}
.aura { position: fixed; border-radius: 50%; filter: blur(120px); z-index: 0; pointer-events: none; }
.aura--one { width: 520px; height: 520px; background: rgba(29, 111, 255, 0.22); top: -160px; right: -120px; }
.aura--two { width: 420px; height: 420px; background: rgba(0, 212, 255, 0.14); bottom: 5%; left: -160px; }

main, .nav, .footer { position: relative; z-index: 1; }

/* ---- Nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 22px 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { filter: drop-shadow(0 4px 14px rgba(29, 111, 255, 0.5)); }
.brand__name { font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.98rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 0.9rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(29, 111, 255, 0.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(29, 111, 255, 0.85); }
.btn--accent { background: rgba(0, 212, 255, 0.12); color: var(--cyan); border-color: rgba(0, 212, 255, 0.4); }
.btn--accent:hover { background: rgba(0, 212, 255, 0.2); transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn--disabled { background: rgba(255,255,255,0.04); color: var(--ink-dim); border-color: var(--line); cursor: not-allowed; }
.btn[disabled] { cursor: not-allowed; opacity: .75; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Hero ---- */
.hero { max-width: 880px; margin: 40px auto 0; padding: 48px 28px 20px; text-align: center; animation: rise .8s ease both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink-soft);
  background: rgba(29, 111, 255, 0.1); border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero__title { font-size: clamp(2.8rem, 8vw, 5.2rem); font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 620px; margin: 24px auto 0; color: var(--ink-soft); font-size: 1.12rem; }

/* ---- Search ---- */
.search {
  display: flex; align-items: center; gap: 12px;
  max-width: 560px; margin: 38px auto 0;
  background: rgba(14, 23, 48, 0.7); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 8px 6px 20px;
  backdrop-filter: blur(10px); transition: border-color .25s, box-shadow .25s;
}
.search:focus-within { border-color: rgba(54, 168, 255, 0.6); box-shadow: 0 0 0 4px rgba(29, 111, 255, 0.15); }
.search__icon { width: 22px; height: 22px; fill: none; stroke: var(--ink-dim); stroke-width: 2; stroke-linecap: round; flex-shrink: 0; }
.search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--ink); font-family: inherit; font-size: 1.05rem; padding: 12px 0;
}
.search input::placeholder { color: var(--ink-dim); }
.search kbd {
  font-family: inherit; font-size: 0.85rem; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; background: rgba(255,255,255,0.03);
}
.search__hint { min-height: 1.4em; margin-top: 14px; color: var(--ink-dim); font-size: 0.92rem; }

/* ---- Section heads ---- */
.section-head { max-width: 1180px; margin: 30px auto 28px; padding: 0 28px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { color: var(--ink-soft); margin-top: 6px; }

/* ---- Grid ---- */
.assistants { max-width: 1180px; margin: 30px auto 0; padding: 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(54, 168, 255, 0.4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card--live { border-color: rgba(54, 168, 255, 0.35); }
.card--live::before { opacity: 1; }
.card--soon { opacity: 0.94; }

.card__rank {
  position: absolute; top: 20px; right: 22px;
  font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.4rem; color: var(--ink-dim);
}
.badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft); background: rgba(255,255,255,0.05);
  border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.badge--live { color: var(--cyan); background: rgba(0, 212, 255, 0.1); border-color: rgba(0, 212, 255, 0.3); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0,212,255,0.7); animation: pulse 1.8s infinite; }

.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.card__icon {
  width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(29, 111, 255, 0.12); border: 1px solid var(--line);
}
.card__icon img { filter: drop-shadow(0 2px 8px rgba(29,111,255,0.5)); }
.card__icon--muted img { filter: grayscale(0.3) opacity(0.85); }
.card__title { font-size: 1.4rem; font-weight: 700; }
.card__meta { color: var(--ink-dim); font-size: 0.88rem; margin-top: 2px; }
.card__desc { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 16px; }
.card__features { list-style: none; margin-bottom: 22px; display: grid; gap: 9px; }
.card__features li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 0.92rem; }
.card__features li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  background: var(--grad); border-radius: 4px; opacity: 0.9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.card__actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.card__actions .btn { flex: 1; min-width: 120px; }
.card__login { display: inline-block; margin-top: 16px; color: var(--blue-bright); font-weight: 600; font-size: 0.92rem; transition: color .2s; }
.card__login:hover { color: var(--cyan); }

/* ---- Empty ---- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-dim); }
.empty svg { width: 46px; height: 46px; fill: none; stroke: var(--ink-dim); stroke-width: 1.6; stroke-linecap: round; margin-bottom: 14px; }
.empty p { font-size: 1.05rem; margin-bottom: 18px; }

/* ---- Share ---- */
.share { max-width: 1180px; margin: 80px auto 0; padding: 0 28px; }
.share__inner {
  background: linear-gradient(135deg, rgba(29,111,255,0.14), rgba(0,212,255,0.06));
  border: 1px solid var(--line); border-radius: 28px; padding: 48px 32px; text-align: center;
}
.share__inner h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.share__inner > p { color: var(--ink-soft); margin: 10px auto 28px; max-width: 460px; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.share-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  color: var(--ink); padding: 11px 18px; border-radius: 999px;
  font-family: inherit; font-weight: 600; font-size: 0.94rem; cursor: pointer;
  transition: transform .18s, background .2s, border-color .2s;
}
.share-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); border-color: rgba(54,168,255,0.4); }
.share-btn svg { width: 19px; height: 19px; fill: currentColor; }
.share-btn--copy svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Creator ---- */
.creator { max-width: 1180px; margin: 80px auto 0; padding: 0 28px; }
.creator__card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: 28px; padding: 44px; position: relative; overflow: hidden;
}
.creator__card::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,111,255,0.22), transparent 70%);
  top: -120px; right: -80px; pointer-events: none;
}
.creator__badge {
  display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--cyan); margin-bottom: 18px;
}
.creator__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.creator__bio h2 { font-size: clamp(2rem, 5vw, 3rem); }
.creator__handle { margin: 6px 0 18px; }
.creator__handle a { color: var(--blue-bright); font-weight: 600; }
.creator__handle a:hover { color: var(--cyan); }
.creator__bio p { color: var(--ink-soft); margin-bottom: 14px; }
.creator__bio strong { color: var(--ink); }
.creator__bio .btn { margin-top: 12px; }
.creator__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 18px; text-align: center;
}
.stat__num { display: block; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.9rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--ink-dim); font-size: 0.85rem; margin-top: 4px; display: block; }

/* ---- Footer ---- */
.footer { max-width: 1180px; margin: 90px auto 0; padding: 40px 28px 50px; text-align: center; border-top: 1px solid var(--line); }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque"; font-weight: 800; font-size: 1.2rem; }
.footer__tag { color: var(--ink-soft); margin: 10px 0 20px; }
.footer__links { display: flex; gap: 24px; justify-content: center; margin-bottom: 18px; }
.footer__links a { color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__game {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 auto 18px;
  max-width: 520px;
  line-height: 1.6;
}
.footer__game a { color: var(--cyan); font-weight: 600; }
.footer__game a:hover { text-decoration: underline; }
.footer__game strong { color: var(--ink); }
.footer__copy { color: var(--ink-dim); font-size: 0.85rem; }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--panel-2); border: 1px solid rgba(54,168,255,0.5); color: var(--ink);
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.94rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Animations ---- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,212,255,0.6); } 70% { box-shadow: 0 0 0 8px rgba(0,212,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); } }

.card { animation: rise .6s ease both; }
.card:nth-child(2) { animation-delay: .08s; }
.card:nth-child(3) { animation-delay: .16s; }
.card:nth-child(4) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .creator__grid { grid-template-columns: 1fr; gap: 28px; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .nav { padding: 18px 20px; }
  .hero { padding: 32px 20px 10px; }
  .creator__card { padding: 28px 22px; }
  .creator__stats { grid-template-columns: 1fr 1fr; }
  .share__inner { padding: 36px 20px; }
}
