/* ============================================================
   NeutralBot — Main CSS
   Design: Dark / Purple-Violet | Modern AI SaaS
   ============================================================ */

/* --- Variables ------------------------------------------------ */
:root {
  --bg-primary:     #05050f;
  --bg-secondary:   #09091a;
  --bg-card:        #0e0e20;
  --bg-card-hover:  #131328;
  --bg-glass:       rgba(14, 14, 32, 0.85);

  --purple-dark:    #6d28d9;
  --purple:         #7c3aed;
  --purple-mid:     #8b5cf6;
  --purple-light:   #a78bfa;
  --purple-glow:    rgba(139, 92, 246, 0.25);
  --purple-glow-lg: rgba(139, 92, 246, 0.12);

  --pink:           #ec4899;
  --pink-light:     #f9a8d4;

  --border:         rgba(139, 92, 246, 0.18);
  --border-hover:   rgba(139, 92, 246, 0.5);
  --border-subtle:  rgba(255, 255, 255, 0.06);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  --success:        #10b981;
  --warning:        #f59e0b;
  --danger:         #ef4444;
  --info:           #3b82f6;

  --gradient-brand:   linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --gradient-text:    linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  --gradient-subtle:  linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(236,72,153,0.08) 100%);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px var(--border);
  --shadow-glow:   0 0 40px rgba(139,92,246,0.3), 0 0 80px rgba(139,92,246,0.1);
  --shadow-btn:    0 4px 20px rgba(124,58,237,0.5);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography ----------------------------------------------- */
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.75; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header p { max-width: 560px; margin: 16px auto 0; font-size: 1.1rem; }

.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* --- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 0.05; }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: var(--purple-glow);
  border-color: var(--purple-mid);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--border-subtle); }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: rgba(239,68,68,0.25); }

/* --- Navigation ----------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-actions {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-actions {
    top: auto;
    bottom: 0;
    padding: 16px 24px 32px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: none;
    flex-direction: column;
    width: 100%;
  }
  .nav-links.open, .nav-actions.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-actions .btn { width: 100%; justify-content: center; }
}

/* --- Announcement Banner -------------------------------------- */
.announcement-bar {
  background: var(--gradient-brand);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

/* --- Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-orb 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.35) 0%, transparent 70%);
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,0.2) 0%, transparent 70%);
  top: 10%; right: -100px;
  animation-delay: -4s;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  bottom: -100px; left: 40%;
  animation-delay: -8s;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

@keyframes float-orb {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(30px,-40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 100px;
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow svg { width: 14px; height: 14px; }

.hero-headline { margin-bottom: 24px; }
.hero-headline em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item svg { color: var(--success); flex-shrink: 0; }

/* Hero Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.mockup-wrapper {
  position: relative;
  animation: float-mockup 6s ease-in-out infinite;
}
@keyframes float-mockup {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

.mockup-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.mockup-card {
  width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0,0,0,0.2);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }
.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.mockup-body { padding: 20px 18px; }
.mockup-chat { display: flex; flex-direction: column; gap: 14px; }

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.chat-msg.user { flex-direction: row-reverse; }

.chat-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.chat-avatar.bot {
  background: var(--gradient-brand);
  color: #fff;
}
.chat-avatar.user-av {
  background: rgba(148,163,184,0.15);
  color: var(--text-secondary);
  font-size: 0.65rem;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 240px;
}
.chat-msg.bot .chat-bubble {
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--gradient-brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

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

.mockup-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.m-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.m-badge.green  { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); }
.m-badge.purple { background: rgba(139,92,246,0.15); color: var(--purple-light); border: 1px solid rgba(139,92,246,0.25); }

/* Floating feature cards next to mockup */
.mockup-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.mockup-float .float-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.float-1 {
  top: -20px; right: -40px;
  background: #1a1a35;
  border-color: rgba(139,92,246,0.35);
  animation: float-card 5s ease-in-out infinite;
  animation-delay: -1s;
}
.float-2 {
  bottom: -22px; left: -30px;
  background: #1a1a35;
  border-color: rgba(139,92,246,0.35);
  animation: float-card 6s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

/* --- Stats Bar ----------------------------------------------- */
.stats-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Features ----------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), var(--shadow-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; color: var(--text-primary); font-size: 1.1rem; }
.feature-card p  { font-size: 0.9rem; }
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 10px;
  background: rgba(139,92,246,0.1);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--purple-light);
  font-weight: 600;
}

