/* =============================================
   SHINOA HIIRAGI — WEBSITE STYLES
   Dark · Ethereal · Violet-Noir
   ============================================= */

:root {
  --bg:          #06060f;
  --bg-2:        #0c0c1a;
  --bg-3:        #111128;
  --bg-card:     rgba(255,255,255,0.035);
  --bg-card-h:   rgba(255,255,255,0.065);
  --border:      rgba(180,130,255,0.12);
  --border-h:    rgba(180,130,255,0.3);

  --violet:      #8b5cf6;
  --violet-light:#a78bfa;
  --violet-glow: rgba(139,92,246,0.35);
  --pink:        #d946ef;
  --pink-light:  #e879f9;
  --cyan:        #22d3ee;

  --text:        #e8e2f8;
  --text-muted:  #9990b8;
  --text-dim:    #6b6490;

  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;

  --nav-h:       70px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ——— RESET & BASE ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: 'Courier New', monospace;
  background: rgba(139,92,246,0.15);
  color: var(--violet-light);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
}

/* ——— SCROLLBAR ——— */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ——— PARTICLES ——— */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ——— NAV ——— */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(6,6,15,0.85);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.logo-icon {
  color: var(--violet-light);
  font-size: 1.2em;
  animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.logo-text {
  background: linear-gradient(135deg, #c4b5fd, #f0abfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--bg-card); }

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #fff;
  padding: 9px 20px;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(139,92,246,0.4);
}
.btn-nav:hover { box-shadow: 0 0 30px rgba(139,92,246,0.7); transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #fff;
  font-size: 1rem;
  padding: 14px 32px;
  box-shadow: 0 0 30px rgba(139,92,246,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(139,92,246,0.8), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 1rem;
  padding: 14px 28px;
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-h); background: var(--bg-card-h); }

.btn-outline {
  background: transparent;
  color: var(--violet-light);
  border: 1.5px solid var(--violet);
  font-size: 1rem;
  padding: 14px 32px;
}
.btn-outline:hover { background: rgba(139,92,246,0.1); border-color: var(--violet-light); }

.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ——— HAMBURGER ——— */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(6,6,15,0.96);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-mobile a:hover { color: var(--text); background: var(--bg-card); }
.nav-mobile.open { display: flex; }

/* ——— REVEAL ANIMATIONS ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ——— HERO ——— */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 32px 80px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 60px;
  z-index: 1;
}
.hero-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: float-glow 12s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217,70,239,0.12) 0%, transparent 70%);
  top: 200px; right: -80px;
  animation: float-glow 15s ease-in-out infinite reverse;
}
.hero-glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 70%);
  bottom: 0; left: 40%;
  animation: float-glow 10s ease-in-out infinite 3s;
}
@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-content { flex: 1; max-width: 600px; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet-light);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 8px var(--violet);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--violet); }
  50% { opacity: 0.5; box-shadow: 0 0 16px var(--violet); }
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.title-line { display: block; color: var(--text); }
.title-accent {
  background: linear-gradient(135deg, #c4b5fd 0%, #f0abfc 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hstat { text-align: center; }
.hstat-num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.hstat-sym { font-size: 1.2rem; color: var(--violet-light); }
.hstat-label { display: block; font-size: 0.78rem; color: var(--text-dim); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.hstat-div { width: 1px; height: 36px; background: var(--border); }

/* ——— BOT CARD ——— */
.hero-visual { flex: 0 0 380px; z-index: 1; }
.bot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(139,92,246,0.12), 0 40px 80px rgba(0,0,0,0.4);
  animation: card-float 6s ease-in-out infinite;
}
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.bot-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(139,92,246,0.06);
}
.bot-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--violet);
  box-shadow: 0 0 16px var(--violet-glow);
  flex-shrink: 0;
}
.bot-avatar svg { width: 100%; height: 100%; }
.bot-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.bot-tag {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.online-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ba55c;
  box-shadow: 0 0 6px #3ba55c;
  animation: pulse-dot 2s ease-in-out infinite;
}

