/* ─────────────────────────────────────────────────────────
   ARIA Bot — Shared Stylesheet
   Cute anime-inspired dark theme with soft purple
───────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Quicksand:wght@400;500;600;700&display=swap');

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

:root {
  --bg:      #090715;
  --bg2:     #0d0b1e;
  --surface: #120f24;
  --surface2:#1a1535;
  --border:  rgba(167,114,255,.18);
  --p300:    #d8b4fe;
  --p400:    #c084fc;
  --p500:    #a855f7;
  --p600:    #9333ea;
  --p700:    #7e22ce;
  --pink:    #f9a8d4;
  --pink2:   #f472b6;
  --blue:    #818cf8;
  --cyan:    #67e8f9;
  --glow:    rgba(168,85,247,.4);
  --text:    #f5f0ff;
  --muted:   #9d8ec4;
  --card:    rgba(20,15,40,.8);
  --r:       16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

h1,h2,h3,h4 { font-family: 'Nunito', sans-serif; line-height: 1.12; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--p500); color: #fff; }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--p500), var(--pink2)); border-radius: 99px; }

/* ── Custom cursor ─────────────────────────────────────── */
#cursor {
  position: fixed; z-index: 99999; pointer-events: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,132,252,.6) 0%, rgba(249,168,212,.3) 60%, transparent 100%);
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, opacity .2s;
  mix-blend-mode: screen;
}
body:not(:hover) #cursor { opacity: 0; }

/* ── Background canvas ─────────────────────────────────── */
#bgCanvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: .4;
}

/* ── Noise ─────────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .025;
}

/* ── Container ─────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ── Badge ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(168,85,247,.1);
  font-size: .73rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--p300);
  font-family: 'Nunito', sans-serif;
}

/* ── Glow text ─────────────────────────────────────────── */
.glow-text {
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 35%, #f9a8d4 70%, #c084fc 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; border-radius: 12px;
  font-family: 'Nunito', sans-serif; font-size: .9rem; font-weight: 800;
  cursor: pointer; border: none; transition: all .25s ease;
  position: relative; overflow: hidden; letter-spacing: .01em;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 100%);
  opacity: 0; transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #a855f7 50%, #7928ca 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(168,85,247,.45), 0 4px 20px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(168,85,247,.65), 0 8px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-soft {
  background: rgba(168,85,247,.12);
  color: var(--p300);
  border: 1px solid rgba(168,85,247,.28);
  backdrop-filter: blur(8px);
}
.btn-soft:hover {
  background: rgba(168,85,247,.2);
  border-color: rgba(168,85,247,.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(168,85,247,.2);
}

.btn-lg { padding: 16px 34px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 9px 18px; font-size: .82rem; border-radius: 10px; }

/* ── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
#navbar.scrolled {
  background: rgba(9,7,21,.85);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--p600), var(--pink2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 0 18px rgba(168,85,247,.5);
  transition: transform .3s, box-shadow .3s;
}
.nav-logo:hover .logo-icon { transform: rotate(-8deg) scale(1.1); box-shadow: 0 0 28px rgba(168,85,247,.7); }
.logo-text {
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.3rem;
  background: linear-gradient(135deg, #e9d5ff, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-tag {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 2px 8px; background: rgba(168,85,247,.08);
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 16px; border-radius: 10px;
  font-size: .88rem; font-weight: 700; color: var(--muted);
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-link.active { color: var(--p300); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--p400);
}
.nav-right { margin-left: 12px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px 24px 20px;
  background: rgba(9,7,21,.95); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 12px 16px; }

/* ── Section shared ────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .badge { margin-bottom: 18px; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 900; margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1.02rem; max-width: 500px; margin: 0 auto; }

.section-divider {
  height: 1px; margin: 0;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, rgba(249,168,212,.15) 50%, var(--border) 70%, transparent 100%);
}

/* ── Fade-up animation ─────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ── Page header (inner pages) ─────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(168,85,247,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(249,168,212,.1) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(129,140,248,.1) 0%, transparent 50%);
}
.page-hero h1 { font-size: clamp(2.4rem,5vw,4rem); font-weight: 900; margin: 18px 0 16px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  position: relative; z-index: 2;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 48px;
}
.footer-brand p { color: var(--muted); font-size: .88rem; margin-top: 10px; max-width: 260px; line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.social-btn {
  padding: 8px 14px; border-radius: 10px; font-size: .8rem; font-weight: 700;
  background: rgba(168,85,247,.1); border: 1px solid var(--border);
  color: var(--muted); transition: all .2s;
}
.social-btn:hover { background: rgba(168,85,247,.2); color: var(--p300); transform: translateY(-2px); }
.footer-links-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .85rem; color: var(--p300); margin-bottom: 4px; }
.footer-col a { font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-copy { font-size: .8rem; color: var(--muted); }

@media(max-width:768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-col { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media(max-width:480px) {
  .footer-links-col { grid-template-columns: 1fr; }
}