/* ==========================================================================
   CSS Variables & Theme Configuration
   ========================================================================== */
:root {
  /* Color Palette - Corporate Luxe */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-dark: #0a0f1c;
  --bg-dark-elevated: #131a2b;

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-light: #f3f4f6;
  --text-muted: #9ca3af;

  --accent-gold: #fbbf24;
  --accent-gold-dark: #d97706;
  --accent-indigo: #4f46e5;
  --accent-indigo-hover: #4338ca;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Spacing & Layout */
  --container-width: 1280px;
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;

  /* Transitions & Shadows */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom cursor fallback */
}

/* Custom Selection */
::selection {
  background-color: var(--accent-indigo);
  color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-indigo);
  border-radius: 4px;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.custom-cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-indigo);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.3s ease-out,
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}
body:hover .custom-cursor,
body:hover .custom-cursor-follower {
  opacity: 1;
}
a:hover ~ .custom-cursor-follower,
button:hover ~ .custom-cursor-follower {
  width: 60px;
  height: 60px;
  background-color: rgba(79, 70, 229, 0.1);
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.row-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.align-center {
  align-items: center;
}
.text-center {
  text-align: center;
}
.mt-5 {
  margin-top: 3rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.body-large {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.body-regular {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--accent-gold), #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-accent {
  color: var(--accent-indigo);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2px; /* Sharp, corporate look */
  text-decoration: none;
  transition: var(--transition-fast);
  cursor: none; /* Let custom cursor handle it */
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

.btn-primary {
  background-color: var(--accent-indigo);
  color: white;
}
.btn-primary:hover {
  background-color: var(--accent-indigo-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--border-dark);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.dark-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
}
.light-bg .btn-outline {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.glow-effect:hover {
  box-shadow: var(--shadow-glow);
}

/* Sections */
.section-padding {
  padding: var(--section-padding);
}
.section-padding-small {
  padding: var(--section-padding-sm);
}
.dark-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}
.dark-section .body-large,
.dark-section .body-regular,
.dark-section .section-subtitle {
  color: var(--text-muted);
}
.light-bg {
  background-color: var(--bg-secondary);
}

/* ==========================================================================
   HEADER (Exact same styling needed site-wide)
   ========================================================================== */
.luxe-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: rgba(10, 15, 28, 0.8); /* Dark base to ensure logo pops */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}
.luxe-header.scrolled {
  background-color: var(--bg-dark);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: height 0.3s ease;
}
.luxe-header.scrolled .header-container {
  height: 70px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1002;
}
.logo {
  height: 40px;
  width: auto;
}
.logo-text {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  overflow: hidden;
  display: inline-block;
}
/* Awwwards hover effect */
.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--accent-gold);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover {
  color: transparent;
}
.nav-link:hover::before {
  transform: translateY(-100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 1002;
}

/* Hamburger */
.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}
.hamburger-menu .line {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: var(--transition-fast);
}
.line-1 {
  top: 0;
}
.line-2 {
  top: 50%;
  transform: translateY(-50%);
}
.line-3 {
  bottom: 0;
}
.hamburger-menu.active .line-1 {
  transform: rotate(45deg);
  top: 9px;
}
.hamburger-menu.active .line-2 {
  opacity: 0;
}
.hamburger-menu.active .line-3 {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* Mobile Menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  clip-path: circle(0% at 100% 0%);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at 100% 0%);
}
.mobile-nav-inner {
  text-align: center;
}
.mobile-nav-list {
  list-style: none;
  margin-bottom: 3rem;
}
.mobile-nav-list li {
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.mobile-nav-overlay.active .mobile-nav-list li {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-list a {
  color: white;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-nav-list a:hover {
  color: var(--accent-gold);
}
.mobile-contact-info p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 10s infinite alternate;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-indigo);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-gold);
  bottom: 10%;
  right: 5%;
  animation-delay: -5s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-dark) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
  transform: perspective(500px) rotateX(60deg) translateY(-100px)
    translateZ(-200px);
  animation: gridMove 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
}