.bot-card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 90%;
}
.bot-msg {
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  animation: slide-in-left 0.4s ease;
}
.user-msg {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  animation: slide-in-right 0.4s ease;
}
@keyframes slide-in-left { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:translateX(0); } }
@keyframes slide-in-right { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:translateX(0); } }

.typing-dots { display: flex; gap: 5px; padding: 3px 2px; }
.typing-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--violet-light);
  animation: bounce-dot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ——— SECTIONS SHARED ——— */
section { position: relative; z-index: 1; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ——— FEATURES ——— */
#features {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-large { grid-column: span 2; }

.feat-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
}
.feat-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  transform: translateY(-4px);
}
.feat-card:hover .feat-glow { opacity: 1; }
.feat-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  color: var(--violet-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.feat-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.feat-list li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.feat-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--violet-light);
  font-weight: 700;
}
.feat-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(139,92,246,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

/* ——— COMMANDS ——— */
#commands {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.cmd-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.cmd-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.cmd-tab:hover { border-color: var(--border-h); color: var(--text); }
.cmd-tab.active {
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(217,70,239,0.15));
  border-color: var(--violet);
  color: var(--violet-light);
}
.cmd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.cmd-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: border-color var(--transition), background var(--transition);
  animation: fade-in 0.3s ease;
}
.cmd-card:hover { border-color: var(--border-h); background: var(--bg-card-h); }
@keyframes fade-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.cmd-name {
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--violet-light);
  margin-bottom: 6px;
}
.cmd-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.cmd-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cmd-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(139,92,246,0.12);
  color: var(--violet-light);
  border: 1px solid rgba(139,92,246,0.2);
}
.cmd-badge.perm {
  background: rgba(217,70,239,0.1);
  color: var(--pink-light);
  border-color: rgba(217,70,239,0.2);
}

/* ——— SETUP STEPS ——— */
#setup {
  padding: 100px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#setup .section-header { margin-bottom: 60px; }
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.step:hover { border-color: var(--border-h); transform: translateY(-4px); }
.step-num {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.step-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.step h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.step p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ——— STATS ——— */
#stats {
  padding: 100px 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.stats-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.stat-card:hover { border-color: var(--border-h); background: var(--bg-card-h); transform: translateY(-4px); }
.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet-light), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1;
}
.stat-suffix {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink-light);
  display: inline-block;
  vertical-align: super;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 10px;
}

/* ——— FAQ ——— */
#faq {
  padding: 100px 32px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-h); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--violet-light); }
.faq-chevron {
  font-size: 1.4rem;
  color: var(--text-dim);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(90deg); color: var(--violet-light); }
.faq-a {
  padding: 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }
.faq-a a { color: var(--violet-light); text-decoration: underline; }

/* ——— CTA ——— */
#cta {
  padding: 120px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-glow-1 {
  width: 500px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-glow-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(217,70,239,0.15) 0%, transparent 70%);
  top: 20%; right: 10%;
}
.cta-inner { position: relative; z-index: 1; }
.cta-badge {
  display: inline-block;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--violet-light);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ——— FOOTER ——— */
#footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
  background: var(--bg-2);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-brand { flex: 1; min-width: 220px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--transition);
}
.footer-social a:hover { color: var(--violet-light); border-color: var(--border-h); }

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.87rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--violet-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-large { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  #hero { flex-direction: column; padding-top: calc(var(--nav-h) + 40px); }
  .hero-content { max-width: 100%; }
  .hero-visual { width: 100%; max-width: 420px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links { flex-direction: column; gap: 28px; }
  #faq { padding: 80px 20px; }
  #commands { padding: 80px 20px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }
  .hero-title { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 16px; }
  .hstat-num { font-size: 1.4rem; }
  .btn-primary, .btn-ghost { padding: 12px 20px; font-size: 0.9rem; }
}

/* ——— COMMAND SEARCH ——— */
.cmd-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  transition: border-color var(--transition);
}
.cmd-search:focus-within {
  border-color: var(--border-h);
}
.cmd-search svg {
  color: var(--text-dim);
  flex-shrink: 0;
}
.cmd-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
}
.cmd-search input::placeholder {
  color: var(--text-dim);
}

