/* ════════════════════════════════════════
   trySEO.ai Design System
   Light theme: Alabaster + Obsidian + Burnished Gold
   Ported from design files
   ════════════════════════════════════════ */

/* ── Scrollbar ── */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F0F0EB; }
::-webkit-scrollbar-thumb { background: #B89E5F40; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #B89E5F80; }

body {
  background-color: #F0F0EB;
  color: #0F0F0F;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

* { box-sizing: border-box; }

/* ── Custom Cursor ── */
.cursor-dot,
.cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #0F0F0F;
  transition: background-color 0.3s;
}

.cursor-circle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 15, 15, 0.5);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

body:hover .cursor-circle.hovered {
  width: 80px;
  height: 80px;
  background-color: rgba(184, 158, 95, 0.1);
  border-color: #B89E5F;
  backdrop-filter: blur(2px);
}

/* Dark section cursor inversion */
.cursor-dot.inverted {
  background-color: #F0F0EB;
}

.cursor-circle.inverted {
  border-color: rgba(240, 240, 235, 0.5);
}

body:hover .cursor-circle.hovered.inverted {
  background-color: rgba(184, 158, 95, 0.15);
  border-color: #B89E5F;
}

/* ── Animations ── */
@keyframes fadeInMove {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInMove 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes growLine {
  0% { height: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { height: 80px; opacity: 1; }
}

.line-grow {
  animation: growLine 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

@keyframes expandLine {
  0% { width: 0; }
  100% { width: 100%; }
}

.expand-line {
  animation: expandLine 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes subtlePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(60px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.05) rotate(0.5deg); opacity: 0.8; }
}

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

@keyframes subtleGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(184, 158, 95, 0.03); }
  50% { box-shadow: 0 0 80px rgba(184, 158, 95, 0.08); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 158, 95, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(184, 158, 95, 0); }
}

@keyframes heroShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, -2%) scale(1.02); }
  66% { transform: translate(-2%, 3%) scale(0.98); }
}

@keyframes goldDividerGrow {
  0% { width: 0; }
  100% { width: 80px; }
}

/* ── Ambient Background ── */
.ambient-bg {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(184, 158, 95, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.6) 0%, rgba(240, 240, 235, 0) 50%);
  z-index: -1;
  animation: breathe 12s ease-in-out infinite;
}

/* Landing page uses simpler ambient bg */
.ambient-bg-landing {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 0%, rgba(240,240,235,0) 60%);
  z-index: -1;
  animation: breathe 10s ease-in-out infinite;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Staggered reveal children */
