/* ============================================================
   VaultTech Solutions - Premium Enterprise Website Styles
   ============================================================ */

/* ============================================================
   TABLE OF CONTENTS
   1. CSS Variables
   2. Base Styles
   3. Navbar
   4. Hero Section
   5. About Section
   6. Services Section
   7. Industries Section
   8. Divisions Section
   9. Testimonials Section
   10. Contact Section
   11. Footer
   12. Animations
   13. Utilities
   14. Responsive Design
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Primary Colors */
  --color-primary: #0A192F;
  --color-primary-dark: #061020;
  --color-primary-light: #112845;
  
  /* Accent Colors */
  --color-accent: #00D4FF;
  --color-accent-dark: #00A8CC;
  --color-accent-light: #5CE1FF;
  --color-accent-secondary: #7C3AED;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-off-white: #F8FAFC;
  --color-light-gray: #E2E8F0;
  --color-gray: #94A3B8;
  --color-dark-gray: #475569;
  --color-text-dark: #1E293B;
  
  /* Gradient Colors */
  --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #7C3AED 100%);
  --gradient-dark: linear-gradient(180deg, #0A192F 0%, #061020 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-padding: 24px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ============================================================
   2. BASE STYLES
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Section Padding */
.section-padding {
  padding: var(--section-padding) 0;
}

/* Container */
.container {
  max-width: 1200px;
  padding: 0 var(--container-padding);
}

/* Section Label */
.section-label {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
  position: relative;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-accent);
  margin-right: 12px;
  vertical-align: middle;
}

/* Section Title */
.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.text-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Subtitle */
.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Reveal Elements */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   3. SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-accent);
  z-index: 10000;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--color-accent);
}

/* ============================================================
   4. NAVBAR
   ============================================================ */
#mainNavbar {
  background: transparent;
  padding: 20px 0;
  transition: all 0.4s ease;
}

#mainNavbar.scrolled {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-lg);
}

#mainNavbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  display: block;
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 576px) {
  .brand-logo {
    max-height: 52px;
  }
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

#mainNavbar .navbar-brand:hover .brand-icon {
  transform: rotate(15deg) scale(1.05);
}

.brand-text {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.brand-accent {
  color: var(--color-accent);
}

/* Nav Links */
#mainNavbar .nav-link {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  position: relative;
}

#mainNavbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link.active::after {
  width: 70%;
}

#mainNavbar .nav-link:hover {
  color: var(--color-white);
}

/* CTA Button - Nav */
.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
  color: var(--color-white);
}

/* Mobile Offcanvas */
.offcanvas {
  background: var(--color-primary);
  color: var(--color-white);
}

.offcanvas-header .brand-logo {
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.offcanvas-header .brand-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.offcanvas-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-weight: 700;
}

.offcanvas-link {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-link:hover {
  color: var(--color-accent);
  padding-left: 10px;
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  overflow: hidden;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Fallback Background Image */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover no-repeat;
  z-index: 0;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(10, 25, 47, 0.7) 0%, 
    rgba(10, 25, 47, 0.5) 50%, 
    rgba(10, 25, 47, 0.9) 100%
  );
  z-index: 1;
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s infinite;
}

@keyframes float-particle {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  padding: 120px 0 80px;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-accent);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 1rem;
}

