@charset "UTF-8";

/* ==========================================================================
   THEME VARIABLES & CUSTOM PROPERTIES
   Theme: Pixel Precision
   ========================================================================== */
:root {
  /* Colors - Pixel Precision Theme */
  --bg-main: #f9fafb;
  --bg-surface: #ffffff;
  --bg-alt: #f3f4f6;
  --bg-dark: #111827;
  --bg-darker: #0b0f19;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-transparent: rgba(37, 99, 235, 0.1);

  --highlight: #f472b6;
  --highlight-hover: #db2777;

  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #f9fafb;

  --border-color: #e5e7eb;
  --border-dark: #374151;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-primary: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Orbitron", sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Shadows - Data viz focus */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 15px rgba(59, 130, 246, 0.5);

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-width: 1280px;
  --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Handled by GSAP if needed, but smooth scrolling via CSS */
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-muted);
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--trans-fast);
}
a:hover {
  color: var(--primary-hover);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary);
}
.text-highlight {
  color: var(--highlight);
}
.font-display {
  font-family: var(--font-display);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--space-xl) 0;
}
.section-padding-sm {
  padding: var(--space-lg) 0;
}

.bg-surface {
  background-color: var(--bg-surface);
}
.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--text-light);
}
.bg-dark p {
  color: #9ca3af;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-md);
}
.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 4px; /* Sharp edges for precision theme */
  cursor: pointer;
  transition: var(--trans-normal);
  border: 2px solid transparent;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--trans-normal);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-highlight {
  background-color: var(--highlight);
  color: #fff;
}
.btn-highlight:hover {
  background-color: var(--highlight-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ==========================================================================
   HEADER (STRICT CONSISTENCY)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--trans-normal);
}

.site-header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 1001;
}

.logo img {
  height: 32px;
  width: auto;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--trans-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Nav */
@media (max-width: 991px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-surface);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.25rem;
    display: block;
  }

  .mobile-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Grid Background Pattern */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, var(--border-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: "";
  position: absolute;
  bottom: 0.2em;
  left: 0;
  width: 100%;
  height: 0.3em;
  background-color: var(--highlight);
  opacity: 0.3;
  z-index: -1;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Custom 3D Abstract Data Visual */
.hero-visual {
  position: relative;
  height: 500px;
  perspective: 1000px;
  display: none;
}

@media (min-width: 992px) {
  .hero-visual {
    display: block;
  }
}

.data-cube {
  position: absolute;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 1rem;
  transform-style: preserve-3d;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.data-cube:hover {
  transform: translateZ(20px) scale(1.05);
}

.cube-1 {
  width: 180px;
  height: 120px;
  top: 10%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.cube-2 {
  width: 220px;
  height: 160px;
  top: 40%;
  left: 30%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 2;
  box-shadow: var(--shadow-glow);
}
.cube-3 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 10%;
  animation: float 7s ease-in-out infinite 1s;
  background: var(--bg-dark);
}

.cube-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.cube-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.cube-trend {
  font-size: 0.875rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.cube-1 .cube-trend,
.cube-3 .cube-trend {
  color: var(--primary);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
  }
  50% {
    transform: translateY(-20px) rotateX(-5deg) rotateY(5deg);
  }
  100% {
    transform: translateY(0px) rotateX(5deg) rotateY(-5deg);
  }
}

/* ==========================================================================
   STATISTICS BAR
   ========================================================================== */
.stats-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  position: relative;
}

@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
  }
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   SERVICES (Awwwards Element: Data card hover effect)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-transparent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.service-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  position: relative;
  transition: var(--trans-normal);
  overflow: hidden;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--highlight);
  transition: var(--trans-normal);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--trans-normal);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-link i {
  transition: transform 0.2s;
}
.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* ==========================================================================
   DATA VISUALIZATION / DASHBOARD SECTION (Awwwards Element)
   ========================================================================== */
.dashboard-section {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* Background tech lines */
.dashboard-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
  pointer-events: none;
}

.dashboard-container {
  position: relative;
  z-index: 1;
}

.dashboard-ui {
  background-color: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin-top: 3rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 1rem;
}

