/* CentrixIQ Custom Styles */
/* Built on Bootstrap 5 */
:root {
  /* Brand Colors - Based on logo green #4eba6b */
  --ciq-primary: #4eba6b;
  --ciq-primary-dark: #3d9a58;
  --ciq-primary-light: #6fcf85;
  --ciq-primary-rgb: 78, 186, 107;
  --ciq-secondary: #6c757d;
  --ciq-accent: #2d8f4e;
  --ciq-dark: #1a1a2e;
  --ciq-darker: #0f0f1a;
  --ciq-light: #f8f9fa;
  --ciq-white: #ffffff;
  --ciq-text: #1a1a2e;
  --ciq-text-muted: #6c757d;
  --ciq-bg: #ffffff;
  --ciq-bg-alt: #f8f9fa;
  --ciq-card-bg: #ffffff;
  --ciq-border: rgba(0, 0, 0, 0.1);
  /* Gradients */
  --ciq-gradient-primary: linear-gradient(135deg, #4eba6b 0%, #2d8f4e 100%);
  --ciq-gradient-light: linear-gradient(135deg, #6fcf85 0%, #4eba6b 100%);
  --ciq-gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  --ciq-gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
  /* Shadows */
  --ciq-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --ciq-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --ciq-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
  --ciq-shadow-glow: 0 0 40px rgba(78, 186, 107, 0.3);
  /* Typography */
  --ciq-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ciq-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Transitions */
  --ciq-transition: all 0.3s ease;
  --ciq-transition-fast: all 0.15s ease;
  /* Color scheme */
  color-scheme: light dark;
}

/* Dark mode - System preference */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --ciq-dark: #f0f0f5;
    --ciq-darker: #080810;
    --ciq-light: #1e1e32;
    --ciq-text: #f0f0f5;
    --ciq-text-muted: #a0a0b0;
    --ciq-bg: #0f0f1a;
    --ciq-bg-alt: #1a1a2e;
    --ciq-card-bg: #1a1a2e;
    --ciq-border: rgba(255, 255, 255, 0.1);
    --ciq-secondary: #a0a0b0;
    --ciq-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --ciq-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --ciq-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  }
}
/* Dark mode - Manual toggle */
[data-theme=dark] {
  --ciq-dark: #f0f0f5;
  --ciq-darker: #080810;
  --ciq-light: #1e1e32;
  --ciq-text: #f0f0f5;
  --ciq-text-muted: #a0a0b0;
  --ciq-bg: #0f0f1a;
  --ciq-bg-alt: #1a1a2e;
  --ciq-card-bg: #1a1a2e;
  --ciq-border: rgba(255, 255, 255, 0.1);
  --ciq-secondary: #a0a0b0;
  --ciq-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --ciq-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --ciq-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Dark mode - Bootstrap overrides */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bs-body-color: #f0f0f5;
    --bs-body-bg: #0f0f1a;
  }
}
[data-theme=dark] {
  --bs-body-color: #f0f0f5;
  --bs-body-bg: #0f0f1a;
}

/* Dark mode element overrides */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .text-muted {
    color: var(--ciq-text-muted) !important;
  }
  :root:not([data-theme=light]) .text-dark {
    color: var(--ciq-text) !important;
  }
  :root:not([data-theme=light]) .bg-light,
  :root:not([data-theme=light]) .bg-light-custom {
    background-color: var(--ciq-bg-alt) !important;
  }
  :root:not([data-theme=light]) .bg-white {
    background-color: var(--ciq-card-bg) !important;
  }
}
[data-theme=dark] .text-muted {
  color: var(--ciq-text-muted) !important;
}

[data-theme=dark] .text-dark {
  color: var(--ciq-text) !important;
}

[data-theme=dark] .bg-light,
[data-theme=dark] .bg-light-custom {
  background-color: var(--ciq-bg-alt) !important;
}

[data-theme=dark] .bg-white {
  background-color: var(--ciq-card-bg) !important;
}

/* Temporarily hide stats sections */
.hero-stats,
.stats-section {
  display: none !important;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ciq-font-primary);
  color: var(--ciq-text);
  background-color: var(--ciq-bg);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ciq-font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--ciq-text-muted);
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: var(--ciq-transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--ciq-shadow-sm);
  will-change: background, box-shadow;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ciq-white) !important;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.navbar-logo {
  width: 36px;
  height: 36px;
  transition: var(--ciq-transition);
}

.navbar-logo-full {
  height: 32px;
  width: auto;
  transition: var(--ciq-transition);
}

/* White logo for dark navbar (default state) */
.navbar-logo-white {
  display: block;
}

.navbar-logo-dark {
  display: none;
}

/* Show dark logo when scrolled (light background) */
.navbar.scrolled .navbar-logo-white {
  display: none;
}

.navbar.scrolled .navbar-logo-dark {
  display: block;
}

.navbar-brand:hover .navbar-logo,
.navbar-brand:hover .navbar-logo-full {
  transform: scale(1.02);
}

.brand-text {
  color: var(--ciq-white);
  transition: var(--ciq-transition);
}

.navbar.scrolled .brand-text {
  color: var(--ciq-dark);
}

.navbar-brand span span {
  background: var(--ciq-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subsite Pill (current) */
.subsite-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.75rem;
  transition: var(--ciq-transition);
}

.navbar.scrolled .subsite-pill {
  background: rgba(var(--ciq-primary-rgb, 37, 99, 235), 0.1);
  border-color: rgba(var(--ciq-primary-rgb, 37, 99, 235), 0.3);
  color: var(--ciq-primary);
}

/* Navbar Subsite Pill (legacy) */
.navbar-subsite-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--ciq-transition);
  margin-left: 1rem;
}

.navbar-subsite-pill i {
  font-size: 0.8rem;
}

/* Brokers - Blue */
.navbar-subsite-pill.pill-blue {
  color: #0d6efd;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0.05) 100%);
  border-color: rgba(13, 110, 253, 0.3);
}

.navbar-subsite-pill.pill-blue:hover {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25) 0%, rgba(13, 110, 253, 0.1) 100%);
  border-color: rgba(13, 110, 253, 0.5);
}

.navbar.scrolled .navbar-subsite-pill.pill-blue {
  border-color: rgba(13, 110, 253, 0.4);
}

/* Manufacturers - Teal/Green */
.navbar-subsite-pill.pill-teal {
  color: #00d4aa;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(0, 212, 170, 0.05) 100%);
  border-color: rgba(0, 212, 170, 0.3);
}

.navbar-subsite-pill.pill-teal:hover {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.25) 0%, rgba(0, 212, 170, 0.1) 100%);
  border-color: rgba(0, 212, 170, 0.5);
}

.navbar.scrolled .navbar-subsite-pill.pill-teal {
  border-color: rgba(0, 212, 170, 0.4);
}

/* Distributors - Orange/Yellow */
.navbar-subsite-pill.pill-orange {
  color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

.navbar-subsite-pill.pill-orange:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.5);
}

.navbar.scrolled .navbar-subsite-pill.pill-orange {
  border-color: rgba(245, 158, 11, 0.4);
}

/* CPG - Purple */
.navbar-subsite-pill.pill-purple {
  color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

.navbar-subsite-pill.pill-purple:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-color: rgba(139, 92, 246, 0.5);
}

.navbar.scrolled .navbar-subsite-pill.pill-purple {
  border-color: rgba(139, 92, 246, 0.4);
}

