/* ==========================================================
   THEME STYLES - BOTMARKET PRO / TELEGRAM BOUTIQUE AUTOMATISÉE
   ========================================================== */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 36, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 240, 255, 0.35);

  --primary: #00f0ff;
  --primary-rgb: 0, 240, 255;
  --accent: #6366f1;
  --accent-rgb: 99, 102, 241;
  --gold: #fbbf24;
  --gold-rgb: 251, 191, 36;
  --success: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Glowing Ambient Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.4) 0%, transparent 70%);
  top: -100px;
  left: -150px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35) 0%, transparent 70%);
  top: 400px;
  right: -200px;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.25) 0%, transparent 70%);
  bottom: 300px;
  left: 20%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  margin-right: 24px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: #0f172a;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-title .highlight {
  color: var(--primary);
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 16px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

.btn-cockpit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid var(--border-highlight);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-cockpit-link:hover {
  background: var(--primary);
  color: #050811;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-1px);
}

.highlight-link {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.btn-tg-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 136, 204, 0.15);
  border: 1px solid rgba(0, 136, 204, 0.4);
  color: #29b6f6;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-tg-nav:hover {
  background: #0088cc;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================
   BUTTONS & BADGES
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #050811;
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.35);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-highlight);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(var(--primary-rgb), 0.1);
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.25);
}

.full-width {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.h-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.social-proof-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.proof-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.proof-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

/* Telegram Interactive Mockup */
.telegram-mockup-card {
  background: #17212b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(var(--primary-rgb), 0.15);
  overflow: hidden;
}

.mockup-header {
  background: #242f3d;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-bot-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27c93f;
}

.bot-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.bot-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mockup-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #0e1621;
}

.tg-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}

.tg-msg.bot {
  align-self: flex-start;
}

.tg-msg.user {
  align-self: flex-end;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tg-msg.bot .msg-bubble {
  background: #182533;
  color: #fff;
  border-bottom-left-radius: 4px;
}

.tg-msg.user .msg-bubble {
  background: #2b5278;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 0.7rem;
  color: #708499;
  margin-top: 4px;
  align-self: flex-end;
}

.tg-inline-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.tg-btn {
  background: #242f3d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #64b5f6;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.tg-btn:hover {
  background: #2f3d4f;
  color: #90caf9;
}

.tg-btn.highlight-btn {
  border-color: rgba(var(--gold-rgb), 0.4);
  color: #ffd54f;
}

/* ==========================================================
   PRICING / OFFERS SECTION
   ========================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-header {
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
  border-color: rgba(var(--gold-rgb), 0.4);
  background: linear-gradient(180deg, rgba(30, 38, 60, 0.85) 0%, rgba(18, 24, 38, 0.9) 100%);
  box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.12);
}

.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.pack-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.pack-gold {
  background: rgba(var(--gold-rgb), 0.15);
  border-color: rgba(var(--gold-rgb), 0.35);
  color: var(--gold);
}

.pack-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pack-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  min-height: 48px;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.price-box-promo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.price-strike-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.old-strike-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2.5px;
}

.promo-discount-tag {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  animation: pulsePromo 2s infinite ease-in-out;
}

.promo-discount-tag.tag-gold {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #fbbf24;
}

.price-row-promo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-original-crossed {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2.5px;
  opacity: 0.85;
}

.price-promo-tag {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.price-promo-tag.gold-tag {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

@keyframes pulsePromo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.88; }
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.text-gold-val {
  color: #fbbf24 !important;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.payment-type {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-left: 8px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.check-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon.gold {
  background: rgba(var(--gold-rgb), 0.2);
  color: var(--gold);
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.direct-tg-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.direct-tg-link:hover {
  color: var(--primary);
}

/* ==========================================================
   BENEFITS & FEATURES
   ========================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================
   STEPS SECTION
   ========================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(var(--primary-rgb), 0.2);
  line-height: 1;
  margin-bottom: 14px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================
   FAQ SECTION
   ========================================================== */
.faq-container {
  max-width: 800px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.accordion-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.accordion-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active {
  border-color: rgba(var(--primary-rgb), 0.3);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  padding-bottom: 20px;
  max-height: 200px;
}

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card, .contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.social-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.social-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateX(4px);
}

.s-icon {
  font-size: 1.8rem;
  margin-right: 16px;
}

.s-details {
  flex-grow: 1;
}

.s-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.s-handle {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
}

.s-arrow {
  font-size: 1.2rem;
  color: var(--text-dim);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.25);
}

