@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================
   TRENDBOT AI - PREMIUM WHITE-FIRST DESIGN SYSTEM (V3.0)
   Inspiration: Apple, Stripe, Linear
   ============================================ */

:root {
  /* White-First Light-dominant Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  /* Brand Cinematic Dark (used for selective hybrid overrides) */
  --bg-dark: #0A0F1A;
  --bg-dark-card: #121824;
  --bg-dark-card-hover: #192132;
  
  /* Subtle Borders */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-subtle-hover: rgba(0, 184, 191, 0.3);
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.18);
  
  /* Text Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-secondary: #94A3B8;
  
  /* Accent Colors (Original TrendBot Colors) */
  --primary: #00B8BF;
  --secondary: #1FC8A9;
  --accent: #4DE6A7;
  
  /* Vibrant Brand Gradients */
  --grad-ai: linear-gradient(135deg, #00B8BF 0%, #1FC8A9 50%, #4DE6A7 100%);
  --grad-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Core Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;
  
  /* Shadows & Glows */
  --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  --glow-accent: 0 0 50px -10px rgba(0, 184, 191, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 184, 191, 0.25);
}

/* ============================================
   UTILITY CLASSES & DESIGN TOKENS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.gradient-text {
  background: var(--grad-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium Badges */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.07);
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #EAB308;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 184, 191, 0.05);
  border: 1px solid rgba(0, 184, 191, 0.15);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.badge-ai-dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.section-label {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-align: center;
  margin-bottom: var(--space-sm);
  font-weight: 800;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

/* Sleek Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border: 1px solid var(--text-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-subtle-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.btn-glow {
  background: var(--grad-ai);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--glow-accent);
}

.btn-glow:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 0 35px rgba(0, 184, 191, 0.4);
}

/* ============================================
   GLASSMORPHIC BENTO CARDS (Light Theme)
   ============================================ */
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 
    0 10px 30px -10px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(15, 23, 42, 0.03);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 184, 191, 0.08),
    transparent 45%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s var(--transition-smooth);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  border-color: rgba(0, 184, 191, 0.35);
  background-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-4px);
  box-shadow: 
    0 20px 45px -10px rgba(0, 184, 191, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Bento Layout System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
}

.bento-card-xs { grid-column: span 3; }
.bento-card-sm { grid-column: span 4; }
.bento-card-md { grid-column: span 6; }
.bento-card-lg { grid-column: span 8; }
.bento-card-xl { grid-column: span 12; }

@media (max-width: 992px) {
  .bento-card-xs {
    grid-column: span 6;
  }
}

@media (max-width: 576px) {
  .bento-card-xs {
    grid-column: span 12;
  }
}

/* Responsive grid layouts */
@media (max-width: 992px) {
  .bento-card-sm, .bento-card-md, .bento-card-lg {
    grid-column: span 12;
  }
}

/* ============================================
   NAVIGATION BAR (Frosted Light Nav)
   ============================================ */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  border-radius: 100px; /* Fully rounded sides */
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 184, 191, 0.15);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px; /* Extra side padding for rounded corners */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-ai);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  stroke: #FFFFFF;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 0.88rem; /* Smaller for desktop view */
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.nav-cta {
  display: block;
}

/* Button style matching the navbar */
.navbar .nav-cta .btn {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: 100px; /* Matches the navbar rounded shape */
  color: var(--text-primary);
  font-size: 0.88rem; /* Matches link font size */
  font-weight: 600;
  padding: 8px 18px; /* Slightly more compact */
  box-shadow: none;
  transition: var(--transition-smooth);
}

.navbar .nav-cta .btn:hover {
  background: rgba(0, 184, 191, 0.06);
  border-color: var(--border-subtle-hover);
  color: var(--primary);
  transform: translateY(-1px);
}

.navbar.scrolled .nav-cta .btn {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 184, 191, 0.15);
}

/* Premium Animated Hamburger Menu Trigger */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001; /* Above drawer and overlay */
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 184, 191, 0.25);
  transform: scale(1.05);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  margin: 2px 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border-radius: 2px;
}

/* Morphing hamburger lines into 'X' when active */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Animated Slide-in Glassmorphic Side Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 85vw; /* responsiveness on small screens */
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 48px;
  gap: var(--space-md);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(15, 23, 42, 0.04);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

/* Glassmorphic Backdrop Overlay behind drawer */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.drawer-active::after {
  opacity: 1;
  pointer-events: all;
}

/* Disable body scroll when drawer is active */
body.drawer-active {
  overflow: hidden;
}

/* Staggered entry animation for links inside drawer */
.mobile-nav-drawer a {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  width: 100%;
  transform: translateX(30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.3s ease;
}

.mobile-nav-drawer.active a {
  transform: translateX(0);
  opacity: 1;
}

/* Cascade delay matching 21st.dev menu style */
.mobile-nav-drawer.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-drawer.active a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-drawer.active a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-drawer.active a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-drawer.active a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-drawer.active a:nth-child(6) { transition-delay: 0.35s; } /* CTA button */

/* Menu link hover & active states */
.mobile-nav-drawer a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-ai);
  transition: width 0.3s ease;
}