/* Responsive pill on small screens */
@media (max-width: 991.98px) {
  .navbar-subsite-pill {
    padding: 0.3rem 0.7rem;
    margin-left: auto;
    margin-right: 0.75rem;
    font-size: 0.6rem;
    border-width: 1.5px;
  }
  .navbar-subsite-pill i {
    font-size: 0.75rem;
  }
  .navbar-subsite-pill span {
    display: inline;
  }
  /* Ensure border colors are visible on mobile */
  .navbar-subsite-pill.pill-blue {
    border-color: rgba(13, 110, 253, 0.7);
  }
  .navbar-subsite-pill.pill-teal {
    border-color: rgba(0, 212, 170, 0.7);
  }
  .navbar-subsite-pill.pill-orange {
    border-color: rgba(245, 158, 11, 0.7);
  }
  .navbar-subsite-pill.pill-purple {
    border-color: rgba(139, 92, 246, 0.7);
  }
}
.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--ciq-transition-fast);
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active {
  color: var(--ciq-white) !important;
}

.navbar.scrolled .nav-link {
  color: var(--ciq-dark) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--ciq-primary) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 46, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: var(--ciq-transition);
  border: none;
}

.btn-primary {
  background: var(--ciq-gradient-primary);
  color: var(--ciq-white);
  box-shadow: 0 4px 15px rgba(var(--ciq-primary-rgb), 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--ciq-primary-rgb), 0.5);
  background: var(--ciq-gradient-primary);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--ciq-white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--ciq-white);
  color: var(--ciq-dark);
  border-color: var(--ciq-white);
}

.btn-outline-primary {
  border: 2px solid var(--ciq-primary);
  color: var(--ciq-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--ciq-primary);
  color: var(--ciq-white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--ciq-gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(78, 186, 107, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: scale(2);
  opacity: 0;
  animation: heroGridZoom 5s cubic-bezier(0.05, 0.8, 0.2, 1) forwards, heroGridScroll 60s linear infinite;
}

@keyframes heroGridZoom {
  0% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes heroGridScroll {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 960px 320px;
  }
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--ciq-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero .text-gradient {
  background: linear-gradient(135deg, #4eba6b 0%, #00d4aa 50%, #4eba6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.35rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons .btn {
  flex: 1;
  text-align: center;
}

.hero-chat-demo {
  margin-top: 1rem;
}

.hero-chat-demo .chat-demo-btn {
  width: 100%;
}

.hero-image {
  position: relative;
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: var(--ciq-shadow-lg), var(--ciq-shadow-glow);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ciq-accent);
  line-height: 1;
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* Floating Elements Animation */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
/* Section Styles */
section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
  background: var(--ciq-bg);
  overflow: hidden;
}

section.bg-light-custom {
  background: var(--ciq-bg-alt);
}

/* Contact page specific fixes */
.contact-form,
.contact-info-card,
.bg-light-custom.p-4 {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--ciq-text);
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  background: rgba(var(--ciq-primary-rgb), 0.1);
  color: var(--ciq-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-label-light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Feature Cards */
.feature-card {
  background: var(--ciq-card-bg);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: var(--ciq-transition);
  border: 1px solid var(--ciq-border);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ciq-shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--ciq-gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 1.75rem;
  color: #ffffff;
}

.feature-card h3 {
  color: var(--ciq-text);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Industry Solutions */
.solution-card {
  background: var(--ciq-card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ciq-shadow-md);
  transition: var(--ciq-transition);
  height: 100%;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--ciq-shadow-lg);
}

.solution-header {
  background: var(--ciq-gradient-primary);
  padding: 2rem;
  text-align: center;
}

.solution-header i {
  font-size: 3rem;
  color: var(--ciq-white);
  margin-bottom: 1rem;
}

.solution-header h3 {
  color: var(--ciq-white);
  margin-bottom: 0;
}

.solution-body {
  padding: 2rem;
}

.solution-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-body li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ciq-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ciq-text);
}

.solution-body li:last-child {
  border-bottom: none;
}

.solution-body li i {
  color: var(--ciq-accent);
  font-size: 1rem;
}

/* Stats Section */
.stats-section {
  background: var(--ciq-gradient-dark);
  color: var(--ciq-white);
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--ciq-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--ciq-card-bg);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--ciq-shadow-sm);
  position: relative;
  border: 1px solid var(--ciq-border);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: rgba(var(--ciq-primary-rgb), 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-content {
  font-size: 1.05rem;
  color: var(--ciq-text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ciq-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--ciq-text);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--ciq-text-muted);
}

/* Pricing Table */
.pricing-table {
  background: var(--ciq-card-bg);
  border-radius: 16px;
  overflow: hidden;
}

.pricing-table thead {
  background: var(--ciq-dark);
  color: white;
}

.pricing-table th,
.pricing-table td {
  color: var(--ciq-text);
}

[data-theme=dark] .pricing-table thead {
  background: var(--ciq-bg-alt);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .pricing-table thead {
    background: var(--ciq-bg-alt);
  }
}
/* Pricing Section */
.pricing-card {
  background: var(--ciq-card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--ciq-shadow-md);
  transition: var(--ciq-transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ciq-border);
}

.pricing-card.featured {
  border: 2px solid var(--ciq-primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: 1.5rem;
  right: -2rem;
  background: var(--ciq-gradient-primary);
  color: #ffffff;
  padding: 0.35rem 3rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ciq-shadow-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ciq-border);
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ciq-text);
  margin-bottom: 0.5rem;
}

.pricing-description {
  color: var(--ciq-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ciq-text);
}

.pricing-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--ciq-text);
  line-height: 1;
}

.pricing-period {
  color: var(--ciq-text-muted);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ciq-text);
}

.pricing-features li i {
  color: var(--ciq-primary);
  font-size: 1.1rem;
}

.pricing-features li.disabled {
  color: var(--ciq-text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.pricing-features li.disabled i {
  color: var(--ciq-text-muted);
}

/* Contact Form */
.contact-form {
  background: var(--ciq-card-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--ciq-shadow-lg);
  border: 1px solid var(--ciq-border);
}

.form-label {
  font-weight: 600;
  color: var(--ciq-text);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  padding: 0.875rem 1rem;
  border: 2px solid var(--ciq-border);
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--ciq-transition-fast);
  background-color: var(--ciq-card-bg);
  color: var(--ciq-text);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ciq-primary);
  box-shadow: 0 0 0 4px rgba(var(--ciq-primary-rgb), 0.1);
}

.form-control::-moz-placeholder {
  color: var(--ciq-secondary);
  opacity: 0.7;
}

.form-control::placeholder {
  color: var(--ciq-secondary);
  opacity: 0.7;
}

.captcha-input {
  max-width: 120px;
}

@media (max-width: 374.98px) {
  .captcha-input {
    max-width: 100%;
  }
}
/* Contact Info */
.contact-info-card {
  background: var(--ciq-gradient-dark);
  border-radius: 20px;
  padding: 3rem;
  color: var(--ciq-white);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  font-size: 1.25rem;
  color: var(--ciq-accent);
}

.contact-info-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-info-value a {
  color: var(--ciq-white);
  text-decoration: none;
  transition: var(--ciq-transition-fast);
}

.contact-info-value a:hover {
  color: var(--ciq-accent);
}

/* CTA Section */
.cta-section {
  background: var(--ciq-gradient-primary);
  color: var(--ciq-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, 50px);
  }
}
.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--ciq-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-section .btn-light {
  background: var(--ciq-white);
  color: var(--ciq-primary);
  font-weight: 600;
}

.cta-section .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--ciq-darker);
  color: var(--ciq-white);
  padding: 5rem 0 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
}

.footer-logo-full {
  height: 36px;
  width: auto;
  transition: var(--ciq-transition);
}