.form-group small {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.75rem;
}

.feedback-msg {
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.feedback-msg.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.feedback-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0;
  background: #05070b;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.footer-left p {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 380px;
}

.footer-right {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary);
}

/* ==========================================================
   MODAL / DIALOG
   ========================================================== */
dialog.order-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border: 1px solid var(--border-highlight);
  background: #0d121d;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 520px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 999999;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(var(--primary-rgb), 0.3);
}

dialog.order-modal:not([open]) {
  display: none !important;
}

dialog.order-modal[open] {
  display: block !important;
}

dialog.order-modal::backdrop {
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(8px);
}

.modal-dialog-content {
  padding: 28px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: #fff;
}

.selected-offer-recap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.recap-name {
  font-weight: 700;
  display: block;
  color: #fff;
}

.recap-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.recap-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================================
   SECURE NAV BUTTON & TUTORIAL STYLES
   ========================================================== */
.btn-secure-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.12);
  border: 1px solid var(--border-highlight);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secure-nav:hover {
  background: var(--primary);
  color: #050811;
  box-shadow: 0 0 18px rgba(var(--primary-rgb), 0.4);
  transform: translateY(-1px);
}

/* Tutorial Section */
.tutorial-section {
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.4) 0%, rgba(14, 20, 32, 0.7) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.tuto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.tuto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.glow-step-cyan {
  border-color: rgba(var(--primary-rgb), 0.3);
}

.glow-step-purple {
  border-color: rgba(var(--accent-rgb), 0.3);
}

.glow-step-gold {
  border-color: rgba(var(--gold-rgb), 0.35);
  background: linear-gradient(180deg, rgba(22, 28, 44, 0.85) 0%, rgba(14, 18, 30, 0.9) 100%);
}

.tuto-step-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(var(--primary-rgb), 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.badge-purple {
  background: rgba(var(--accent-rgb), 0.2);
  color: #a78bfa;
}

.tuto-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.tuto-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tuto-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  min-height: 38px;
}

.tuto-list {
  padding-left: 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  flex-grow: 1;
}

.tuto-list li code {
  background: #090e18;
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-family: monospace;
}

.tuto-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.tuto-link:hover {
  text-decoration: underline;
}

.sharing-options-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.share-opt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.share-opt b {
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}

.tuto-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.direct-private-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.direct-private-link:hover {
  color: var(--primary);
}

/* Secure Modal */
.secure-vault-modal {
  border-color: rgba(var(--gold-rgb), 0.45);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(var(--gold-rgb), 0.15);
}

.modal-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ==========================================================
   FLASH SALE URGENCY BANNER (MYSTÈRE #1)
   ========================================================== */
.flash-sale-banner {
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 35%, #0f172a 100%);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.35);
  padding: 10px 16px;
  position: relative;
  z-index: 60;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.flash-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
}

.flash-tag {
  background: #f59e0b;
  color: #000;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.flash-title {
  color: #f8fafc;
}

.flash-code {
  background: rgba(56, 189, 248, 0.2);
  border: 1px dashed var(--primary);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  font-family: monospace;
}

.flash-countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-weight: 700;
}

.time-box {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
}

.btn-flash-claim {
  background: var(--primary);
  color: #050811;
  border: none;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-flash-claim:hover {
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(var(--primary-rgb), 0.6);
}

/* ==========================================================
   INTERACTIVE SMARTPHONE SIMULATOR (MYSTÈRE #4)
   ========================================================== */
.simulator-section {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.9) 0%, #060911 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1050px;
  margin: 30px auto 0;
}

.phone-mockup {
  width: 340px;
  height: 580px;
  background: #0b0f19;
  border: 8px solid #1e293b;
  border-radius: 44px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(var(--primary-rgb), 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 110px;
  height: 18px;
  background: #1e293b;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0f1422;
  overflow: hidden;
  padding-top: 22px;
}

.phone-bot-header {
  background: #161f33;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-avatar {
  font-size: 1.4rem;
}

.phone-bot-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.phone-bot-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
}