.mobile-nav-drawer a:hover::after,
.mobile-nav-drawer a.active::after {
  width: 32px;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active {
  color: var(--text-primary);
  transform: translateX(4px);
}

/* Button style matching the drawer theme */
.mobile-nav-drawer .btn-glow {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  width: 100%;
  text-align: center;
  justify-content: center;
  box-shadow: var(--glow-accent);
}

@media (max-width: 992px) {
  /* Hide desktop menu on tablets & mobiles */
  .nav-links, .nav-cta {
    display: none;
  }
  /* Show custom animated hamburger menu */
  .mobile-menu-btn {
    display: flex;
  }
}

/* ============================================
   PREMIUM HERO SECTION (Light Premium Grid)
   ============================================ */
.hero-premium {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 184, 191, 0.08), transparent 50%), var(--bg-secondary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

/* Premium developer technical grid pattern overlay - removed */
.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
  pointer-events: none;
  z-index: 0;
}

.hero-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 20%, var(--bg-secondary) 85%);
  pointer-events: none;
  z-index: 1;
}

.hero-premium-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-headline {
  font-size: clamp(2.5rem, 6.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

/* Trust Widget */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -12px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-trust-avatar:first-child {
  margin-left: 0;
}

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

.hero-trust-text strong {
  color: var(--text-primary);
}

/* Interactive 3D/Visual space */
.hero-visual-wrap {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plexus-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-dashboard-preview {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md);
  box-shadow: var(--shadow-premium), var(--glow-accent);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: var(--transition-smooth);
}

.hero-dashboard-preview:hover {
  border-color: rgba(0, 184, 191, 0.35);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 25px 50px -12px rgba(0, 184, 191, 0.15),
    0 0 35px rgba(31, 200, 169, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* SVG Growth Chart Animation */
.growth-svg {
  filter: drop-shadow(0px 6px 12px rgba(0, 184, 191, 0.2));
}

.chart-line-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 1000;
  }
  30% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.hero-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-xs);
}

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

.hero-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.hero-dash-dot:nth-child(1) { background: #EF4444; }
.hero-dash-dot:nth-child(2) { background: #F59E0B; }
.hero-dash-dot:nth-child(3) { background: #10B981; }

.hero-dash-title {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-dash-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-code-block {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(15, 23, 42, 0.03);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--primary);
  white-space: pre-wrap;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metric-box {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
}

.hero-metric-val {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-metric-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .hero-premium {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero-premium-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: var(--space-sm);
    gap: var(--space-md);
  }
  .hero-headline {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: var(--space-sm);
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-md);
  }
  .hero-ctas, .hero-trust {
    justify-content: center;
  }
  .hero-visual-wrap {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .hero-premium {
    padding: 75px 0 20px;
  }
  .hero-headline {
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
    margin-bottom: 12px;
  }
  .badge-ai {
    margin-bottom: 12px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .hero-premium .hero-description {
    margin-bottom: 16px !important;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .hero-visual-wrap {
    display: flex;
    height: 260px;
    margin-top: 5px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================
   PARTNERS / TRUSTED BY MARQUEE
   ============================================ */
.trusted-marquee-wrap {
  padding: var(--space-xl) 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 80px;
  animation: scrollMarquee 35s linear infinite;
  width: max-content;
}

@keyframes scrollMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.marquee-logo {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-secondary);
  opacity: 0.35;
  letter-spacing: -0.03em;
  transition: var(--transition-fast);
}

.marquee-logo:hover {
  opacity: 0.9;
  color: var(--primary);
}

/* ============================================
   SERVICES SECTION (Light Bento Cards)
   ============================================ */
.capabilities-sticky-section {
  position: relative;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.capabilities-grid-split {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: var(--space-xxl) 0;
}

.capabilities-left {
  width: 40%;
  position: sticky;
  top: 120px;
}

.capabilities-right {
  width: 60%;
  position: relative;
}

.capabilities-progress-wrap {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
  height: 240px;
}

.capabilities-progress-bar {
  width: 4px;
  background: var(--border-subtle);
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.capabilities-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* Animates via GSAP ScrollTrigger */
  background: var(--grad-ai);
  border-radius: 100px;
}

.capabilities-progress-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
}

.capabilities-progress-steps li {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.capabilities-progress-steps li span {
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.5;
}

.capabilities-progress-steps li.active {
  color: var(--text-primary);
  font-weight: 700;
  transform: translateX(4px);
}

.capabilities-progress-steps li.active span {
  color: var(--primary);
  opacity: 1;
}

.capabilities-card-viewport {
  position: relative;
  width: 100%;
  height: 560px; /* holds exactly 3 visible cards */
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.capabilities-card-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.capability-card-item {
  position: absolute;
  left: 0;
  width: 100%;
  height: 160px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 24px var(--space-md);
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-premium);
  cursor: pointer;
  transform-origin: center bottom;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color var(--transition-smooth), 
              background-color var(--transition-smooth);
}

.capability-card-item:hover {
  border-color: rgba(0, 184, 191, 0.35);
  background-color: rgba(255, 255, 255, 0.85);
}

.capability-card-item .capability-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

.capability-card-item:hover .capability-card-content h3 {
  color: var(--primary);
}

.capability-card-item .capability-card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0; /* Align with flex item */
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.capability-card-item:hover .service-icon-box {
  background: var(--grad-ai);
  color: #FFFFFF;
  border-color: transparent;
}

@media (max-width: 992px) {
  .capabilities-grid-split {
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
  }
  .capabilities-left {
    width: 100%;
    position: static;
  }
  .capabilities-progress-wrap {
    display: none;
  }
  .capabilities-right {
    width: 100%;
  }
  .capabilities-card-viewport {
    height: auto;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .capabilities-card-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
  }
  .capability-card-item {
    position: static;
    width: 100%;
    height: auto;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Dashboard Mock UI elements */
.dashboard-widget {
  margin-top: var(--space-sm);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.dash-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 4px;
}

.dash-bar {
  height: 100%;
  background: var(--grad-ai);
  border-radius: 100px;
}

/* ============================================
   PROCESS STEPS SECTION
   ============================================ */
.process-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-primary);
}

.process-grid-custom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.process-step-card {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: var(--transition-smooth);
}

.process-step-card:hover {
  background: var(--bg-primary);
  border-color: var(--border-subtle-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 auto var(--space-md);
  transition: var(--transition-smooth);
}

.process-step-card:hover .process-step-num {
  background: var(--grad-ai);
  border-color: transparent;
  color: #FFFFFF;
}

.process-step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.process-step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .process-grid-custom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .process-grid-custom {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CASE STUDIES SECTION (Light Cards Layout)
   ============================================ */
.case-studies-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-secondary);
}

.case-grid-deck {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Featured Service Hero - Stacked block section */
.featured-service-hero {
  width: 100%;
  margin-bottom: clamp(80px, 12vw, 140px); /* Clean breathing room between service sections */
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.featured-service-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.featured-service-header .case-tag {
  display: inline-block;
  margin-bottom: 12px;
}

.featured-service-header h2 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.15;
  color: var(--text-primary);
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.featured-service-grid {
  display: grid;
  grid-template-columns: 0.85fr 2.3fr 0.85fr; /* Centered mockup video enlarged on desktop */
  gap: var(--space-lg);
  align-items: center;
}

.featured-side-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  justify-content: center;
}

.featured-side-col.left-side {
  align-items: flex-end;
}

.featured-side-col.right-side {
  align-items: flex-start;
}

/* Stagger levitating cards out of straight vertical line - calibrated */
.featured-side-col.left-side .levitating-feature-box:nth-child(1) { margin-right: 15px; }
.featured-side-col.left-side .levitating-feature-box:nth-child(2) { margin-right: -4px; }
.featured-side-col.left-side .levitating-feature-box:nth-child(3) { margin-right: 10px; }

.featured-side-col.right-side .levitating-feature-box:nth-child(1) { margin-left: 10px; }
.featured-side-col.right-side .levitating-feature-box:nth-child(2) { margin-left: -4px; }
.featured-side-col.right-side .levitating-feature-box:nth-child(3) { margin-left: 15px; }
.featured-side-col.right-side .levitating-feature-box:nth-child(4) { margin-left: 0px; }

.levitating-feature-box {
  background: var(--grad-ai); /* Brand accent color gradient */
  border: 1.2px solid rgba(255, 255, 255, 0.45); /* Thin solid white border */
  border-radius: var(--radius-md);
  padding: 16px 24px; /* Larger padding for desktop view */
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 
    0 12px 25px -8px rgba(0, 184, 191, 0.3),
    0 4px 10px -3px rgba(31, 200, 169, 0.2),
    var(--shadow-premium);
  font-size: 0.98rem; /* Larger text size for desktop view */
  font-weight: 700; 
  color: #FFFFFF; /* White text color */
  animation: levitate 5s ease-in-out infinite;
  transition: all var(--transition-fast);
  z-index: 10;
  white-space: nowrap;
}

.levitating-feature-box svg {
  flex-shrink: 0;
  stroke: #FFFFFF !important; /* White icon color */
  stroke-width: 2.2px;
  width: 18px; /* Larger SVG icons for desktop view */
  height: 18px;
}

.levitating-feature-box:hover {
  animation: none;
  background: var(--bg-primary); /* Invert background on hover */
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 15px 30px -5px rgba(0, 184, 191, 0.35);
  transform: scale(1.05) translateY(-4px) !important;
}

.levitating-feature-box:hover svg {
  stroke: var(--primary) !important;
}

/* Levitating delay timings for organic feel */
.featured-side-col.left-side .levitating-feature-box:nth-child(1) { animation-delay: 0s; }
.featured-side-col.left-side .levitating-feature-box:nth-child(2) { animation-delay: 1.2s; }
.featured-side-col.left-side .levitating-feature-box:nth-child(3) { animation-delay: 2.4s; }

.featured-side-col.right-side .levitating-feature-box:nth-child(1) { animation-delay: 0.6s; }
.featured-side-col.right-side .levitating-feature-box:nth-child(2) { animation-delay: 1.8s; }
.featured-side-col.right-side .levitating-feature-box:nth-child(3) { animation-delay: 3s; }
.featured-side-col.right-side .levitating-feature-box:nth-child(4) { animation-delay: 2.2s; }

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

.featured-video-col {
  width: 100%;
}

.edged-video-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 32px; /* Curved glass display effect edge */
  background: var(--bg-dark);
  border: 1.5px solid #0a0f1a; /* Thin black border */
  overflow: hidden;
  z-index: 5;
  transition: all var(--transition-smooth);
  box-shadow: 
    0 25px 65px -12px rgba(0, 0, 0, 0.4), /* Deep soft black shadow underneath */
    0 10px 25px -15px rgba(0, 0, 0, 0.3), /* Secondary focus shadow */
    inset 0 0 20px rgba(0, 0, 0, 0.5); /* Inner screen shadow */
}

/* Glass display sheen overlay */
.edged-video-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 3;
}

/* Removed before border frame to prioritize pure curved glass edge */
.edged-video-mockup::before {
  display: none;
}

.edged-video-mockup:hover {
  transform: translateY(-12px); /* Lifts up the mockup container */
  box-shadow: 
    0 45px 95px -15px rgba(0, 0, 0, 0.45), /* Expanded soft black shadow when raised */
    0 20px 45px -20px rgba(0, 0, 0, 0.35),
    inset 0 0 30px rgba(0, 0, 0, 0.6);
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .featured-service-hero {
    margin-bottom: clamp(60px, 8vw, 100px);
    padding: 16px 0;
    position: static;
    transform: none;
  }

  .featured-service-header {
    margin-bottom: 16px; /* Added spacing */
  }

  .featured-service-header .case-tag {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .featured-service-header h2 {
    font-size: clamp(1.35rem, 4.5vw, 1.7rem);
    max-width: 320px;
    margin: 0 auto;
  }

  .featured-service-grid {
    grid-template-columns: 1fr;
    gap: 12px; /* Clean gap between layout sections */
  }
  
  .featured-video-col {
    order: 2; /* Video in the middle */
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .featured-side-col.left-side {
    order: 1; /* Left features above the video */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px; /* Space between top pills and video */
  }
  
  .featured-side-col.right-side {
    order: 3; /* Right features below the video */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 10px; /* Space between video and bottom pills */
  }
  
  .levitating-feature-box {
    font-size: 0.72rem; /* Compact label */
    padding: 6px 12px; /* Compact padding */
    border-radius: 100px; /* Pill shape */
    margin: 3px 4px !important; /* Elegant spacing between pills */
    font-weight: 700;
  }
  
  .levitating-feature-box svg {
    width: 10px;
    height: 10px;
  }
  
  /* Mobile levitation assignments at irregular starting offsets and animation delays */
  .featured-side-col.left-side .levitating-feature-box:nth-child(1) {
    animation: levitate-mobile-1 4.2s ease-in-out infinite !important;
  }
  .featured-side-col.left-side .levitating-feature-box:nth-child(2) {
    animation: levitate-mobile-2 4.8s ease-in-out infinite !important;
  }
  .featured-side-col.left-side .levitating-feature-box:nth-child(3) {
    animation: levitate-mobile-3 5.4s ease-in-out infinite !important;
  }
  
  .featured-side-col.right-side .levitating-feature-box:nth-child(1) {
    animation: levitate-mobile-2 4.5s ease-in-out infinite !important;
  }
  .featured-side-col.right-side .levitating-feature-box:nth-child(2) {
    animation: levitate-mobile-1 5s ease-in-out infinite !important;
  }
  .featured-side-col.right-side .levitating-feature-box:nth-child(3) {
    animation: levitate-mobile-3 5.5s ease-in-out infinite !important;
  }
  .featured-side-col.right-side .levitating-feature-box:nth-child(4) {
    animation: levitate-mobile-4 4.7s ease-in-out infinite !important;
  }
  
  .edged-video-mockup {
    transform: none !important;
    max-width: 320px; /* Increased width for better mockup visibility */
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
  }
}

@keyframes levitate-mobile-1 {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
}
@keyframes levitate-mobile-2 {
  0%, 100% { transform: translateY(5px); }
  50% { transform: translateY(-5px); }
}
@keyframes levitate-mobile-3 {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(6px); }
}
@keyframes levitate-mobile-4 {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(2px); }
}

.services-deck .case-deck-visual {
  padding: clamp(24px, 4vw, 48px);
}

.services-deck .case-deck-content > p {
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.services-deck .case-meta-list ul {
  gap: 12px 24px !important;
}

.case-deck-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.case-deck-card.reverse {
  grid-template-columns: 1.1fr 1fr;
}

@media (min-width: 769px) {
  .case-deck-card.reverse .case-deck-content {
    order: -1;
  }
  .case-deck-card.reverse .case-deck-visual {
    order: 1;
  }
}

.case-deck-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at center, rgba(0, 184, 191, 0.08), transparent 70%), var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

/* Mockup Browser Window Frame */
.mockup-full-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
  border-radius: var(--radius-lg);
}

.mockup-browser {
  z-index: 2;
  height: calc(100% - 48px);
  width: auto;
  aspect-ratio: 1 / 1.12; /* Accommodates square video + header */
  max-width: calc(100% - 48px);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.mockup-browser:hover {
  transform: scale(1.02);
  border-color: rgba(0, 184, 191, 0.4);
  box-shadow: 0 20px 40px rgba(0, 184, 191, 0.1);
}

.mockup-browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

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

.mockup-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-browser-dot.red { background: #FF5F56; }
.mockup-browser-dot.yellow { background: #FFBD2E; }
.mockup-browser-dot.green { background: #27C93F; }

.mockup-browser-url {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-secondary);
  background: rgba(15, 23, 42, 0.04);
  padding: 2px 12px;
  border-radius: 100px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-browser-video {
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  min-height: 0;
  object-fit: cover;
  background-color: #000;
}

.case-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--grad-ai);
  filter: blur(80px);
  opacity: 0.12;
}

.case-deck-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.case-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.case-deck-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.case-meta-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.case-meta-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.case-meta-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.case-highlight-metric {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0) 100%);
  border-left: 2px solid var(--primary);
  padding: 12px var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .case-deck-card, .case-deck-card.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================
   TESTIMONIALS SECTION (Apple style masonry)
   ============================================ */
.testimonials-section-revamp {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-primary);
}

.testimonials-masonry {
  column-count: 3;
  column-gap: var(--space-md);
}

.testimonial-masonry-card {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.testimonial-masonry-card:hover {
  background-color: var(--bg-primary);
  border-color: var(--border-subtle-hover);
  box-shadow: var(--shadow-premium);
}

.test-stars {
  display: flex;
  gap: 4px;
}

.test-stars svg {
  width: 14px;
  height: 14px;
  fill: #EAB308;
}

.test-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
}

.test-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-ai);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.test-details h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.test-details span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .testimonials-masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .testimonials-masonry {
    column-count: 1;
  }
}

/* ============================================
   FAQ ACCORDION SECTION
   ============================================ */
.faq-section-revamp {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-secondary);
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-row {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-row:hover {
  border-color: var(--border-subtle-hover);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--space-md);
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.faq-trigger {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: var(--primary);
}

.faq-row.active .faq-trigger {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 var(--space-md);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-row.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ============================================
   CONTACT & BOOKING COMPONENT
   ============================================ */
.contact-grid-revamp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-xl) 0;
}

.contact-card-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-premium);
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group-custom label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group-custom input,
.form-group-custom select,
.form-group-custom textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group-custom input:focus,
.form-group-custom select:focus,
.form-group-custom textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 184, 191, 0.1);
}

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

@media (max-width: 768px) {
  .contact-grid-revamp {
    grid-template-columns: 1fr;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
  }
}

.info-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card-mini {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  transition: var(--transition-smooth);
  box-shadow: 
    0 10px 30px -10px rgba(15, 23, 42, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(15, 23, 42, 0.03);
}

.info-card-mini:hover {
  border-color: rgba(0, 184, 191, 0.35);
  background-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
  box-shadow: 
    0 20px 45px -10px rgba(0, 184, 191, 0.12),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.info-mini-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-mini-details h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.info-mini-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-mini-details a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   CONVERSION FLOW CTA SECTION (Hybrid Dark)
   ============================================ */
.cta-premium-banner {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-primary);
}

.cta-banner-box {
  background: radial-gradient(circle at 50% 120%, rgba(0, 184, 191, 0.2), transparent 70%), var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  box-shadow: var(--shadow-dark);
}

.cta-banner-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-sm);
  font-weight: 800;
  color: var(--text-light);
}

.cta-banner-box p {
  font-size: 1.1rem;
  color: var(--text-light-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-lg);
}

/* ============================================
   FOOTER (Cinematic Hybrid Dark Layout)
   ============================================ */
.footer-revamp {
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--space-xxl) 0 var(--space-md);
}