/* Abstract 3D Dashboard */
.abstract-dashboard-3d {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.dash-card {
  background: rgba(19, 26, 43, 0.7);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.main-chart {
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}
.abstract-dashboard-3d:hover .main-chart {
  transform: rotateY(0deg) rotateX(0deg);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.positive-trend {
  color: #10b981;
  font-weight: 600;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
}
.chart-bars .bar {
  flex: 1;
  background: var(--accent-indigo);
  border-radius: 2px 2px 0 0;
  opacity: 0.8;
}
.chart-bars .bar:last-child {
  background: var(--accent-gold);
}

.floating-stat {
  position: absolute;
  top: -20px;
  right: -20px;
  transform: translateZ(50px);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatVertical 4s ease-in-out infinite;
}
.floating-stat svg {
  width: 30px;
  height: 30px;
}
.stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.wheel {
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

/* ==========================================================================
   Trust Marquee
   ========================================================================== */
.trust-section {
  border-bottom: 1px solid var(--border-light);
}
.trust-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}
.marquee-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.client-logo {
  display: inline-block;
  margin: 0 3rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.client-logo:hover {
  opacity: 1;
  color: var(--text-primary);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.feature-list {
  list-style: none;
  margin-top: 2rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.feature-list svg {
  width: 20px;
  color: var(--accent-indigo);
}
.col-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}
.stat-card {
  background: white;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-indigo);
}
.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  display: inline-block;
}
.stat-suffix {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-gold);
}
.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.service-card {
  background: white;
  border: 1px solid var(--border-light);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(79, 70, 229, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  margin-bottom: 2rem;
  color: var(--accent-indigo);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--accent-indigo);
  color: white;
}
.service-icon svg {
  width: 30px;
}
.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}
.service-link svg {
  width: 16px;
  transition: transform 0.3s;
}
.service-card:hover .service-link {
  color: var(--accent-indigo);
}
.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Industry Focus (Tabs)
   ========================================================================== */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--bg-dark);
  color: white;
  border-color: var(--bg-dark);
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-content.active {
  display: block;
}
.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.tab-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.tab-list {
  list-style: none;
  margin-top: 1.5rem;
}
.tab-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
}
.tab-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
}
.mock-image-box {
  width: 100%;
  height: 400px;
  background: var(--bg-dark-elevated);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}
.mock-image-box::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: skewX(-20deg) translateX(-100%);
  animation: shine 3s infinite;
}
.mock-image-box svg {
  width: 80px;
  opacity: 0.5;
}

/* ==========================================================================
   Interactive: Calculator
   ========================================================================== */
.calc-panel {
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-dark);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.calc-group {
  margin-bottom: 2rem;
}
.calc-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}
.calc-group span {
  color: var(--accent-gold);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.125rem;
}
/* Custom Range Input */
.luxe-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  border-radius: 2px;
}
.luxe-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-indigo);
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s;
}
.luxe-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--accent-gold);
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
}
.result-box h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.result-value {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
}
.result-value.text-accent {
  color: var(--accent-gold);
}
.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2rem;
  font-style: italic;
}

/* ==========================================================================
   Interactive: Dashboard UI
   ========================================================================== */