.phone-bot-status {
  font-size: 0.7rem;
  color: #38bdf8;
}

.phone-verified {
  background: #38bdf8;
  color: #000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
}

.phone-chat-stream {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
}

.chat-bubble {
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  line-height: 1.4;
}

.bot-bubble {
  background: #1c263c;
  color: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-bubble {
  background: #0284c7;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.sim-products-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.sim-product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sim-product-card:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--primary);
}

.sim-prod-icon {
  font-size: 1.3rem;
}

.sim-prod-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-size: 0.75rem;
}

.sim-prod-info b {
  color: #f8fafc;
}

.sim-prod-info span {
  color: #94a3b8;
}

.btn-sim-buy {
  background: var(--primary);
  color: #000;
  border: none;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.phone-input-bar {
  background: #141b2c;
  padding: 8px 10px;
  display: flex;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-input-bar input {
  flex: 1;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #f8fafc;
  cursor: pointer;
}

.btn-sim-send {
  background: var(--primary);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
}

.simulator-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.sim-feat-card:hover {
  border-color: rgba(var(--primary-rgb), 0.3);
  transform: translateX(4px);
}

.sim-feat-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-feat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sim-feat-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.sim-cta-box {
  margin-top: 10px;
}

/* ==========================================
   PROMO CODE INPUT & RECALCULATION
   ========================================== */
.promo-flex {
  display: flex;
  gap: 8px;
}

.btn-apply-promo {
  background: rgba(var(--primary-rgb), 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-apply-promo:hover {
  background: var(--primary);
  color: #000;
}

.promo-feedback {
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
  display: none;
}

.promo-feedback.success {
  color: #4ade80;
  display: block;
}

.promo-feedback.error {
  color: #f87171;
  display: block;
}

/* ==========================================
   DIGITAL RECEIPT MODAL (MYSTÈRE #3)
   ========================================== */
.receipt-box {
  background: #080c16;
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  border-radius: 14px;
  padding: 24px;
  margin: 16px 0;
  font-family: var(--font-body);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.receipt-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.receipt-number {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.receipt-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 14px 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.receipt-row span {
  color: var(--text-muted);
}

.receipt-row.total-row {
  font-size: 1.15rem;
  margin: 12px 0;
  padding: 8px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.text-green { color: #4ade80; }
.text-cyan { color: var(--primary); }

.receipt-qr-zone {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
}

.qr-info code {
  color: var(--primary);
  font-family: monospace;
}

/* ==========================================================
   TELEGRAM MINI-APP STORE SHOWCASE & DYNAMIC CATALOG STYLING
   ========================================================== */
.miniapp-store-section {
  padding: 40px 0 60px;
  position: relative;
}

.miniapp-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Top App Bar */
.tg-app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px 16px 0 0;
  border-bottom: none;
}

.tg-app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tg-app-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #fff;
}

.tg-app-verified {
  background: #38bdf8;
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tg-app-actions {
  display: flex;
  gap: 12px;
}

.tg-icon-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
}

.tg-icon-btn:hover {
  color: #fff;
}

/* Store Hero Banner Card */
.store-hero-card {
  position: relative;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: linear-gradient(180deg, rgba(20, 27, 45, 0.8) 0%, rgba(11, 15, 25, 0.95) 100%),
              url('https://images.unsplash.com/photo-1514565131-fce0801e5785?auto=format&fit=crop&w=1200&q=80') center/cover;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.1);
  margin-bottom: 16px;
}

.store-hero-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.store-avatar-box {
  width: 72px;
  height: 72px;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.store-hero-info {
  flex-grow: 1;
}

.store-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.store-hero-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.store-hero-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

/* Floating Cart Pill */
.store-cart-pill {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.store-cart-pill:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.3);
}

.cart-count-badge {
  background: #6366f1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Announcement Capsule */
.store-announcement-capsule {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.announcement-icon {
  font-size: 1.1rem;
}

/* 4 Quick Value Badges Grid */
.store-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.value-badge-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: transform 0.2s, background 0.2s;
}

.value-badge-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.value-icon {
  font-size: 1.25rem;
}

.value-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
}

/* Search Bar */
.store-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-search-bar:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.store-search-icon {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-right: 10px;
}

.store-search-bar input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 0;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
}

.clear-search-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
}

/* Categories Pills Bar */
.store-categories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.store-categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cat-pill-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

/* Dynamic Product Catalog Grid */
.dynamic-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dynamic-prod-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.dynamic-prod-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.prod-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.prod-cat-badge {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.prod-stock-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.prod-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 12px;
}

.prod-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.prod-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0 0 14px;
  flex-grow: 1;
}

.prod-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.prod-price-tag {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
}

.prod-rating {
  font-size: 0.78rem;
  color: #fbbf24;
  font-weight: 700;
}

.prod-actions-row {
  display: flex;
  gap: 8px;
}

.btn-add-cart {
  flex: 1;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background: #38bdf8;
  color: #000;
}

.btn-quick-buy {
  background: #6366f1;
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-quick-buy:hover {
  background: #4f46e5;
}

/* Shopping Cart Drawer Modal */
.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  overflow-y: auto;
  margin: 16px 0;
  padding-right: 4px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 14px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.cart-item-price {
  font-size: 0.8rem;
  color: #38bdf8;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.cart-total-val {
  color: #4ade80;
  font-size: 1.3rem;
}

/* Fixed Bottom Navigation Bar (Telegram Mini App Style) */
.fixed-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px 14px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 4px 8px;
}

.bottom-nav-item:hover, .bottom-nav-item.active {
  color: #38bdf8;
  transform: translateY(-2px);
}

.b-nav-icon {
  font-size: 1.25rem;
}

.cart-badge-wrapper {
  position: relative;
  display: inline-block;
}

.bottom-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 640px) {
  .dynamic-product-grid {
    grid-template-columns: 1fr;
  }
  .store-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .miniapp-container {
    padding: 0 10px;
  }
  body {
    padding-bottom: 70px; /* Space for bottom nav */
  }
}
@media (min-width: 641px) {
  body {
    padding-bottom: 70px;
  }
}

.cert-status {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================================================
   15 OFFICIAL THEMES SELECTOR IN ORDER MODAL
   ========================================================== */
.themes-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-top: 6px;
}

.theme-card-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  text-align: left;
}