.footer-grid-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-logo-area .nav-logo {
  color: var(--text-light);
}

.footer-logo-area p {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
  line-height: 1.6;
}

.footer-social-deck {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-secondary);
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  background: var(--text-light);
  color: var(--bg-dark);
  border-color: var(--text-light);
}

.footer-column-custom h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-column-custom ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column-custom a {
  font-size: 0.9rem;
  color: var(--text-light-secondary);
}

.footer-column-custom a:hover {
  color: var(--text-light);
}

.footer-bottom-wrap {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light-secondary);
}

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

@media (max-width: 992px) {
  .footer-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .footer-grid-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .footer-bottom-wrap {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ============================================
   PAGE HEROS & COMPACT STYLES
   ============================================ */
.page-hero-revamp {
  padding: 160px 0 60px;
  background: radial-gradient(circle at 50% 10%, rgba(0, 184, 191, 0.08), transparent 50%), var(--bg-secondary);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-revamp h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.page-hero-revamp p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* Values Grid */
.values-grid-custom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card-custom {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: var(--transition-smooth);
}

.value-card-custom:hover {
  background: var(--bg-primary);
  border-color: var(--border-subtle-hover);
  box-shadow: var(--shadow-premium);
}

.value-card-custom h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

@media (max-width: 992px) {
  .values-grid-custom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .values-grid-custom {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS & TRANSITIONS (GSAP fallbacks)
   ============================================ */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-init.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   WHY TRENDBOT SECTION
   ============================================ */
.why-section {
  padding: var(--space-xxl) 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.why-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card-deck {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.why-deck-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: var(--transition-smooth);
}

.why-deck-card:hover {
  border-color: var(--border-subtle-hover);
  background: var(--bg-primary);
  box-shadow: var(--shadow-premium);
}

.why-deck-card.highlight {
  background: linear-gradient(180deg, rgba(0, 184, 191, 0.03) 0%, rgba(31, 200, 169, 0.03) 100%), var(--bg-primary);
  border-color: rgba(0, 184, 191, 0.2);
}

.why-deck-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-deck-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 5-Step Process Grid Override */
.process-grid-custom.five-cols {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
  .process-grid-custom.five-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid-custom.five-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .process-grid-custom.five-cols {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FLOATING & PARALLAX HERO STYLES
   ============================================ */
.hero-floating-deck {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card {
  position: absolute;
  width: 280px;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.float-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 184, 191, 0.4);
}

.float-card-1 {
  top: 15px;
  left: 20px;
  z-index: 10;
  animation: float1 7s ease-in-out infinite alternate;
}

.float-card-2 {
  top: 45px;
  right: 15px;
  z-index: 8;
  animation: float2 9s ease-in-out infinite alternate;
}

.float-card-3 {
  bottom: 30px;
  left: 45px;
  z-index: 9;
  animation: float3 8s ease-in-out infinite alternate;
}

.float-card-4 {
  bottom: 15px;
  right: 30px;
  z-index: 11;
  animation: float4 10s ease-in-out infinite alternate;
}

@keyframes float1 {
  0% { transform: translateY(0px) rotate(0.5deg); }
  100% { transform: translateY(-14px) rotate(-1deg); }
}

@keyframes float2 {
  0% { transform: translateY(0px) rotate(-0.5deg); }
  100% { transform: translateY(16px) rotate(1deg); }
}

@keyframes float3 {
  0% { transform: translateY(0px) translateZ(0); }
  100% { transform: translateY(-12px) translateZ(10px); }
}

@keyframes float4 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(15px) rotate(-1.5deg); }
}

@media (max-width: 992px) {
  .hero-floating-deck {
    height: 400px;
    margin-top: var(--space-xl);
  }
  .float-card {
    width: 220px;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .hero-floating-deck {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }
  .float-card {
    position: static;
    width: 100%;
    animation: none !important;
    transform: none !important;
  }
}

/* ============================================
   TESTIMONIALS MARQUEE ROW (21st.dev style)
   ============================================ */
.testimonials-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.testimonials-marquee-row {
  display: flex;
  width: max-content;
  gap: var(--space-md);
}

.marquee-track-left {
  animation: marqueeLeft 50s linear infinite;
}

.marquee-track-right {
  animation: marqueeRight 50s linear infinite;
}

.testimonials-marquee-row:hover .marquee-track-left,
.testimonials-marquee-row:hover .marquee-track-right {
  animation-play-state: paused;
}

.testimonial-marquee-card {
  width: 360px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-premium);
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth), background var(--transition-smooth);
  cursor: pointer;
}

.testimonial-marquee-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 184, 191, 0.35);
  box-shadow: 0 15px 30px rgba(0, 184, 191, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

@keyframes marqueeLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@media (max-width: 768px) {
  .testimonial-marquee-card {
    width: 300px;
    padding: var(--space-md);
  }
}

/* ============================================
   NEW SERVICES MOCKUP STYLES (AIO & AI CALLING)
   ============================================ */
.speech-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 50px;
  margin: 15px auto;
}

.speech-bar {
  width: 4px;
  height: 35px;
  background: var(--grad-ai);
  border-radius: 2px;
  transform-origin: center;
  animation: soundwave 1.2s ease-in-out infinite alternate;
}

.speech-bar:nth-child(1) { animation-delay: 0.1s; height: 15px; }
.speech-bar:nth-child(2) { animation-delay: 0.3s; height: 25px; }
.speech-bar:nth-child(3) { animation-delay: 0.5s; height: 35px; }
.speech-bar:nth-child(4) { animation-delay: 0.2s; height: 45px; }
.speech-bar:nth-child(5) { animation-delay: 0.4s; height: 30px; }
.speech-bar:nth-child(6) { animation-delay: 0.6s; height: 20px; }
.speech-bar:nth-child(7) { animation-delay: 0.15s; height: 10px; }

@keyframes soundwave {
  0% {
    transform: scaleY(0.4);
    opacity: 0.6;
  }
  100% {
    transform: scaleY(1.15);
    opacity: 1;
  }
}

.ai-search-mockup {
  width: 85%;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  font-family: var(--font-secondary);
  text-align: left;
}

.ai-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.ai-search-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.8rem;
}

.ai-search-logo-spark {
  width: 16px;
  height: 16px;
  background: var(--grad-ai);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  font-weight: 900;
}

.ai-search-badge {
  font-size: 0.65rem;
  background: rgba(31, 200, 169, 0.1);
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.ai-search-query {
  background: rgba(15, 23, 42, 0.03);
  padding: 8px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

.ai-search-response {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ai-search-citation {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--primary);
  background: rgba(0, 184, 191, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 4px;
}

.calling-agent-mockup {
  width: 85%;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  font-family: var(--font-secondary);
  text-align: center;
}

.calling-status-box {
  background: rgba(31, 200, 169, 0.05);
  border: 1px solid rgba(31, 200, 169, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px var(--space-sm);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
}

.calling-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
  animation: callingPulse 1.5s infinite;
}

@keyframes callingPulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.85); opacity: 0.5; }
}

/* ============================================
   AURORA BACKGROUND EFFECT (TrendBot Theme)
   ============================================ */
.aurora-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-bg-element {
  position: absolute;
  inset: -10px;
  opacity: 0.22;
  will-change: transform;
  pointer-events: none;
  filter: blur(10px);
  
  /* White-First Light-dominant Palette variables mapped to TrendBot Teal & Mint accents */
  --white-gradient: repeating-linear-gradient(100deg, #ffffff 0%, #ffffff 7%, transparent 10%, transparent 12%, #ffffff 16%);
  --aurora: repeating-linear-gradient(100deg, #00B8BF 10%, #11998e 15%, #1FC8A9 20%, #4DE6A7 25%, #00B8BF 30%);

  background-image: var(--white-gradient), var(--aurora);
  background-size: 300% 200%;
  background-position: 50% 50%, 50% 50%;
  
  /* Top-Right ellipse mask to keep the left text clear and accent the interactive WebGL canvas area */
  mask-image: radial-gradient(ellipse at 80% 20%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, black 10%, transparent 70%);
}

.aurora-bg-element::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--white-gradient), var(--aurora);
  background-size: 200% 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora-animate 60s linear infinite;
}

@keyframes aurora-animate {
  from {
    background-position: 50% 50%, 50% 50%;
  }
  to {
    background-position: 350% 50%, 350% 50%;
  }
}

/* Ensure the hero content overlays correctly on top of the background */
.hero-premium > .container {
  position: relative;
  z-index: 2;
}
.hero-visual-wrap {
  z-index: 2;
}

/* ============================================
   REDESIGNED HERO LANDING SECTION (Centred layout)
   ============================================ */
.hero-landing-redesign {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 160px 0 100px;
  background-color: var(--bg-primary);
  overflow: hidden;
  z-index: 1;
}

.blur-gradient-wrap {
  position: absolute;
  inset-x: 0;
  z-index: -10;
  transform: translate3d(0,0,0);
  overflow: hidden;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.25;
}

.top-blur {
  top: -100px;
  left: 50%;
  transform: translateX(-50%) rotate(30deg);
}

.bottom-blur {
  top: calc(100% - 300px);
  left: 50%;
  transform: translateX(-50%);
}

.blur-polygon {
  position: relative;
  aspect-ratio: 1155/678;
  width: 36.125rem;
  clip-path: polygon(
    74.1% 44.1%, 
    100% 61.6%, 
    97.5% 26.9%, 
    85.5% 0.1%, 
    80.7% 2%, 
    72.5% 32.5%, 
    60.2% 62.4%, 
    52.4% 68.1%, 
    47.5% 58.3%, 
    45.2% 34.5%, 
    27.5% 76.7%, 
    0.1% 64.9%, 
    17.9% 100%, 
    27.6% 76.8%, 
    76.1% 97.7%, 
    74.1% 44.1%
  );
  opacity: 0.35;
}

@media (min-width: 640px) {
  .blur-polygon {
    width: 72.1875rem;
  }
}

.text-center-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--space-md);
  z-index: 2;
}

.announcement-banner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.announcement-banner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-premium);
}

