/* ==========================================================================
   HIRANYAM AI LABS — ROYAL PUNE PURPLE & REGAL GOLD LUXURY EDITION
   Palette: Imperial Pune Purple (#0B0214, #1C0636, #2E0B54), Regal Gold (#DFBA6C, #F6E5B5, #D97706),
            Emerald Accents (#10B981), Pure Silver-White Text (#F8FAFC)
   ========================================================================== */

:root {
  /* Royal Purple Canvas & Surface Tokens */
  --bg-canvas: #0A0214;
  --bg-surface: #140424;
  --bg-surface-subtle: #1C0636;
  --bg-surface-elevated: #28094C;
  --bg-glass: rgba(28, 7, 48, 0.85);
  --bg-glass-hover: rgba(45, 12, 78, 0.95);

  /* Brighter Regal Gold & Sunbeam Aura Palette */
  --color-gold: #FFD034;
  --color-gold-light: #FFE27A;
  --color-gold-bright: #FFF5C0;
  --color-gold-dark: #D97706;
  --color-gold-tint: rgba(255, 208, 52, 0.16);
  --color-gold-glow: rgba(255, 208, 52, 0.45);
  --gold-gradient: linear-gradient(135deg, #FFFDF2 0%, #FFE27A 35%, #FFD034 70%, #D97706 100%);
  --gold-button-gradient: linear-gradient(135deg, #FFF9D2 0%, #FFD034 50%, #C97700 100%);

  /* Royal Bronze & Amethyst Accents */
  --color-purple: #C084FC;
  --color-purple-light: #E9D5FF;
  --color-purple-dark: #581C87;
  --color-purple-tint: rgba(192, 132, 252, 0.18);
  --purple-gradient: linear-gradient(135deg, #E9D5FF 0%, #A855F7 50%, #581C87 100%);

  /* Supporting Accents */
  --color-emerald: #10B981;
  --color-emerald-dark: #047857;
  --color-emerald-light: #34D399;
  --color-emerald-tint: rgba(16, 185, 129, 0.18);

  --color-royal: #38BDF8;
  --color-royal-dark: #0284C7;
  --color-royal-light: #7DD3FC;
  --color-royal-tint: rgba(56, 189, 248, 0.18);

  /* High-Contrast Readability Typography */
  --text-heading: #FFFFFF;
  --text-body: #F1F5F9;
  --text-muted: #CBD5E1;
  --text-subtle: #94A3B8;

  /* Luxury Borders & Frames */
  --border-subtle: rgba(255, 226, 122, 0.25);
  --border-focus: rgba(255, 208, 52, 0.6);
  --border-gold: rgba(255, 226, 122, 0.5);
  --border-glow: rgba(255, 208, 52, 0.85);

  /* Elevation & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px -2px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 208, 52, 0.18);
  --shadow-lg: 0 16px 40px -4px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 208, 52, 0.25);
  --shadow-xl: 0 24px 60px -6px rgba(0, 0, 0, 0.95), 0 0 55px rgba(255, 208, 52, 0.35);
  --shadow-button: 0 6px 24px rgba(255, 208, 52, 0.5);
  --shadow-gold-button: 0 6px 26px rgba(255, 208, 52, 0.55);

  /* Typography Font Stack */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & GLOBAL BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Rich Velvet Royal Purple Ambient Radiance with AI Silk Texture */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(147, 51, 234, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 85% 75%, rgba(223, 186, 108, 0.18) 0%, transparent 50%),
    url('../assets/images/royal-purple-gold-waves.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.38;
  mix-blend-mode: screen;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 5%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.28) 0%, rgba(88, 28, 135, 0.15) 45%, transparent 70%);
  filter: blur(90px);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 40%;
  left: -8%;
  width: 850px;
  height: 850px;
  background: radial-gradient(circle, rgba(223, 186, 108, 0.2) 0%, rgba(126, 34, 206, 0.15) 50%, transparent 70%);
  filter: blur(100px);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   STICKY ROYAL PURPLE & GOLD NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 2, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  z-index: 1000;
  transition: var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 15px rgba(255, 208, 52, 0.45);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 850;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 850;
  background: var(--gold-gradient);
  color: #1A0600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 208, 52, 0.7);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-heading);
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & CALLS TO ACTION
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-button-gradient);
  color: #1A0600;
  border-color: #FFE27A;
  box-shadow: var(--shadow-gold-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 208, 52, 0.65);
  background: linear-gradient(135deg, #FFF9D2 0%, #FFD034 60%, #D97706 100%);
}

.btn-secondary {
  background: rgba(38, 14, 24, 0.85);
  color: #FFFFFF;
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(88, 28, 60, 0.9);
  color: var(--color-gold-light);
  border-color: #FFE27A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 208, 52, 0.3);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
  overflow-anchor: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow-anchor: none;
}

/* Radiant Sunbeam / God-Ray Aura around the Live AI Operations Hub */
.hero-visual::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background: 
    conic-gradient(from 0deg at 50% 50%, 
      rgba(255, 208, 52, 0) 0deg, 
      rgba(255, 208, 52, 0.18) 45deg, 
      rgba(255, 174, 0, 0) 90deg, 
      rgba(255, 226, 122, 0.22) 135deg, 
      rgba(255, 208, 52, 0) 180deg, 
      rgba(255, 174, 0, 0.18) 225deg, 
      rgba(255, 226, 122, 0.22) 270deg,
      rgba(255, 208, 52, 0) 315deg,
      rgba(255, 208, 52, 0.18) 360deg),
    radial-gradient(ellipse at 50% 50%, rgba(255, 208, 52, 0.32) 0%, rgba(255, 174, 0, 0.14) 50%, transparent 75%);
  filter: blur(26px);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  animation: rotateSunRays 35s linear infinite;
}

@keyframes rotateSunRays {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  background: rgba(255, 208, 52, 0.15);
  color: #FFE27A;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  margin-bottom: 1.35rem;
  box-shadow: 0 0 18px rgba(255, 208, 52, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold-light);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(255, 208, 52, 0.7);
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 208, 52, 0.8);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 208, 52, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 208, 52, 0);
  }
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 850;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: -1px;
  margin-bottom: 1.35rem;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(255, 208, 52, 0.35);
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 1.15rem;
  align-items: center;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-size: 1.75rem;
  font-weight: 850;
  color: var(--color-gold);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ==========================================================================
   LIVE MULTI-CHANNEL AI STREAM HUB (WARM ROYAL GOLD & BRONZE DEMO COCKPIT)
   ========================================================================== */