.dashboard-mockup {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  height: 500px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.dash-sidebar {
  width: 80px;
  background: var(--bg-dark);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.dash-logo {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.dash-menu-item {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.dash-menu-item.active {
  background: var(--accent-indigo);
}
.dash-main {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}
.dash-header-ui {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.dash-title-ui {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}
.dash-filters-ui {
  width: 150px;
  height: 30px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 4px;
}
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.metric-card-ui {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.metric-card-ui span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.metric-card-ui strong {
  font-size: 1.5rem;
  font-family: var(--font-heading);
}
.dash-chart-area {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  padding: 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.chart-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.chart-bar {
  width: 100%;
  background: var(--accent-indigo);
  border-radius: 4px 4px 0 0;
  height: 0;
  transition: height 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Animation triggered by JS class 'animate' */
.dash-chart-area.animate .chart-bar {
  height: var(--target-height);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: white;
  padding: 3rem 2rem;
  border: 1px solid var(--border-light);
  text-align: left;
  transition: var(--transition-fast);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}
.quote-icon {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.test-text {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-primary);
}
.test-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
}
.test-author span {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Pre-Footer CTA
   ========================================================================== */
.cta-box {
  background: var(--bg-dark);
  color: white;
  padding: 5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: radial-gradient(
    circle at top right,
    rgba(79, 70, 229, 0.3),
    transparent 50%
  );
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--accent-indigo),
    var(--accent-gold)
  );
}
.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-content p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 500px;
}

/* ==========================================================================
   Live Chat Mockup
   ========================================================================== */
.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-indigo);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.chat-toggle:hover {
  transform: scale(1.1);
  background: var(--accent-indigo-hover);
}
.chat-toggle svg {
  width: 30px;
}
.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.chat-header {
  background: var(--bg-dark);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header strong {
  display: block;
  font-family: var(--font-heading);
}
.chat-header span {
  font-size: 0.75rem;
  color: #10b981;
}
.chat-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.chat-body {
  padding: 20px;
  height: 250px;
  background: #f8fafc;
  overflow-y: auto;
}
.chat-msg {
  background: white;
  padding: 10px 15px;
  border-radius: 8px 8px 8px 0;
  font-size: 0.875rem;
  max-width: 80%;
  border: 1px solid var(--border-light);
}
.chat-footer {
  padding: 15px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
  background: white;
}
.chat-footer input {
  flex: 1;
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: 4px;
  outline: none;
}
.chat-footer button {
  background: var(--accent-indigo);
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
}
.chat-footer button svg {
  width: 18px;
}

/* ==========================================================================
   FOOTER (Exact same styling needed site-wide)
   ========================================================================== */
.luxe-footer {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  padding-top: 80px;
  border-top: 1px solid var(--border-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 60px;
}
.footer-brand .logo-wrapper {
  margin-bottom: 1.5rem;
  display: inline-flex;
}
.footer-desc {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-fast);
  text-decoration: none;
}
.social-links a:hover {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
}
.social-links svg {
  width: 18px;
}
.footer-heading {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.contact-list {
  list-style: none;
}
.contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-list svg {
  width: 20px;
  color: var(--accent-indigo);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list a,
.contact-list span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.contact-list a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 30px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.legal-links {
  display: flex;
  gap: 2rem;
}
.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.legal-links a:hover {
  color: white;
}

/* ==========================================================================
   Subpages (Contact, Legal) Base Styles
   ========================================================================== */
.subpage-header {
  background: var(--bg-dark);
  padding: 180px 0 100px;
  text-align: center;
  color: white;
  position: relative;
}
.subpage-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}
.breadcrumbs {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a {
  color: var(--accent-gold);
  text-decoration: none;
}

/* Contact Page Specific */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-panel h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.method-icon {
  width: 50px;
  height: 50px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent-indigo);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.contact-form {
  background: white;
  padding: 3rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s;
}
.form-control:focus {
  border-color: var(--accent-indigo);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Legal Pages Specific */
.legal-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  border-radius: 8px;
}
.legal-content-wrapper h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}
.legal-content-wrapper p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}
.legal-content-wrapper ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}
.legal-content-wrapper li {
  margin-bottom: 0.5rem;
}
.legal-content-wrapper strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 30px) scale(1.1);
  }
}
@keyframes floatVertical {
  0%,
  100% {
    transform: translateZ(50px) translateY(0);
  }
  50% {
    transform: translateZ(50px) translateY(-15px);
  }
}
@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}
@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes shine {
  0% {
    transform: skewX(-20deg) translateX(-150%);
  }
  50%,
  100% {
    transform: skewX(-20deg) translateX(150%);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .row-layout,
  .tab-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .abstract-dashboard-3d {
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }
  .hamburger-menu {
    display: block;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .calc-results {
    grid-template-columns: 1fr;
  }
  .dash-metrics {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .cta-box {
    padding: 3rem 2rem;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}