.announcement-banner:hover {
  border-color: var(--primary);
}

.announcement-link {
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.announcement-link:hover {
  color: var(--secondary);
}

.hero-landing-headline {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hero-landing-description {
  font-family: var(--font-secondary);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-landing-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.btn-text-link {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

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

/* Services vertical stacking styles removed - realigned to case-studies layout */

/* Glassmorphic Visual Cards */
.mock-card-glass {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-md);
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
}

/* 1. Web Mockup */
.mock-browser-header {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.mock-browser-header .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.mock-browser-header .dot.red { background: #FF5F56; }
.mock-browser-header .dot.yellow { background: #FFBD2E; }
.mock-browser-header .dot.green { background: #27C93F; }
.mock-url-bar {
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 2px 14px;
  border-radius: 100px;
  margin-left: 10px;
}
.mock-landing-hero {
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 184, 191, 0.06), rgba(31, 200, 169, 0.06));
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(0, 184, 191, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.mock-landing-hero h5 {
  font-size: 0.75rem;
  color: var(--text-primary);
}
.mock-landing-hero p {
  font-size: 0.55rem;
  color: var(--text-secondary);
}

/* 2. Pipeline Mockup */
.pipeline-header {
  color: var(--primary);
  font-weight: 800;
  font-family: monospace;
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.pipeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.02);
  padding: 8px var(--space-sm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 8px;
  font-family: monospace;
  font-size: 0.72rem;
}
.pipeline-row .status-dot {
  font-weight: 700;
}
.pipeline-row .status-dot.green { color: #10B981; }
.pipeline-row .status-dot.blue { color: var(--primary); }
.pipeline-row .status-dot.gold { color: #F59E0B; }

/* 3. Chat Mockup */
.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}
.status-online {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.72rem;
}
.chat-body .bubble {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  max-width: 85%;
}
.chat-body .bubble.user {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.chat-body .bubble.bot {
  align-self: flex-end;
  background: var(--primary);
  color: white;
}

/* 4. Analytics Mockup */
.analytics-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.chart-bars {
  height: 50px;
  border-bottom: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}
.chart-bars .bar {
  flex-grow: 1;
  background: rgba(0, 184, 191, 0.18);
  border-radius: 2px 2px 0 0;
}
.chart-bars .bar.highlight {
  background: var(--grad-ai);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* 5. Creative Mockup */
.creative-header {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.banner-layout {
  display: flex;
  gap: 8px;
}
.banner-layout .ad-box {
  flex-grow: 1;
  height: 50px;
  background: rgba(0, 184, 191, 0.03);
  border: 1px dashed rgba(0, 184, 191, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--primary);
  font-weight: 700;
}
.banner-layout .story-box {
  width: 50px;
  height: 50px;
  background: rgba(31, 200, 169, 0.03);
  border: 1px dashed rgba(31, 200, 169, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--secondary);
  font-weight: 700;
}

/* 6. Brand Mockup */
.brand-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.brand-icon {
  width: 22px;
  height: 22px;
  background: var(--grad-ai);
  border-radius: 4px;
  color: white;
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-header span {
  font-size: 0.75rem;
  font-weight: 700;
}
.brand-body .palette-swatch {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}
.brand-body .palette-swatch span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.brand-body .font-spec {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* 7. Funnel Mockup */
.funnel-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 10px;
}
.funnel-tier {
  color: white;
  text-align: center;
  padding: 4px;
  margin: 0 auto 4px;
  border-radius: 3px;
  font-size: 0.65rem;
}
.funnel-tier.tier-1 { background: var(--primary); width: 100%; }
.funnel-tier.tier-2 { background: var(--secondary); width: 80%; }
.funnel-tier.tier-3 { background: #F59E0B; width: 60%; }

/* 8. Search Mockup */
.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.search-header .logo-area {
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.search-header .spark {
  color: var(--primary);
}
.search-header .mode-tag {
  font-size: 0.6rem;
  background: rgba(0, 184, 191, 0.08);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 100px;
}
.search-body .query {
  font-size: 0.72rem;
  font-style: italic;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.search-body .answer {
  font-size: 0.72rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.search-body .citation {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 9. Call Mockup */
.call-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
.call-header .label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-muted);
}
.call-header .number {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.wave-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  margin-bottom: 8px;
}
.wave-anim span {
  width: 2px;
  background: var(--primary);
  border-radius: 1px;
  animation: wave 1.2s infinite ease-in-out;
}
.wave-anim span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave-anim span:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.wave-anim span:nth-child(3) { height: 90%; animation-delay: 0.5s; }
.wave-anim span:nth-child(4) { height: 50%; animation-delay: 0.2s; }
.wave-anim span:nth-child(5) { height: 80%; animation-delay: 0.4s; }
.wave-anim span:nth-child(6) { height: 60%; animation-delay: 0.1s; }
.wave-anim span:nth-child(7) { height: 30%; animation-delay: 0.3s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.agent-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.agent-active-badge .pulse {
  width: 5px;
  height: 5px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-active 1.5s infinite;
}
@keyframes pulse-active {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}
.transcription {
  margin-top: 8px;
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-style: italic;
  background: rgba(0,0,0,0.02);
  padding: 6px;
  border-radius: 4px;
}

/* ============================================
   RESPONSIVE DESIGN (Media Queries Fallback)
   ============================================ */
@media (max-width: 992px) {
  .mock-card-glass {
    max-width: 100%;
  }
}



