/* ==========================================
   SpicyChat Australia — Global Styles
   Dark + Neon Accent — Premium AI Platform
   ========================================== */

/* ---- CSS Variables ---- */
:root {
  --bg-void: #050505;
  --bg-surface: #0A0A0A;
  --bg-surface-elevated: #111111;
  --bg-panel: rgba(15, 15, 20, 0.6);
  --accent-primary: #7C3AED;
  --accent-primary-bright: #8B5CF6;
  --accent-secondary: #A78BFA;
  --accent-hot: #EC4899;
  --accent-gradient: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --accent-gradient-glow: linear-gradient(135deg, #7C3AED 0%, #EC4899 50%, #F472B6 100%);
  --text-primary: #F5F5F5;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;
  --text-bright: #FFFFFF;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 58, 237, 0.3);
  --glow-violet: rgba(124, 58, 237, 0.4);
  --glow-pink: rgba(236, 72, 153, 0.3);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --section-gap: 8rem;
  --container-max: 1200px;
  --container-padding: clamp(1rem, 5vw, 4rem);
  --card-padding: 1.5rem;
  --card-radius: 16px;
  --button-radius: 50px;
  --input-radius: 12px;
  --x: 50%;
  --y: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Film Grain Overlay ---- */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ---- Mouse Glow Spotlight ---- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle 600px at var(--x) var(--y), rgba(124, 58, 237, 0.08), transparent 100%);
  transition: background 0.3s ease;
}

@media (max-width: 768px) {
  body::before { display: none; }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.5); }

/* ---- Selection ---- */
::selection {
  background: rgba(124, 58, 237, 0.4);
  color: var(--text-bright);
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: var(--accent-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.3s ease;
}
.skip-link:focus { top: 0; }

/* ==========================================
   LIQUID GLASS COMPONENTS
   ========================================== */

.liquid-glass {
  background: rgba(15, 15, 20, 0.45);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
  border-radius: 16px;
}

.liquid-glass:hover {
  background: rgba(20, 20, 28, 0.55);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 40px rgba(124, 58, 237, 0.15);
}

.liquid-glass-card {
  background: rgba(15, 15, 20, 0.5);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.liquid-glass-card:hover {
  background: rgba(20, 20, 28, 0.6);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 40px rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
  z-index: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.5), 0 0 60px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

/* Gradient Glow Button */
.btn-glow { position: relative; overflow: visible; }

.btn-glow::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, #7C3AED, #EC4899, #F472B6, #7C3AED);
  background-size: 300% 300%;
  border-radius: 52px;
  z-index: -1;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  animation: gradient-shift 3s ease infinite;
}

.btn-glow:hover::before { opacity: 0.6; }

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================
   TAGS / BADGES
   ========================================== */

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-secondary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
}

.tag--nsfw {
  background: rgba(236, 72, 153, 0.15);
  color: #F472B6;
  border-color: rgba(236, 72, 153, 0.3);
}

/* ==========================================
   NAVIGATION
   ========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  border-radius: 8px;
  font-size: 1.25rem;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

.logo-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--accent-primary-bright);
  background: rgba(124, 58, 237, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 0.5rem;
  cursor: pointer;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem var(--container-padding) 2rem;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  padding: 0.875rem 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active { color: var(--accent-primary-bright); }

@media (max-width: 768px) {
  .nav-links-desktop, .nav-actions { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* ==========================================
   LAYOUT
   ========================================== */

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  margin-bottom: 1rem;
}

/* ---- Two Column ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.two-col-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  position: relative;
  z-index: 2;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary-bright);
}

.feature-text h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-col-image { order: -1; }
  .section { padding: 4rem 0; }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--container-padding) 4rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-image-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

/* Smoke Text Reveal — whole element fade-in, no letter splitting */
.smoke-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
              transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.smoke-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Circular Text Spinner */
@property --spin-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.circular-text-spinner {
  position: relative;
  width: 100px;
  height: 100px;
  animation: spin-rotate 20s linear infinite;
}

@keyframes spin-rotate {
  from { --spin-angle: 0deg; }
  to { --spin-angle: 360deg; }
}

.circular-text-spinner text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  fill: var(--text-muted);
}

/* ==========================================
   LIQUID BLOB BACKGROUNDS
   ========================================== */

