/* ═══════════════════════════════════════════════════════════════════════════
   Ticketify – Main Stylesheet  (Vibrant Neon-Futuristic Dark)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────────────────────────────── */
:root {
  --brand:          #5865F2;
  --brand-2:        #7C5CEF;
  --brand-hover:    #4752C4;
  --brand-alpha:    rgba(88, 101, 242, 0.18);
  --brand-glow:     rgba(88, 101, 242, 0.45);
  --green:          #23FFAA;
  --green-dim:      #57F287;
  --green-glow:     rgba(35, 255, 170, 0.35);
  --yellow:         #FFD93D;
  --yellow-glow:    rgba(255, 217, 61, 0.35);
  --red:            #FF4757;
  --red-glow:       rgba(255, 71, 87, 0.35);
  --orange:         #FF8C42;
  --pink:           #FF2D78;
  --pink-glow:      rgba(255, 45, 120, 0.35);
  --cyan:           #00D4FF;
  --cyan-glow:      rgba(0, 212, 255, 0.35);
  --purple:         #A855F7;
  --bg:             #080910;
  --bg-2:           #0d0e16;
  --surface:        #10111b;
  --surface-2:      #161722;
  --surface-3:      #1e202e;
  --surface-4:      #262838;
  --border:         rgba(255, 255, 255, 0.07);
  --border-bright:  rgba(255, 255, 255, 0.14);
  --text:           #eef0f9;
  --text-muted:     #7b82a0;
  --text-faint:     #454a62;
  --radius:         14px;
  --radius-sm:      8px;
  --radius-lg:      22px;
  --radius-xl:      32px;
  --shadow:         0 8px 40px rgba(0,0,0,0.55);
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.4);
  --shadow-lg:      0 16px 64px rgba(0,0,0,0.65);
  --shadow-brand:   0 8px 32px rgba(88, 101, 242, 0.35);
  --shadow-pink:    0 8px 32px rgba(255, 45, 120, 0.3);
  --shadow-green:   0 8px 32px rgba(35, 255, 170, 0.25);
  --shadow-cyan:    0 8px 32px rgba(0, 212, 255, 0.25);
  --nav-height:     66px;
  --grad-brand:     linear-gradient(135deg, #5865F2, #A855F7);
  --grad-fire:      linear-gradient(135deg, #FF8C42, #FF2D78);
  --grad-mint:      linear-gradient(135deg, #23FFAA, #00D4FF);
  --grad-aurora:    linear-gradient(135deg, #5865F2, #EB459E, #FF8C42);
  --transition:     0.18s ease;
  --transition-sm:  0.12s ease;
  --transition-lg:  0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: radial-gradient(ellipse 100% 60% at 50% -5%, rgba(88,101,242,0.1) 0%, transparent 65%);
}
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: #818CF8; }
img { max-width: 100%; display: block; }
code {
  background: var(--surface-3); padding: 2px 7px; border-radius: 5px;
  font-size: 0.875em; font-family: 'JetBrains Mono', monospace;
  color: var(--cyan); border: 1px solid var(--border);
}

/* ── Layout ──────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section        { padding: 5.5rem 0; }
.section--alt   { background: var(--surface); position: relative; }
.section--alt::before { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 0%,rgba(88,101,242,0.04) 50%,transparent 100%); pointer-events:none; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title  { font-family: 'Sora', 'Inter', sans-serif; font-size: clamp(1.9rem, 4.5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.mt-4 { margin-top: 1.5rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-3 { margin-bottom: 1rem; }
.text-center { text-align: center; } .text-muted { color: var(--text-muted); }

/* ── Gradient Text ──────────────────────── */
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text--fire { background: var(--grad-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text--mint { background: var(--grad-mint); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── Navbar ─────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  background: rgba(8,9,16,0.8); backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border); z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { background: rgba(8,9,16,0.97); border-bottom-color: var(--border-bright); box-shadow: 0 4px 32px rgba(0,0,0,0.6); }
.nav-spacer { height: var(--nav-height); }
.nav-container { display: flex; align-items: center; gap: 1rem; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-family: 'Sora','Inter',sans-serif; font-weight: 800; font-size: 1.15rem; text-decoration: none; flex-shrink: 0; letter-spacing: -0.02em; }
.nav-logo:hover { color: var(--text); }
.logo-icon { width: 32px; height: 32px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.logo-icon-emoji { font-size: 1.5rem; line-height: 1; }
.logo-text-gradient { background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; margin-left: 2.5rem; flex: 1; }
.nav-link { display: flex; align-items: center; gap: 0.3rem; padding: 0.45rem 0.85rem; border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.875rem; font-weight: 500; background: none; border: none; cursor: pointer; transition: background var(--transition), color var(--transition); white-space: nowrap; font-family: inherit; }
.nav-link:hover { background: var(--surface-3); color: var(--text); }
.nav-link.active { background: var(--brand-alpha); color: #818CF8; box-shadow: inset 0 0 0 1px rgba(88,101,242,0.25); }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; margin-left: auto; }
.nav-avatar { display: flex; align-items: center; }
.avatar-img { border-radius: 50%; object-fit: cover; border: 2px solid rgba(88,101,242,0.5); transition: border-color var(--transition); }
.avatar-img:hover { border-color: var(--brand); }
.avatar-img--sm { width: 34px; height: 34px; }
.avatar-img--lg { width: 80px; height: 80px; }
.avatar-img--xl { width: 120px; height: 120px; }

/* ── Nav Dropdown ─────────────────────── */
.nav-dropdown { position: relative; list-style: none; }
.dropdown-trigger { display: flex; align-items: center; gap: 0.35rem; padding: 0.45rem 0.85rem; background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 0.875rem; font-weight: 500; border-radius: var(--radius-sm); transition: background var(--transition), color var(--transition); font-family: inherit; }
.dropdown-trigger:hover,.dropdown-trigger[aria-expanded="true"] { background: var(--surface-3); color: var(--text); }
.dropdown-arrow { font-size: 0.65em; transition: transform var(--transition); opacity: 0.7; }
.dropdown-trigger[aria-expanded="true"] .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) scaleY(0.88) translateY(-6px); transform-origin: top center; min-width: 210px; background: var(--surface-2); border: 1px solid var(--border-bright); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease; z-index: 200; overflow: hidden; }
.nav-dropdown.open .dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) scaleY(1) translateY(0); }
.dropdown-item { display: block; padding: 0.65rem 1rem; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; transition: background var(--transition), color var(--transition); }
.dropdown-item:hover { background: var(--surface-3); color: var(--text); }
.dropdown-item--danger:hover { background: rgba(255,71,87,0.1); color: var(--red); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.3rem 0; }

/* ── Custom Select ───────────────────── */
.custom-select { position: relative; display: inline-block; min-width: 180px; width: 100%; }
.custom-select__trigger { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%; padding: 0.6rem 0.9rem; background: var(--surface-3); border: 1px solid var(--border-bright); border-radius: var(--radius-sm); color: var(--text); font-size: 0.875rem; font-family: inherit; cursor: pointer; transition: border-color var(--transition), box-shadow var(--transition); white-space: nowrap; text-align: left; }
.custom-select__trigger:hover { border-color: var(--brand); }
.custom-select.open .custom-select__trigger { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-alpha); }
.custom-select__arrow { font-size: 0.65em; transition: transform var(--transition); opacity: 0.65; flex-shrink: 0; }
.custom-select.open .custom-select__arrow { transform: rotate(180deg); }
.custom-select__options { position: absolute; top: calc(100% + 5px); left: 0; right: 0; background: var(--surface-2); border: 1px solid var(--border-bright); border-radius: var(--radius-sm); box-shadow: var(--shadow); list-style: none; z-index: 300; overflow: hidden; opacity: 0; transform: scaleY(0.92) translateY(-4px); transform-origin: top; pointer-events: none; transition: opacity 0.14s ease, transform 0.14s ease; max-height: 260px; overflow-y: auto; }
.custom-select.open .custom-select__options { opacity: 1; transform: scaleY(1) translateY(0); pointer-events: all; }
.custom-select__options::-webkit-scrollbar { width: 5px; }
.custom-select__options::-webkit-scrollbar-thumb { background: var(--surface-4); border-radius: 3px; }
.custom-select__option { padding: 0.6rem 0.9rem; font-size: 0.85rem; cursor: pointer; color: var(--text-muted); transition: background var(--transition), color var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.custom-select__option:hover,.custom-select__option.selected { background: var(--brand-alpha); color: var(--text); }
.custom-select__option.selected::after { content: '✓'; margin-left: auto; color: var(--brand); font-size: 0.75em; font-weight: 700; }
.custom-select__option-tag { font-size: 0.72em; padding: 1px 5px; border-radius: 3px; background: var(--surface-4); color: var(--text-faint); flex-shrink: 0; margin-left: auto; font-family: monospace; }
.custom-select__search-wrap { padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--border); }
.custom-select__search-wrap input { width:100%; background:transparent; border:none; outline:none; color:var(--text); font-size:0.85rem; font-family:inherit; }
.custom-select__option--channel::before { content:'# '; color:var(--text-faint); font-family:monospace; font-size:0.9em; }
.custom-select__option--voice::before   { content:'🔊 '; font-size:0.75em; }
.custom-select__option--category::before{ content:'📁 '; font-size:0.75em; }
.custom-select__option--role::before    { content:'@ '; color:var(--purple); font-family:monospace; font-size:0.9em; font-weight:700; }
.select-with-badge { position: relative; }
.select-badge { position: absolute; top: -6px; right: -6px; background: var(--brand); color: #fff; font-size: 0.62rem; padding: 1px 5px; border-radius: 99px; font-weight: 700; pointer-events: none; }

/* ── Hamburger ───────────────────────── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; border-radius: 6px; transition: background var(--transition); }
.nav-hamburger:hover { background: var(--surface-3); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Buttons ──────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.6rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; font-family: inherit; cursor: pointer; border: 1px solid transparent; transition: all var(--transition); white-space: nowrap; letter-spacing: 0.01em; text-decoration: none; }
.btn:hover { transform: translateY(-1px); } .btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.btn--primary:hover { box-shadow: 0 10px 40px rgba(88,101,242,0.55); filter: brightness(1.1); color: #fff; }
.btn--outline { background: transparent; color: var(--text-muted); border-color: var(--border-bright); }
.btn--outline:hover { background: var(--surface-3); color: var(--text); border-color: var(--brand); }
.btn--ghost { background: var(--surface-2); color: var(--text-muted); border-color: transparent; }
.btn--ghost:hover { background: var(--surface-3); color: var(--text); }
.btn--danger { background: rgba(255,71,87,0.12); color: var(--red); border-color: rgba(255,71,87,0.3); }
.btn--danger:hover { background: var(--red); color: #fff; box-shadow: 0 4px 20px rgba(255,71,87,0.4); }
.btn--success { background: rgba(35,255,170,0.12); color: var(--green); border-color: rgba(35,255,170,0.3); }
.btn--success:hover { background: var(--green); color: #000; }
.btn--sm  { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.btn--lg  { padding: 0.8rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn--xl  { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius); }
.btn--icon { padding: 0.5rem; aspect-ratio: 1; }

/* ── Badges ───────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 2px 9px; border-radius: 99px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.badge--blue   { background: rgba(88,101,242,0.18);  color: #818CF8;    border: 1px solid rgba(88,101,242,0.3); }
.badge--green  { background: rgba(35,255,170,0.12);  color: var(--green); border: 1px solid rgba(35,255,170,0.3); }
.badge--red    { background: rgba(255,71,87,0.12);   color: var(--red);   border: 1px solid rgba(255,71,87,0.3); }
.badge--orange { background: rgba(255,140,66,0.12);  color: var(--orange); border: 1px solid rgba(255,140,66,0.3); }
.badge--yellow { background: rgba(255,217,61,0.12);  color: var(--yellow); border: 1px solid rgba(255,217,61,0.3); }
.badge--gray   { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border); }
.badge--pink   { background: rgba(255,45,120,0.12);  color: var(--pink); border: 1px solid rgba(255,45,120,0.3); }
.badge--cyan   { background: rgba(0,212,255,0.12);   color: var(--cyan); border: 1px solid rgba(0,212,255,0.3); }
.badge--purple { background: rgba(168,85,247,0.12);  color: var(--purple); border: 1px solid rgba(168,85,247,0.3); }

/* ── Cards ─────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color var(--transition), box-shadow var(--transition); }
.card:hover { border-color: var(--border-bright); }
.card--danger { border-color: rgba(255,71,87,0.25); background: rgba(255,71,87,0.04); }
.card--glow-brand { border-color: rgba(88,101,242,0.35); box-shadow: var(--shadow-brand); }
.card--glow-pink  { border-color: rgba(255,45,120,0.35); box-shadow: var(--shadow-pink); }
.card--glow-green { border-color: rgba(35,255,170,0.35); box-shadow: var(--shadow-green); }
.card--glow-cyan  { border-color: rgba(0,212,255,0.35);  box-shadow: var(--shadow-cyan); }
.card-title { font-family: 'Sora','Inter',sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 1.25rem; letter-spacing: -0.01em; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }

/* ── Hero ──────────────────────────────── */
.hero { min-height: 92vh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--bg); }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(88,101,242,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(88,101,242,0.07) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%); pointer-events: none; }
.hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 70% 55% at 50% -5%, rgba(88,101,242,0.26) 0%,transparent 65%), radial-gradient(ellipse 45% 40% at 85% 25%, rgba(255,45,120,0.14) 0%,transparent 55%), radial-gradient(ellipse 40% 35% at 15% 75%, rgba(35,255,170,0.09) 0%,transparent 55%); pointer-events:none; }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 6rem 0 4rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--surface-2); border: 1px solid rgba(88,101,242,0.3); border-radius: 99px; padding: 0.35rem 1rem; font-size: 0.8rem; font-weight: 600; color: #818CF8; margin-bottom: 2rem; animation: badge-pulse 3s ease-in-out infinite; }
@keyframes badge-pulse { 0%,100% { box-shadow: 0 0 20px rgba(88,101,242,0.15); } 50% { box-shadow: 0 0 30px rgba(88,101,242,0.3); } }
.hero-title { font-family: 'Sora','Inter',sans-serif; font-size: clamp(2.8rem,7vw,5.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.04em; margin-bottom: 1.5rem; }
.hero-subtitle { color: var(--text-muted); font-size: clamp(1rem,2vw,1.2rem); max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: inline-flex; align-items: center; gap: 2rem; background: var(--surface-2); border: 1px solid var(--border-bright); border-radius: var(--radius-xl); padding: 1rem 2rem; backdrop-filter: blur(12px); flex-wrap: wrap; justify-content: center; }
.stat-pill { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.stat-number { font-family: 'Sora','Inter',sans-serif; font-size: 1.5rem; font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.03em; }
.stat-label  { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 36px; background: var(--border-bright); }

/* ── Feature Cards ──────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: border-color 0.28s cubic-bezier(0.34,1.56,0.64,1), transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s cubic-bezier(0.34,1.56,0.64,1); position: relative; overflow: hidden; }
.feature-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,0.02) 0%,transparent 60%); pointer-events:none; }
.feature-card:hover { border-color: rgba(88,101,242,0.4); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(88,101,242,0.15); }
.feature-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.feature-card h3 { font-family: 'Sora','Inter',sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ── Steps ──────────────────────────────── */
.steps-grid { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.step-card { flex: 1; min-width: 180px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: border-color var(--transition), transform var(--transition); }
.step-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.step-number { width: 44px; height: 44px; background: var(--grad-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Sora','Inter',sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0 auto 1rem; box-shadow: var(--shadow-brand); }
.step-card h3 { font-family: 'Sora','Inter',sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-card p  { font-size: 0.82rem; color: var(--text-muted); }
.step-arrow { flex-shrink: 0; align-self: center; font-size: 1.5rem; color: var(--text-faint); padding-top: 0.75rem; }

/* ── CTA ────────────────────────────────── */
.cta-section { background: var(--surface-2); position: relative; overflow: hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(88,101,242,0.2) 0%,transparent 60%), radial-gradient(ellipse 50% 40% at 90% 80%, rgba(255,45,120,0.12) 0%,transparent 55%); pointer-events:none; }
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { font-family: 'Sora','Inter',sans-serif; font-size: clamp(1.75rem,4vw,2.5rem); font-weight: 800; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
.cta-content p  { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Page Hero ──────────────────────────── */
.page-hero { padding: 4.5rem 0 3rem; position: relative; overflow: hidden; background: var(--surface); }
.page-hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(88,101,242,0.1) 0%,transparent 60%), radial-gradient(ellipse 40% 50% at 80% 50%, rgba(255,45,120,0.06) 0%,transparent 60%); pointer-events:none; }
.page-title { font-family: 'Sora','Inter',sans-serif; font-size: clamp(2rem,5vw,3.25rem); font-weight: 800; letter-spacing: -0.04em; position: relative; z-index: 1; }
.page-subtitle { color: var(--text-muted); font-size: 1rem; margin-top: 0.75rem; position: relative; z-index: 1; max-width: 640px; }

/* ── Search ──────────────────────────────── */
.search-bar { display: flex; align-items: center; gap: 0.75rem; background: var(--surface-2); border: 1px solid var(--border-bright); border-radius: var(--radius); padding: 0.65rem 1rem; margin-top: 1.75rem; max-width: 500px; transition: border-color var(--transition), box-shadow var(--transition); position: relative; z-index: 1; }
.search-bar:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-alpha); }
.search-icon { color: var(--text-muted); font-size: 1rem; flex-shrink: 0; }
.search-input { background: none; border: none; outline: none; color: var(--text); font-family: inherit; font-size: 0.9rem; width: 100%; }
.search-input::placeholder { color: var(--text-faint); }

/* ── Filter Tabs ────────────────────────── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-tab { padding: 0.45rem 1rem; border-radius: 99px; border: 1px solid var(--border-bright); background: var(--surface-2); color: var(--text-muted); font-size: 0.82rem; font-weight: 600; font-family: inherit; cursor: pointer; transition: all var(--transition); }
.filter-tab:hover { border-color: var(--brand); color: var(--text); background: var(--brand-alpha); }
.filter-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }

/* ── Command Cards ──────────────────────── */
.cmd-category { margin-bottom: 2.5rem; }
.cmd-category-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cmd-category-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.9rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700; border: 1px solid; font-family: 'Sora','Inter',sans-serif; }
.cmd-count { color: var(--text-faint); font-size: 0.8rem; }
.cmd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 0.9rem; }
.cmd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.cmd-card:hover { border-color: rgba(88,101,242,0.4); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(88,101,242,0.1); }
.cmd-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; flex-wrap: wrap; gap: 0.4rem; }
.cmd-name { color: var(--cyan); font-size: 0.9rem; font-family: 'JetBrains Mono', monospace; }
.cmd-prefix-badge { background: var(--surface-3); color: var(--text-muted); font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; border: 1px solid var(--border); }
.cmd-desc  { font-size: 0.835rem; color: var(--text-muted); margin-bottom: 0.6rem; line-height: 1.6; }
.cmd-usage { font-size: 0.78rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.cmd-usage-label { color: var(--text-faint); font-weight: 600; text-transform: uppercase; font-size: 0.7em; letter-spacing: 0.05em; }
.cmd-usage-code  { background: var(--surface-3); padding: 2px 7px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; color: var(--text-muted); font-size: 0.85em; border: 1px solid var(--border); }

/* ── Status ─────────────────────────────── */
.status-overall { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(35,255,170,0.07); border: 1px solid rgba(35,255,170,0.25); padding: 0.5rem 1.35rem; border-radius: 99px; font-size: 0.875rem; font-weight: 600; margin-top: 1.25rem; color: var(--green); }
.status-refresh { color: var(--text-muted); font-size: 0.8rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.status-dot--green  { background: var(--green);  box-shadow: 0 0 8px var(--green-glow);  animation: status-pulse 2s infinite; }
.status-dot--yellow { background: var(--yellow); box-shadow: 0 0 8px var(--yellow-glow); }
.status-dot--red    { background: var(--red);    box-shadow: 0 0 8px var(--red-glow); }
@keyframes status-pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }
.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.status-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color var(--transition); }
.status-card:hover { border-color: var(--border-bright); }
.status-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-weight: 700; font-size: 0.875rem; }
.status-badge { padding: 2px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; }
.status-badge--green  { background: rgba(35,255,170,0.12); color: var(--green);  border: 1px solid rgba(35,255,170,0.3); }
.status-badge--yellow { background: rgba(255,217,61,0.12); color: var(--yellow); border: 1px solid rgba(255,217,61,0.3); }
.status-badge--blue   { background: rgba(88,101,242,0.12); color: #818CF8;       border: 1px solid rgba(88,101,242,0.3); }
.status-metric { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.4rem; }
.metric-label  { color: var(--text-muted); }
.metric-value  { font-weight: 700; }

/* ── Charts ─────────────────────────────── */
.charts-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.chart-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.chart-card-header h3 { font-family: 'Sora','Inter',sans-serif; font-size: 0.9rem; font-weight: 700; }
.chart-legend { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--text-muted); align-items: center; flex-wrap: wrap; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.pie-legend { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 1rem; }
.pie-legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); }
.pie-legend-item span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }

/* ── Toast ──────────────────────────────── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.1rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-lg); border: 1px solid transparent; animation: toast-in 0.3s cubic-bezier(0.34,1.56,0.64,1); max-width: 380px; }
@keyframes toast-in { from{opacity:0;transform:translateY(16px) scale(0.95)} to{opacity:1;transform:translateY(0) scale(1)} }
.toast button { background:none; border:none; cursor:pointer; color:inherit; opacity:0.65; font-size:1rem; padding:0; transition:opacity var(--transition); margin-left:auto; flex-shrink:0; }
.toast button:hover { opacity:1; }
.toast--success { background: rgba(35,255,170,0.1); color: var(--green); border-color: rgba(35,255,170,0.3); }
.toast--error   { background: rgba(255,71,87,0.1);  color: var(--red);   border-color: rgba(255,71,87,0.3); }
.toast--info    { background: rgba(88,101,242,0.1); color: #818CF8;      border-color: rgba(88,101,242,0.3); }

/* ── Incident list ───────────────────── */
.incident-list { display: flex; flex-direction: column; gap: 0.5rem; }
.incident-row  { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; }
.incident-row--ok { background: rgba(35,255,170,0.05); border: 1px solid rgba(35,255,170,0.1); }
.incident-date { color: var(--text-muted); min-width: 80px; font-size: 0.8rem; }
.incident-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── FAQ ────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color var(--transition); }
.faq-item:hover { border-color: rgba(88,101,242,0.35); }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.25rem; background:none; border:none; color:var(--text); font-size:0.925rem; font-weight:600; font-family:inherit; cursor:pointer; text-align:left; gap:1rem; }
.faq-icon { color: var(--brand); font-size: 1.1rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }
.faq-answer a { color: var(--brand); }

