/* ==========================================================================
   NEXA LOGIC — LUXURY AI AGENCY STYLING SYSTEM
   Modeled after NextOn AI & Zylark Agency
   ========================================================================== */

:root {
  --bg-deep: #05080b;
  --bg-surface: #0a0f15;
  --bg-card: #0e1620;
  --bg-card-hover: #141f2c;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.3);
  
  --cyan: #00f0ff;
  --cyan-soft: rgba(0, 240, 255, 0.12);
  --emerald: #00ff88;
  --emerald-soft: rgba(0, 255, 136, 0.12);
  --blue: #3b82f6;
  --purple: #a855f7;
  --danger: #ff4d4d;
  --danger-soft: rgba(255, 77, 77, 0.1);
  
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 3D Ambient Glowing Background ================= */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: var(--cyan);
  top: -100px;
  left: -100px;
  animation-duration: 18s;
}

.orb-2 {
  width: 650px;
  height: 650px;
  background: var(--emerald);
  bottom: 15%;
  right: -100px;
  animation-duration: 24s;
  animation-delay: -6s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  top: 45%;
  left: 35%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 80px, 0) scale(1.15); }
  100% { transform: translate3d(-50px, 120px, 0) scale(0.9); }
}

/* ================= Floating Dynamic Island Header / Navigation ================= */
.floating-nav-container {
  position: sticky;
  top: 14px;
  z-index: 200;
  width: 100%;
  pointer-events: none;
}

.floating-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.floating-nav-inner .brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
  background: rgba(10, 16, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
}

.floating-nav-inner .brand-logo:hover {
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.logo-icon {
  color: var(--cyan);
  font-size: 1.15rem;
}

.logo-accent {
  color: var(--cyan);
}

/* Dynamic Island Floating Capsule */
.nav-island {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 22, 34, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.island-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-dim);
  transition: all 0.25s ease;
}

.island-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.island-item:hover .island-icon-box {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Active Glowing Circle Pill (Matching AIROMOB Screenshots) */
.island-item.active .island-icon-box {
  background: linear-gradient(135deg, #a855f7 0%, #00f0ff 100%);
  color: #fff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.7), 0 0 10px rgba(0, 240, 255, 0.4);
  transform: scale(1.05);
}

.island-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
}

.island-cta .island-icon-box {
  color: var(--cyan);
}

/* Tooltip on Hover */
.island-item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 16, 26, 0.95);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  z-index: 210;
}

.island-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-right-cta {
  display: block;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--emerald) 100%);
  color: #030708;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 240, 255, 0.45);
}

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

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-glow {
  position: relative;
}

.full-width {
  width: 100%;
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
}

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

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseDot 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

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

.social-proof-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.avatars {
  display: flex;
  gap: 6px;
}

.avatar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Hero Media Card (3D Card & Floating Badges) */
.hero-media-wrapper {
  position: relative;
}

.hero-media-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 240, 255, 0.08);
}

.media-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.soundwave-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
}

.wave-bar {
  width: 4px;
  height: 16px;
  background: var(--cyan);
  border-radius: 4px;
  animation: soundWave 1.2s ease-in-out infinite alternate;
}
.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 28px; background: var(--emerald); }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 36px; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; height: 24px; background: var(--emerald); }
.wave-bar:nth-child(5) { animation-delay: 0.8s; height: 18px; }

@keyframes soundWave {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

.ai-avatar-center {
  position: relative;
}

.avatar-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.4), transparent 70%);
  filter: blur(10px);
}

.avatar-circle {
  position: relative;
  width: 72px;
  height: 72px;
  background: var(--bg-card-hover);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.active-call-dialogue {
  background: rgba(5, 8, 11, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 16px;
  text-align: center;
}

.call-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.call-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-style: italic;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(14, 22, 32, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
  animation: floatCard 4s ease-in-out infinite;
}

.badge-top { top: -14px; left: -20px; }
.badge-right { bottom: 60px; right: -24px; animation-delay: 1.3s; }
.badge-bottom { bottom: -16px; left: 30px; animation-delay: 2.5s; }

.dot-green { width: 7px; height: 7px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 6px var(--emerald); }
.dot-cyan { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 6px var(--cyan); }
.dot-purple { width: 7px; height: 7px; background: var(--purple); border-radius: 50%; box-shadow: 0 0 6px var(--purple); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ================= Metrics Ticker ================= */
.metrics-section {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 21, 0.6);
  padding: 40px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================= Section Headers ================= */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.danger-badge { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(255, 77, 77, 0.2); }
.danger-dot { width: 6px; height: 6px; background: var(--danger); border-radius: 50%; box-shadow: 0 0 6px var(--danger); }

.cyan-badge { background: var(--cyan-soft); color: var(--cyan); border: 1px solid rgba(0, 240, 255, 0.2); }
.cyan-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 6px var(--cyan); }

.purple-badge { background: rgba(168, 85, 247, 0.12); color: var(--purple); border: 1px solid rgba(168, 85, 247, 0.25); }
.purple-dot { width: 6px; height: 6px; background: var(--purple); border-radius: 50%; box-shadow: 0 0 6px var(--purple); }

.green-badge { background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(0, 255, 136, 0.25); }
.green-dot { width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 6px var(--emerald); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}

/* ================= Problem Section ================= */
.problem-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--danger);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 77, 0.4);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ================= Solutions Bento Grid ================= */
.solutions-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: rgba(10, 15, 21, 0.4);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  transition: all 0.3s var(--ease);
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.1);
}