.footer-logo-full:hover {
  opacity: 0.8;
}

.footer-brand span span {
  background: var(--ciq-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ciq-white);
  transition: var(--ciq-transition-fast);
}

.footer-social a:hover {
  background: var(--ciq-primary);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ciq-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--ciq-transition-fast);
}

.footer-links a:hover {
  color: var(--ciq-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--ciq-transition-fast);
}

.footer-legal a:hover {
  color: var(--ciq-white);
}

/* Page Headers */
.page-header {
  background: var(--ciq-gradient-hero);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header h1 {
  color: var(--ciq-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header-bg {
  background-color: var(--ciq-dark);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
}

.page-header-bg .lead {
  max-width: none;
}

.page-header-bg::before {
  background: linear-gradient(135deg, rgba(0, 15, 8, 0.95), rgba(0, 30, 15, 0.93));
  opacity: 1;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #4ade80 40%, #22d3ee 70%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: left;
  display: inline-block;
}

.hero-checklist li {
  color: #ffffff;
  padding: 0.4rem 0;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.hero-checklist li i {
  color: #4ade80;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-stat {
  background: none !important;
  -webkit-text-fill-color: white !important;
}

/* Meet IQ Hero */
.iq-hero {
  background: var(--ciq-gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.iq-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(78, 186, 107, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: heroGridScroll 60s linear infinite;
}

.iq-hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(78, 186, 107, 0.15) 0%, transparent 70%);
  animation: iqGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes iqGlow {
  0% {
    opacity: 0.5;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(5%, -5%) scale(1.1);
  }
}
.iq-hero .container {
  position: relative;
  z-index: 1;
}

.iq-hero-title {
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #4ade80 40%, #22d3ee 70%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.iq-hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.iq-hero-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.iq-hero-img {
  max-width: 420px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(78, 186, 107, 0.2);
}

@media (max-width: 991.98px) {
  .iq-hero {
    min-height: auto;
    padding: 100px 0 3rem;
    text-align: center;
  }
  .iq-hero-img {
    max-width: 280px;
  }
}
@media (max-width: 991.98px) {
  .hero-stat {
    font-size: clamp(1.25rem, 3.5vw, 1.75rem) !important;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: #ffffff;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
/* Features Page Specific */
.feature-detail {
  padding: 4rem 0;
  border-bottom: 1px solid var(--ciq-border);
  scroll-margin-top: 80px;
}

.feature-detail:last-child {
  border-bottom: none;
}

.feature-detail.reverse {
  background: var(--ciq-bg-alt);
}

.feature-detail-icon {
  width: 80px;
  height: 80px;
  background: var(--ciq-gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-detail-icon i {
  font-size: 2.5rem;
  color: var(--ciq-white);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
}

.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ciq-text);
}

.feature-list li i {
  color: var(--ciq-accent);
}

/* About Page Specific */
.team-card {
  text-align: center;
  padding: 2rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ciq-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: var(--ciq-white);
}

.team-name {
  font-weight: 700;
  color: var(--ciq-text);
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--ciq-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.value-card {
  background: var(--ciq-card-bg);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--ciq-shadow-sm);
  transition: var(--ciq-transition);
  border: 1px solid var(--ciq-border);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ciq-shadow-md);
}

.value-card h3 {
  color: var(--ciq-text);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.value-card p {
  color: var(--ciq-text-muted);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(var(--ciq-primary-rgb), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon i {
  font-size: 1.5rem;
  color: var(--ciq-primary);
}

/* AI Assistant Section */
.ai-assistant-section {
  background: var(--ciq-gradient-hero);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.ai-assistant-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.ai-assistant-section .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.ai-assistant-section h2 {
  color: #ffffff;
}

.ai-assistant-section .lead {
  color: rgba(255, 255, 255, 0.85);
}

.ai-features-list {
  margin-top: 2rem;
}

.ai-feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--ciq-card-bg);
  border-radius: 12px;
  border: 1px solid var(--ciq-border);
  transition: var(--ciq-transition);
}

.ai-feature-item:hover {
  background: var(--ciq-bg-alt);
  transform: translateX(5px);
}

.ai-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--ciq-gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.ai-feature-icon i {
  font-size: 1.25rem;
  color: #ffffff;
}

.ai-feature-content h3 {
  color: var(--ciq-text);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.ai-feature-content p {
  color: var(--ciq-text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* AI Chat Preview */
.ai-assistant-preview {
  position: relative;
  z-index: 1;
}

.ai-chat-window {
  background: var(--ciq-card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ciq-shadow-lg), 0 0 60px rgba(var(--ciq-primary-rgb), 0.2);
  border: 1px solid var(--ciq-border);
}

.ai-chat-header {
  background: var(--ciq-gradient-primary);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ai-bot-avatar {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-bot-avatar i {
  font-size: 1.5rem;
  color: #ffffff;
}

.ai-bot-info {
  display: flex;
  flex-direction: column;
}

.ai-bot-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.ai-bot-status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.ai-chat-body {
  padding: 1.5rem;
  max-height: 380px;
  overflow-y: auto;
}

.ai-message {
  margin-bottom: 1rem;
  animation: fadeInUp 0.3s ease-out;
}

.ai-message.bot .ai-message-content {
  background: var(--ciq-bg-alt);
  color: var(--ciq-text);
  border-radius: 16px 16px 16px 4px;
  padding: 1rem;
  max-width: 85%;
  border: 1px solid var(--ciq-border);
}

.ai-message.user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ai-message.user .ai-message-content {
  background: var(--ciq-gradient-primary);
  color: #ffffff;
  border-radius: 16px 16px 4px 16px;
  padding: 1rem;
  max-width: 85%;
}

.ai-message-content p {
  margin-bottom: 0.5rem;
  color: inherit;
}

.ai-message-content p:last-child {
  margin-bottom: 0;
}

.ai-message-content ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}

.ai-message-content ul li {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.ai-message-time {
  font-size: 0.75rem;
  color: var(--ciq-text-muted);
  margin-top: 0.25rem;
}

.ai-typing {
  display: flex;
  gap: 4px;
  padding: 0.5rem;
}

.ai-typing span {
  width: 8px;
  height: 8px;
  background: var(--ciq-primary);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}

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

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

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}
/* Mobile Access Section */
.mobile-section {
  background: var(--ciq-bg);
  overflow: hidden;
}

.mobile-features {
  margin-top: 2rem;
}

.mobile-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.mobile-feature > i {
  width: 40px;
  height: 40px;
  background: rgba(var(--ciq-primary-rgb), 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ciq-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mobile-feature h5 {
  color: var(--ciq-text);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.mobile-feature p {
  color: var(--ciq-text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.app-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--ciq-card-bg);
  border: 1px solid var(--ciq-border);
  border-radius: 10px;
  color: var(--ciq-text);
  text-decoration: none;
  transition: var(--ciq-transition);
}

.app-badge:hover {
  background: var(--ciq-primary);
  border-color: var(--ciq-primary);
  color: #ffffff;
}

.app-badge i {
  font-size: 1.5rem;
}

.app-badge span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Mobile Preview Container */
.mobile-preview-container {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
  padding: 2rem;
}

/* Hero Visual Container */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  padding-left: 20px;
}

/* Phone Mockup */
.phone-mockup {
  width: 220px;
  height: 456px;
  background: linear-gradient(145deg, var(--ciq-bg-alt), var(--ciq-darker));
  border-radius: 32px;
  padding: 10px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
  animation: floating 4s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--ciq-card-bg);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen > img,
.tablet-screen > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

/* Theme-aware screenshot toggling */
.theme-dark-img {
  display: none;
}

.theme-light-img {
  display: block;
}

[data-theme=dark] .theme-dark-img {
  display: block;
}

[data-theme=dark] .theme-light-img {
  display: none;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ciq-text);
}

.phone-status-icons {
  display: flex;
  gap: 0.25rem;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--ciq-gradient-primary);
  color: #ffffff;
  font-weight: 600;
}

.phone-logo {
  width: 24px;
  height: 24px;
}

.phone-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.phone-greeting {
  margin-bottom: 1rem;
}

.phone-greeting h6 {
  color: var(--ciq-text);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.phone-greeting p {
  color: var(--ciq-text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.phone-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: var(--ciq-bg-alt);
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--ciq-text);
  gap: 0.25rem;
}

.quick-action i {
  font-size: 1.25rem;
  color: var(--ciq-primary);
}

.phone-card {
  background: var(--ciq-bg-alt);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--ciq-border);
}

.phone-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.phone-card-title {
  font-size: 0.7rem;
  color: var(--ciq-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phone-card-badge {
  font-size: 0.65rem;
  background: rgba(var(--ciq-primary-rgb), 0.15);
  color: var(--ciq-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-weight: 600;
}

.phone-card-body strong {
  display: block;
  color: var(--ciq-text);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.phone-card-body p {
  font-size: 0.75rem;
  color: var(--ciq-text-muted);
  margin: 0;
}

.phone-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--ciq-gradient-primary);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
  cursor: pointer;
}

.phone-chatbot-prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--ciq-bg-alt);
  border-radius: 25px;
  color: var(--ciq-text-muted);
  font-size: 0.8rem;
  border: 1px solid var(--ciq-border);
}

.phone-chatbot-prompt i {
  color: var(--ciq-primary);
}

.phone-nav-bar {
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 1rem;
  background: var(--ciq-bg-alt);
  border-top: 1px solid var(--ciq-border);
}

.phone-nav-item {
  font-size: 1.25rem;
  color: var(--ciq-text-muted);
  padding: 0.25rem;
}

.phone-nav-item.active {
  color: var(--ciq-primary);
}

/* Tablet Mockup */
.tablet-mockup {
  position: absolute;
  right: -40px;
  bottom: -20px;
  width: 480px;
  height: 340px;
  background: linear-gradient(145deg, var(--ciq-bg-alt), var(--ciq-darker));
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 3;
  animation: floating 4s ease-in-out infinite;
  animation-delay: 0.5s;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background: var(--ciq-card-bg);
  border-radius: 14px;
  overflow: hidden;
}

.tablet-header {
  background: var(--ciq-gradient-primary);
  padding: 0.5rem 1rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
}

.tablet-content {
  padding: 1rem;
}

.tablet-stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.tablet-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ciq-primary);
}

.tablet-stat-label {
  font-size: 0.75rem;
  color: var(--ciq-text-muted);
}

.tablet-chart {
  height: 80px;
  background: linear-gradient(90deg, rgba(var(--ciq-primary-rgb), 0.1) 0%, rgba(var(--ciq-primary-rgb), 0.3) 50%, rgba(var(--ciq-primary-rgb), 0.1) 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.tablet-chart::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--ciq-primary), transparent);
  opacity: 0.3;
  clip-path: polygon(0% 100%, 10% 70%, 25% 80%, 40% 50%, 55% 60%, 70% 30%, 85% 40%, 100% 20%, 100% 100%);
}

/* Enhanced Phone Mockup Elements */
.phone-card-label {
  font-size: 0.7rem;
  color: var(--ciq-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.phone-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ciq-text);
  line-height: 1.2;
}

.phone-card-value-sm {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ciq-text);
  line-height: 1.2;
}

.phone-card-change {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.phone-card-change.positive {
  color: var(--ciq-primary);
}

.phone-card-change.negative {
  color: #ef4444;
}

.phone-card-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.phone-card-mini {
  flex: 1;
  background: var(--ciq-bg-alt);
  border-radius: 10px;
  padding: 0.6rem;
  border: 1px solid var(--ciq-border);
}

.phone-section-label {
  font-size: 0.65rem;
  color: var(--ciq-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.phone-brand-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phone-brand-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.5rem;
  font-size: 0.75rem;
}

.brand-name {
  color: var(--ciq-text);
  font-weight: 500;
}

.brand-value {
  color: var(--ciq-primary);
  font-weight: 600;
  text-align: right;
}

.brand-bar {
  grid-column: 1/-1;
  height: 4px;
  background: var(--ciq-border);
  border-radius: 2px;
  overflow: hidden;
}

.brand-bar-fill {
  height: 100%;
  background: var(--ciq-gradient-primary);
  border-radius: 2px;
}

/* Enhanced Tablet - Channel Grid */
.tablet-channel-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tablet-channel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: var(--ciq-bg-alt);
  border-radius: 8px;
  border: 1px solid var(--ciq-border);
}

.channel-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ciq-gradient-primary);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
}

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.7rem;
  color: var(--ciq-text-muted);
}

.channel-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ciq-primary);
}

/* Hero iPhone-style Notification */
.hero-notification {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
  z-index: 4;
  animation: notificationSlide 0.5s ease-out 1s both, floating 4s ease-in-out 1.5s infinite;
  max-width: 280px;
  min-width: 240px;
}

@keyframes notificationSlide {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-notification-iq {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
}

.hero-notification-body {
  flex: 1;
  min-width: 0;
}

.hero-notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.1rem;
}

.hero-notification-app {
  font-size: 0.7rem;
  font-weight: 600;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hero-notification-time {
  font-size: 0.65rem;
  color: #8e8e93;
}

.hero-notification-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1c1c1e;
  line-height: 1.2;
}

.hero-notification-text {
  font-size: 0.75rem;
  color: #3a3a3c;
  line-height: 1.3;
}

[data-theme=dark] .hero-notification {
  background: rgba(44, 44, 46, 0.85);
}

[data-theme=dark] .hero-notification-title {
  color: #f5f5f7;
}

[data-theme=dark] .hero-notification-text {
  color: #a1a1a6;
}

[data-theme=dark] .hero-notification-app,
[data-theme=dark] .hero-notification-time {
  color: #98989d;
}

@media (max-width: 991.98px) {
  .mobile-preview-container {
    min-height: 500px;
  }
  .hero {
    min-height: auto;
    padding: 100px 0 4rem;
  }
  /* Hide phone and notification on mobile, show tablet instead */
  .phone-mockup,
  .hero-float-card,
  .hero-notification {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
  }
  .tablet-mockup {
    position: relative;
    right: auto;
    bottom: auto;
    width: 85%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 4/3;
    margin: 0 auto;
    animation: none;
  }
  .hero-visual {
    min-height: auto;
    padding-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
  }
  .hero .scroll-indicator {
    display: none;
  }
  /* Hero stats should stack earlier for tablet */
  .hero-stats {
    gap: 2rem;
  }
}
@media (max-width: 767.98px) {
  .mobile-preview-container {
    min-height: 350px;
  }
  .tablet-mockup {
    width: 90%;
    max-width: none;
  }
}
/* Utility Classes */
.bg-light-custom {
  background: var(--ciq-bg-alt);
}

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

.cta-section .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ciq-transition);
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.navbar.scrolled .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ciq-text);
}

.navbar.scrolled .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Dropdown Menu Styles */
.navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.navbar .dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: var(--ciq-dark);
  font-weight: 500;
  transition: var(--ciq-transition-fast);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: rgba(78, 186, 107, 0.1);
  color: var(--ciq-primary);
}

