/* ============================================
   STYLA — Light Luxury B2B Theme
   Design: Editorial, light theme, high contrast B2B
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:wght@300;400;500;600;700&display=swap');

/* === TOKENS === */
:root {
  --bg-base: #0b0b14;
  --bg-surface: #121222;
  --bg-raised: #16162a;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(37, 99, 235, 0.15);

  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;

  --accent: #3b82f6;
  --accent-light: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.08);
  --accent-glow: rgba(37, 99, 235, 0.15);
  
  --purple-glow: rgba(139, 92, 246, 0.06);
  --rose-glow: rgba(37, 99, 235, 0.04);

  --pink: #2563eb;
  --amber: #d97706;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-head: 'EB Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.08);
  
  --primary-gradient: linear-gradient(135deg, #e11d48 0%, #ff2a75 100%);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* === CONTAINER === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(7, 7, 12, 0.8) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border) !important;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-accent { 
  color: #ff2a75 !important; 
  font-style: italic;
  font-weight: 400;
}
.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--accent-light);
}
.nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.2s ease;
  border: 1px solid var(--accent);
}
.nav-cta:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background-image: none !important;
  background-color: transparent !important;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-headline em, .final-title em, .brand-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-light);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}
.btn-primary svg.btn-arrow {
  width: 18px;
  height: 18px;
}

/* Badges */
.badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === COUNTER === */
.counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.counter-avatars { display: flex; }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.counter-text { font-size: 0.85rem; color: var(--text-secondary); }
.counter-num { font-weight: 700; color: var(--text-primary); }

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-item {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================
   HOW IT WORKS & GENERAL SECTIONS
   ============================================ */
.how-section, .who-section, .brand-eco-section {
  padding: 100px 0;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 48px;
}
.steps-grid, .who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card, .who-card {
  background: var(--bg-surface);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.01) !important;
}
.step-card:hover, .who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.04) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
}
.step-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent-light);
  opacity: 0.25;
  margin-bottom: 16px;
}
.step-title, .who-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.step-desc, .who-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-connector {
  display: none;
}

/* Who card lists */
.who-list {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.who-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}
.who-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}
.who-card--accent {
  border-color: var(--border-accent) !important;
  background: var(--bg-surface);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 120px 0;
  text-align: center;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
}
.final-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.final-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Lead submission form elements */
.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.form-row input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  padding: 10px 24px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
}
.form-fine {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent-light);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   MODERN DASHBOARD & SaaS PREVIEWS
   ============================================ */
.dashboard-mock {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.dashboard-mock:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.dashboard-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.dashboard-badge {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.12);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.chart-container {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 220px;
}
.chart-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 140px;
  padding-top: 10px;
}
.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 14%;
}
.chart-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent-light) 0%, rgba(37, 99, 235, 0.2) 100%);
  position: relative;
  transition: all 0.6s ease;
  min-height: 8px;
}
.chart-bar-group:nth-child(even) .chart-bar {
  background: linear-gradient(180deg, #333333 0%, rgba(17, 17, 17, 0.2) 100%);
}
.chart-bar:hover {
  filter: brightness(1.1);
}
.chart-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}
.activity-container {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}
.activity-dot.pulse {
  animation: pulseGlow 2s infinite;
}
.activity-text {
  color: var(--text-secondary);
}
.activity-time {
  color: var(--text-muted);
  margin-left: auto;
  font-size: 0.7rem;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 121, 0.4); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(16, 185, 121, 0); }
  100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 121, 0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .steps-grid, .who-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 16px; }
  .chart-container { height: 180px; }
}

/* === Premium Modernization Upgrades === */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
  border-color: var(--accent-light);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-close-btn:hover {
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.05);
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 8px;
  }
  .form-row input { padding: 8px 4px; text-align: center; }
  .btn-primary { width: 100%; justify-content: center; border-radius: var(--radius-md); }
  .footer-inner { flex-direction: column; text-align: center; }
}


/* ============================================
   STYLA DARK LUXURY REDESIGN SYSTEM
   ============================================ */

/* Core Layout & Page Overrides */
body {
  background-color: var(--bg-base) !important;
  background-image: 
    radial-gradient(circle at 10% 20%, var(--purple-glow) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, var(--rose-glow) 0%, transparent 45%) !important;
  color: var(--text-primary) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary) !important;
}

h1 em, h2 em, h3 em, h4 em, h5 em, .logo-accent {
  font-family: var(--font-head) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--accent-light) !important;
}

/* Forms, Inputs, Selects, and Textareas */
.styled-input, 
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"] {
  width: 100%;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.styled-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
  border-color: var(--accent-light) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.styled-input::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.8 !important;
}