.liquid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.liquid-blob--violet {
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  width: 500px;
  height: 500px;
  animation: blob-morph-1 15s ease-in-out infinite;
}

.liquid-blob--pink {
  background: radial-gradient(circle, #EC4899 0%, transparent 70%);
  width: 400px;
  height: 400px;
  animation: blob-morph-2 18s ease-in-out infinite;
}

.liquid-blob--blue {
  background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
  width: 350px;
  height: 350px;
  animation: blob-morph-3 20s ease-in-out infinite;
}

@keyframes blob-morph-1 {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0, 0) scale(1); }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(30px, -30px) scale(1.1); }
}

@keyframes blob-morph-2 {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) scale(1); }
  50% { border-radius: 60% 40% 30% 70% / 60% 30% 50% 40%; transform: translate(-20px, 20px) scale(1.15); }
}

@keyframes blob-morph-3 {
  0%, 100% { border-radius: 50% 50% 40% 60% / 50% 40% 60% 50%; transform: translate(0, 0) scale(1); }
  33% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%; transform: translate(20px, 10px) scale(1.05); }
  66% { border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%; transform: translate(-10px, -20px) scale(1.1); }
}

@media (max-width: 768px) {
  .liquid-blob { display: none; }
}

/* ==========================================
   CHARACTER GRID
   ========================================== */

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.filter-tab.active {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.filter-tab--nsfw {
  border-color: rgba(236, 72, 153, 0.3);
  color: #F472B6;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.character-card {
  overflow: hidden;
}

.character-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.character-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.character-card:hover .character-card-image img {
  transform: scale(1.05);
}

.character-card-body {
  padding: 1.25rem;
}

.character-card-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.character-card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.btn-chat {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-chat:hover {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================
   FEATURES GRID
   ========================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  text-align: center;
}

.feature-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary-bright);
}

.feature-card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   HOW IT WORKS — STEPS
   ========================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-primary-bright);
  margin-bottom: 1rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary-bright);
}

.step-card h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   PRICING
   ========================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: rgba(15, 15, 20, 0.5);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pricing-card--featured {
  background: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%) 1;
  position: relative;
  transform: translateY(-8px);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #FFFFFF;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li svg,
.pricing-features li i {
  color: var(--accent-primary-bright);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .pricing-card--featured { transform: none; }
}

/* ==========================================
   TESTIMONIALS
   ========================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #FBBF24;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   FAQ
   ========================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--accent-primary-bright); }

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
  width: 20px;
  height: 20px;
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   TEXT CAROUSEL SECTION
   ========================================== */

.text-carousel-section {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 0;
}

.text-carousel-track {
  position: relative;
  width: 100%;
  height: 200px;
  perspective: 600px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-carousel-item {
  position: absolute;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text-primary);
  opacity: 0.08;
  transition: opacity 0.5s ease;
}

.text-carousel-item.active { opacity: 1; }

/* ==========================================
   PARALLAX GALLERY
   ========================================== */

.parallax-gallery {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.parallax-item {
  position: relative;
  will-change: transform;
  border-radius: 16px;
  overflow: hidden;
}

.parallax-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .parallax-gallery { grid-template-columns: 1fr; }
}

/* ==========================================
   3D CAROUSEL
   ========================================== */

.carousel-3d-container {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  min-height: 400px;
}

.carousel-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-3d-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4rem;
}

/* ==========================================
   FINAL CTA
   ========================================== */

.section-cta-final {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  text-align: center;
}

.cta-final-content {
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   FOOTER WITH PERSPECTIVE GRID
   ========================================== */

.perspective-grid-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.perspective-grid-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  perspective: 1500px;
  perspective-origin: 50% 50%;
  pointer-events: none;
  opacity: 0.5;
}

.grid-plane {
  width: 200%;
  height: 200%;
  position: absolute;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
              linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: rotateX(60deg);
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 0 60px; }
}

.cube-wrapper {
  position: absolute;
  left: 50%;
  bottom: 30%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  transform-style: preserve-3d;
  animation: cube-float 6s ease-in-out infinite;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-rotate 20s linear infinite;
}