.navbar .dropdown-item i {
  color: var(--ciq-primary);
}

/* Dark mode dropdown styles */
[data-theme=dark] .navbar .dropdown-menu {
  background: rgba(26, 26, 46, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme=dark] .navbar .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
}

[data-theme=dark] .navbar .dropdown-item:hover,
[data-theme=dark] .navbar .dropdown-item:focus {
  background: rgba(78, 186, 107, 0.15);
  color: var(--ciq-primary);
}

[data-theme=dark] .navbar .dropdown-item i {
  color: var(--ciq-primary);
}

/* Scrolled navbar dropdown (light mode) */
.navbar.scrolled .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
}

/* Dark mode scrolled navbar dropdown */
[data-theme=dark] .navbar.scrolled .dropdown-menu {
  background: rgba(26, 26, 46, 0.98);
}

/* Login button - green outline that works on dark backgrounds */
.navbar .btn-login {
  border-color: var(--ciq-primary-light);
  color: var(--ciq-primary-light);
  background: transparent;
}

.navbar .btn-login:hover {
  background: var(--ciq-primary);
  color: #ffffff;
  border-color: var(--ciq-primary);
}

/* Scrolled state - standard green on light background */
.navbar.scrolled .btn-login {
  border-color: var(--ciq-primary);
  color: var(--ciq-primary);
}