/* Hero Headline */
.hero-headline {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.headline-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* Hero Subheading */
.hero-subheading {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

/* CTA Buttons */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-cta-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-cta-primary:hover::before {
  left: 100%;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
  color: var(--color-white);
}

.btn-cta-primary i {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover i {
  transform: translateX(4px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-cta-secondary i {
  font-size: 1.125rem;
}

/* Hero Trust Badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item i {
  color: var(--color-accent);
  font-size: 1rem;
}

.trust-divider {
  color: rgba(255, 255, 255, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
  z-index: 10;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* Fade In Up Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   6. ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.about-intro {
  font-size: 1.125rem;
  color: var(--color-dark-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Feature Items */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1.25rem;
}

.feature-text h5 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.9375rem;
  color: var(--color-dark-gray);
  margin: 0;
  line-height: 1.5;
}

/* About Image */
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.about-image-badge i {
  color: var(--color-accent);
}

/* Stats Row */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding: 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.stat-number {
  display: block;
  font-family: var(--font-secondary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-dark-gray);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--color-light-gray);
}

/* ============================================================
   7. SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--color-white);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 10% 10%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Service Card */
.service-card {
  position: relative;
  height: 100%;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 8px;
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.service-card-inner {
  padding: 32px;
  background: var(--color-off-white);
  border-radius: calc(var(--radius-xl) - 8px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.service-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-dark-gray);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.service-tags span {
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--color-accent-dark);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.service-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.3s ease;
}

.service-card:hover .service-cta {
  gap: 12px;
  color: var(--color-accent);
}

.service-cta i {
  font-size: 1rem;
}

/* ============================================================
   SERVICE MODALS
   ============================================================ */
.service-modal .modal-content {
  background: var(--color-primary);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-xl);
}

.service-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-modal .modal-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1.25rem;
}

.service-modal .modal-title {
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  flex-grow: 1;
}

.service-modal .modal-body {
  padding: 32px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.modal-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-feature i {
  color: var(--color-accent);
  font-size: 1rem;
}

.modal-feature span {
  font-size: 0.9375rem;
}

.service-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 32px;
}

/* ============================================================
   8. INDUSTRIES SECTION
   ============================================================ */
.industries-section {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.industries-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(124, 58, 237, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.industries-section .section-title {
  color: var(--color-white);
}

.industries-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.industries-section .section-label {
  color: var(--color-accent);
}

/* Industry Card */
.industry-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-primary-light);
  transition: all 0.4s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.industry-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover .industry-card-img img {
  transform: scale(1.1);
}

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
}

.industry-overlay i {
  font-size: 2rem;
  color: var(--color-accent);
}

.industry-card-body {
  padding: 24px;
}

.industry-card-body h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.industry-card-body p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.industry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.3s ease;
}

.industry-link:hover {
  gap: 12px;
  color: var(--color-accent-light);
}