/* ——— CMD TABS SVG ——— */
.cmd-tab svg {
  margin-right: 6px;
  vertical-align: middle;
}

/* ——— TEAM SECTION ——— */
#team {
  padding: 100px 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.team-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--violet);
  box-shadow: 0 0 20px var(--violet-glow);
}
.team-avatar svg {
  width: 100%;
  height: 100%;
}
.team-name {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.85rem;
  color: var(--violet-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.team-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.team-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--transition);
}
.team-links a:hover {
  color: var(--violet-light);
  border-color: var(--border-h);
}

/* ——— TECH STACK ——— */
#tech {
  padding: 100px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(139,92,246,0.03) 50%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.tech-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.tech-icon {
  color: var(--violet-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ——— CAREERS SECTION ——— */
#careers {
  padding: 100px 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.careers-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.careers-grid {
  display: grid;
  gap: 24px;
}
.career-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.career-card:hover {
  border-color: var(--border-h);
}
.career-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(139,92,246,0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.career-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.career-badge.active {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.3);
}
.career-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.career-type {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-left: auto;
}
.career-body {
  padding: 28px;
}
.career-body > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.career-reqs {
  list-style: none;
  margin-bottom: 24px;
}
.career-reqs li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
}
.career-reqs li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--violet-light);
  font-size: 0.8rem;
}
.career-resp h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.career-resp ul {
  list-style: none;
}
.career-resp li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.6;
}
.career-resp li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--violet-light);
  font-weight: 700;
}
.career-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ——— SCROLL PROGRESS BAR ——— */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

/* ——— BACK TO TOP ——— */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 90;
  box-shadow: 0 0 20px rgba(139,92,246,0.4);
}
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(139,92,246,0.6);
}

/* ——— STEP ICON SVG ——— */
.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-light);
}

/* ——— RESPONSIVE ADDITIONS ——— */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .career-header { flex-direction: column; align-items: flex-start; }
  .career-type { margin-left: 0; margin-top: 8px; }
  .career-footer { flex-direction: column; }
  .career-footer .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .tech-grid { grid-template-columns: 1fr; }
  .cmd-search { max-width: 100%; }
}

/* ——— LEGAL PAGE ——— */
#legal-content {
  padding: 60px 32px 100px;
  max-width: 900px;
  margin: 0 auto;
}
.legal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.legal-tab {
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.legal-tab:hover {
  border-color: var(--border-h);
  color: var(--text);
}
.legal-tab.active {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  border-color: transparent;
  color: white;
}
.legal-section {
  display: none;
}
.legal-section.active {
  display: block;
}
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.legal-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content h3:first-of-type {
  margin-top: 0;
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: none;
  margin-bottom: 20px;
}
.legal-content li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.legal-content li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--violet-light);
  font-weight: 700;
}
.legal-content a {
  color: var(--violet-light);
  text-decoration: none;
  transition: color var(--transition);
}
.legal-content a:hover {
  color: var(--pink);
  text-decoration: underline;
}
.contact-methods {
  display: grid;
  gap: 20px;
  margin: 32px 0;
}
.contact-method {
  display: flex;
  gap: 20px;
  background: rgba(139,92,246,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-light);
  flex-shrink: 0;
}
.contact-info h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.contact-info .btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 28px 20px;
  }
  .legal-content h2 {
    font-size: 1.5rem;
  }
  .legal-content h3 {
    font-size: 1.1rem;
  }
  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .legal-tabs {
    justify-content: center;
  }
}