.navbar.scrolled .btn-login:hover {
  background: var(--ciq-primary);
  color: #ffffff;
}

/* Dark mode - bright green on dark background */
[data-theme=dark] .navbar .btn-login {
  border-color: var(--ciq-primary-light);
  color: var(--ciq-primary-light);
}

[data-theme=dark] .navbar.scrolled .btn-login {
  border-color: var(--ciq-primary-light);
  color: var(--ciq-primary-light);
}

[data-theme=dark] .navbar.scrolled .btn-login:hover {
  background: var(--ciq-primary);
  color: #ffffff;
  border-color: var(--ciq-primary);
}

/* Footer theme toggle */
.footer-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--ciq-transition);
}

.footer-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.footer-theme-toggle i {
  font-size: 1rem;
}

[data-theme=dark] .navbar.scrolled {
  background: rgba(15, 15, 26, 0.98) !important;
}

[data-theme=dark] .navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme=dark] .navbar.scrolled .nav-link:hover,
[data-theme=dark] .navbar.scrolled .nav-link.active {
  color: var(--ciq-primary) !important;
}

[data-theme=dark] .navbar.scrolled .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Dark mode: always show white logo regardless of scroll state */
[data-theme=dark] .navbar-logo-white {
  display: block !important;
}

[data-theme=dark] .navbar-logo-dark {
  display: none !important;
}

[data-theme=dark] .navbar.scrolled .navbar-logo-white {
  display: block !important;
}

[data-theme=dark] .navbar.scrolled .navbar-logo-dark {
  display: none !important;
}

.mb-6 {
  margin-bottom: 5rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero {
    padding-top: 100px;
    text-align: center;
  }
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image {
    margin-top: 3rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  .subsite-pill {
    display: none;
  }
  .navbar-collapse {
    background: rgba(26, 26, 46, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  .navbar.scrolled .navbar-collapse {
    background: var(--ciq-card-bg);
    box-shadow: var(--ciq-shadow-md);
  }
  [data-theme=dark] .navbar.scrolled .navbar-collapse {
    background: rgba(26, 26, 46, 0.98);
  }
}
@media (max-width: 767.98px) {
  section {
    padding: 4rem 0;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .hero-stat {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }
  .contact-form {
    padding: 2rem;
  }
  .pricing-card {
    padding: 2rem;
  }
  /* Stack btn-lg buttons vertically on mobile */
  .d-flex.gap-3.flex-wrap .btn-lg,
  .cta-content .btn-lg {
    width: 100%;
  }
  .d-flex.gap-3.flex-wrap,
  .cta-content .d-flex {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Animation on Scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   Integration Buttons (Glass Effect)
   ===================================================== */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-shiny {
  position: relative;
  overflow: hidden;
}

.glass-shiny::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.glass-shiny:hover::before {
  left: 100%;
}

.btn-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ciq-text);
  transition: all 0.3s ease;
}

.btn-logo img {
  flex-shrink: 0;
}

.btn-logo:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ciq-white);
  transform: translateY(-2px);
}

.btn-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icon-xs {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
  object-fit: contain;
}

/* Spacing utilities */
.mb-7 {
  margin-bottom: 3rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.my-xl-7 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 1200px) {
  .my-xl-7 {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}
/* Integration Icons */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.integration-item {
  width: 80px;
  height: 80px;
  background: var(--ciq-card-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ciq-shadow-sm);
  transition: var(--ciq-transition);
  border: 1px solid var(--ciq-border);
}

.integration-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--ciq-shadow-md);
}

.integration-item i {
  font-size: 2rem;
  color: var(--ciq-text);
}

.integration-item img {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: var(--ciq-transition);
}

.integration-item:hover img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* PNG logos need different sizing for aspect ratio */
.integration-item img[src$=".png"] {
  width: auto;
  height: 28px;
  max-width: 56px;
}

/* FAQ Accordion */
.faq-item {
  background: var(--ciq-card-bg);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--ciq-shadow-sm);
  border: 1px solid var(--ciq-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ciq-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--ciq-transition-fast);
}

.faq-question:hover {
  color: var(--ciq-primary);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.open {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 0;
}

/* Dashboard Preview */
.dashboard-preview {
  background: var(--ciq-card-bg);
  border-radius: 16px;
  box-shadow: var(--ciq-shadow-lg);
  overflow: hidden;
  border: 1px solid var(--ciq-border);
}

.dashboard-header {
  background: var(--ciq-gradient-dark);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.dashboard-dot.red {
  background: #ff5f57;
}

.dashboard-dot.yellow {
  background: #ffbd2e;
}

.dashboard-dot.green {
  background: #28c840;
}

.dashboard-body {
  padding: 1.5rem;
  background: var(--ciq-bg-alt);
  min-height: 300px;
}

.dashboard-sidebar {
  background: var(--ciq-card-bg);
  border-radius: 8px;
  padding: 1rem;
  height: 100%;
  border: 1px solid var(--ciq-border);
}

.dashboard-nav-item {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  color: var(--ciq-text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-nav-item.active {
  background: rgba(var(--ciq-primary-rgb), 0.1);
  color: var(--ciq-primary);
}

.dashboard-content {
  background: var(--ciq-card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--ciq-border);
}

.dashboard-metric {
  text-align: center;
  padding: 1rem;
}

.dashboard-metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ciq-text);
}

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

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(var(--ciq-primary-rgb), 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(var(--ciq-primary-rgb), 0.5), 0 0 60px rgba(0, 212, 170, 0.3);
  }
}
@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(var(--ciq-primary-rgb), 0.3);
  }
  50% {
    border-color: rgba(0, 212, 170, 0.5);
  }
}
/* Glassmorphism effects */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced card hover effects */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, transparent 50%, rgba(var(--ciq-primary-rgb), 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--ciq-transition);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

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

/* Gradient border animation */
.gradient-border {
  position: relative;
}

