/* ═══════════════════════════════════════════════════════════════
   LaneMax Immersive — Global Styles
   Cinematic reset, typography, layout, glassmorphism, buttons,
   custom cursor, and foundational UI patterns.
   ═══════════════════════════════════════════════════════════════ */

@import 'variables.css';

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  /* Lenis will handle smooth scroll — disable native */
  scroll-behavior: auto;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-deep);
  color: var(--c-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none; /* Custom cursor */
}

/* ── Custom Cursor ── */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--c-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              background 0.3s var(--ease-out-expo);
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out-expo),
              height 0.4s var(--ease-out-expo),
              border-color 0.3s,
              opacity 0.3s;
}

.cursor-dot.hovering {
  width: 60px;
  height: 60px;
  background: rgba(0, 229, 255, 0.08);
  mix-blend-mode: normal;
}

.cursor-ring.hovering {
  width: 60px;
  height: 60px;
  border-color: var(--c-cyan);
  opacity: 0.6;
}

/* Hide custom cursor on touch */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Selection ── */
::selection {
  background: rgba(0, 229, 255, 0.2);
  color: var(--c-white);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.4); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--c-white);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

.text-hero {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.05em;
}

.text-display {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

p {
  color: var(--c-gray-300);
  font-size: var(--text-body);
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Text Gradients ── */
.text-gradient {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan    { color: var(--c-cyan); }
.text-emerald { color: var(--c-emerald); }
.text-amber   { color: var(--c-amber); }
.text-muted   { color: var(--c-gray-400); }
.text-body    { color: var(--c-gray-300); }
.text-center  { text-align: center; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container-narrow {
  max-width: 900px;
}

.section-padding {
  padding: var(--space-20) 0;
}

.section-padding-sm {
  padding: var(--space-12) 0;
}

/* ── Section Labels (pill badges) ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.06);
  color: var(--c-cyan);
  border: 1px solid rgba(0, 229, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
  font-weight: 700;
}

.section-label-emerald {
  color: var(--c-emerald);
  background: rgba(0, 250, 154, 0.06);
  border-color: rgba(0, 250, 154, 0.15);
}

.section-label-amber {
  color: var(--c-amber);
  background: rgba(255, 176, 32, 0.06);
  border-color: rgba(255, 176, 32, 0.15);
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-10);
}

.section-header h2 {
  margin: var(--space-3) 0 var(--space-3);
}

.section-header p {
  color: var(--c-gray-300);
  font-size: var(--text-body);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

/* ── Glassmorphism Cards ── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 229, 255, 0.04),
    transparent 40%
  );
  opacity: 0;
  transition: opacity var(--duration-normal);
  pointer-events: none;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.glass-card-interactive {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
  cursor: pointer;
}

.glass-card-interactive:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 1rem 2.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: none;
  transition: all 0.35s var(--ease-out-quart);
  border: none;
  font-family: var(--font-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn .btn-text {
  position: relative;
  z-index: 2;
  transition: transform 0.3s var(--ease-out-expo);
}

/* Shimmer Effect on Hover */
.btn::after {
  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.6s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--c-white);
  color: var(--bg-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.35);
}

.btn-emerald {
  background: var(--grad-accent);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.2);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.75rem; font-size: 1.0625rem; }

.btn-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* ── Navigation ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 1.25rem 0;
  transition: all 0.5s var(--ease-out-expo);
}

header.scrolled {
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border-subtle);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--c-white);
  text-decoration: none;
}

.logo-svg {
  transition: transform 0.4s var(--ease-out-expo);
}

.logo-svg path {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
}

.logo:hover .logo-svg path:nth-of-type(1) {
  transform: translateX(1.5px);
}

.logo:hover .logo-svg path:nth-of-type(2) {
  transform: translateX(3px);
}

.logo:hover .logo-svg path:nth-of-type(3) {
  transform: translateX(4.5px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-gray-300);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--c-cyan);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--c-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active-link {
  color: var(--c-cyan);
}