.stream-hub-card {
  background: linear-gradient(165deg, rgba(34, 14, 24, 0.98) 0%, rgba(18, 6, 26, 0.99) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 2px solid #FFE27A;
  border-radius: var(--radius-lg);
  box-shadow: 
    0 0 0 1px rgba(255, 226, 122, 0.7),
    0 0 50px rgba(255, 208, 52, 0.45),
    0 0 90px rgba(255, 174, 0, 0.22),
    0 25px 70px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
  position: relative;
  transition: box-shadow 0.3s ease;
  touch-action: pan-y;
  overscroll-behavior-y: auto;
  overflow-anchor: none;
}

.stream-hub-card:hover {
  box-shadow: 
    0 0 0 2px #FFF9D2,
    0 0 70px rgba(255, 208, 52, 0.65),
    0 0 110px rgba(255, 174, 0, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.98);
}

.hub-header {
  flex-shrink: 0 !important;
  padding: 1.1rem 1.35rem;
  background: linear-gradient(90deg, rgba(48, 18, 28, 0.98) 0%, rgba(28, 10, 42, 0.98) 100%);
  border-bottom: 1.5px solid rgba(255, 226, 122, 0.5);
}

.hub-agent-info {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.hub-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF9D2 0%, #FFD034 60%, #C97700 100%);
  color: #1A0600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 0 20px rgba(255, 208, 52, 0.85);
  flex-shrink: 0;
}

.hub-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hub-title-row b {
  font-size: 1rem;
  color: #FFFFFF !important;
  letter-spacing: 0.3px;
}

.hub-live-badge {
  font-size: 0.7rem;
  font-weight: 850;
  background: rgba(16, 185, 129, 0.25);
  color: #34D399;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #10B981;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.hub-telemetry {
  font-size: 0.8rem;
  color: #F6E5B5;
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
}

/* 5 Channel Switcher Tabs Bar (Protected Flex Height & Bright Sunburst Gold Accent) */
.hub-tabs-bar {
  flex-shrink: 0 !important;
  min-height: 52px !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  background: rgba(22, 8, 16, 0.98);
  overflow-x: auto;
  border-bottom: 1.5px solid rgba(255, 226, 122, 0.4);
  scrollbar-width: none;
}

.hub-tabs-bar::-webkit-scrollbar {
  display: none;
}

.hub-tab {
  flex-shrink: 0;
  background: rgba(48, 18, 28, 0.85);
  border: 1.5px solid rgba(255, 226, 122, 0.35);
  border-radius: var(--radius-full);
  padding: 0.42rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFE27A;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  font-family: inherit;
}

.hub-tab:hover {
  background: rgba(88, 28, 60, 0.9);
  color: #FFFFFF;
  border-color: #FFF9D2;
}

.hub-tab.active {
  background: linear-gradient(135deg, #FFF9D2 0%, #FFD034 60%, #C97700 100%) !important;
  color: #1A0600 !important;
  border-color: #FFFFFF !important;
  font-weight: 900 !important;
  box-shadow: 0 0 24px rgba(255, 208, 52, 0.85) !important;
}

.tab-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}

.hub-tab.active .tab-indicator {
  background: #1A0600 !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/* Scrollable Hub Body with Custom Gold Scrollbar (Touch-Safe & Non-blocking) */
.hub-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.35rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: radial-gradient(circle at 50% 30%, rgba(38, 14, 24, 0.6) 0%, rgba(12, 3, 18, 0.98) 100%);
  scroll-behavior: smooth;
  touch-action: pan-y;
  overscroll-behavior-y: auto;
  overflow-anchor: none;
  -webkit-overflow-scrolling: touch;
}

.hub-body::-webkit-scrollbar {
  width: 6px;
}

.hub-body::-webkit-scrollbar-track {
  background: rgba(18, 6, 20, 0.8);
}

.hub-body::-webkit-scrollbar-thumb {
  background: rgba(255, 226, 122, 0.55);
  border-radius: 4px;
}

.hub-body::-webkit-scrollbar-thumb:hover {
  background: #FFD034;
}

/* Chat Messages (Customer on LEFT, AI Agent on RIGHT) */
.stream-msg {
  display: flex;
  flex-direction: column;
  animation: fadeInMsg 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* User / Customer on the LEFT side */
.stream-msg.customer {
  align-self: flex-start !important;
  max-width: 82%;
}

.stream-msg.customer .msg-meta {
  color: #FFE27A;
  font-weight: 800;
  justify-content: flex-start;
}

.stream-msg.customer .msg-bubble {
  background: rgba(38, 16, 24, 0.95);
  color: #FFFFFF;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 16px;
  border: 1.5px solid rgba(255, 226, 122, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  padding: 0.8rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Agent / AI Bot on the RIGHT side */
.stream-msg.bot {
  align-self: flex-end !important;
  max-width: 84%;
}

.stream-msg.bot .msg-meta {
  color: #34D399;
  font-weight: 800;
  justify-content: flex-end;
}

.stream-msg.bot .msg-bubble {
  background: linear-gradient(145deg, rgba(95, 26, 125, 0.98) 0%, rgba(55, 14, 80, 0.98) 100%);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 16px;
  border: 1.5px solid #FFE27A;
  box-shadow: 
    0 0 22px rgba(255, 208, 52, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.7);
  padding: 0.8rem 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.stream-msg.bot .msg-bubble b {
  color: #FFF9D2;
  font-weight: 800;
}

.msg-meta {
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: 0.2px;
}

/* Typing Indicator element inside stream */
.stream-typing {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  max-width: 90px;
  margin-bottom: 0.5rem;
  animation: fadeInMsg 0.2s ease forwards;
}

.stream-typing.left {
  align-self: flex-start;
  background: rgba(32, 10, 56, 0.9);
  border: 1.5px solid rgba(223, 186, 108, 0.4);
  border-bottom-left-radius: 4px;
}

.stream-typing.right {
  align-self: flex-end;
  background: rgba(88, 28, 135, 0.9);
  border: 1.5px solid #F6E5B5;
  border-bottom-right-radius: 4px;
}

.stream-typing span {
  width: 6px;
  height: 6px;
  background: #F6E5B5;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.stream-typing span:nth-child(2) { animation-delay: 0.2s; }
.stream-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Rich Attachment Cards inside Feed */
.chat-card {
  margin-top: 0.65rem;
  background: rgba(14, 3, 28, 0.95);
  border: 1.5px solid #DFBA6C;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.chat-card-icon {
  font-size: 1.6rem;
}

.chat-card-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #F6E5B5;
}

.chat-card-desc {
  font-size: 0.74rem;
  color: #E2E8F0;
}

.chat-card-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 850;
  background: linear-gradient(135deg, #FDE68A 0%, #DFBA6C 100%);
  color: #0F021D;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
}

/* Hub Footer Info Bar */
.hub-footer {
  padding: 0.7rem 1.15rem;
  background: rgba(14, 3, 26, 0.98);
  border-top: 1.5px solid rgba(223, 186, 108, 0.35);
}

.hub-status-ticker {
  font-size: 0.76rem;
  color: #F6E5B5;
  font-weight: 600;
}

/* Session Divider */
.session-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  position: relative;
}

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

.session-divider span {
  position: relative;
  background: rgba(14, 3, 26, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-emerald-light);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

/* Hub Footer Status Ticker */
.hub-footer {
  padding: 0.65rem 1.15rem;
  background: rgba(14, 3, 26, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hub-status-ticker {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.ticker-dot {
  color: var(--color-emerald-light);
  font-size: 0.85rem;
  animation: pulseGold 1.5s infinite;
}

/* ==========================================================================
   SECTION HEADINGS & LAYOUT
   ========================================================================= */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--color-gold-light);
  background: var(--color-purple-tint);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 15px rgba(223, 186, 108, 0.12);
}

.section-title {
  font-size: 2.45rem;
  font-weight: 850;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.85rem;
}

/* ==========================================================================
   WHAT WE DO (3 ROYAL PILLARS)
   ========================================================================== */
.pillar-card {
  background: linear-gradient(145deg, rgba(26, 7, 46, 0.8) 0%, rgba(16, 4, 30, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(223, 186, 108, 0.12);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.35rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 15px rgba(223, 186, 108, 0.15);
}

.icon-blue { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.icon-purple { background: rgba(147, 51, 234, 0.2); color: #C084FC; }
.icon-gold { background: var(--color-gold-tint); color: var(--color-gold-light); }

.pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.65rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

.pillar-points li {
  font-size: 0.88rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-points li::before {
  content: "✓";
  color: var(--color-gold-light);
  font-weight: 850;
  text-shadow: 0 0 8px rgba(223, 186, 108, 0.5);
}

/* ==========================================================================
   HOW IT WORKS (4-STEP ROYAL FLOW)
   ========================================================================== */
.how-it-works-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  position: relative;
}

.step-card {
  background: linear-gradient(145deg, rgba(26, 7, 46, 0.75) 0%, rgba(14, 3, 26, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), 0 0 20px rgba(223, 186, 108, 0.15);
}

.step-number {
  width: 38px;
  height: 38px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 12px rgba(223, 186, 108, 0.2);
}

.step-icon {
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
  display: block;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   BEFORE VS. WITH AI LABS COMPARISON
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 2.35rem;
  box-shadow: var(--shadow-md);
}

.compare-before {
  background: linear-gradient(145deg, rgba(45, 10, 25, 0.6) 0%, rgba(25, 4, 15, 0.7) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.compare-after {
  background: linear-gradient(145deg, rgba(38, 10, 68, 0.85) 0%, rgba(18, 4, 34, 0.95) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(223, 186, 108, 0.15);
}

.compare-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.compare-before .compare-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.compare-after .compare-badge {
  background: var(--color-gold-tint);
  color: var(--color-gold-light);
  border: 1px solid var(--border-gold);
}

.compare-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1.15rem;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-body);
}

.compare-before li::before {
  content: "✕";
  color: #F87171;
  font-weight: 850;
}

.compare-after li::before {
  content: "✓";
  color: var(--color-gold-light);
  font-weight: 850;
  text-shadow: 0 0 8px rgba(223, 186, 108, 0.6);
}

/* ==========================================================================
   FLAGSHIP PRODUCTS MATRIX (3 CARDS + MODAL TRIGGER)
   ========================================================================== */
.feature-card {
  background: linear-gradient(145deg, rgba(26, 7, 46, 0.8) 0%, rgba(14, 3, 26, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(223, 186, 108, 0.15);
}

.eventsphere-card-highlight {
  border-color: var(--color-gold) !important;
  background: linear-gradient(145deg, rgba(46, 12, 80, 0.92) 0%, rgba(20, 5, 36, 0.96) 100%),
              url('../assets/images/royal-silk-gold-glow.jpg') center/cover no-repeat !important;
  background-blend-mode: screen !important;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(223, 186, 108, 0.22) !important;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.15rem;
}

.card-icon {
  font-size: 2.2rem;
}

.card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--color-purple-tint);
  color: var(--color-gold-light);
  border: 1px solid var(--border-subtle);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.card-list li {
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.card-list li::before {
  content: "•";
  color: var(--color-gold-light);
  font-size: 1.2rem;
}

.card-cta-btn {
  margin-top: auto;
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   INDUSTRIES MATRIX
   ========================================================================== */
.industries-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.65rem;
}

.industry-box {
  background: linear-gradient(145deg, rgba(26, 7, 46, 0.75) 0%, rgba(14, 3, 26, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.industry-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md), 0 0 20px rgba(223, 186, 108, 0.12);
}

.ind-icon {
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
}

.ind-title {
  font-size: 1.18rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
}

.ind-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   TRUST & RESPONSIBLE AI
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.trust-card {
  background: linear-gradient(145deg, rgba(26, 7, 46, 0.75) 0%, rgba(14, 3, 26, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.15rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 0.85rem;
}

.trust-title {
  font-size: 1.18rem;
  font-weight: 750;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
}

.trust-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   CONSULTATION & DEMO BOOKING FORM
   ========================================================================== */
.demo-section-box {
  background: linear-gradient(145deg, rgba(32, 8, 56, 0.93) 0%, rgba(14, 3, 26, 0.96) 100%),
              url('../assets/images/royal-silk-gold-glow.jpg') center/cover no-repeat;
  background-blend-mode: screen;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-xl), 0 0 45px rgba(223, 186, 108, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(223, 186, 108, 0.45) !important;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: #FFFFFF !important;
  outline: none;
  font-family: inherit;
  transition: var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-control::placeholder {
  color: rgba(246, 229, 181, 0.7) !important;
  font-size: 0.9rem;
}

.form-control option {
  background: #140428;
  color: #FFFFFF;
}

.form-control:focus {
  border-color: #F6E5B5 !important;
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 0 16px rgba(223, 186, 108, 0.35);
}

/* ==========================================================================
   EVENTSPHERE AI MODAL POPUP (ROYAL PURPLE & GOLD)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 2, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: linear-gradient(145deg, rgba(32, 8, 56, 0.96) 0%, rgba(14, 3, 26, 0.98) 100%),
              url('../assets/images/royal-purple-silk-bg.png') center/cover no-repeat;
  background-blend-mode: screen;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(223, 186, 108, 0.25);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 2.5rem;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.65rem;
}

.modal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: var(--color-gold-tint);
  border: 1px solid var(--border-gold);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.45rem;
}

.modal-title {
  font-size: 1.95rem;
  font-weight: 850;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: rgba(14, 3, 26, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--color-gold-light);
  font-size: 1.6rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  line-height: 1;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.5);
  transform: rotate(90deg);
}

.modal-modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin-bottom: 1.65rem;
}

.modal-module-card {
  background: rgba(18, 4, 34, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.modal-module-card:hover {
  border-color: var(--border-gold);
  background: rgba(38, 10, 68, 0.95);
  box-shadow: var(--shadow-md), 0 0 20px rgba(223, 186, 108, 0.15);
  transform: translateY(-2px);
}

.modal-module-wide {
  grid-column: span 2;
  border-color: rgba(223, 186, 108, 0.35);
}

.module-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.module-icon {
  font-size: 1.85rem;
  background: rgba(38, 10, 68, 0.9);
  border: 1px solid var(--border-gold);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(223, 186, 108, 0.2);
}

.module-title {
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--color-gold-light);
  margin-bottom: 0.15rem;
}

.module-role {
  font-size: 0.78rem;
  color: #C084FC;
  font-weight: 700;
}

.module-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.module-metrics {
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--color-gold-light);
  font-weight: 750;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-subtle);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   GLOBAL BRAND FOOTER
   ========================================================================== */
.footer {
  background: rgba(9, 2, 20, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 360px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

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

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

.footer-bottom {
  max-width: 1240px;
  margin: 3rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   MOBILE-FIRST LUXURY RESPONSIVE ARCHITECTURE
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 992px) */
@media (max-width: 992px) {
  .hero-grid,
  .demo-section-box,
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .how-it-works-flow {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(14, 3, 28, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    z-index: 1001;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 1.05rem;
    font-weight: 700;
    color: #F6E5B5;
    padding: 0.5rem 0;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
    background: var(--color-purple-tint);
    color: var(--color-gold-light);
    border: 1px solid var(--border-gold);
    font-size: 1.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }
}

/* Mobile Devices & Phones (<= 768px) */
@media (max-width: 768px) {
  /* Prevent Any Horizontal Overflow */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding: 0 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Section Spacing */
  .section {
    padding: 2.75rem 0 !important;
  }

  .hero-section {
    padding: 2.25rem 0 1.75rem !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .section-header, .section-head {
    margin-bottom: 1.75rem !important;
  }

  .section-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }

  .section-lead {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  /* Hero Elements (Issue 3 Fix: Clean Wrapping & Zero Clipping) */
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
    width: 100% !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-eyebrow {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.75rem !important;
    margin-bottom: 0.85rem !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
    letter-spacing: -0.5px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
  }

  .hero-lead {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
    width: 100% !important;
  }

  .hero-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-cta .btn {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Trust Bar Compact Pill Strip on Mobile */
  .hero-trust-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
    padding: 0.65rem 0.4rem !important;
    background: rgba(38, 14, 24, 0.85) !important;
    border: 1px solid rgba(255, 226, 122, 0.3) !important;
    border-radius: var(--radius-sm) !important;
    margin-top: 0.5rem !important;
  }

  .trust-item {
    text-align: center !important;
    padding: 0.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .trust-num {
    font-size: 1.15rem !important;
    line-height: 1.1 !important;
    color: var(--color-gold) !important;
    font-weight: 800 !important;
  }

  .trust-label {
    font-size: 0.62rem !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    color: #CBD5E1 !important;
    font-weight: 500 !important;
  }

  /* Live AI Operations Stream Hub (Wide Sides & Bright Sunburst Gold Theme) */
  .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .stream-hub-card {
    height: 620px !important;
    max-height: 640px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-md) !important;
    border: 2px solid #FFE27A !important;
    background: linear-gradient(165deg, rgba(34, 14, 24, 0.98) 0%, rgba(18, 6, 26, 0.99) 100%) !important;
    margin-top: 0.5rem !important;
    box-shadow: 
      0 0 0 1px rgba(255, 226, 122, 0.7),
      0 0 45px rgba(255, 208, 52, 0.45),
      0 12px 35px rgba(0, 0, 0, 0.9) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: auto !important;
    overflow-anchor: none !important;
  }

  .hub-header {
    flex-shrink: 0 !important;
    padding: 0.8rem 0.95rem !important;
    background: linear-gradient(90deg, rgba(48, 18, 28, 0.98) 0%, rgba(28, 10, 42, 0.98) 100%) !important;
    border-bottom: 1.5px solid rgba(255, 226, 122, 0.5) !important;
  }

  .hub-avatar {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
    background: linear-gradient(135deg, #FFF9D2 0%, #FFD034 60%, #C97700 100%) !important;
    color: #1A0600 !important;
  }

  .hub-title-row b {
    font-size: 0.88rem !important;
    color: #FFFFFF !important;
  }

  .hub-telemetry {
    font-size: 0.72rem !important;
    color: #FFE27A !important;
  }

  .hub-live-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.55rem !important;
  }

  /* Horizontal Swipeable Channel Tabs on Mobile (Protected 52px flex height & interactive) */
  .hub-tabs-bar {
    flex-shrink: 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.45rem !important;
    padding: 0 0.85rem !important;
    scrollbar-width: none !important;
    background: rgba(22, 8, 16, 0.98) !important;
    border-bottom: 1.5px solid rgba(255, 226, 122, 0.4) !important;
    pointer-events: auto !important;
  }

  .hub-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  .hub-tab {
    flex-shrink: 0 !important;
    background: rgba(48, 18, 28, 0.85) !important;
    border: 1.5px solid rgba(255, 226, 122, 0.35) !important;
    border-radius: var(--radius-full) !important;
    padding: 0.38rem 0.8rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #FFE27A !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    pointer-events: auto !important;
  }

  .hub-tab.active {
    background: linear-gradient(135deg, #FFF9D2 0%, #FFD034 60%, #C97700 100%) !important;
    color: #1A0600 !important;
    border-color: #FFFFFF !important;
    font-weight: 900 !important;
    box-shadow: 0 0 20px rgba(255, 208, 52, 0.85) !important;
  }

  .hub-tab.active .tab-indicator {
    background: #1A0600 !important;
  }

  /* Demonstration Screen-Fit Scrollable Viewport on Mobile (Zero scroll trap / 100% smooth page scroll) */
  .hub-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 0.85rem 0.75rem !important;
    gap: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    background: radial-gradient(circle at 50% 30%, rgba(38, 14, 24, 0.6) 0%, rgba(12, 3, 18, 0.98) 100%) !important;
    pointer-events: none !important;
    overflow-anchor: none !important;
  }

  .stream-msg {
    max-width: 88% !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .stream-msg.customer {
    align-self: flex-start !important;
    margin-right: auto !important;
  }

  .stream-msg.customer .msg-meta {
    color: #FFE27A !important;
  }

  .stream-msg.customer .msg-bubble {
    background: rgba(38, 16, 24, 0.95) !important;
    border: 1.5px solid rgba(255, 226, 122, 0.45) !important;
    color: #FFFFFF !important;
  }

  .stream-msg.bot {
    align-self: flex-end !important;
    margin-left: auto !important;
  }

  .stream-msg.bot .msg-meta {
    color: #34D399 !important;
  }

  .stream-msg.bot .msg-bubble {
    background: linear-gradient(145deg, rgba(95, 26, 125, 0.98) 0%, rgba(55, 14, 80, 0.98) 100%) !important;
    border: 1.5px solid #FFE27A !important;
    box-shadow: 0 0 20px rgba(255, 208, 52, 0.35) !important;
    color: #FFFFFF !important;
  }

  .msg-meta {
    font-size: 0.68rem !important;
    margin-bottom: 0.25rem !important;
  }

  .msg-bubble {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  .chat-card {
    background: rgba(22, 8, 16, 0.95) !important;
    border: 1.5px solid #FFE27A !important;
    padding: 0.5rem 0.7rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.76rem !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }

  .chat-card-title {
    color: #FFE27A !important;
  }

  .chat-card-badge {
    background: linear-gradient(135deg, #FFF9D2 0%, #FFD034 100%) !important;
    color: #1A0600 !important;
  }

  .hub-footer {
    flex-shrink: 0 !important;
    padding: 0.55rem 0.85rem !important;
    background: rgba(22, 8, 16, 0.98) !important;
    border-top: 1.5px solid rgba(255, 226, 122, 0.4) !important;
  }

  .hub-status-ticker {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    color: #FFE27A !important;
  }

  /* Grid & Flow Layouts */
  .how-it-works-flow {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .step-card {
    padding: 1.25rem 1rem !important;
  }

  .pillars-grid,
  .features-grid,
  .case-studies-grid,
  .research-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .pillar-card,
  .feature-card,
  .case-card,
  .research-card {
    padding: 1.35rem 1.15rem !important;
  }

  /* Demo Box (Issue 1 Fix: Mobile Padded & Clear) */
  .demo-section-box {
    padding: 1.75rem 1.15rem !important;
    gap: 1.75rem !important;
  }

  .demo-box-content h2 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  .contact-info-list {
    margin-top: 1.25rem !important;
    gap: 0.85rem !important;
  }

  .contact-info-item {
    font-size: 0.85rem !important;
  }

  /* EventSphere Modal */
  .modal-overlay {
    padding: 0.5rem !important;
  }

  .modal-card {
    padding: 1.25rem 1rem !important;
    max-height: 95vh !important;
  }

  .modal-title {
    font-size: 1.25rem !important;
  }

  .modal-modules-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .modal-module-wide {
    grid-column: span 1 !important;
  }

  /* Footer */
  .footer {
    padding: 2.75rem 0 1.5rem !important;
  }

  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.45rem !important;
  }

  .hero-title {
    font-size: 1.6rem !important;
  }

  .stream-hub-card {
    height: 590px !important;
    max-height: 610px !important;
  }

  .hub-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }
}