.styled-select {
  width: 100%;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  outline: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.styled-select:focus {
  border-color: var(--accent-light) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.styled-select option {
  background: #121222 !important;
  color: #ffffff !important;
}

.styled-textarea {
  width: 100%;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  outline: none !important;
  resize: vertical !important;
  min-height: 80px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.styled-textarea:focus {
  border-color: var(--accent-light) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Unified Cards System */
.card, .step-card, .pillar-card, .who-card, .shortterm-card, .db-card, .measurement-card, .twin-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 24px !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.card:hover, .step-card:hover, .pillar-card:hover, .who-card:hover, .shortterm-card:hover, .db-card:hover, .measurement-card:hover, .twin-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4) !important;
  border-color: var(--border-accent) !important;
  background: var(--bg-raised) !important;
}

/* Modern File Dropzone */
.file-drop {
  border: 2px dashed var(--border) !important;
  background: var(--bg-surface) !important;
  border-radius: var(--radius-md) !important;
  padding: 30px 20px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  color: var(--text-secondary) !important;
}

.file-drop:hover {
  border-color: var(--accent-light) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--text-primary) !important;
}

/* Modals */
.modal-overlay, .modal {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 1000 !important;
  background: rgba(7, 7, 12, 0.6) !important;
  backdrop-filter: blur(8px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  transition: all 0.3s ease !important;
}

.modal-content {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
  max-width: 500px !important;
  width: 100% !important;
  padding: 32px !important;
  position: relative !important;
  font-family: var(--font-body) !important;
  color: var(--text-primary) !important;
  text-align: left !important;
}

.modal-content h3 {
  color: var(--text-primary) !important;
  margin-top: 0 !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 1.35rem !important;
  margin-bottom: 12px !important;
}

.modal-content p, .modal-content label {
  color: var(--text-secondary) !important;
}

/* Chat Widget Redesign */
.chat-messages-container {
  display: flex !important;
  flex-direction: column !important;
  height: 350px !important;
  background: var(--bg-base) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
}

.chat-bubble {
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  max-width: 80% !important;
  line-height: 1.5 !important;
  margin-bottom: 8px !important;
}

.chat-bubble.user {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
  align-self: flex-end !important;
  border-bottom-right-radius: 2px !important;
}

.chat-bubble.bot {
  background: rgba(37, 99, 235, 0.04) !important;
  border: 1px solid rgba(37, 99, 235, 0.1) !important;
  color: var(--text-primary) !important;
  align-self: flex-start !important;
  border-bottom-left-radius: 2px !important;
}

/* Unified Editorial Footer */
.footer, footer {
  background: #08080f !important;
  border-top: 1px solid var(--border) !important;
  padding: 4rem 0 !important;
  width: 100% !important;
  margin-top: 6rem !important;
  color: var(--text-secondary) !important;
}

.footer a, footer a {
  color: var(--text-secondary) !important;
  transition: color 0.2s ease !important;
}

.footer a:hover, footer a:hover {
  color: var(--accent-light) !important;
}

.footer p, footer p {
  color: var(--text-muted) !important;
}

/* Buttons Systems */
.btn-run, .btn-primary, button[type="submit"] {
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.btn-run:hover, .btn-primary:hover, button[type="submit"]:hover {
  background: var(--accent-light) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
}
::-webkit-scrollbar-track {
  background: #0b0b14 !important;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 4px !important;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* Custom Range Sliders */
input[type="range"] {
  -webkit-appearance: none !important;
  width: 100% !important;
  height: 6px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 3px !important;
  outline: none !important;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--accent-light) !important;
  cursor: pointer !important;
  transition: transform 0.1s !important;
  border: none !important;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15) !important;
}

/* Navigation Overrides */
.nav, header {
  background: rgba(11, 11, 20, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-primary) !important;
}

.nav-link, header a.nav-link {
  color: var(--text-secondary) !important;
}

.nav-link:hover, header a.nav-link:hover {
  color: var(--accent-light) !important;
}

/* Tabs */
.tab-btn {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.tab-btn.active {
  color: var(--accent-light) !important;
  border-bottom-color: var(--accent-light) !important;
}

/* Accessibility & Contrast Enhancements */
input::placeholder, select::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}


/* Hide 'For Fashion Brands' link when user is logged in */
body.user-logged-in .nav-link-brands {
  display: none !important;
}


/* ============================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ============================================ */

/* Navbar responsiveness */
@media (max-width: 600px) {
  .nav {
    padding: 0 12px !important;
  }
  .nav-inner {
    height: 56px !important;
  }
  .logo {
    font-size: 1.1rem !important;
    gap: 6px !important;
  }
  .logo img {
    height: 24px !important;
  }
  .nav-actions {
    gap: 0.6rem !important;
  }
  /* Hide secondary nav links on mobile to prevent squishing */
  .nav-actions a:not(#nav-link-bridesmaid) {
    display: none !important;
  }
  .nav-cta {
    padding: 6px 14px !important;
    font-size: 0.75rem !important;
  }
  .logged-in-email {
    font-size: 0.75rem !important;
  }
}

/* Landing & Page elements responsiveness */
@media (max-width: 600px) {
  .landing-hero {
    margin-top: 80px !important;
    padding: 0 1rem !important;
    gap: 2rem !important;
  }
  .hero-title {
    font-size: 2.0rem !important;
  }
  .hero-desc {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
  }
  .section-title {
    font-size: 1.8rem !important;
    margin-bottom: 2rem !important;
  }
  .glass-card {
    padding: 1.5rem !important;
  }
  .choice-card {
    padding: 1.2rem !important;
  }
  #choice-container {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .benefits-grid {
    gap: 1.2rem !important;
  }
}
