/* ===========================================
   AI Platform Website Styles
   Modern AI Automation & Agent Platform CSS
   =========================================== */

/* CSS Variables */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #8b5cf6;
  --accent: #22d3ee;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: #334155;
  --border-light: #475569;
  
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-accent: linear-gradient(135deg, #22d3ee, #6366f1);
  --gradient-success: linear-gradient(135deg, #10b981, #22d3ee);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===========================================
   Enhanced Navigation Styles
   =========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow-md);
}

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

/* Search Bar */
.nav-search {
  position: relative;
  flex: 0 1 320px;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 14px;
  transition: var(--transition-normal);
}

.nav-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.nav-search .search-icon {
  color: var(--text-muted);
  margin-right: 10px;
  font-size: 14px;
}

.nav-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.nav-search input::placeholder {
  color: var(--text-muted);
}

.search-shortcut {
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: inherit;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-trigger i {
  font-size: 10px;
  transition: var(--transition-fast);
}

.nav-dropdown:hover .dropdown-trigger i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-normal);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mega Menu */
.mega-menu {
  display: flex;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 30px;
  min-width: 500px;
  box-shadow: var(--shadow-lg);
}

.mega-menu-section {
  min-width: 140px;
}

.mega-menu-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.mega-menu-section h4 i {
  color: var(--primary);
}

.mega-menu-section a {
  display: block;
  padding: 8px 0;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mega-menu-section a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* Nav Highlight */
.nav-link.nav-highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* Token Counter in Nav */
.nav-token-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.nav-token-counter:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.nav-token-counter i {
  color: var(--warning);
}

/* ===========================================
   Expertise Card Outcome Badge
   =========================================== */

.expertise-card .card-outcome {
  margin-top: 15px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  font-size: 13px;
  color: var(--success);
}

.expertise-card .card-outcome strong {
  color: var(--text-primary);
}

/* ===========================================
   Demo Video Showcase Section
   =========================================== */

.demo-video-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.demo-video-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.video-wrapper iframe,
.main-demo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.video-info p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Demo Features Grid */
.demo-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.demo-feature {
  text-align: center;
  padding: 25px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-normal);
}

.demo-feature:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.demo-feature .feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.demo-feature h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.demo-feature p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* More Demos Coming */
.more-demos-coming {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px dashed var(--primary);
  border-radius: 10px;
}

.more-demos-coming p {
  color: var(--text-secondary);
  font-size: 14px;
}

.more-demos-coming i {
  color: var(--primary);
  margin-right: 8px;
}

/* ===========================================
   Platform Showcase Section
   =========================================== */

.platform-showcase {
  margin-top: 40px;
}

/* Main Platform Feature */
.main-platform-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 50px;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

/* AI Workflow Diagram */
.ai-workflow-diagram {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px;
  background: var(--bg-darker);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.workflow-step .step-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.workflow-step.active .step-icon {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.workflow-step span {
  font-size: 12px;
  color: var(--text-muted);
}

.workflow-arrow {
  color: var(--text-muted);
  font-size: 14px;
}

/* Feature Content */
.feature-content h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-content .feature-tagline {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-style: italic;
}

.feature-content > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Feature Stats */
.feature-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

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

.stat-item .stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* Platform CTA Button */
.btn-platform-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-platform-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Platform Features Grid */
.platform-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.platform-feature-card {
  padding: 30px 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: var(--transition-normal);
}

.platform-feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.platform-feature-card .pf-icon {
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 20px;
}

.platform-feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.platform-feature-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.platform-feature-card .pf-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-feature-card .pf-list li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
}

.platform-feature-card .pf-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===========================================
   Social Proof Section
   =========================================== */

.social-proof-section {
  padding: 100px 0;
  background: var(--bg-darker);
}

/* Live Stats Bar */
.live-stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 30px 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 50px;
}

.live-stats-bar .live-stat {
  text-align: center;
}

.live-stats-bar .stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.live-stats-bar .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* LinkedIn Posts Grid */
.linkedin-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.linkedin-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  transition: var(--transition-normal);
}