.nav-links a.active-link::after {
  width: 100%;
}

.nav-demo {
  color: var(--c-cyan) !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--c-white);
  cursor: pointer;
  padding: 0.5rem;
}

/* ── Hero Sections ── */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-8);
}

.hero-bg-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(0, 229, 255, 0.08),
    transparent 60%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--c-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--c-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.05em;
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--c-gray-300);
  max-width: 680px;
  margin: 0 auto var(--space-6);
  line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: var(--border-subtle);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--c-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ── Feature Cards Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.feature-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--c-gray-400);
  line-height: 1.6;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.feature-icon-cyan    { background: rgba(0, 229, 255, 0.1); color: var(--c-cyan); }
.feature-icon-emerald { background: rgba(0, 250, 154, 0.1); color: var(--c-emerald); }
.feature-icon-amber   { background: rgba(255, 176, 32, 0.1); color: var(--c-amber); }
.feature-icon-orange  { background: rgba(255, 107, 107, 0.1); color: var(--c-coral); }

.feature-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--space-3);
  transition: all 0.3s ease;
}

.feature-link-cyan    { color: var(--c-cyan); }
.feature-link-emerald { color: var(--c-emerald); }
.feature-link-amber   { color: var(--c-amber); }
.feature-link-orange  { color: var(--c-coral); }

.feature-link:hover { gap: 0.5rem; }

/* ── Icon Box ── */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-cyan    { background: rgba(0, 229, 255, 0.1); color: var(--c-cyan); }
.icon-box-emerald { background: rgba(0, 250, 154, 0.1); color: var(--c-emerald); }
.icon-box-amber   { background: rgba(255, 176, 32, 0.1); color: var(--c-amber); }
.icon-box-purple  { background: rgba(167, 139, 250, 0.1); color: var(--c-purple); }

/* ── Border Accent Cards ── */
.border-cyan    { border-left: 3px solid var(--c-cyan); }
.border-emerald { border-left: 3px solid var(--c-emerald); }
.border-amber   { border-left: 3px solid var(--c-amber); }
.border-purple  { border-left: 3px solid var(--c-purple); }

/* ── Service Blocks (Split Layout) ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.service-block-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(0, 229, 255, 0.12);
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), border-color 0.4s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-block-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(0, 250, 154, 0.08) 100%);
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.4s;
}

.service-block-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -20px rgba(0, 229, 255, 0.25);
  border-color: rgba(0, 229, 255, 0.2);
}

.service-block-img:hover::after {
  opacity: 0.6;
}

.service-block-img img {
  width: 100%;
  border-radius: var(--radius-xl);
  transition: transform 0.6s var(--ease-out-expo);
}

.service-block-img:hover img {
  transform: scale(1.05);
}

.flex-responsive-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

/* ── Mini Feature Grid ── */
.mini-feature-grid {
  display: grid;
  gap: var(--space-3);
}

.mini-feature {
  padding: var(--space-4);
}

.mini-feature h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.mini-feature p {
  font-size: 0.9rem;
  color: var(--c-gray-400);
}

/* ── Trust Bar ── */
.trust-bar {
  padding: var(--space-4) 0 var(--space-8);
  position: relative;
  z-index: 5;
}