.gradient-border::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--ciq-gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Text shimmer effect for accents */
.text-shimmer {
  background: linear-gradient(90deg, var(--ciq-primary) 0%, var(--ciq-accent) 25%, var(--ciq-primary) 50%, var(--ciq-accent) 75%, var(--ciq-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Pulsing glow for CTA buttons */
.btn-primary.btn-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Enhanced dashboard preview */
.dashboard-preview {
  position: relative;
  animation: scaleIn 0.6s ease-out;
}

.dashboard-preview::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--ciq-gradient-primary);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
}

/* Staggered animation delays for grid items */
.fade-in-up:nth-child(1) {
  transition-delay: 0ms;
}

.fade-in-up:nth-child(2) {
  transition-delay: 100ms;
}

.fade-in-up:nth-child(3) {
  transition-delay: 200ms;
}

.fade-in-up:nth-child(4) {
  transition-delay: 300ms;
}

.fade-in-up:nth-child(5) {
  transition-delay: 400ms;
}

.fade-in-up:nth-child(6) {
  transition-delay: 500ms;
}

.fade-in-up:nth-child(7) {
  transition-delay: 600ms;
}

.fade-in-up:nth-child(8) {
  transition-delay: 700ms;
}

/* Enhanced integration icons */
.integration-item {
  position: relative;
  overflow: hidden;
}

.integration-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: var(--ciq-gradient-primary);
  border-radius: 16px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: var(--ciq-transition);
}

.integration-item:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.integration-item:hover i {
  color: var(--ciq-white);
  position: relative;
  z-index: 1;
}

/* Floating animation variants */
.floating-slow {
  animation: floating 4s ease-in-out infinite;
}

.floating-fast {
  animation: floating 2s ease-in-out infinite;
}

.floating-delayed {
  animation: floating 3s ease-in-out infinite;
  animation-delay: 1s;
}

/* Hero content animations */
.hero-content h1 {
  animation: fadeInUp 0.8s ease-out;
}

.hero-content .lead {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-image {
  animation: fadeInRight 0.8s ease-out 0.4s both;
}

/* Section label styling enhancement */
.section-label {
  position: relative;
  overflow: hidden;
}

.section-label::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: labelShimmer 3s ease-in-out infinite;
}

@keyframes labelShimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-label::after {
    animation: none !important;
    display: none;
  }
}
/* Enhanced testimonial cards */
.testimonial-card {
  transition: var(--ciq-transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ciq-shadow-lg);
}

.testimonial-avatar {
  transition: var(--ciq-transition);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1);
}

/* Value card icon animation */
.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--ciq-gradient-primary);
}

.value-card:hover .value-icon i {
  color: var(--ciq-white);
}

.value-icon {
  transition: var(--ciq-transition);
}

/* Solution card header icon animation */
.solution-header i {
  transition: var(--ciq-transition);
}

.solution-card:hover .solution-header i {
  transform: scale(1.2);
}

/* Smooth scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: floating 2s ease-in-out infinite;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--ciq-transition);
}

.scroll-indicator a:hover {
  color: var(--ciq-white);
}

.scroll-indicator i {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* Stats counter animation ready class */
.stat-number.counting {
  transition: all 0.3s ease-out;
}

/* Page load animation */
body {
  animation: fadeInUp 0.5s ease-out;
}

/* Improved focus states for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible {
  outline: 2px solid var(--ciq-accent);
  outline-offset: 2px;
}

/* Loading state for buttons */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Particle background for hero (CSS-only) */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(ellipse at 20% 80%, rgba(var(--ciq-primary-rgb), 0.12) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(0, 212, 170, 0.12) 0%, transparent 50%), radial-gradient(ellipse at 40% 40%, rgba(var(--ciq-primary-rgb), 0.06) 0%, transparent 30%), radial-gradient(ellipse at 60% 60%, rgba(0, 212, 170, 0.06) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
  animation: heroOrbDrift 30s ease-in-out infinite alternate;
  background-size: 120% 120%;
  background-position: center;
}

@keyframes heroOrbDrift {
  0% {
    background-position: 0% 0%;
  }
  33% {
    background-position: 5% -3%;
  }
  66% {
    background-position: -3% 4%;
  }
  100% {
    background-position: 2% -2%;
  }
}
/* Ensure hero content stays above the particle effect */
.hero .container {
  position: relative;
  z-index: 1;
}

/* Animated chart bars */
.chart-bar {
  transition: height 0.6s ease-out;
  animation: growUp 1s ease-out;
  border-radius: 2px;
}

.chart-bar-primary {
  background: linear-gradient(180deg, var(--ciq-primary) 0%, rgba(var(--ciq-primary-rgb), 0.5) 100%);
}

.chart-bar-accent {
  background: linear-gradient(180deg, var(--ciq-accent) 0%, rgba(45, 143, 78, 0.5) 100%);
}

@keyframes growUp {
  from {
    height: 0 !important;
  }
}
.chart-bar:hover {
  opacity: 0.8;
  transform: scaleY(1.05);
  transform-origin: bottom;
}

/* Dashboard notification dot */
.notification-dot {
  width: 8px;
  height: 8px;
  background: var(--ciq-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}
/* Mini chart line for metrics */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}

.mini-chart span {
  width: 3px;
  background: var(--ciq-accent);
  border-radius: 1px;
  animation: miniGrow 1.5s ease-out;
}

@keyframes miniGrow {
  from {
    height: 0;
  }
}
/* Typing cursor effect for AI examples */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--ciq-primary);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Card shine effect on hover */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  transform: rotate(30deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.shine-effect:hover::after {
  animation: shine 0.6s ease forwards;
}

@keyframes shine {
  from {
    left: -50%;
    opacity: 1;
  }
  to {
    left: 150%;
    opacity: 0;
  }
}
/* Improved form styling */
.form-control:hover,
.form-select:hover {
  border-color: var(--ciq-primary);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ciq-primary);
  box-shadow: 0 0 0 4px rgba(var(--ciq-primary-rgb), 0.15);
  background-color: var(--ciq-card-bg);
  color: var(--ciq-text);
}

/* Dark mode form control placeholder */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .form-control::-moz-placeholder {
    color: var(--ciq-text-muted);
    opacity: 0.7;
  }
  :root:not([data-theme=light]) .form-control::placeholder {
    color: var(--ciq-text-muted);
    opacity: 0.7;
  }
  :root:not([data-theme=light]) .form-select option {
    background-color: var(--ciq-card-bg);
    color: var(--ciq-text);
  }
}
[data-theme=dark] .form-control::-moz-placeholder {
  color: var(--ciq-text-muted);
  opacity: 0.7;
}
[data-theme=dark] .form-control::placeholder {
  color: var(--ciq-text-muted);
  opacity: 0.7;
}

[data-theme=dark] .form-select option {
  background-color: var(--ciq-card-bg);
  color: var(--ciq-text);
}

/* Floating label effect */
.form-floating > .form-control:not(:-moz-placeholder) ~ label {
  color: var(--ciq-primary);
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--ciq-primary);
}

/* Success state */
.form-control.is-valid {
  border-color: var(--ciq-accent);
}

.form-control.is-valid:focus {
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.15);
}

/* =====================================================
   ACCESSIBILITY: Reduced Motion Support
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .floating,
  .floating-slow,
  .floating-fast,
  .floating-delayed {
    animation: none !important;
  }
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-content h1,
  .hero-content .lead,
  .hero-buttons,
  .hero-stats,
  .hero-image {
    animation: none !important;
  }
}
/* =====================================================
   RESPONSIVE: About Stats Mobile Fix (<576px)
   ===================================================== */