.theme-card-pill:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
}

.theme-card-pill.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.theme-card-pill .t-icon {
  font-size: 1.1rem;
}

.theme-card-pill .t-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-card-pill .t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================
   LIVE CHAT MODAL DIALOG (CLEAN & RESPONSIVE)
   ========================================================== */
.live-chat-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 480px;
  width: 95vw;
  border-radius: 20px;
  overflow: hidden;
  margin: auto;
}

.live-chat-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.live-chat-modal-content {
  background: #0d131f;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 540px;
  max-height: 85vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.2);
  overflow: hidden;
}

.chat-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(180deg, #131d2e 0%, #0d131f 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 38px;
  height: 38px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-header-details b {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.chat-status-online {
  font-size: 0.72rem;
  color: #4ade80;
  font-weight: 600;
}

.chat-close-pill-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.chat-close-pill-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
}

.chat-quick-notice {
  padding: 8px 14px;
  background: rgba(56, 189, 248, 0.08);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  font-size: 0.75rem;
  color: #93c5fd;
  line-height: 1.35;
}

.chat-messages-stream {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #090e17;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-msg.msg-bot,
.chat-msg.msg-admin {
  align-self: flex-start;
  background: #182234;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border-bottom-left-radius: 4px;
}

.chat-msg.msg-client {
  align-self: flex-end;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-sender-tag {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.8;
}

.chat-msg .msg-time {
  font-size: 0.65rem;
  opacity: 0.6;
  align-self: flex-end;
}

/* Live Chat Input Form */
.chat-input-form {
  padding: 10px 12px;
  background: #0d131f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-input-row input {
  flex: 1;
  background: #151d2d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
}

.chat-input-row input:focus {
  border-color: #38bdf8;
  outline: none;
}

.chat-send-btn {
  background: #0284c7;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.chat-send-btn:hover {
  background: #0369a1;
}

.chat-shortcuts-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chat-tag-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.72rem;
  cursor: pointer;
  white-space: nowrap;
}

.chat-tag-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}



/* ==========================================================
   BOTBOUTIK — CORRECTIFS RESPONSIVE & AFFICHAGE MOBILE
   Fix: débordement horizontal, centrage, texte coupé
   ========================================================== */

/* Empêcher tout débordement horizontal global */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Conteneur principal — responsive centré */
.container,
.nav-container,
.miniapp-container,
.section-inner {
  width: 100% !important;
  max-width: min(1200px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Hero section — centrage texte mobile */
@media (max-width: 767px) {
  .hero-section {
    padding: 32px 0 24px !important;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    max-width: 100% !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }

  .hero-cta-group .cta-btn,
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
  }

  .hero-badges-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  /* Texte accroche top */
  .hero-announce-bar,
  .announce-ticker,
  .ticker-wrapper {
    width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
}

/* Section principale — padding mobile */
@media (max-width: 767px) {
  .section,
  .pricing-section,
  .benefits-section,
  .steps-section,
  .faq-section,
  .contact-section,
  .miniapp-store-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Grilles en 1 colonne sur mobile */
  .pricing-grid,
  .benefits-grid,
  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr !important;
  }

  /* Cards offres — pleine largeur */
  .pricing-card,
  .offer-card,
  .plan-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Overflow caché sur toutes les sections */
  section, .section, .hero-section {
    overflow: hidden !important;
  }

  /* Navbar brand */
  .brand-name,
  .tg-app-title,
  .nav-brand-name {
    font-size: 1rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 140px !important;
  }
}

/* Barre de navigation du bas — fixe et bien positionnée */
.fixed-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  background: #0a0e1a !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom)) !important;
  z-index: 999 !important;
}

.bottom-nav-item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  min-width: 0 !important;
  padding: 4px 6px !important;
}