.trust-bar-label {
  text-align: center;
  color: var(--c-gray-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.partner-marquee-container {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partner-marquee-track {
  display: flex;
  gap: var(--space-10);
  align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.partner-logo {
  height: 45px;
  max-width: 150px;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.6;
  transition: all 0.3s ease;
  filter: grayscale(1) brightness(2);
  border-radius: var(--radius-sm);
}

/* Invert logos with solid white backgrounds so they render as white on black */
.partner-logo.logo-invert,
.partner-logo[src$=".jpg"],
.partner-logo[src$=".jpeg"] {
  filter: invert(1) grayscale(1) brightness(1.6) contrast(1.2);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1) contrast(1) !important;
}

/* ── Advantage Grid ── */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.advantage-card {
  padding: var(--space-6);
}

.advantage-icon {
  margin-bottom: var(--space-3);
}

.advantage-card h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.advantage-card p {
  font-size: 0.95rem;
  color: var(--c-gray-400);
}

/* ── Steps Grid ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: var(--space-6);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin: 0 auto var(--space-3);
}

.step-number-1 { background: rgba(0, 229, 255, 0.1); color: var(--c-cyan); border: 1px solid rgba(0, 229, 255, 0.2); }
.step-number-2 { background: rgba(0, 250, 154, 0.1); color: var(--c-emerald); border: 1px solid rgba(0, 250, 154, 0.2); }
.step-number-3 { background: rgba(255, 176, 32, 0.1); color: var(--c-amber); border: 1px solid rgba(255, 176, 32, 0.2); }

.step-card h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--c-gray-400);
}

/* ── Industry Grid ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.industry-card {
  padding: var(--space-6);
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--c-gray-400);
}

/* ── Metric Grid ── */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.metric-card {
  text-align: center;
  padding: var(--space-6);
}

.metric-number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.metric-card p {
  font-size: 0.95rem;
  color: var(--c-gray-400);
}

/* ── Testimonial Section ── */
.testimonial-section {
  padding: var(--space-10) 0;
  overflow: hidden;
}

.marquee-container {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--space-4);
  animation: marquee 40s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  min-width: 360px;
  max-width: 400px;
  padding: var(--space-5);
  flex-shrink: 0;
}

.testimonial-stars {
  margin-bottom: var(--space-2);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--c-gray-200);
  line-height: 1.65;
  margin-bottom: var(--space-3);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--bg-deep);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--c-gray-400);
}

/* ── Quote Panel ── */
.quote-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--c-white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--c-cyan);
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* ── Form Styles (Contact Page) ── */
.form-group {
  margin-bottom: var(--space-3);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-gray-300);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--c-white);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select option {
  background: var(--bg-surface);
  color: var(--c-white);
}

/* ── Tabs Navigation ── */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--c-gray-300);
  border: var(--border-glass);
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out-expo);
}

.tab-btn:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--c-cyan);
  border-color: rgba(0, 229, 255, 0.3);
}

.tab-content {}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA Section ── */
.cta-banner {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06), transparent 70%);
  border: var(--border-glass);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  margin-bottom: var(--space-3);
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto var(--space-6);
  color: var(--c-gray-300);
}

/* ── Chatbot ── */
.chatbot-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-modal);
}

.chatbot-toggle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
  color: var(--bg-deep);
}

.chatbot-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 229, 255, 0.4);
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  max-height: 480px;
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.chatbot-window.open {
  display: flex;
  animation: slideUp 0.3s var(--ease-out-expo);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: var(--border-subtle);
}

.chatbot-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.chatbot-status-dot {
  width: 8px;
  height: 8px;
  background: var(--c-cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.chatbot-close-btn {
  background: none;
  border: none;
  color: var(--c-gray-300);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
}

.chatbot-close-btn:hover {
  color: var(--c-white);
}

.chatbot-messages {
  flex: 1;
  padding: 1rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 85%;
}

.bot-message {
  background: rgba(0, 229, 255, 0.08);
  color: var(--c-gray-200);
  align-self: flex-start;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.user-message {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-white);
  align-self: flex-end;
}

/* Chat Suggestions Chips */
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  align-self: flex-start;
  max-width: 90%;
  animation: fadeIn 0.4s var(--ease-out-expo);
}

.chat-suggestion-chip {
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.18);
  color: var(--c-cyan);
  border-radius: 20px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out-expo);
  font-weight: 500;
  font-family: var(--font-primary);
  outline: none;
}