/* ── Legal ──────────────────────────────── */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 { font-family: 'Sora','Inter',sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.legal-section p,.legal-section li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 0.6rem; }
.legal-section ul,.legal-section ol { padding-left: 1.5rem; margin-top: 0.5rem; }

/* ── Tables ─────────────────────────────── */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { text-align: left; padding: 0.7rem 0.9rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.03); vertical-align: middle; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table tr:last-child td { border-bottom: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.page-info { color: var(--text-muted); font-size: 0.875rem; }

/* ── Empty State ─────────────────────────── */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 4rem 1rem; text-align: center; color: var(--text-muted); }
.empty-icon  { font-size: 3rem; opacity: 0.6; }
.empty-state h3 { font-family:'Sora','Inter',sans-serif; font-size:1.1rem; font-weight:700; color:var(--text); }
.empty-state p  { font-size: 0.875rem; }

/* ── Error Page ──────────────────────────── */
.error-page    { min-height: 60vh; display: flex; align-items: center; }
.error-code    { font-family:'Sora','Inter',sans-serif; font-size:clamp(5rem,15vw,9rem); font-weight:900; background:var(--grad-brand); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; margin-bottom:1rem; }
.error-title   { font-family:'Sora','Inter',sans-serif; font-size:1.75rem; font-weight:700; margin-bottom:0.5rem; }
.error-message { color: var(--text-muted); margin-bottom: 2rem; }