.bento-large {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--bg-card) 0%, #121c2a 100%);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.bento-wide {
  grid-column: span 3;
}

.bento-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-pills span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ================= Interactive Demo Section ================= */
.demo-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.demo-widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 8, 11, 0.7);
}

.demo-tab {
  flex: 1;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-tab.active {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.06);
  border-bottom: 2px solid var(--cyan);
}

.demo-view {
  display: none;
  padding: 40px;
}

.demo-view.active {
  display: block;
}

/* Voice Cloning Lab Styles */
.clone-profile-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.clone-profile-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.clone-profile-card.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.clone-waveform .wave-bar {
  width: 4px;
  height: 12px;
  background: rgba(0, 240, 255, 0.4);
  border-radius: 9999px;
  transition: height 0.15s ease;
}

.clone-waveform.playing .wave-bar {
  background: var(--cyan);
  animation: waveAnim 0.8s ease-in-out infinite alternate;
}

.clone-waveform.playing .wave-bar:nth-child(2n) { animation-delay: 0.1s; }
.clone-waveform.playing .wave-bar:nth-child(3n) { animation-delay: 0.2s; }
.clone-waveform.playing .wave-bar:nth-child(4n) { animation-delay: 0.3s; }
.clone-waveform.playing .wave-bar:nth-child(5n) { animation-delay: 0.15s; }

/* Studio Telephony Waveform & Scenario Buttons */
.voice-scenario-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-scenario-btn:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.04);
}

.voice-scenario-btn.active {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.studio-waveform-box .wave-bar {
  width: 4px;
  height: 12px;
  background: rgba(0, 240, 255, 0.35);
  border-radius: 9999px;
  transition: height 0.15s ease;
}

.studio-waveform-box.playing .wave-bar {
  background: var(--emerald);
  animation: waveAnim 0.75s ease-in-out infinite alternate;
}

.studio-waveform-box.playing .wave-bar:nth-child(2n) { animation-delay: 0.1s; }
.studio-waveform-box.playing .wave-bar:nth-child(3n) { animation-delay: 0.2s; }
.studio-waveform-box.playing .wave-bar:nth-child(4n) { animation-delay: 0.3s; }
.studio-waveform-box.playing .wave-bar:nth-child(5n) { animation-delay: 0.15s; }

@keyframes waveAnim {
  0% { height: 8px; }
  50% { height: 38px; }
  100% { height: 16px; }
}

/* Voice Simulation Box */
.voice-sim-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.pulse-visualizer {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mic-icon {
  position: relative;
  z-index: 2;
  font-size: 3rem;
}

.ring {
  position: absolute;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: pulseRing 3s ease-out infinite;
}

.r1 { width: 80px; height: 80px; animation-delay: 0s; }
.r2 { width: 110px; height: 110px; animation-delay: 0.8s; border-color: var(--emerald); }
.voice-audio-badge {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 16px;
}

.voice-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin-bottom: 20px;
  background: rgba(10, 16, 26, 0.6);
  border: 1px dashed var(--border);
  border-radius: var(--radius-m);
  padding: 14px;
}

.voice-quick-prompts .prompt-label {
  width: 100%;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 4px;
  font-weight: 600;
}

.voice-prompt-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: var(--transition);
}

.voice-prompt-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--cyan);
  color: #fff;
  transform: translateY(-1px);
}

.active-call {
  background: #ef4444 !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.5) !important;
  border-color: #ef4444 !important;
}

.pulse-visualizer.speaking .ring {
  animation-duration: 1.2s !important;
  border-color: var(--cyan) !important;
  border-width: 3px !important;
}

.ai-msg {
  color: var(--cyan);
  line-height: 1.6;
}

/* Chat Simulation Box */
.chat-window {
  height: 260px;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  color: #030708;
  font-weight: 500;
}

.chat-input-bar {
  display: flex;
  gap: 12px;
}

.chat-input-bar input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 14px 22px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.chat-input-bar input:focus {
  border-color: var(--cyan);
}

.btn-send {
  background: var(--cyan);
  color: #030708;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 0 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* ================= Free Custom Demo Request Section ================= */
.request-demo-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: radial-gradient(circle at top center, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}

.demo-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 44px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.08);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

.form-group label .req {
  color: var(--cyan);
}