@media (max-width: 575.98px) {
  .stat-item.p-4 {
    padding: 0.75rem !important;
  }
  .stat-label {
    font-size: 0.8rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}
/* =====================================================
   RESPONSIVE: Very Small Devices (<375px)
   ===================================================== */
@media (max-width: 374.98px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .hero {
    padding-top: 80px;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .hero-stat-number {
    font-size: 1.75rem;
  }
  .hero-cta-group {
    max-width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2.5rem;
  }
  .feature-card,
  .solution-card,
  .pricing-card,
  .testimonial-card {
    padding: 1.25rem;
  }
  .stat-item.p-4 {
    padding: 0.5rem !important;
  }
  .footer {
    padding: 3rem 0 1.5rem;
  }
  .footer-legal {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .contact-form {
    padding: 1.25rem;
  }
  .phone-mockup {
    width: 160px;
    height: 331px;
  }
  .mobile-preview-container {
    min-height: 400px;
    padding: 1rem;
  }
}
/* =====================================================
   RESPONSIVE: Hero Stats Tablet Fix (768-991px)
   ===================================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
  }
  .hero-stat {
    flex: 0 0 auto;
    min-width: 120px;
  }
}
/* =====================================================
   TOUCH TARGETS: Minimum 44x44px for accessibility
   ===================================================== */
.nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-links a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

.footer-social a {
  min-width: 44px;
  min-height: 44px;
}

.theme-toggle {
  min-width: 44px;
  min-height: 44px;
}

.faq-question {
  min-height: 44px;
}

.app-badge {
  min-height: 44px;
}

/* =====================================================
   FIX: Horizontal Overflow Root Cause
   ===================================================== */
/* Constrain hero pseudo-elements */
.hero::after {
  max-width: 100vw;
  overflow: hidden;
}

/* Prevent floating animations from causing overflow */
.floating,
.phone-mockup,
.tablet-mockup,
.dashboard-preview {
  will-change: transform;
}

/* Ensure mobile preview doesn't overflow */
.mobile-preview-container {
  overflow: hidden;
}

/* Constrain integration grid */
.integration-grid {
  max-width: 100%;
}

/* =====================================================
   RESPONSIVE: Integration Grid Mobile Fix
   ===================================================== */
@media (max-width: 575.98px) {
  .integration-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .integration-item {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
  .integration-item i {
    font-size: 1.5rem;
  }
  .integration-item img {
    width: 28px;
    height: 28px;
  }
  .integration-item img[src$=".png"] {
    width: auto;
    height: 20px;
    max-width: 44px;
  }
}
@media (max-width: 374.98px) {
  .integration-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
  .integration-item {
    width: 50px;
    height: 50px;
  }
  .integration-item i {
    font-size: 1.25rem;
  }
  .integration-item img {
    width: 24px;
    height: 24px;
  }
  .integration-item img[src$=".png"] {
    width: auto;
    height: 16px;
    max-width: 36px;
  }
}
/* =====================================================
   RESPONSIVE: Footer Mobile Layout
   ===================================================== */
@media (max-width: 575.98px) {
  .footer {
    text-align: center;
  }
  .footer-brand {
    display: flex;
    justify-content: center;
  }
  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-links {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  .footer-legal {
    justify-content: center;
    gap: 1.5rem;
  }
}
/* =====================================================
   RESPONSIVE: Page and Contact Elements
   ===================================================== */
@media (max-width: 767.98px) {
  .page-header {
    padding: 7rem 0 3rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .contact-info-card {
    padding: 1.5rem;
  }
  .contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
@media (max-width: 575.98px) {
  .page-header {
    padding: 6rem 0 2rem;
  }
  .contact-form {
    padding: 1.25rem;
  }
  .contact-info-card {
    padding: 1.25rem;
  }
  .feature-card {
    padding: 1.25rem;
  }
  .solution-header i {
    font-size: 2rem;
  }
}
/* =====================================================
   DARK MODE: Additional navbar fixes (CSS-only)
   ===================================================== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .navbar.scrolled {
    background: rgba(15, 15, 26, 0.98) !important;
  }
  :root:not([data-theme=light]) .navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
  }
  :root:not([data-theme=light]) .navbar.scrolled .nav-link:hover,
  :root:not([data-theme=light]) .navbar.scrolled .nav-link.active {
    color: var(--ciq-primary) !important;
  }
  :root:not([data-theme=light]) .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}
/* Progress indicator */
.progress-bar-animated {
  background: var(--ciq-gradient-primary);
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Badge pulse for notifications */
.badge-pulse {
  position: relative;
}

.badge-pulse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: inherit;
  animation: badgePulse 1.5s ease-out infinite;
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
/* Tooltip arrow improved */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: var(--ciq-dark);
  color: var(--ciq-white);
  font-size: 0.875rem;
  white-space: nowrap;
  border-radius: 6px;
  margin-bottom: 8px;
  animation: tooltipFade 0.2s ease-out;
}

@keyframes tooltipFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ciq-gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--ciq-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--ciq-transition);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--ciq-shadow-lg);
}

.back-to-top:active {
  transform: translateY(0);
}

/* =====================================================
   COOKIE CONSENT BANNER
   ===================================================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ciq-card-bg);
  border-top: 1px solid var(--ciq-border);
  padding: 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-consent-content p {
  margin: 0;
  color: var(--ciq-text);
  font-size: 0.875rem;
  flex: 1;
  min-width: 200px;
}

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

.cookie-link {
  color: var(--ciq-primary);
  font-size: 0.875rem;
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }
}
/* Dark mode overrides */
[data-theme=dark] .cookie-consent {
  background: var(--ciq-card-bg);
  border-top-color: var(--ciq-border);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .cookie-consent {
    background: var(--ciq-card-bg);
    border-top-color: var(--ciq-border);
  }
}
/* =====================================================
   AUTH WALL STYLES
   ===================================================== */
.auth-wall {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--ciq-bg) 0%, var(--ciq-bg-alt) 100%);
}

.auth-card {
  background: var(--ciq-card-bg);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--ciq-shadow-lg);
  text-align: center;
}

.auth-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--ciq-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-icon i {
  font-size: 2rem;
  color: white;
}

.auth-card h1 {
  color: var(--ciq-dark);
  margin-bottom: 0.5rem;
}

.auth-card .lead {
  color: var(--ciq-text-muted);
  margin-bottom: 2rem;
}

.auth-form {
  text-align: left;
}

.auth-form .form-label {
  color: var(--ciq-text);
  font-weight: 500;
}

.auth-form .form-control {
  background: var(--ciq-bg);
  border: 1px solid var(--ciq-border);
  color: var(--ciq-text);
  padding: 0.75rem 1rem;
}

.auth-form .form-control:focus {
  background: var(--ciq-bg);
  border-color: var(--ciq-primary);
  box-shadow: 0 0 0 3px rgba(78, 186, 107, 0.15);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ciq-border);
}

.auth-divider span {
  padding: 0 1rem;
  color: var(--ciq-text-muted);
  font-size: 0.875rem;
}

/* =====================================================
   LEGAL CONTENT STYLES
   ===================================================== */
.legal-content {
  line-height: 1.8;
  color: var(--ciq-text);
}

.legal-content h2 {
  color: var(--ciq-text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--ciq-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--ciq-primary);
}

.legal-content code {
  background: var(--ciq-bg-alt);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.legal-content .table {
  color: var(--ciq-text);
}

.legal-content .table th {
  background: var(--ciq-bg-alt);
  border-color: var(--ciq-border);
}

.legal-content .table td {
  border-color: var(--ciq-border);
}

[data-theme=dark] .legal-content {
  color: rgba(240, 240, 245, 0.85);
}

[data-theme=dark] .legal-content a {
  color: var(--ciq-primary-light);
}

[data-theme=dark] .legal-content .table {
  --bs-table-bg: var(--ciq-card-bg);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .legal-content .table {
    --bs-table-bg: var(--ciq-card-bg);
  }
}
/* ==========================================================================
   Skip to Content Link (WCAG 2.4.1)
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--ciq-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--ciq-primary-dark);
  outline-offset: 2px;
}

/* ==========================================================================
   Cookie Consent Banner Updates
   ========================================================================== */
.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Cookie Preference Center
   ========================================================================== */
.cookie-preferences-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-preferences-overlay.d-none {
  display: none !important;
}

.cookie-preferences-modal {
  background: var(--ciq-bg, #fff);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-preferences-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--ciq-border, #e5e5e5);
}
.cookie-preferences-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ciq-text);
}