.reveal-stagger .reveal-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ── Side Indicator ── */
.side-indicator {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ── Glass Morphism Nav Pill ── */
.nav-pill {
  background: rgba(240, 240, 235, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.4s, border-color 0.4s;
}

.nav-pill.scrolled {
  background: rgba(240, 240, 235, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* ── Pull Quote ── */
.pull-quote {
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(184, 158, 95, 0.12);
  pointer-events: none;
}

/* ── Parallax ── */
.parallax-wrap {
  perspective: 1000px;
}

.parallax-visual {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.parallax-visual:hover {
  transform: scale(1.03);
}

/* ── Grayscale Hover ── */
.grayscale-hover {
  filter: grayscale(100%);
  transition: filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.grayscale-hover:hover {
  filter: grayscale(0%);
}

/* ── Mobile Menu ── */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ── Horizontal Scroll ── */
.horizontal-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ── Hero Particles ── */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle linear infinite;
}

/* ── Phase Cards ── */
.phase-card {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.5s, border-color 0.5s;
}

.phase-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(184, 158, 95, 0.3);
}

/* Phase connector line */
.phase-connector {
  position: relative;
}

.phase-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184,158,95,0.4), rgba(184,158,95,0.1));
}

.phase-connector:last-child::after {
  display: none;
}

/* ── Tool Cards (Features) ── */
.tool-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.tool-card:hover {
  transform: translateY(-8px);
  border-color: rgba(184, 158, 95, 0.4);
  box-shadow: 0 30px 80px rgba(184, 158, 95, 0.08), 0 10px 30px rgba(0, 0, 0, 0.04);
}

.tool-card .card-gradient {
  transition: transform 8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover .card-gradient {
  transform: scale(1.08);
}

.tool-card:hover .tool-number {
  color: #B89E5F;
}

.tool-card .explore-btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tool-card:hover .explore-btn {
  opacity: 1;
  transform: translateY(0);
}

.tool-card .card-arrow {
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s, transform 0.3s;
}

.tool-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Filter Buttons ── */
.filter-btn {
  position: relative;
  transition: color 0.3s;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #B89E5F;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.filter-btn.active {
  color: #0F0F0F;
}

.filter-btn.active::after {
  width: 100%;
}

.filter-btn:hover {
  color: #0F0F0F;
}

/* ── Card Gradient Backgrounds ── */
.gradient-1 { background: linear-gradient(135deg, rgba(184,158,95,0.12) 0%, rgba(240,240,235,0.6) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-2 { background: linear-gradient(135deg, rgba(160,160,156,0.10) 0%, rgba(245,245,240,0.6) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-3 { background: linear-gradient(135deg, rgba(184,158,95,0.08) 0%, rgba(200,195,185,0.3) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-4 { background: linear-gradient(135deg, rgba(120,130,140,0.10) 0%, rgba(240,240,235,0.5) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-5 { background: linear-gradient(135deg, rgba(184,158,95,0.06) 0%, rgba(230,225,215,0.4) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-6 { background: linear-gradient(135deg, rgba(160,160,156,0.08) 0%, rgba(250,248,243,0.5) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-7 { background: linear-gradient(135deg, rgba(184,158,95,0.10) 0%, rgba(235,230,220,0.4) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-8 { background: linear-gradient(135deg, rgba(100,110,120,0.10) 0%, rgba(240,240,235,0.5) 50%, rgba(255,255,255,0.8) 100%); }
.gradient-9 { background: linear-gradient(135deg, rgba(184,158,95,0.07) 0%, rgba(245,240,230,0.5) 50%, rgba(255,255,255,0.8) 100%); }

/* ── Architecture Visual ── */
.arch-visual {
  background:
    linear-gradient(135deg, rgba(184,158,95,0.05) 0%, transparent 50%),
    linear-gradient(225deg, rgba(15,15,15,0.03) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(184,158,95,0.08) 0%, transparent 50%);
}

/* ── Pricing Cards ── */
.pricing-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(184, 158, 95, 0.08), 0 10px 30px rgba(0, 0, 0, 0.04);
}

.pricing-card .card-gradient {
  transition: transform 8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pricing-card:hover .card-gradient {
  transform: scale(1.08);
}

.pricing-card.featured {
  border-color: rgba(184, 158, 95, 0.4);
}

.pricing-card.featured:hover {
  border-color: rgba(184, 158, 95, 0.6);
  box-shadow: 0 30px 80px rgba(184, 158, 95, 0.12), 0 10px 30px rgba(184, 158, 95, 0.06);
}

/* ── Billing Toggle ── */
.billing-toggle {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.billing-toggle .toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background: #0F0F0F;
  border-radius: 9999px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.billing-toggle.annual .toggle-slider {
  transform: translateX(100%);
}

.billing-toggle button {
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}

.billing-toggle button.active {
  color: #F0F0EB;
}

/* ── Price Transition ── */
.price-value {
  transition: opacity 0.3s, transform 0.3s;
}

.price-value.changing {
  opacity: 0;
  transform: translateY(-8px);
}

/* ── Feature Comparison Grid ── */
.comparison-row {
  transition: background 0.3s;
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.check-gold {
  color: #B89E5F;
}

.check-dim {
  color: rgba(240, 240, 235, 0.2);
}

/* ── FAQ Accordion ── */
.faq-item {
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(184, 158, 95, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s;
  opacity: 0;
}

.faq-item.open .faq-answer {
  opacity: 1;
}

.faq-toggle {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.save-badge {
  animation: badgePulse 2.5s ease-in-out infinite;
}

/* ── Stats Visual ── */
.stats-visual {
  background:
    linear-gradient(135deg, rgba(184,158,95,0.05) 0%, transparent 50%),
    linear-gradient(225deg, rgba(15,15,15,0.03) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(184,158,95,0.08) 0%, transparent 50%);
}

/* ── About Page: Hero BG Art ── */
.hero-bg-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-art::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 70%;
  height: 70%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(184, 158, 95, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(15, 15, 15, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(184, 158, 95, 0.03) 0%, transparent 70%);
  filter: blur(60px);
  animation: heroShift 20s ease-in-out infinite;
}

/* ── About Page: Abstract Panels ── */
.abstract-panel-1 {
  background:
    linear-gradient(160deg, rgba(184, 158, 95, 0.15) 0%, rgba(184, 158, 95, 0.03) 40%, transparent 70%),
    linear-gradient(220deg, rgba(15, 15, 15, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(184, 158, 95, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(160, 160, 156, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #F0F0EB 0%, #E8E6DF 100%);
}

.abstract-panel-1::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 60%;
  height: 50%;
  border: 1px solid rgba(184, 158, 95, 0.08);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.abstract-panel-1::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(184, 158, 95, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.abstract-panel-2 {
  background:
    linear-gradient(200deg, rgba(160, 160, 156, 0.1) 0%, transparent 50%),
    linear-gradient(340deg, rgba(184, 158, 95, 0.1) 0%, rgba(184, 158, 95, 0.02) 40%, transparent 70%),
    radial-gradient(circle at 60% 40%, rgba(184, 158, 95, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(15, 15, 15, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #EDEAE3 0%, #F0F0EB 100%);
}

.abstract-panel-2::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 20%;
  width: 40%;
  height: 35%;
  border: 1px solid rgba(184, 158, 95, 0.06);
  transform: rotate(10deg);
}

.abstract-panel-2::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(184, 158, 95, 0.12), transparent);
  border-radius: 50%;
}

/* ── About Page: Phase Gradients ── */
.phase-gradient-1 {
  background:
    linear-gradient(160deg, rgba(184, 158, 95, 0.12) 0%, transparent 60%),
    linear-gradient(300deg, rgba(240, 240, 235, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(184, 158, 95, 0.06) 0%, transparent 50%);
}

.phase-gradient-2 {
  background:
    linear-gradient(200deg, rgba(160, 160, 156, 0.08) 0%, transparent 60%),
    linear-gradient(340deg, rgba(184, 158, 95, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(184, 158, 95, 0.06) 0%, transparent 50%);
}

.phase-gradient-3 {
  background:
    linear-gradient(140deg, rgba(184, 158, 95, 0.1) 0%, transparent 50%),
    linear-gradient(280deg, rgba(160, 160, 156, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(184, 158, 95, 0.08) 0%, transparent 40%);
}

/* ── About Page: Principle Cards ── */
.principle-card {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.principle-card:hover {
  transform: translateY(-4px);
}

.principle-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(184, 158, 95, 0.15), transparent 60%);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.principle-card:hover::after {
  opacity: 1;
}

/* ── About Page: Gold Divider Grow ── */
.gold-divider-grow {
  width: 0;
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gold-divider-grow.visible {
  width: 80px;
}

/* ── About Page: Tech Items ── */
.tech-item {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech-item:hover {
  padding-left: 8px;
}

.tech-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 0;
  height: 1px;
  background: #B89E5F;
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech-item:hover::before {
  width: 12px;
}

/* ── Landing Page: WebGL Container ── */
#webgl-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Landing page scroll container */
#landing-scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}
#landing-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.blend-text {
  mix-blend-mode: exclusion;
  color: #fff;
}

/* ── SPA Shell ── */
.spa-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.spa-loading::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 1px solid rgba(15, 15, 15, 0.1);
  border-top-color: #B89E5F;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Upgrade Modal ── */
.upgrade-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.upgrade-modal-overlay.active {
  display: flex;
}

.upgrade-modal {
  background: #F0F0EB;
  border: 1px solid rgba(15, 15, 15, 0.1);
  border-radius: 12px;
  padding: 48px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: fadeInMove 0.3s ease;
}

.upgrade-modal h2 {
  font-family: 'Bodoni Moda', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.upgrade-modal p {
  color: rgba(15, 15, 15, 0.5);
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 14px;
}

.upgrade-modal .btn-primary {
  background: #0F0F0F;
  color: #F0F0EB;
  border: none;
  padding: 12px 32px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.upgrade-modal .btn-primary:hover {
  background: rgba(15, 15, 15, 0.85);
}

.upgrade-modal .btn-dismiss {
  background: none;
  border: 1px solid rgba(15, 15, 15, 0.1);
  color: rgba(15, 15, 15, 0.5);
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  margin-left: 12px;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(240, 240, 235, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 15, 15, 0.1);
  border-radius: 12px;
  padding: 16px 24px;
  color: #0F0F0F;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  z-index: 10001;
  animation: fadeInMove 0.3s ease;
  max-width: 360px;
}

.toast.success { border-left: 3px solid #4CAF50; }
.toast.error { border-left: 3px solid #E53935; }

/* ── App-specific overrides (dark theme for app/account/admin pages) ── */
body.app-mode {
  background-color: #0a0d10;
  color: #f0f0f0;
  cursor: auto;
}

body.app-mode .ambient-bg,
body.app-mode .cursor-dot,
body.app-mode .cursor-circle {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  body { cursor: auto; }
  .cursor-dot, .cursor-circle { display: none !important; }
}

@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ── Old app styles kept for app.js / account.js / admin.js ── */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

body.app-mode .glass:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-strong {
  background: rgba(10, 13, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* App-mode variables for existing app/account/admin pages */
body.app-mode {
  --c-bg-deep: #0a0d10;
  --c-bg-card: rgba(255, 255, 255, 0.03);
  --c-text-primary: #f0f0f0;
  --c-text-secondary: rgba(255, 255, 255, 0.6);
  --c-text-tertiary: rgba(255, 255, 255, 0.3);
  --c-accent: #d4b895;
  --c-accent-dim: rgba(212, 184, 149, 0.15);
  --c-red: #ff6b6b;
  --c-green: #6bcf7f;
  --c-yellow: #f5c542;
  --c-blue: #6ba3ff;
  --c-glass-border: rgba(255, 255, 255, 0.08);
  --c-glass-border-hover: rgba(255, 255, 255, 0.15);
  --radius: 3px;
}