.cube-face {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.3);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(60px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(60px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(60px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(60px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }

@keyframes cube-rotate {
  0% { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}

@keyframes cube-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-20px); }
}

.footer-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--accent-primary-bright);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-links-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover { color: var(--accent-primary-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ==========================================
   LOGIN PAGE
   ========================================== */

.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  text-align: center;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.login-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group { text-align: left; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--input-radius);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.login-divider {
  position: relative;
  margin: 1.5rem 0;
  text-align: center;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-subtle);
}

.login-divider span {
  position: relative;
  padding: 0 1rem;
  background: var(--bg-surface);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.login-footer {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.login-footer a {
  color: var(--accent-primary-bright);
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover { text-decoration: underline; }

/* ==========================================
   APP LAYOUT — CHAT INTERFACE
   ========================================== */

.app-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-void);
}

/* Left Sidebar */
.app-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.app-sidebar--left { width: 280px; }

.app-sidebar--right {
  width: 320px;
  border-left: 1px solid var(--border-subtle);
  border-right: none;
  overflow-y: auto;
}

.app-sidebar-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.app-nav {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.app-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.app-nav-item.active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-primary-bright);
}

.app-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Main Chat Panel */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
}

.chat-character {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-character-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #10B981;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-actions {
  display: flex;
  gap: 0.5rem;
}

.chat-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-action-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-primary-bright);
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.message {
  display: flex;
  gap: 0.875rem;
  max-width: 80%;
}

.message--ai { align-self: flex-start; }

.message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.message-bubble {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  max-width: 100%;
}

.message--ai .message-bubble {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-bottom-left-radius: 4px;
}

.message--user .message-bubble {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-bottom-right-radius: 4px;
}

.message-bubble p {
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

.message-time {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Chat Input */
.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
}

.chat-input-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  padding: 0.5rem 0.75rem;
}

.chat-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  outline: none;
  padding: 0.5rem;
}

.chat-input::placeholder { color: var(--text-muted); }

.chat-input-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.chat-input-btn:hover { color: var(--text-primary); }

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

/* Right Sidebar Sections */
.sidebar-section {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-section-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.character-profile { text-align: center; }

.character-profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.character-profile-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.character-profile-bio {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.character-profile-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.suggested-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.suggested-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.suggested-item:hover { background: rgba(255, 255, 255, 0.05); }

.suggested-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.suggested-info {
  display: flex;
  flex-direction: column;
}

.suggested-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.suggested-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem 0;
}

.trending-rank {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent-primary-bright);
  width: 24px;
  flex-shrink: 0;
}

.trending-name {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==========================================
   HELP PAGE
   ========================================== */

.help-search {
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}

.help-search input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.help-search input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.help-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.help-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.help-tab {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.help-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.help-tab.active {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.help-content { display: none; }
.help-content.active { display: block; }

/* Safety Guidelines */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.safety-card {
  padding: 1.5rem;
}

.safety-card h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.safety-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================
   COST PAGE — COMPARISON TABLE
   ========================================== */

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table td {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table .check-icon {
  color: #10B981;
  width: 20px;
  height: 20px;
}

.comparison-table .cross-icon {
  color: var(--text-muted);
  width: 20px;
  height: 20px;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================
   SECTION ENTRANCE ANIMATIONS
   ========================================== */

.section-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-animate .stagger-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-animate.visible .stagger-child:nth-child(1) { transition-delay: 0.1s; }
.section-animate.visible .stagger-child:nth-child(2) { transition-delay: 0.2s; }
.section-animate.visible .stagger-child:nth-child(3) { transition-delay: 0.3s; }
.section-animate.visible .stagger-child:nth-child(4) { transition-delay: 0.4s; }
.section-animate.visible .stagger-child:nth-child(5) { transition-delay: 0.5s; }
.section-animate.visible .stagger-child:nth-child(6) { transition-delay: 0.6s; }

.section-animate.visible .stagger-child {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   APP RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .app-sidebar--right { display: none; }
}

@media (max-width: 768px) {
  .app-sidebar--left {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: left 0.3s ease;
  }
  .app-sidebar--left.open { left: 0; }
  .app-main { width: 100%; }
  .message { max-width: 90%; }
}

/* Mobile chat sidebar toggle */
.mobile-sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 80px;
  left: 1rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  border: none;
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

@media (max-width: 768px) {
  .mobile-sidebar-toggle { display: flex; }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.sidebar-overlay.active { display: block; }