.b-nav-label {
  font-size: 0.65rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 60px !important;
  text-align: center !important;
}

/* Live Chat Modal — plein écran mobile */
.live-chat-dialog {
  width: min(460px, 96vw) !important;
  max-height: 80vh !important;
  border: 1px solid rgba(56,189,248,0.3) !important;
  border-radius: 20px !important;
  background: #0d1424 !important;
  color: #f8fafc !important;
  padding: 0 !important;
}

.live-chat-dialog::backdrop {
  background: rgba(0,0,0,0.7) !important;
  backdrop-filter: blur(4px) !important;
}

.live-chat-modal-content {
  display: flex !important;
  flex-direction: column !important;
  height: min(520px, 78vh) !important;
}

.chat-dialog-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  font-weight: 700 !important;
  color: #38bdf8 !important;
}

.chat-messages-stream {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.chat-msg {
  max-width: 80% !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
  word-break: break-word !important;
}

.chat-msg.msg-bot,
.chat-msg.msg-admin {
  align-self: flex-start !important;
  background: rgba(56,189,248,0.12) !important;
  border: 1px solid rgba(56,189,248,0.2) !important;
  color: #e2e8f0 !important;
}

.chat-msg.msg-client {
  align-self: flex-end !important;
  background: rgba(99,102,241,0.2) !important;
  border: 1px solid rgba(99,102,241,0.3) !important;
  color: #c7d2fe !important;
}

.chat-input-form {
  padding: 12px 16px !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}

.chat-input-row {
  display: flex !important;
  gap: 8px !important;
}

.chat-input-row input {
  flex: 1 !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f8fafc !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  outline: none !important;
}

.chat-input-row input:focus {
  border-color: #38bdf8 !important;
}

.chat-send-btn {
  background: #38bdf8 !important;
  color: #000 !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 10px 16px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.chat-close-pill-btn {
  background: rgba(239,68,68,0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239,68,68,0.3) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-size: 0.8rem !important;
}

/* Panneau Admin Secret — plein écran mobile */
#secretAdminOverlay {
  display: none;
}
#secretAdminOverlay.open {
  display: flex !important;
}


/* ==========================================================
   BOTBOUTIK v7.0 — CORRECTIF FINAL OVERFLOW & CENTRAGE
   ========================================================== */

/* Règle universelle anti-débordement */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

/* Box-sizing universel */
*, *::before, *::after {
  box-sizing: border-box !important;
}