.cookie-preferences-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ciq-text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.cookie-preferences-close:hover {
  color: var(--ciq-text);
}

.cookie-preferences-body {
  padding: 1.5rem;
}
.cookie-preferences-body > p {
  color: var(--ciq-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.cookie-category {
  border: 1px solid var(--ciq-border, #e5e5e5);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category-header strong {
  color: var(--ciq-text);
  font-size: 0.95rem;
}

.cookie-category-desc {
  color: var(--ciq-text-muted);
  font-size: 0.825rem;
  margin: 0.25rem 0 0;
}

.cookie-preferences-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--ciq-border, #e5e5e5);
  text-align: right;
}

/* =====================================================
   AI Software Company Visual Enhancements
   ===================================================== */
/* 1. Gradient glow on primary buttons */
.btn-primary {
  box-shadow: 0 4px 15px rgba(var(--ciq-primary-rgb), 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(var(--ciq-primary-rgb), 0.5);
}

.cta-section .btn-light {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.cta-section .btn-outline-light:hover {
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

/* Clickable feature cards */
.feature-card-link {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

a .feature-card-link h3,
a .feature-card-link p {
  color: inherit;
}

a .feature-card-link h3 {
  color: var(--ciq-dark);
}

a .feature-card-link p {
  color: var(--ciq-text-muted);
}

[data-theme=dark] a .feature-card-link h3 {
  color: var(--ciq-dark);
}

[data-theme=dark] a .feature-card-link:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 2. Feature card gradient top accents */
#solutions .feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#solutions .feature-card:hover::after {
  opacity: 1;
}

#solutions .row > :nth-child(1) .feature-card::after {
  background: linear-gradient(90deg, #0d6efd, #6f42c1);
}

#solutions .row > :nth-child(2) .feature-card::after {
  background: linear-gradient(90deg, #27AE60, #00d4aa);
}

#solutions .row > :nth-child(3) .feature-card::after {
  background: linear-gradient(90deg, #9B59B6, #E74C3C);
}

#solutions .row > :nth-child(4) .feature-card::after {
  background: linear-gradient(90deg, #F39C12, #fd7e14);
}

#solutions .row > :nth-child(5) .feature-card::after {
  background: linear-gradient(90deg, #E74C3C, #c0392b);
}

#solutions .row > :nth-child(6) .feature-card::after {
  background: linear-gradient(90deg, #4A90D9, #17a2b8);
}

#solutions .row > :nth-child(7) .feature-card::after {
  background: linear-gradient(90deg, #17a2b8, #20c997);
}

#solutions .row > :nth-child(8) .feature-card::after {
  background: linear-gradient(90deg, #fd7e14, #F39C12);
}

#solutions .row > :nth-child(9) .feature-card::after {
  background: linear-gradient(90deg, #6f42c1, #9B59B6);
}

/* Features page hero - dot matrix background */
.features-hero {
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
  padding-top: 120px;
}

.features-hero .section-header h2,
.features-hero .section-header p {
  color: #fff;
}

.features-hero .section-header p {
  opacity: 0.7;
}

.features-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(78, 186, 107, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: scale(2);
  opacity: 0;
  animation: heroGridZoom 5s cubic-bezier(0.05, 0.8, 0.2, 1) forwards, heroGridScroll 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.features-hero > .container {
  position: relative;
  z-index: 1;
}

/* Integration logo grid */
.integration-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 575.98px) {
  .integration-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}
.integration-logo-square {
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integration-logo-square:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.integration-logo-square img {
  width: 55%;
  height: 55%;
  -o-object-fit: contain;
  object-fit: contain;
}

/* What You Get cards on Features page */
#what-you-get .feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#what-you-get .feature-card:hover::after {
  opacity: 1;
}

#what-you-get > :nth-child(1) .feature-card::after {
  background: linear-gradient(90deg, #0d6efd, #6f42c1);
}

#what-you-get > :nth-child(2) .feature-card::after {
  background: linear-gradient(90deg, #27AE60, #00d4aa);
}

#what-you-get > :nth-child(3) .feature-card::after {
  background: linear-gradient(90deg, #9B59B6, #E74C3C);
}

#what-you-get > :nth-child(4) .feature-card::after {
  background: linear-gradient(90deg, #F39C12, #fd7e14);
}

#what-you-get > :nth-child(5) .feature-card::after {
  background: linear-gradient(90deg, #E74C3C, #c0392b);
}

#what-you-get > :nth-child(6) .feature-card::after {
  background: linear-gradient(90deg, #4A90D9, #17a2b8);
}

#what-you-get > :nth-child(7) .feature-card::after {
  background: linear-gradient(90deg, #17a2b8, #20c997);
}

#what-you-get > :nth-child(8) .feature-card::after {
  background: linear-gradient(90deg, #fd7e14, #F39C12);
}

#what-you-get > :nth-child(9) .feature-card::after {
  background: linear-gradient(90deg, #6f42c1, #9B59B6);
}

/* 3. Animated ambient gradient orbs */
.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(0, 212, 170, 0.06) 0%, transparent 50%);
  animation: ctaOrbDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes ctaOrbDrift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 15px);
  }
  100% {
    transform: translate(15px, -10px);
  }
}
/* Pricing cards */
.pricing-card {
  background: var(--ciq-card-bg);
  border-radius: 16px;
  border: 1px solid var(--ciq-border);
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card-featured {
  border: 2px solid var(--ciq-accent);
}

[data-theme=dark] .pricing-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card-popular {
  background: var(--ciq-accent);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 0;
}

.pricing-card-header {
  padding: 24px 24px 16px;
  text-align: center;
}

.pricing-tier-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ciq-dark);
  margin-bottom: 8px;
}

.pricing-description {
  font-size: 0.9rem;
  color: var(--ciq-text-muted);
  margin-bottom: 0;
}

.pricing-card-body {
  padding: 0 24px;
  flex: 1;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ciq-border);
  line-height: 1.3;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.included i {
  color: var(--ciq-accent);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.pricing-features li.not-included {
  color: var(--ciq-text-muted);
  opacity: 0.5;
}

.pricing-features li.not-included i {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.pricing-card-footer {
  padding: 16px 24px 24px;
}

/* Pricing page header - compact variant */
.pricing-page-header {
  padding: 8rem 0 3rem;
}

/* Compact pricing layout for above-the-fold */
.pricing-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* 4. Gradient section dividers */
main > section + section:not(.cta-section) {
  border-top: 1px solid transparent;
  -o-border-image: linear-gradient(90deg, transparent 5%, rgba(var(--ciq-primary-rgb), 0.12) 35%, rgba(0, 212, 170, 0.12) 65%, transparent 95%) 1;
  border-image: linear-gradient(90deg, transparent 5%, rgba(var(--ciq-primary-rgb), 0.12) 35%, rgba(0, 212, 170, 0.12) 65%, transparent 95%) 1;
}

/* 5. Reduced motion for new animations */
@media (prefers-reduced-motion: reduce) {
  .cta-section::after {
    animation: none !important;
  }
}
/*# sourceMappingURL=styles.css.map */