/* ── Footer ─────────────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4.5rem 0 2.5rem; margin-top: auto; position: relative; overflow: hidden; }
.footer::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 40% at 50% 120%,rgba(88,101,242,0.08) 0%,transparent 60%); pointer-events:none; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; position: relative; z-index: 1; }
.footer-tagline { color: var(--text-muted); font-size: 0.875rem; margin: 0.75rem 0 1.25rem; line-height: 1.7; }
.footer-social  { display: flex; gap: 0.65rem; }
.social-link { width:36px; height:36px; background:var(--surface-3); border:1px solid var(--border); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-size:1rem; transition:all var(--transition); }
.social-link:hover { background:var(--brand-alpha); border-color:rgba(88,101,242,0.4); transform:translateY(-2px); }
.footer-col     { display: flex; flex-direction: column; gap: 0; }
.footer-heading { font-family:'Sora','Inter',sans-serif; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--text-muted); margin-bottom:1rem; }
.footer-links   { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-bottom  { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); position: relative; z-index: 1; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bot-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-bot-logo-img { width: 30px; height: 30px; border-radius: 8px; }
.footer-bot-logo-text { font-family:'Sora','Inter',sans-serif; font-weight:800; font-size:1rem; background:var(--grad-brand); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

/* ── Guild Grid ──────────────────────────── */
.guild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.guild-card { display: flex; align-items: center; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color 0.28s cubic-bezier(0.34,1.56,0.64,1), transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s cubic-bezier(0.34,1.56,0.64,1); }
.guild-card:hover { border-color: rgba(88,101,242,0.4); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(88,101,242,0.12); }
.guild-icon  { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); }
.guild-info  { flex: 1; min-width: 0; }
.guild-name  { font-family:'Sora','Inter',sans-serif; font-weight:700; font-size:0.95rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.guild-status { font-size: 0.75rem; font-weight: 600; margin-top: 2px; }
.guild-status--installed     { color: var(--green); }
.guild-status--not-installed { color: var(--text-muted); }

/* ── Profile ────────────────────────────── */
.profile-card   { overflow: hidden; padding: 0; }
.profile-banner { height: 120px; background: var(--grad-aurora); position: relative; }
.profile-banner::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,0.2); }
.profile-body   { display:flex; align-items:flex-end; gap:1.25rem; padding:0 1.5rem 1.75rem; margin-top:-45px; flex-wrap:wrap; position:relative; z-index:1; }
.profile-avatar { width:86px; height:86px; border-radius:50%; border:4px solid var(--surface); object-fit:cover; flex-shrink:0; box-shadow:0 4px 20px rgba(0,0,0,0.5); }
.profile-name   { font-family:'Sora','Inter',sans-serif; font-size:1.35rem; font-weight:800; letter-spacing:-0.02em; }
.profile-id,.profile-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Forms ──────────────────────────────── */
.form-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.35rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; }
.form-input { padding: 0.65rem 0.9rem; background: var(--surface-3); border: 1px solid var(--border-bright); border-radius: var(--radius-sm); color: var(--text); font-size: 0.875rem; font-family: inherit; outline: none; transition: border-color var(--transition), box-shadow var(--transition); width: 100%; }
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-alpha); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-hint     { font-size: 0.77rem; color: var(--text-faint); line-height: 1.5; }
.form-actions  { display: flex; gap: 0.75rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.toggle { display: flex; align-items: center; gap: 0.85rem; cursor: pointer; }
.toggle input { display: none; }
.toggle-slider { position:relative; width:42px; height:24px; background:var(--surface-4); border-radius:99px; flex-shrink:0; transition:background var(--transition); border:1px solid var(--border); }
.toggle-slider::after { content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; background:var(--text-muted); border-radius:50%; transition:transform 0.2s cubic-bezier(0.34,1.56,0.64,1),background var(--transition); }
.toggle input:checked + .toggle-slider { background: var(--brand); border-color: transparent; }
.toggle input:checked + .toggle-slider::after { transform: translateX(18px); background: #fff; }
.toggle-label { font-size: 0.875rem; color: var(--text-muted); }
.types-list { display: flex; flex-direction: column; gap: 0.6rem; }
.type-item  { display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 1rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color var(--transition); }
.type-item:hover { border-color: var(--border-bright); }
.type-emoji { font-size: 1.35rem; }
.type-info  { display: flex; flex-direction: column; }
.type-info strong { font-size: 0.9rem; font-weight: 700; }
.type-info span   { font-size: 0.8rem; color: var(--text-muted); }

/* ── Color Picker ─────────────────────── */
.color-picker-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.color-swatch { width: 30px; height: 30px; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); flex-shrink: 0; }
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,0.4); }
.color-input-wrap { display: flex; align-items: center; gap: 0.5rem; }
.color-input-wrap input[type="color"] { width: 30px; height: 30px; border-radius: 6px; border: none; cursor: pointer; padding: 0; background: none; }

