/* ==========================================================================
   AZURE EXECUTIVE THEME - MODERN AWARDS-LEVEL STYLESHEET
   Clean, Trustworthy, Premium Corporate Digital Marketing UI
   ========================================================================== */

:root {
  /* Palette Tokens */
  --bg-base: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-dark-accent: #0f172a;

  /* Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    #e0f2fe 0%,
    #dbeafe 50%,
    #f8fafc 100%
  );
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-glow: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.15),
    rgba(219, 234, 254, 0.4)
  );
  --border-glass: rgba(37, 99, 235, 0.12);
  --border-glass-subtle: rgba(226, 232, 240, 0.8);

  /* Typography & Core Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --text-main: #172033;
  --text-muted: #475569;
  --text-light: #64748b;
  --success: #059669;
  --success-light: #ecfdf5;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.18);

  /* Layout Variables */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1240px;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-base);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary) !important;
}
.text-success {
  color: var(--success) !important;
}

/* Custom Cursor Elements */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
}

.cursor-outline {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(37, 99, 235, 0.4);
  transition: transform 0.15s ease-out;
}

/* Background Particle Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Glassmorphic Base Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

/* Buttons & Micro-Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-glass-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navigation (Identical Site-Wide)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-glass-subtle);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle,
.nav-close {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(37, 99, 235, 0.15);
}

.metric-item h3 {
  font-size: 2rem;
  display: inline-block;
  color: var(--text-main);
}

.metric-suffix,
.metric-prefix {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.metric-item p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.metric-divider {
  width: 1px;
  height: 45px;
  background: rgba(37, 99, 235, 0.15);
}

/* Hero Interactive Visual Stack */
.hero-card-stack {
  position: relative;
  padding: 20px;
}

.main-dashboard-card {
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-alt);
}

.card-dots {
  display: flex;
  gap: 6px;
}

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.card-dots span:nth-child(1) {
  background: #fda4af;
}
.card-dots span:nth-child(2) {
  background: #fde047;
}
.card-dots span:nth-child(3) {
  background: #86efac;
}

.card-live-indicator {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.card-live-indicator i {
  font-size: 0.6rem;
  animation: pulse 1.5s infinite;
}

.card-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-mini {
  background: var(--bg-base);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass-subtle);
}

.kpi-mini .label {
  font-size: 0.78rem;
  color: var(--text-light);
  display: block;
}

.kpi-mini .val {
  font-size: 1.25rem;
  margin-top: 4px;
}

/* Simulated Metric Chart */
.simulated-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 130px;
  padding: 10px 0;
  border-bottom: 1px dashed #cbd5e1;
  margin-bottom: 16px;
}

.chart-bar {
  width: 11%;
  height: var(--h);
  background: #dbeafe;
  border-radius: 6px 6px 0 0;
  position: relative;
  transition:
    height 1s ease-in-out,
    background 0.3s ease;
}

.chart-bar:hover,
.chart-bar.active {
  background: var(--gradient-accent);
}

.chart-bar span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
}

.card-footer-metric {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-glass);
  z-index: 2;
}

.floating-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.floating-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-top-right {
  top: -15px;
  right: -10px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon.success {
  background: var(--success-light);
  color: var(--success);
}

.float-anim-1 {
  animation: floating 4s ease-in-out infinite;
}
.float-anim-2 {
  animation: floating 5s ease-in-out infinite 1.5s;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   Partners Ticker
   ========================================================================== */
.partners-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border-glass-subtle);
  background: #ffffff;
}