.chat-suggestion-chip:hover {
  background: var(--c-cyan);
  color: var(--bg-deep);
  border-color: var(--c-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  transform: translateY(-1px);
}

.chatbot-input-area {
  display: flex;
  padding: 0.75rem 1rem;
  border-top: var(--border-subtle);
  gap: 0.5rem;
}

.chatbot-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.875rem;
  color: var(--c-white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  outline: none;
}

.chatbot-input-area input:focus {
  border-color: var(--c-cyan);
}

.chatbot-input-area button {
  background: var(--c-cyan);
  border: none;
  border-radius: var(--radius-md);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--bg-deep);
  transition: background 0.2s;
}

.chatbot-input-area button:hover {
  background: var(--c-emerald);
}

/* ── Footer ── */
footer {
  border-top: var(--border-subtle);
  padding: var(--space-12) 0 var(--space-6);
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-brand p {
  color: var(--c-gray-400);
  font-size: 0.9rem;
  margin-top: var(--space-2);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gray-300);
  margin-bottom: var(--space-3);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--c-gray-400);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--c-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
}

.footer-bottom p {
  color: var(--c-gray-400);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-links a {
  color: var(--c-gray-400);
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: var(--c-cyan);
  transform: translateY(-2px);
}

/* ── Background Effects ── */
.bg-darker {
  background: rgba(0, 0, 0, 0.25);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

/* Mesh Background Blobs */
.mesh-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-background);
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.mesh-blob-1 {
  width: 600px;
  height: 600px;
  top: -10%;
  left: -5%;
  background: rgba(0, 229, 255, 0.08);
}

.mesh-blob-2 {
  width: 500px;
  height: 500px;
  top: 40%;
  right: -10%;
  background: rgba(0, 250, 154, 0.06);
}

.mesh-blob-3 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: 30%;
  background: rgba(255, 176, 32, 0.04);
}

/* Dot Grid Background */
.dot-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-background);
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
}

/* Particle Canvas (Background) */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-background);
  opacity: 0.5;
}

/* ── Bento Grid (About Page) ── */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
}

.bento-item {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.bento-large {
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

/* ── Timeline (About Page) ── */
.scroll-timeline-container {
  position: relative;
  padding: var(--space-6) 0;
}

.timeline-nodes {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
}

.timeline-node {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-4);
  align-items: center;
}

.node-year {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: right;
}

.node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-cyan);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  position: relative;
  z-index: 2;
}

.node-content {
  padding: var(--space-4);
}

.timeline-node.left-aligned .node-year {
  order: 3;
  text-align: left;
}

.timeline-node.left-aligned .node-content {
  order: 1;
  text-align: right;
}

/* ── Spacing Utilities ── */
.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.pb-0  { padding-bottom: 0 !important; }
.pb-8  { padding-bottom: var(--space-8); }

/* ── Flex Utilities ── */
.flex-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

/* ── Loading Screen ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: var(--space-4);
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: width 1s var(--ease-out-expo);
}

/* ── Scroll Reveal Animation States ── */
/* Elements start hidden, revealed by GSAP */
.cinematic-reveal {
  opacity: 0;
  transform: translateY(60px);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

.cinematic-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .service-block,
  .flex-responsive-reverse,
  .flex-responsive {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-large {
    grid-row: span 1;
    grid-column: span 2;
  }

  .bento-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--space-12) 0;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s var(--ease-out-expo);
    z-index: 999;
    border-left: var(--border-subtle);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1000;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }

  .quote-form-row {
    grid-template-columns: 1fr;
  }

  .timeline-node {
    grid-template-columns: auto 1fr;
    gap: var(--space-2);
  }

  .timeline-node .node-year {
    text-align: left;
  }

  .timeline-node.left-aligned .node-content {
    text-align: left;
    order: 2;
  }

  .timeline-node.left-aligned .node-year {
    order: 1;
  }

  .metric-number {
    font-size: 2.25rem;
  }

  .testimonial-card {
    min-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 1.05rem;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }
}

/* Custom premium scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 7, 18, 0.4);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, 0.35); /* Glow cyan on hover */
}

/* Firefox support */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.06) rgba(3, 7, 18, 0.4);
}