.dot-group {
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-r {
  background-color: #ff5f56;
}
.dot-y {
  background-color: #ffbd2e;
}
.dot-g {
  background-color: #27c93f;
}

.chart-wrapper {
  height: 300px;
  display: flex;
  align-items: flex-end;
  gap: 2%;
  padding-top: 2rem;
  border-left: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

/* Y-Axis labels */
.y-axis {
  position: absolute;
  left: -40px;
  top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.chart-bar-container {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
  group: bar;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(
    to top,
    var(--primary-hover),
    var(--primary-light)
  );
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  transform: scaleY(0); /* Handled by GSAP */
  transition: opacity 0.3s;
  position: relative;
}

.chart-bar:hover {
  opacity: 0.8;
  cursor: pointer;
}

.bar-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.chart-bar:hover .bar-tooltip {
  opacity: 1;
}
.x-label {
  position: absolute;
  bottom: -25px;
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR
   ========================================================================== */
.calculator-section {
  padding-top: var(--space-xl);
}

.calc-wrapper {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .calc-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.calc-controls {
  padding: 3rem;
}
.calc-result {
  background-color: var(--bg-dark);
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
  border: 3px solid white;
}

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-color);
  border-radius: 2px;
}

input[type="range"]:focus {
  outline: none;
}

.calc-value-display {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
}

.result-title {
  font-size: 1.25rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.result-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--highlight);
  line-height: 1;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(244, 114, 182, 0.4);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-section {
  background-color: var(--bg-alt);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  /* Connecting Line */
  .process-grid::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
  }
}

.process-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
  border: 4px solid var(--bg-alt);
  box-shadow: var(--shadow-md);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.95rem;
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.industry-pill {
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--trans-fast);
  cursor: default;
}

.industry-pill i {
  color: var(--primary);
}
.industry-pill:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--bg-surface);
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--bg-alt);
  z-index: 0;
}

.test-content {
  position: relative;
  z-index: 1;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.test-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
}

.author-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}
.author-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CTA / CONTACT SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--bg-dark));
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2,
.cta-section p {
  color: white;
}
.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* ==========================================================================
   FOOTER (STRICT CONSISTENCY)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-darker);
  color: var(--text-muted);
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.footer-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}
.footer-logo span {
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-about {
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border-radius: 4px;
}
.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}
.footer-links ul li a {
  color: var(--text-muted);
}
.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}
.active-legal-link {
  color: var(--highlight) !important;
  font-weight: 700;
}

.footer-contact ul li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.footer-contact ul li i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-contact ul li a {
  color: var(--text-muted);
}
.footer-contact ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* ==========================================================================
   LEGAL PAGES & CONTACT PAGE SPECIFICS
   ========================================================================== */
.page-header {
  background-color: var(--bg-dark);
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border-dark);
}

.page-title {
  color: white;
  margin-bottom: 1rem;
}

.breadcrumbs {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.breadcrumbs a {
  color: var(--primary-light);
}
.breadcrumbs i {
  font-size: 0.6rem;
  margin: 0 0.5rem;
}

/* Legal Content Formatting */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-surface);
  padding: 4rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.legal-container h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.legal-container p {
  margin-bottom: 1.5rem;
}
.legal-container strong {
  color: var(--text-main);
}

/* Contact Page Formatting */
.contact-wrapper {
  display: grid;
  gap: 3rem;
}
@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info-panel {
  background-color: var(--bg-surface);
  padding: 3rem;
  border: 1px solid var(--border-color);
}

.contact-method {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-transparent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 4px;
}

.contact-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}
.contact-text p,
.contact-text a {
  color: var(--text-muted);
}

/* Forms */
.custom-form {
  background-color: var(--bg-surface);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
}

.input-field {
  width: 100%;
  padding: 1rem 0;
  font-size: 1rem;
  color: var(--text-main);
  border: none;
  border-bottom: 2px solid var(--border-color);
  outline: none;
  background: transparent;
  transition: var(--trans-fast);
  font-family: var(--font-primary);
}

.input-field:focus {
  border-bottom-color: var(--primary);
}

.input-label {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--trans-fast);
}

.input-field:focus ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label {
  top: -10px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

select.input-field {
  appearance: none;
  cursor: pointer;
}
textarea.input-field {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--trans-normal);
  border: none;
}

.chat-toggle:hover {
  transform: scale(1.1);
  background-color: var(--primary-hover);
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--trans-normal);
}

.chat-box.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.chat-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-chat {
  cursor: pointer;
}

.chat-body {
  padding: 1rem;
  height: 250px;
  overflow-y: auto;
  background-color: var(--bg-main);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg-bot {
  background-color: var(--bg-surface);
  padding: 0.75rem;
  border-radius: 8px 8px 8px 0;
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  align-self: flex-start;
  max-width: 85%;
}

.chat-input {
  display: flex;
  padding: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 0.5rem;
  outline: none;
}
.chat-input button {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0 0.5rem;
}
