/* SessionHub site theme — dark glass + purple accents */
:root {
  --bg: #0a0b14;
  --bg-2: #12131f;
  --bg-deep: #12131f;
  --panel: rgba(22, 24, 38, 0.72);
  --panel-2: rgba(18, 20, 34, 0.88);
  --inset: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #8b5cf6;
  --accent-hot: #7c3aed;
  --accent-deep: #a78bfa;
  --violet: #8b5cf6;
  --violet-2: #7c3aed;
  --blue: #7c3aed;
  --neon: #a78bfa;
  --green: #22c55e;
  --ok: #22c55e;
  --danger: #f87171;
  --warn: #fbbf24;
  --grad: linear-gradient(135deg, #7c3aed, #8b5cf6 55%, #a78bfa);
  --grad-text: linear-gradient(135deg, #ffffff 0%, #ddd6fe 40%, #a78bfa 100%);
  --glass-bg: rgba(18, 20, 34, 0.62);
  --glass: rgba(18, 20, 34, 0.62);
  --glass-strong: rgba(22, 24, 38, 0.88);
  --glass-border: rgba(139, 92, 246, 0.28);
  --glass-dark: rgba(5, 6, 12, 0.72);
  --neu-face: rgba(255, 255, 255, 0.04);
  --neu-light: rgba(255, 255, 255, 0.06);
  --neu-dark: rgba(0, 0, 0, 0.45);
  --shadow: 0 24px 80px -24px rgba(0, 0, 0, 0.75), 0 0 60px -20px rgba(139, 92, 246, 0.35);
  --shadow-neu: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-neu-sm: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-inset: inset 0 2px 8px rgba(0, 0, 0, 0.35);
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --radius-card: 20px;
  --radius-btn: 14px;
  --radius-input: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --box: 1080px;
  --pad: clamp(1rem, 3vw, 1.75rem);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
  --z-header: 40;
  --z-side: 60;
  --z-modal: 100;
  --z-bg: 0;
  --z-content: 1;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: transparent;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body > :not(.shape-grid-bg):not(.skip) {
  position: relative;
  z-index: var(--z-content);
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 15px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .wrap {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

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

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.accent,
.brand-name .hub,
.logo span.hub {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.5);
}

.btn.lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn.primary {
  background: var(--grad);
  border: none;
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.65);
}

.btn.ghost {
  background: transparent;
}

.card,
.glass-card {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

input,
select,
textarea {
  width: 100%;
  background: var(--inset);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.logo img,
.brand-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.muted {
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
  border-radius: var(--r-pill);
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }
}