/* Tous les blocs — pas de min-width par défaut */
.container, .nav-container, .hero-grid, section, header, footer {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Container centré */
.container {
  width: 100% !important;
  max-width: min(1200px, 96vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(12px, 4vw, 24px) !important;
  padding-right: clamp(12px, 4vw, 24px) !important;
}

/* Nav centré */
.nav-container {
  width: 100% !important;
  max-width: min(1200px, 96vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(12px, 4vw, 20px) !important;
  padding-right: clamp(12px, 4vw, 20px) !important;
}

/* Hero grid — responsive absolu */
@media (max-width: 992px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: 100% !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .hero-visual {
    width: 100% !important;
    max-width: 400px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
  }
  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.6rem) !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }
  .hero-subtitle {
    font-size: 0.98rem !important;
    max-width: 100% !important;
  }
  .hero-cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .hero-cta-group > * {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem) !important;
  }
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Ticker et bannières — jamais plus larges que l'écran */
.ticker-wrapper, .ticker-content, .promo-ticker-bar {
  overflow: hidden !important;
  max-width: 100vw !important;
}

/* Sections */
.section, section {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* Images responsives */
img {
  max-width: 100% !important;
  height: auto !important;
}

/* Barre nav inférieure — sticky au bas, centrée */
.fixed-bottom-nav, #fixedBottomNav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  display: flex !important;
  align-items: stretch !important;
  background: rgba(7, 9, 14, 0.97) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255,255,255,0.09) !important;
  z-index: 9999 !important;
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px)) !important;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4) !important;
}

.bottom-nav-item, .b-nav-item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  padding: 5px 4px !important;
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  cursor: pointer !important;
  font-size: 0.68rem !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.bottom-nav-item.active, .b-nav-item.active,
.bottom-nav-item:hover, .b-nav-item:hover {
  color: #38bdf8 !important;
}

.b-nav-icon, .bottom-nav-item span:first-child {
  font-size: 1.3rem !important;
  line-height: 1 !important;
}

.b-nav-label, .bottom-nav-item span:last-child {
  font-size: 0.62rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 56px !important;
}

/* Padding corps pour nav fixe */
body {
  padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Brand name dans navbar — toujours correct */
.brand-title {
  font-size: clamp(0.85rem, 3vw, 1.1rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
}
.brand-sub {
  font-size: 0.7rem !important;
  opacity: 0.6 !important;
  white-space: nowrap !important;
}

/* Live Chat dialog — centré, pas de débordement */
dialog#liveChatModal {
  width: min(480px, 95vw) !important;
  max-height: min(85vh, 680px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(56,189,248,0.3) !important;
  background: #0d1424 !important;
  color: #f8fafc !important;
  padding: 0 !important;
  overflow: hidden !important;
  margin: auto !important;
}

dialog#liveChatModal::backdrop {
  background: rgba(0,0,0,0.8) !important;
  backdrop-filter: blur(6px) !important;
}

/* Toutes les dialogs — centrées */
dialog {
  margin: auto !important;
}

/* Chat messages container */
#chatMessagesStream {
  max-height: 55vh !important;
  overflow-y: auto !important;
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.chat-msg {
  max-width: 85% !important;
  padding: 10px 14px !important;
  border-radius: 14px !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  word-break: break-word !important;
}

.msg-bot, .msg-admin {
  background: rgba(56,189,248,0.12) !important;
  border: 1px solid rgba(56,189,248,0.2) !important;
  align-self: flex-start !important;
  border-radius: 14px 14px 14px 4px !important;
}

.msg-client {
  background: rgba(99,102,241,0.15) !important;
  border: 1px solid rgba(99,102,241,0.25) !important;
  align-self: flex-end !important;
  border-radius: 14px 14px 4px 14px !important;
  margin-left: auto !important;
}

.msg-sender-tag {
  font-size: 0.72rem !important;
  opacity: 0.6 !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.msg-time {
  font-size: 0.65rem !important;
  opacity: 0.4 !important;
  display: block !important;
  margin-top: 4px !important;
}

/* Unread badge */
#chatUnreadDot {
  position: absolute !important;
  top: -3px !important;
  right: -3px !important;
  width: 10px !important;
  height: 10px !important;
  background: #ef4444 !important;
  border-radius: 50% !important;
  display: none !important;
}