.partners-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.ticker-track {
  display: inline-flex;
  gap: 60px;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.ticker-item i {
  color: var(--primary);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Section Headers (Common)
   ========================================================================== */
.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 36px 30px;
  background: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid var(--border-glass);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* ==========================================================================
   ROI Budget Calculator
   ========================================================================== */
.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 44px;
  background: #ffffff;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-row label,
.calc-group label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.calc-val-display {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.custom-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  cursor: pointer;
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 6px;
}

.custom-select {
  width: 100%;
  padding: 14px 18px;
  margin-top: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass-subtle);
  background: var(--bg-base);
  color: var(--text-main);
  font-family: inherit;
  font-weight: 600;
  outline: none;
}

.calc-results {
  background: var(--gradient-hero);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.metric-output-card {
  margin: 20px 0;
}

.metric-output-card .subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.result-number {
  font-size: 2.8rem;
  color: var(--primary);
  font-weight: 800;
  margin-top: 4px;
}

.results-breakdown {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.breakdown-item:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed #cbd5e1;
}

/* ==========================================================================
   Live Campaign Performance Tabs
   ========================================================================== */
.performance-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.perf-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-glass-subtle);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.perf-tab-btn.active,
.perf-tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.performance-display-card {
  background: #ffffff;
  padding: 40px;
}

.perf-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.perf-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pane-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.pane-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-box {
  background: var(--bg-base);
  padding: 18px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass-subtle);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.stat-val {
  font-size: 1.6rem;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trend {
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.trend.up,
.trend.down {
  background: var(--success-light);
  color: var(--success);
}

.pane-details h4 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.pane-details p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

.tech-stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-stack-pills span {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   Industry Solutions & Timeline Blueprint
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  padding: 32px 24px;
  background: #ffffff;
  text-align: center;
}

.ind-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.industry-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.ind-stat {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-step {
  padding: 32px 24px;
  background: #ffffff;
  position: relative;
}

.step-badge {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 12px;
}

.timeline-step h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.timeline-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials Grid
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 36px 30px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.test-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.test-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.test-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   Consultation Request Section & Forms
   ========================================================================== */
.consultation-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  padding: 50px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.consultation-info h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.consultation-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.audit-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass-subtle);
  background: var(--bg-base);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   Interactive Floating Live Chat Widget
   ========================================================================== */
.floating-chat-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1050;
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  position: relative;
  transition: var(--transition);
}

.chat-toggle-btn:hover {
  transform: scale(1.06);
}

.chat-close-icon {
  display: none;
}

.chat-toggle-btn.active .chat-open-icon {
  display: none;
}
.chat-toggle-btn.active .chat-close-icon {
  display: block;
}

.chat-badge-alert {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.chat-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  height: 480px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

.chat-window.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: var(--gradient-accent);
  color: #ffffff;
  padding: 16px;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-agent-info h4 {
  color: #ffffff;
  font-size: 0.95rem;
}

.agent-status {
  font-size: 0.72rem;
  opacity: 0.9;
}

.agent-status i {
  color: #86efac;
  font-size: 0.55rem;
}

.chat-messages {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-base);
}

.message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.msg-incoming {
  background: #ffffff;
  color: var(--text-main);
  align-self: flex-start;
  border: 1px solid var(--border-glass-subtle);
  border-bottom-left-radius: 2px;
}

.msg-outgoing {
  background: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg-time {
  display: block;
  font-size: 0.68rem;
  margin-top: 4px;
  opacity: 0.7;
}

.chat-quick-actions {
  padding: 8px 12px;
  background: #ffffff;
  display: flex;
  gap: 6px;
  border-top: 1px solid var(--border-glass-subtle);
  overflow-x: auto;
}

.quick-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  background: var(--bg-base);
  border: 1px solid var(--border-glass-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}

.quick-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.chat-input-area {
  display: flex;
  padding: 10px;
  background: #ffffff;
  border-top: 1px solid var(--border-glass-subtle);
}

.chat-input-area input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-glass-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  outline: none;
}

.chat-input-area button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 0 12px;
  cursor: pointer;
}

/* ==========================================================================
   Legal Pages, Page Headers, Popup & Modal
   ========================================================================== */
.page-header-section {
  padding: 70px 0 40px;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-glass-subtle);
}

.breadcrumbs {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs i {
  font-size: 0.7rem;
  margin: 0 8px;
}

.legal-content {
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-subtle);
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--text-main);
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 16px;
}

.legal-content p strong {
  color: var(--text-main);
}

/* Contact Page Specific */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.contact-info-panel {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-subtle);
}

.contact-info-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-details-list i {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-details-list h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-details-list p,
.contact-details-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form-wrapper {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass-subtle);
}

/* Popup Modal */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.popup.show {
  opacity: 1;
  pointer-events: all;
}

.popup-content {
  max-width: 480px;
  padding: 40px;
  background: #ffffff;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition);
}

.popup.show .popup-content {
  transform: scale(1);
}

.popup-icon {
  font-size: 3.5rem;
  color: var(--success);
  margin-bottom: 16px;
}

.popup-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.popup-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   Footer (Identical Site-Wide)
   ========================================================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-glass-subtle);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-base);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-glass-subtle);
}

.social-links a:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.footer-col-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-contact i {
  color: var(--primary);
  width: 16px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--bg-alt);
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid,
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-wrapper,
  .consultation-wrapper,
  .contact-wrapper,
  .pane-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    padding: 80px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1100;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
  }

  .services-grid,
  .testimonials-grid,
  .industries-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .chat-window {
    width: calc(100vw - 32px);
    right: -16px;
  }

  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
}