/* ── Section divider accent ──────────── */
.section-accent-line { width: 48px; height: 4px; background: var(--grad-brand); border-radius: 99px; margin: 0.75rem auto 0; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 960px) {
  .charts-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn--outline { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(8,9,16,0.98); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border-bright); padding: 0.75rem; z-index: 999; gap: 0.2rem; box-shadow: 0 16px 48px rgba(0,0,0,0.7); }
  .nav-links.mobile-open .nav-link { padding: 0.65rem 1rem; font-size: 0.9rem; width: 100%; }
  .nav-links.mobile-open .nav-dropdown { position: static; width: 100%; }
  .nav-links.mobile-open .dropdown-trigger { width: 100%; padding: 0.65rem 1rem; font-size: 0.9rem; }
  .nav-links.mobile-open .dropdown-menu { position:static; transform:none; box-shadow:none; background:var(--surface-3); margin-top:0.25rem; border-radius:var(--radius-sm); opacity:1; pointer-events:all; display:none; min-width:auto; border-color:transparent; }
  .nav-links.mobile-open .nav-dropdown.open .dropdown-menu { display: block; }
  .mobile-auth-row { display:flex; gap:0.5rem; padding:0.5rem 0.25rem 0.25rem; border-top:1px solid var(--border); margin-top:0.25rem; }
  .mobile-auth-row .btn { flex:1; justify-content:center; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); align-self: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-stats { flex-direction: column; padding: 1rem 1.5rem; gap: 1rem; }
  .stat-divider { width: 60px; height: 1px; }
}
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .hero    { padding: 5rem 0 4rem; }
  .status-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