.linkedin-post-card:hover {
  border-color: #0077b5;
  transform: translateY(-5px);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.post-avatar {
  width: 45px;
  height: 45px;
  background: #0077b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.post-meta {
  flex: 1;
}

.post-author {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.post-date {
  font-size: 12px;
  color: var(--text-muted);
}

.post-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.post-link:hover {
  color: #0077b5;
}

.post-content {
  margin-bottom: 18px;
}

.post-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
}

.post-engagement {
  display: flex;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.post-engagement span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.post-engagement i {
  color: #0077b5;
}

/* Social Proof CTA */
.social-proof-cta {
  text-align: center;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #0077b5;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-linkedin:hover {
  background: #006097;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3);
}

/* ===========================================
   Responsive Styles
   =========================================== */

@media (max-width: 1200px) {
  .platform-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .demo-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-search {
    display: none;
  }
  
  .mega-menu {
    display: none;
  }
  
  .main-platform-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .feature-stats {
    justify-content: center;
  }
  
  .ai-workflow-diagram {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .demo-video-container {
    grid-template-columns: 1fr;
  }
  
  .linkedin-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .live-stats-bar {
    flex-wrap: wrap;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .platform-features-grid {
    grid-template-columns: 1fr;
  }
  
  .demo-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .main-platform-feature {
    padding: 30px;
  }
  
  .feature-content h3 {
    font-size: 1.5rem;
  }
  
  .nav-token-counter {
    display: none;
  }
}

@media (max-width: 480px) {
  .demo-features-grid {
    grid-template-columns: 1fr;
  }
  
  .ai-workflow-diagram {
    flex-direction: column;
  }
  
  .workflow-arrow {
    transform: rotate(90deg);
  }
  
  .live-stats-bar {
    padding: 20px;
    gap: 20px;
  }
  
  .live-stats-bar .stat-number {
    font-size: 1.5rem;
  }
}

/* ===========================================
   Why Choose Us - Modern Customer-Centric
   =========================================== */

.why-choose-modern {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

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

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

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

.why-card-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
  border-color: var(--primary);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
}

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

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.why-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 48px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.trust-item i {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.trust-item strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ===========================================
   Platform Coverage Section
   =========================================== */

.platform-coverage-section {
  padding: 100px 0;
  background: var(--bg-darker);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
  position: relative;
}

.journey-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: var(--transition-normal);
}

.journey-step:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-tags span {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.step-connector {
  display: none; /* Hidden on grid, could add connecting lines */
}

/* Platform Stack */
.platform-stack {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px;
}

.stack-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
}

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

.stack-category h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.stack-category h4 i {
  color: var(--primary-light);
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-items span {
  background: var(--bg-darker);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.stack-items span:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ===========================================
   Contact Section - Modern
   =========================================== */

.contact-modern {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

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

.action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: var(--transition-normal);
}

.action-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.action-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
}

.action-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.action-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.action-btn {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-normal);
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.contact-modern .contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-intro {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.contact-intro h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.contact-intro p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-modern .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-modern .contact-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 18px;
}

.contact-modern .contact-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-modern .contact-details a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-modern .contact-details a:hover {
  color: var(--primary-light);
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 12px 20px;
  border-radius: 10px;
  color: var(--success);
  font-size: 0.9rem;
  margin-top: 24px;
}

.response-badge i {
  font-size: 1rem;
}

.contact-modern .contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.contact-modern .form-group {
  margin-bottom: 16px;
}

.contact-modern .form-group input,
.contact-modern .form-group select,
.contact-modern .form-group textarea {
  width: 100%;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.contact-modern .form-group input::placeholder,
.contact-modern .form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-modern .form-group input:focus,
.contact-modern .form-group select:focus,
.contact-modern .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-modern .form-group select {
  cursor: pointer;
}

.contact-modern .form-group select option {
  background: var(--bg-dark);
  color: var(--text-primary);
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-modern i {
  font-size: 1rem;
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-note i {
  color: var(--success);
}

/* ===========================================
   Floating Bot SVG
   =========================================== */

.floating-bot-svg {
  position: fixed;
  top: 150px;
  left: 30px;
  width: 80px;
  height: 80px;
  opacity: 0.8;
  z-index: 997;
}

/* ===========================================
   Products Button (replaces Projects)
   =========================================== */

.products-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
}

.products-btn::after {
  content: "Try AI\ATools" !important;
}

.products-btn span {
  font-size: 0;
}

.products-btn svg {
  width: 28px;
  height: 28px;
}

/* ===========================================
   Floating Button Layout Fix
   =========================================== */

/* Scroll to Top Button - Clean Design */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.scroll-to-top-btn:hover {
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.scroll-to-top-btn svg {
  color: white;
  width: 24px;
  height: 24px;
}

/* Chat Button - Top (above premium) */
.chat-button {
  position: fixed !important;
  right: 24px !important;
  bottom: 100px !important;
  width: 60px !important;
  height: 60px !important;
  z-index: 10000 !important;
}

/* Premium Crown Button - Bottom */
.floating-premium-btn {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 56px !important;
  height: 56px !important;
  z-index: 10001 !important;
  border-radius: 50% !important;
}

/* Ensure no overlap */
.floating-premium-btn + .chat-button,
.chat-button {
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .scroll-to-top-btn {
    width: 44px;
    height: 44px;
    bottom: 16px;
  }
  
  .scroll-to-top-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .chat-button {
    right: 16px !important;
    bottom: 86px !important;
    width: 54px !important;
    height: 54px !important;
  }
  
  .floating-premium-btn {
    right: 16px !important;
    bottom: 16px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1.2rem !important;
  }
}

/* ===========================================
   Mobile Responsiveness - All New Sections
   =========================================== */

@media (max-width: 992px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .journey-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .contact-actions {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 60px;
  }
  
  .contact-modern .contact-content {
    grid-template-columns: 1fr;
  }
  
  .trust-bar {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 32px;
  }
}

@media (max-width: 768px) {
  .why-choose-modern {
    padding: 60px 0;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .why-card {
    padding: 24px;
  }
  
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .journey-step {
    padding: 24px;
  }
  
  .platform-stack {
    padding: 32px 24px;
  }
  
  .stack-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .trust-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .trust-item {
    justify-content: center;
  }
  
  .contact-modern {
    padding: 60px 0;
  }
  
  .contact-modern .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-modern .contact-form-wrapper {
    padding: 28px 20px;
  }
  
  .products-btn {
    left: 16px !important;
    bottom: 16px !important;
    width: 50px;
    height: 50px;
  }
  
  .products-btn::after,
  .products-btn::before {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .why-card-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .metric-value {
    font-size: 1.5rem;
  }
  
  .action-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
}

/* ===========================================
   Light Theme Improvements
   =========================================== */

/* Light theme base colors */
:root:not(.dark),
body:not(.dark) {
  --bg-light: #ffffff;
  --bg-light-secondary: #f8fafc;
  --bg-light-card: #ffffff;
  --text-light-primary: #0f172a;
  --text-light-secondary: #475569;
  --text-light-muted: #64748b;
  --border-light: #e2e8f0;
  --border-light-darker: #cbd5e1;
}

/* Light theme section backgrounds */
:root:not(.dark) .why-choose-modern,
body:not(.dark) .why-choose-modern {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

:root:not(.dark) .platform-coverage-section,
body:not(.dark) .platform-coverage-section {
  background: #ffffff;
}

:root:not(.dark) .contact-modern,
body:not(.dark) .contact-modern {
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

/* Light theme cards */
:root:not(.dark) .why-card,
body:not(.dark) .why-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

:root:not(.dark) .why-card:hover,
body:not(.dark) .why-card:hover {
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

:root:not(.dark) .why-card-featured,
body:not(.dark) .why-card-featured {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
}

:root:not(.dark) .why-card h3,
body:not(.dark) .why-card h3 {
  color: #0f172a;
}

:root:not(.dark) .why-card p,
body:not(.dark) .why-card p {
  color: #475569;
}

/* Light theme journey steps */
:root:not(.dark) .journey-step,
body:not(.dark) .journey-step {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

:root:not(.dark) .step-content h3,
body:not(.dark) .step-content h3 {
  color: #0f172a;
}

:root:not(.dark) .step-content p,
body:not(.dark) .step-content p {
  color: #475569;
}

/* Light theme platform stack */
:root:not(.dark) .platform-stack,
body:not(.dark) .platform-stack {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root:not(.dark) .stack-title,
body:not(.dark) .stack-title {
  color: #0f172a;
}

:root:not(.dark) .stack-category h4,
body:not(.dark) .stack-category h4 {
  color: #0f172a;
}

:root:not(.dark) .stack-items span,
body:not(.dark) .stack-items span {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}

/* Light theme trust bar */
:root:not(.dark) .trust-bar,
body:not(.dark) .trust-bar {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

:root:not(.dark) .trust-item,
body:not(.dark) .trust-item {
  color: #475569;
}

:root:not(.dark) .trust-item strong,
body:not(.dark) .trust-item strong {
  color: #0f172a;
}

/* Light theme contact section */
:root:not(.dark) .action-card,
body:not(.dark) .action-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

:root:not(.dark) .action-card h4,
body:not(.dark) .action-card h4 {
  color: #0f172a;
}

:root:not(.dark) .action-card p,
body:not(.dark) .action-card p {
  color: #475569;
}

:root:not(.dark) .contact-intro h3,
body:not(.dark) .contact-intro h3 {
  color: #0f172a;
}

:root:not(.dark) .contact-intro p,
body:not(.dark) .contact-intro p {
  color: #475569;
}

:root:not(.dark) .contact-modern .contact-icon,
body:not(.dark) .contact-modern .contact-icon {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root:not(.dark) .contact-modern .contact-details h4,
body:not(.dark) .contact-modern .contact-details h4 {
  color: #0f172a;
}

:root:not(.dark) .contact-modern .contact-details a,
body:not(.dark) .contact-modern .contact-details a {
  color: #475569;
}

:root:not(.dark) .contact-modern .contact-form-wrapper,
body:not(.dark) .contact-modern .contact-form-wrapper {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

:root:not(.dark) .form-header h3,
body:not(.dark) .form-header h3 {
  color: #0f172a;
}

:root:not(.dark) .form-header p,
body:not(.dark) .form-header p {
  color: #475569;
}

:root:not(.dark) .contact-modern .form-group input,
:root:not(.dark) .contact-modern .form-group select,
:root:not(.dark) .contact-modern .form-group textarea,
body:not(.dark) .contact-modern .form-group input,
body:not(.dark) .contact-modern .form-group select,
body:not(.dark) .contact-modern .form-group textarea {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

:root:not(.dark) .contact-modern .form-group input::placeholder,
:root:not(.dark) .contact-modern .form-group textarea::placeholder,
body:not(.dark) .contact-modern .form-group input::placeholder,
body:not(.dark) .contact-modern .form-group textarea::placeholder {
  color: #94a3b8;
}

:root:not(.dark) .contact-modern .form-group select option,
body:not(.dark) .contact-modern .form-group select option {
  background: #ffffff;
  color: #0f172a;
}

:root:not(.dark) .response-badge,
body:not(.dark) .response-badge {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

/* Light theme section headers */
:root:not(.dark) .section-title,
body:not(.dark) .section-title {
  color: #0f172a;
}

:root:not(.dark) .section-subtitle,
body:not(.dark) .section-subtitle {
  color: #475569;
}

:root:not(.dark) .section-badge,
body:not(.dark) .section-badge {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* Light theme expertise cards */
:root:not(.dark) .expertise-card,
body:not(.dark) .expertise-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root:not(.dark) .expertise-card h3,
body:not(.dark) .expertise-card h3 {
  color: #0f172a;
}

:root:not(.dark) .expertise-card p,
body:not(.dark) .expertise-card p {
  color: #475569;
}

/* Light theme social proof */
:root:not(.dark) .linkedin-post-card,
body:not(.dark) .linkedin-post-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root:not(.dark) .live-stats-bar,
body:not(.dark) .live-stats-bar {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root:not(.dark) .live-stats-bar .stat-label,
body:not(.dark) .live-stats-bar .stat-label {
  color: #475569;
}

/* Light theme platform showcase */
:root:not(.dark) .main-platform-feature,
body:not(.dark) .main-platform-feature {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root:not(.dark) .platform-feature-card,
body:not(.dark) .platform-feature-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root:not(.dark) .platform-feature-card h4,
body:not(.dark) .platform-feature-card h4 {
  color: #0f172a;
}

:root:not(.dark) .platform-feature-card p,
body:not(.dark) .platform-feature-card p {
  color: #475569;
}

/* Light theme demo section */
:root:not(.dark) .demo-video-showcase,
body:not(.dark) .demo-video-showcase {
  background: #ffffff;
  border-color: #e2e8f0;
}

:root:not(.dark) .demo-feature,
body:not(.dark) .demo-feature {
  background: #f8fafc;
}

:root:not(.dark) .demo-feature h4,
body:not(.dark) .demo-feature h4 {
  color: #0f172a;
}

:root:not(.dark) .demo-feature p,
body:not(.dark) .demo-feature p {
  color: #475569;
}

/* Ensure navigation visibility in light theme */
:root:not(.dark) .navbar,
body:not(.dark) .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #e2e8f0;
}

:root:not(.dark) .nav-links a,
body:not(.dark) .nav-links a {
  color: #374151;
}

:root:not(.dark) .nav-links a:hover,
body:not(.dark) .nav-links a:hover {
  color: #6366f1;
}

:root:not(.dark) .nav-search,
body:not(.dark) .nav-search {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root:not(.dark) .nav-search input,
body:not(.dark) .nav-search input {
  color: #0f172a;
}

:root:not(.dark) .nav-token-counter,
body:not(.dark) .nav-token-counter {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #374151;
}

/* ===========================================
   Additional Light Theme Contrast Fixes
   =========================================== */

/* Light theme scroll to top button */
:root:not(.dark) .scroll-to-top-btn,
body:not(.dark) .scroll-to-top-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

/* Light theme floating buttons */
:root:not(.dark) .chat-button,
body:not(.dark) .chat-button {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

:root:not(.dark) .floating-premium-btn,
body:not(.dark) .floating-premium-btn {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

/* Light theme card features */
:root:not(.dark) .card-features span,
body:not(.dark) .card-features span {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.2);
}

:root:not(.dark) .card-outcome,
body:not(.dark) .card-outcome {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

/* Light theme workflow diagram */
:root:not(.dark) .ai-workflow-diagram,
body:not(.dark) .ai-workflow-diagram {
  background: #f8fafc;
}

:root:not(.dark) .workflow-step,
body:not(.dark) .workflow-step {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}

:root:not(.dark) .workflow-step .step-icon,
body:not(.dark) .workflow-step .step-icon {
  background: #f1f5f9;
  color: #6366f1;
}

:root:not(.dark) .workflow-step.active,
body:not(.dark) .workflow-step.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-color: transparent;
}

:root:not(.dark) .workflow-step.active .step-icon,
body:not(.dark) .workflow-step.active .step-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

:root:not(.dark) .workflow-arrow,
body:not(.dark) .workflow-arrow {
  color: #cbd5e1;
}

/* Light theme feature content */
:root:not(.dark) .feature-content h3,
body:not(.dark) .feature-content h3 {
  color: #0f172a;
}

:root:not(.dark) .feature-content p,
body:not(.dark) .feature-content p {
  color: #475569;
}

:root:not(.dark) .feature-tagline,
body:not(.dark) .feature-tagline {
  color: #6366f1;
}

:root:not(.dark) .feature-stats .stat-item,
body:not(.dark) .feature-stats .stat-item {
  background: #f8fafc;
  border-color: #e2e8f0;
}

:root:not(.dark) .feature-stats .stat-value,
body:not(.dark) .feature-stats .stat-value {
  color: #6366f1;
}

:root:not(.dark) .feature-stats .stat-label,
body:not(.dark) .feature-stats .stat-label {
  color: #64748b;
}

/* Light theme platform feature cards */
:root:not(.dark) .platform-feature-card .pf-icon,
body:not(.dark) .platform-feature-card .pf-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

:root:not(.dark) .platform-feature-card .pf-list li,
body:not(.dark) .platform-feature-card .pf-list li {
  color: #475569;
}

/* Light theme video section */
:root:not(.dark) .video-tutorials-section,
body:not(.dark) .video-tutorials-section {
  background: #f8fafc;
}

:root:not(.dark) .video-info h3,
body:not(.dark) .video-info h3 {
  color: #0f172a;
}

:root:not(.dark) .video-info p,
body:not(.dark) .video-info p {
  color: #475569;
}

:root:not(.dark) .more-demos-coming,
body:not(.dark) .more-demos-coming {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.15);
}

/* Light theme featured projects / platform section */
:root:not(.dark) .featured-projects,
body:not(.dark) .featured-projects {
  background: #ffffff;
}

:root:not(.dark) .portfolio-cta,
body:not(.dark) .portfolio-cta {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
  border-color: rgba(99, 102, 241, 0.15);
}

:root:not(.dark) .portfolio-cta h3,
body:not(.dark) .portfolio-cta h3 {
  color: #0f172a;
}

:root:not(.dark) .portfolio-cta p,
body:not(.dark) .portfolio-cta p {
  color: #475569;
}

/* Light theme social proof */
:root:not(.dark) .social-proof-section,
body:not(.dark) .social-proof-section {
  background: #f8fafc;
}

:root:not(.dark) .post-author,
body:not(.dark) .post-author {
  color: #0f172a;
}

:root:not(.dark) .post-content p,
body:not(.dark) .post-content p {
  color: #475569;
}

:root:not(.dark) .post-engagement span,
body:not(.dark) .post-engagement span {
  color: #64748b;
}

/* Light theme CTA section */
:root:not(.dark) .cta-section,
body:not(.dark) .cta-section {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Light theme buttons visibility */
:root:not(.dark) .btn-platform-cta,
body:not(.dark) .btn-platform-cta {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

:root:not(.dark) .btn-portfolio-ai,
body:not(.dark) .btn-portfolio-ai {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

:root:not(.dark) .btn-portfolio-all,
body:not(.dark) .btn-portfolio-all {
  background: transparent;
  border: 2px solid #6366f1;
  color: #6366f1;
}

:root:not(.dark) .btn-linkedin,
body:not(.dark) .btn-linkedin {
  background: #0077b5;
  color: white;
}

/* Light theme step tags */
:root:not(.dark) .step-tags span,
body:not(.dark) .step-tags span {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* Light theme products button */
:root:not(.dark) .products-btn,
body:not(.dark) .products-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

/* Light theme expertise slider */
:root:not(.dark) .expertise-slider-section,
body:not(.dark) .expertise-slider-section {
  background: #f8fafc;
}

:root:not(.dark) .expertise-card:hover,
body:not(.dark) .expertise-card:hover {
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}
/* ===========================================
   Floating Chatbot Widget Styles
   =========================================== */

/* Floating chatbot button */
.floating-chatbot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.4);
  transition: var(--transition-normal);
  border: none;
  color: white;
  font-size: 28px;
  animation: float 3s ease-in-out infinite, pulse-glow 2s ease-in-out infinite;
}

.floating-chatbot:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.6);
}

.floating-chatbot:active {
  transform: scale(0.95);
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Pulsing effect */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(34, 211, 238, 0.8), 0 0 40px rgba(99, 102, 241, 0.4);
  }
}

/* For mobile alignment */
@media (max-width: 768px) {
  .floating-chatbot {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* ===========================================
   MOBILE MENU TEXT VISIBILITY FIX
   Prevents gradient text from making mobile dropdown invisible
   =========================================== */
@media (max-width: 768px) {
  /* Override gradient text on nav-highlight in mobile */
  .nav-link.nav-highlight,
  .navbar .nav-link.nav-highlight,
  .nav-links .nav-link.nav-highlight,
  .nav-links > .nav-link.nav-highlight {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%) !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    color: white !important;
  }
  
  /* Force all mobile menu text to be visible */
  .nav-links a,
  .nav-links .nav-link,
  .nav-dropdown .dropdown-trigger,
  .nav-dropdown .dropdown-trigger .nav-link,
  .mega-menu a,
  .mega-menu-section a,
  .dropdown-menu a,
  .navbar .nav-links a,
  .navbar .nav-dropdown .dropdown-trigger,
  .navbar .mega-menu-section a {
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    background-image: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Hover states - text changes color but stays visible */
  .nav-links a:hover,
  .nav-dropdown .dropdown-trigger:hover,
  .mega-menu-section a:hover,
  .navbar .nav-links a:hover,
  .navbar .nav-dropdown .dropdown-trigger:hover,
  .navbar .mega-menu-section a:hover {
    color: #10b981 !important;
    -webkit-text-fill-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.1) !important;
    background-image: none !important;
  }
  
  /* When dropdown is active, show content */
  .nav-dropdown.active .mega-menu-section a,
  .nav-dropdown.touch-active .mega-menu-section a,
  .navbar .nav-dropdown.active .mega-menu-section a,
  .navbar .nav-dropdown.touch-active .mega-menu-section a {
    color: rgba(255, 255, 255, 0.85) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Section headers */
  .mega-menu-section h4,
  .navbar .mega-menu-section h4 {
    color: #f59e0b !important;
    -webkit-text-fill-color: #f59e0b !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
  }
  
  /* Light theme mobile menu fixes */
  :root:not(.dark) .nav-links,
  body:not(.dark) .nav-links {
    background: #1e293b !important;
  }
  
  :root:not(.dark) .mobile-menu-header,
  body:not(.dark) .mobile-menu-header {
    background: #1e293b !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  :root:not(.dark) .mobile-menu-header .mobile-search,
  body:not(.dark) .mobile-menu-header .mobile-search {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  :root:not(.dark) .mobile-menu-header .mobile-search input,
  body:not(.dark) .mobile-menu-header .mobile-search input {
    color: white !important;
  }
  
  :root:not(.dark) .mobile-menu-close,
  body:not(.dark) .mobile-menu-close {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
  }
  
  :root:not(.dark) .nav-links a,
  body:not(.dark) .nav-links a,
  :root:not(.dark) .nav-dropdown .dropdown-trigger,
  body:not(.dark) .nav-dropdown .dropdown-trigger,
  :root:not(.dark) .mega-menu-section a,
  body:not(.dark) .mega-menu-section a {
    color: rgba(255, 255, 255, 0.9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
  }
  
  :root:not(.dark) .nav-links a:hover,
  body:not(.dark) .nav-links a:hover {
    color: #10b981 !important;
    -webkit-text-fill-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
  }
  
  :root:not(.dark) .mega-menu,
  body:not(.dark) .mega-menu,
  :root:not(.dark) .dropdown-menu,
  body:not(.dark) .dropdown-menu {
    background: #0f172a !important;
  }
  
  :root:not(.dark) .mega-menu-section h4,
  body:not(.dark) .mega-menu-section h4 {
    color: #f59e0b !important;
    -webkit-text-fill-color: #f59e0b !important;
  }
  
  :root:not(.dark) .navbar,
  body:not(.dark) .navbar {
    background: rgba(30, 41, 59, 0.95) !important;
  }
  
  :root:not(.dark) .menu-toggle span,
  body:not(.dark) .menu-toggle span {
    background: white !important;
  }
  
  /* CRITICAL: Disable desktop hover behavior on mobile dropdown */
  /* Prevents the desktop hover from interfering with touch-based interaction */
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:hover .mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
  }
  
  /* Only show dropdown when explicitly activated via touch/click */
  .nav-dropdown.active .dropdown-menu,
  .nav-dropdown.touch-active .dropdown-menu,
  .nav-dropdown.active > .dropdown-menu,
  .nav-dropdown.touch-active > .dropdown-menu,
  .nav-dropdown.active .mega-menu,
  .nav-dropdown.touch-active .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: 800px !important;
  }
  
  /* Hide floating theme toggle on non-home pages */
  .dark-mode-toggle,
  .theme-toggle {
    display: none !important;
  }
}