/* --- How it works ------------------------------------------- */
.how-bg {
  background: var(--bg-secondary);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 100%);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--gradient-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px rgba(124,58,237,0.4);
}
.step-card h3 { margin-bottom: 10px; }
.step-card p  { font-size: 0.9rem; }
.step-time {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  background: rgba(139,92,246,0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

/* --- Target Audience ---------------------------------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.audience-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.audience-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.audience-card h3 { font-size: 1rem; margin-bottom: 6px; }
.audience-card p  { font-size: 0.875rem; }

/* --- Pricing (landing teaser) ------------------------------- */
.pricing-teaser {
  text-align: center;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.pricing-card.featured {
  background: linear-gradient(160deg, #130d2b 0%, #0e0e20 100%);
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 1px var(--purple-mid), var(--shadow-glow);
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-plan-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.pricing-price {
  margin-bottom: 8px;
}
.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.pricing-price .currency { font-size: 1.4rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-price .period   { font-size: 0.85rem; color: var(--text-muted); margin-left: 4px; }
.pricing-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.pricing-features li.disabled { opacity: 0.4; }
.pricing-features li.disabled svg { color: var(--text-muted); }
.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}
.pricing-note a { color: var(--purple-light); }

/* --- FAQ teaser --------------------------------------------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border-subtle); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--purple-light); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  background: rgba(139,92,246,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.75rem;
  color: var(--purple-light);
}
.faq-item.open .faq-icon { background: var(--purple-mid); color: #fff; transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}
.faq-answer-inner { padding: 0 0 20px; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-more {
  text-align: center;
  margin-top: 40px;
}

/* --- CTA Section -------------------------------------------- */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section .hero-orb-1 {
  width: 400px; height: 400px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { max-width: 480px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-small-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Footer ------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.875rem;
  max-width: 240px;
  color: var(--text-muted);
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--purple-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--purple-light); }

/* --- Flash Messages ----------------------------------------- */
.flash-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.flash-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: slide-in 0.3s ease;
  position: relative;
}
.flash-msg.success { border-color: rgba(16,185,129,0.4); }
.flash-msg.error   { border-color: rgba(239,68,68,0.4); }
.flash-msg.info    { border-color: rgba(59,130,246,0.4); }
.flash-msg .flash-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.flash-msg.success .flash-icon { color: var(--success); }
.flash-msg.error   .flash-icon { color: var(--danger); }
.flash-msg.info    .flash-icon { color: var(--info); }
.flash-text { font-size: 0.875rem; color: var(--text-primary); line-height: 1.5; }
.flash-close {
  margin-left: auto;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
}
.flash-close:hover { color: var(--text-primary); }
@keyframes slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* --- Forms -------------------------------------------------- */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-group label .required { color: var(--danger); margin-left: 3px; }
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--purple-mid);
  background: rgba(139,92,246,0.05);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--purple-mid);
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-group a { color: var(--purple-light); }

.form-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 24px 0;
  position: relative;
}
.form-divider::before, .form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-subtle);
}
.form-divider::before { left: 0; }
.form-divider::after  { right: 0; }

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-footer a { color: var(--purple-light); }

/* --- Auth pages layout -------------------------------------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  position: relative;
}
.auth-page .hero-orb { pointer-events: none; }

/* --- User Dashboard ----------------------------------------- */
.dashboard-page {
  min-height: 100vh;
  padding: 100px 24px 60px;
}
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid;
  margin-bottom: 32px;
}
.status-banner.trial {
  background: rgba(59,130,246,0.08);
  border-color: rgba(59,130,246,0.25);
  color: #93c5fd;
}
.status-banner.pending {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.25);
  color: #fcd34d;
}
.server-pending-box {
  text-align: center;
  padding: 60px 32px;
}
.server-pending-box .spinner {
  width: 56px; height: 56px;
  border: 3px solid var(--border);
  border-top-color: var(--purple-mid);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner            { grid-template-columns: 1fr; }
  .hero-visual           { display: none; }
  .features-grid         { grid-template-columns: repeat(2, 1fr); }
  .steps-grid            { grid-template-columns: 1fr; }
  .steps-grid::before    { display: none; }
  .pricing-cards         { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
  .stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .audience-grid         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section               { padding: 70px 0; }
  .features-grid         { grid-template-columns: 1fr; }
  .footer-grid           { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom         { flex-direction: column; text-align: center; }
  .hero-actions          { flex-direction: column; align-items: flex-start; }
  .hero-trust            { flex-direction: column; gap: 12px; }
  .cta-actions           { flex-direction: column; align-items: center; }
  .form-card             { padding: 32px 24px; }
}

/* --- Utility ------------------------------------------------ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-sm        { margin-top: 12px; }
.mt-md        { margin-top: 24px; }
.mt-lg        { margin-top: 40px; }
.mb-sm        { margin-bottom: 12px; }
.mb-md        { margin-bottom: 24px; }
.hidden       { display: none; }
.sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pill-green  { background: rgba(16,185,129,0.15);  color: #34d399; }
.pill-blue   { background: rgba(59,130,246,0.15);  color: #60a5fa; }
.pill-orange { background: rgba(245,158,11,0.15);  color: #fbbf24; }
.pill-red    { background: rgba(239,68,68,0.15);   color: #f87171; }
.pill-gray   { background: rgba(100,116,139,0.15); color: #94a3b8; }
.pill-purple { background: rgba(139,92,246,0.15);  color: var(--purple-light); }