.form-group label .opt {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.form-group select option {
  background: #0b1118;
  color: #fff;
}

.no-website-toggle-box {
  margin: -6px 0 20px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.form-security-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.demo-success-box {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.4s ease;
}

.success-icon-badge {
  font-size: 3.5rem;
  margin-bottom: 14px;
}

.success-delivery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 24px;
  max-width: 440px;
  margin: 16px auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .demo-form-card {
    padding: 24px 18px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ================= ROI Calculator ================= */
.calc-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: rgba(10, 15, 21, 0.4);
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.calc-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
}

.calc-highlight {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--cyan);
  cursor: pointer;
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px;
  text-align: center;
}

.highlight-box {
  border-color: rgba(0, 255, 136, 0.3);
  background: rgba(0, 255, 136, 0.05);
}

.result-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.result-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.text-danger { color: var(--danger); }
.text-emerald { color: var(--emerald); }

/* ================= How It Works / Process Section ================= */
.process-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cyan);
  opacity: 0.85;
  margin-bottom: 16px;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.process-cta-banner {
  background: linear-gradient(135deg, #0d1724 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-l);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.1);
}

.process-cta-banner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.process-cta-banner p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-cta-banner { flex-direction: column; text-align: center; }
}


/* ================= Booking Section (Calendly Embed) ================= */
.booking-section {
  position: relative;
  z-index: 1;
  padding: 100px 0 120px;
}

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

.center-margin {
  margin-left: auto;
  margin-right: auto;
}

.calendly-embed-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.1);
  overflow: hidden;
  margin-bottom: 32px;
}

.booking-guarantee-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 16px;
  background: rgba(10, 15, 22, 0.6);
  border: 1px solid var(--border);
  border-radius: 9999px;
  max-width: 820px;
  margin: 0 auto;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
}

.g-icon {
  font-size: 1rem;
}


/* ================= Footer ================= */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: #030508;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 380px;
}

.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: var(--text-dim);
  text-decoration: none;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .problem-grid, .pricing-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .booking-card-wrapper { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

/* ================= FLOATING AI AUTO-AGENT WIDGET ================= */
.floating-ai-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.ai-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0e1a26 0%, #081018 100%);
  border: 1px solid var(--border-glow);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
  transition: all 0.25s var(--ease);
}

.ai-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.4);
}

.launcher-icon {
  font-size: 1.3rem;
}

.launcher-online-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

.launcher-pulse {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--cyan);
  border-radius: 9999px;
  opacity: 0.6;
  animation: launcherGlow 2.5s infinite;
}

@keyframes launcherGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Chat Drawer Modal */
.ai-chat-drawer {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 380px;
  height: 520px;
  background: rgba(10, 15, 22, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-l);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpModal 0.3s var(--ease);
}

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

.drawer-header {
  padding: 16px 20px;
  background: rgba(5, 8, 12, 0.9);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #030708;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.drawer-agent-info h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #fff;
}

.agent-status {
  font-size: 0.78rem;
  color: var(--emerald);
  font-weight: 500;
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

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

.drawer-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-bubble {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.drawer-bubble.bot {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.drawer-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--emerald) 100%);
  color: #030708;
  font-weight: 600;
}

.quick-chips {
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  background: rgba(5, 8, 12, 0.4);
}

.quick-chips button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-chips button:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
}

.drawer-input-area {
  padding: 14px 16px;
  background: rgba(5, 8, 12, 0.9);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}

.drawer-input-area input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 10px 18px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.drawer-input-area input:focus {
  border-color: var(--cyan);
}

.drawer-send-btn {
  width: 40px;
  height: 40px;
  background: var(--cyan);
  color: #030708;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.drawer-send-btn:hover {
  transform: scale(1.08);
}

/* Mobile Swipe Guide Banner */
.mobile-swipe-guide {
  display: none;
  text-align: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px dashed rgba(0, 240, 255, 0.25);
  border-radius: 9999px;
  padding: 6px 14px;
}

/* Mobile Demo Pagination Dots */
.mobile-demo-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 6px;
  background: rgba(5, 8, 11, 0.9);
}

.m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.m-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

@media (max-width: 900px) {
  .nav-right-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .floating-nav-container {
    top: 10px;
  }
  .floating-nav-inner {
    justify-content: center;
    padding: 0 12px;
  }
  .floating-nav-inner .brand-logo {
    display: none;
  }
  .nav-island {
    padding: 4px 6px;
    gap: 2px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.15);
  }
  .island-icon-box {
    width: 34px;
    height: 34px;
  }
  .island-icon-box svg {
    width: 16px;
    height: 16px;
  }
  .island-divider {
    height: 16px;
    margin: 0 2px;
  }
  .mobile-swipe-guide {
    display: inline-block;
  }
  .mobile-demo-dots {
    display: flex;
  }
  .demo-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding: 8px 12px;
    gap: 8px;
    background: rgba(5, 8, 11, 0.95);
  }
  .demo-tabs::-webkit-scrollbar {
    display: none;
  }
  .demo-tab {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .demo-tab.active {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
    border-bottom: 1px solid var(--cyan);
  }
  .demo-view {
    padding: 20px 14px;
  }
  .hero-grid {
    padding: 30px 0;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .ai-chat-drawer {
    width: calc(100vw - 32px);
    right: -12px;
    height: 480px;
  }
  .nav-island {
    padding: 4px 6px;
  }
  .island-icon-box {
    width: 32px;
    height: 32px;
  }
  .island-icon-box svg {
    width: 15px;
    height: 15px;
  }
}