/* Featured Banner */
.industry-feature-banner {
  background: var(--color-primary-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-banner-img {
  height: 100%;
  min-height: 400px;
}

.industry-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-banner-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.industry-banner-content .section-label {
  margin-bottom: 16px;
}

.industry-banner-content h3 {
  color: var(--color-white);
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.industry-banner-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.banner-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  list-style: none;
}

.banner-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.banner-stats strong {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
}

.banner-stats span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   9. DIVISIONS SECTION
   ============================================================ */
.divisions-section {
  background: var(--color-off-white);
  position: relative;
}

.divisions-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Division Card */
.division-card {
  position: relative;
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.division-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.division-card:hover::before {
  transform: scaleX(1);
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.division-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.division-card:hover .division-card-glow {
  opacity: 1;
}

.division-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  font-size: 1.75rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.division-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.division-desc {
  font-size: 0.9375rem;
  color: var(--color-dark-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.division-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.division-tags span {
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--color-accent-dark);
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ============================================================
   10. TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 0% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--color-off-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-stars {
  margin-bottom: 20px;
}

.testimonial-stars i {
  color: #F59E0B;
  font-size: 1.125rem;
  margin: 0 2px;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent);
}

.author-info {
  text-align: left;
}

.author-info strong {
  display: block;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.author-info span {
  font-size: 0.875rem;
  color: var(--color-dark-gray);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-control-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-control-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.carousel-indicators-custom {
  display: flex;
  gap: 8px;
}

.carousel-indicators-custom button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-light-gray);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators-custom button.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* Client Logos */
.client-logos {
  margin-top: 60px;
  text-align: center;
}

.logos-label {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: var(--color-dark-gray);
  margin-bottom: 32px;
}

.logos-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.logo-item {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item span {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark-gray);
  white-space: nowrap;
}

/* ============================================================
   11. CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 0% 0%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-section .section-title {
  color: var(--color-white);
}

.contact-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.contact-section .section-label {
  color: var(--color-accent);
}

/* Contact Info Panel */
.contact-info-panel {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-info-title {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-info-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1.25rem;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-info-text strong {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
}

.contact-info-text span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Social Links */
.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Contact Form Panel */
.contact-form-panel {
  padding: 40px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
}

.form-group {
  margin-bottom: 0;
}

.form-label {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-label .required {
  color: #EF4444;
}

.form-control {
  padding: 14px 16px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--color-gray);
}

.form-select {
  padding: 14px 16px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  outline: none;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.form-check-input:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--color-dark-gray);
}

.consent-link {
  color: var(--color-accent);
  text-decoration: underline;
}

.consent-link:hover {
  color: var(--color-accent-dark);
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 16px 32px;
  margin-top: 24px;
  position: relative;
}

.btn-submit .btn-loading {
  display: none;
}

.btn-submit.loading .btn-text,
.btn-submit.loading i {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit.loading .btn-loading i {
  display: inline;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Success Message */
.form-success-message {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 3rem;
  color: var(--color-accent);
}

.form-success-message h4 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success-message p {
  color: var(--color-dark-gray);
  margin-bottom: 24px;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.main-footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 80px 0 0;
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

/* Footer About */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand .brand-logo {
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-brand .brand-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.footer-brand .brand-text {
  font-size: 1.25rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-heading {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

/* Footer Contact */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-list i {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 4px;
}

.footer-contact-list span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* ============================================================
   13. RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1199px) {
  :root {
    --section-padding: 100px;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-headline {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 80px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Navbar */
  #mainNavbar {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
  }
  
  /* Stats Row */
  .stats-row {
    gap: 16px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-item {
    flex: 0 0 calc(50% - 8px);
  }
  
  /* Industry Banner */
  .industry-banner-content {
    padding: 32px;
  }
  
  .banner-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 60px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Hero */
  .hero-content {
    padding: 100px 0 60px;
  }
  
  .hero-headline {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }
  
  .trust-divider {
    display: none;
  }
  
  /* About */
  .about-image-wrapper {
    margin-top: 40px;
  }
  
  .stats-row {
    gap: 12px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  /* Contact */
  .contact-info-panel,
  .contact-form-panel {
    padding: 24px;
  }
  
  /* Footer */
  .footer-bottom .row {
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    margin-top: 16px;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 16px;
  }
  
  /* Buttons */
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }
  
  /* Testimonial */
  .testimonial-card {
    padding: 32px 24px;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  /* Industry Cards */
  .industry-card-img {
    height: 180px;
  }
  
  .industry-banner-content h3 {
    font-size: 1.375rem;
  }
}

/* ============================================================
   14. AI CHATBOT WIDGET
   ============================================================ */

/* Chat Toggle Button */
.chat-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.chat-toggle-btn .chat-toggle-close {
  display: none;
}

.chat-toggle-btn.active .chat-toggle-icon {
  display: none;
}

.chat-toggle-btn.active .chat-toggle-close {
  display: block;
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  max-width: calc(100vw - 60px);
  height: 520px;
  max-height: calc(100vh - 140px);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-primary);
  color: var(--color-white);
}

.chat-header-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  position: relative;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #22C55E;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
}

.chat-header-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
  line-height: 1.2;
}

.chat-header-text .status-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-minimize {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.btn-minimize:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-off-white);
}

.message {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.message-user {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.message-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.875rem;
}

.message-user .message-avatar {
  background: var(--gradient-accent);
  color: var(--color-white);
}

.message-content {
  background: var(--color-white);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.message-user .message-content {
  background: var(--color-primary);
  color: var(--color-white);
}

.message-content p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

.message-content p + p {
  margin-top: 8px;
}

/* Quick Suggestions */
.quick-suggestions {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-btn {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-gray);
  font-size: 0.8125rem;
  margin-top: 8px;
}

.typing-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* Chat Input Area */
.chat-input-area {
  padding: 16px 20px;
  background: var(--color-white);
  border-top: 1px solid var(--color-light-gray);
}

.chat-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  resize: none;
  min-height: 46px;
  max-height: 100px;
  transition: border-color 0.2s ease;
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.btn-send {
  width: 46px;
  height: 46px;
  background: var(--gradient-accent);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-disclaimer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-gray);
}

.chat-disclaimer i {
  color: var(--color-accent);
}

.chat-disclaimer a {
  color: var(--color-accent);
  text-decoration: none;
}

.chat-disclaimer a:hover {
  text-decoration: underline;
}

/* API Key Setup */
.api-key-setup {
  position: absolute;
  inset: 0;
  background: var(--color-white);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.api-key-setup.active {
  display: flex;
}

.api-key-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.api-key-setup h5 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.api-key-setup p {
  font-size: 0.875rem;
  color: var(--color-dark-gray);
  margin-bottom: 20px;
}

.api-key-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 280px;
}

.api-key-input-group input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.api-key-input-group input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.api-key-input-group button {
  padding: 10px 16px;
}

.api-key-setup .btn-link {
  color: var(--color-dark-gray);
  font-size: 0.875rem;
  margin-top: 12px;
}

.api-key-help {
  margin-top: 16px;
}

.api-key-help a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--color-accent);
  text-decoration: none;
}

.api-key-help a:hover {
  text-decoration: underline;
}

/* Chat Toast */
.chat-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.chat-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-content i {
  color: #22C55E;
}

.toast-content span {
  font-size: 0.9375rem;
}

/* Chat Responsive */
@media (max-width: 480px) {
  .chat-toggle-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 1.25rem;
  }
  
  .chat-window {
    bottom: 84px;
    right: 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 120px);
  }
}
