/* ==========================================================================
   DOMAINGROWTH DESIGN SYSTEM - Awwwards-Quality Dark Aesthetic
   ========================================================================== */

:root {
  --bg-dark: #07090e;
  --bg-surface: #0e131f;
  --bg-surface-elevated: #161f33;
  --bg-glass: rgba(16, 24, 40, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(99, 102, 241, 0.4);

  --primary: #6366f1;
  --primary-glow: #818cf8;
  --secondary: #ec4899;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --font-heading: "Space Grotesk", -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
}

/* Reset & Base Setup */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: var(--bg-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ambient Glow Mesh Background */
.glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -100px;
  left: 15%;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary), transparent);
  top: 40%;
  right: -150px;
  animation-delay: -5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan), transparent);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 40px) scale(1.1);
  }
  100% {
    transform: translate(-40px, 70px) scale(0.95);
  }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* Typography & Header Badges */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    var(--primary-glow) 50%,
    var(--accent-cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER & NAVBAR (Strictly Universal)
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-smooth);
  background: transparent;
}

.header.scrolled {
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(7, 9, 14, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right 0.4s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 90px 0 100px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.stat-mini strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-heading);
  color: #ffffff;
}

.stat-mini span {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-glass);
}

/* Hero Glass Card Graphic */
.hero-card-glass {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(22, 31, 51, 0.75),
    rgba(14, 19, 31, 0.85)
  );
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    var(--shadow-glow);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
}

.dots {
  display: flex;
  gap: 6px;
}

.dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ef4444;
}
.dot.yellow {
  background: #f59e0b;
}
.dot.green {
  background: #10b981;
}

.card-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.metric-highlight {
  margin-bottom: 28px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.metric-number-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.metric-val {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #ffffff;
}

.metric-pill {
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.bar-chart-preview {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 140px;
  padding-top: 20px;
  gap: 12px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  background: rgba(99, 102, 241, 0.25);
  border-radius: 6px 6px 0 0;
  transition: height 1s ease;
}

.bar-col.highlight .bar-fill {
  background: linear-gradient(180deg, var(--accent-cyan), var(--primary));
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.bar-col span {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(14, 19, 31, 0.9);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.badge-top-right {
  top: -24px;
  right: -24px;
}

.badge-bottom-left {
  bottom: -24px;
  left: -24px;
}

.floating-badge i {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.floating-badge small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.floating-badge strong {
  font-size: 0.9rem;
  color: #ffffff;
}

/* Floating Animations */
.float-slow {
  animation: floatY 5s infinite ease-in-out;
}
.float-rev {
  animation: floatY 6s infinite ease-in-out reverse;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ==========================================================================
   3. PARTNER TICKER
   ========================================================================== */

.ticker-section {
  padding: 30px 0 60px 0;
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.ticker-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.ticker-item:hover {
  color: #ffffff;
  opacity: 1;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   4. CORE SERVICES GRID
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-glow);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    var(--shadow-glow);
}

.service-card.featured {
  background: linear-gradient(160deg, #18223c, #0e131f);
  border-color: rgba(99, 102, 241, 0.5);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-glow);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-features li i {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

/* ==========================================================================
   5. INTERACTIVE ROI CALCULATOR
   ========================================================================== */

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.calc-guarantee-box {
  margin-top: 36px;
  display: flex;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-cyan);
}

.calc-guarantee-box i {
  font-size: 1.8rem;
  color: var(--accent-cyan);
}

.calc-guarantee-box h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.calc-guarantee-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.calculator-card {
  padding: 40px;
}

.calc-field {
  margin-bottom: 26px;
}

.field-label-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.field-label-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.calc-display-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-glow);
}

.custom-range {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px var(--primary);
  transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.custom-select {
  width: 100%;
  padding: 13px 18px;
  background: rgba(14, 19, 31, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 28px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}

.result-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.result-label {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 6px;
}

.result-value {
  font-size: 1.45rem;
  font-family: var(--font-heading);
}

/* ==========================================================================
   6. LIVE REPORTING PREVIEW SECTION
   ========================================================================== */

.dashboard-preview-card {
  padding: 30px;
  max-width: 1060px;
  margin: 0 auto;
}

.dashboard-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.dash-tabs {
  display: flex;
  gap: 10px;
}

.dash-tab {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dash-tab.active,
.dash-tab:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
  color: #ffffff;
}

.dash-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-emerald);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.dash-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dash-stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
}

.dash-stat-title {
  font-size: 0.82rem;
  color: var(--text-subtle);
  display: block;
  margin-bottom: 8px;
}

.dash-stat-val {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.badge-tag.up {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.badge-tag.down {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.dash-graph-container {
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.dash-graph-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.timeframe-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.synthetic-graph {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.graph-grid-line {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
  height: 33.3%;
}

.graph-svg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.graph-svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   7. INDUSTRY-SPECIFIC MARKETING
   ========================================================================== */

.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.industry-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
}

.industry-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.industry-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.industry-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-glow);
  background: rgba(99, 102, 241, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* ==========================================================================
   8. TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  display: flex;
  gap: 4px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.quote-text {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 28px;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid var(--border-glass-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-glow);
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   9. CONSULTATION FORM & SUBPAGE FORMS
   ========================================================================== */

.consultation-box {
  padding: 50px;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.perks-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.perk-item i {
  color: var(--accent-emerald);
  font-size: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  background: rgba(14, 19, 31, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

/* ==========================================================================
   10. FLOATING LIVE CHAT WIDGET
   ========================================================================== */

.live-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
  transform: scale(1.08);
}

.chat-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary-glow);
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.chat-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-glass-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.chat-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: rgba(22, 31, 51, 0.95);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #ffffff;
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-emerald);
  border: 2px solid #000;
  border-radius: 50%;
}

.chat-agent-info h4 {
  font-size: 0.9rem;
}

.chat-agent-info small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.chat-msg.incoming {
  background: rgba(255, 255, 255, 0.08);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.outgoing {
  background: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg-time {
  display: block;
  font-size: 0.65rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 10px;
  background: rgba(14, 19, 31, 0.95);
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
}

.chat-input-area button {
  background: var(--primary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
}

/* ==========================================================================
   FEEDBACK MODAL / POPUP
   ========================================================================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  max-width: 480px;
  width: 90%;
  padding: 40px;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.popup-icon {
  font-size: 3.5rem;
  color: var(--accent-emerald);
  margin-bottom: 20px;
}

.popup-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.popup-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* ==========================================================================
   SUBPAGE SPECIFIC (Contact, Privacy, Terms, Disclaimer)
   ========================================================================== */

.page-header-section {
  padding: 80px 0 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 60px;
}

.page-header-content h1 {
  font-size: 3rem;
  margin-bottom: 14px;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.breadcrumbs a {
  color: var(--primary-glow);
}

.contact-section {
  padding-bottom: 100px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.method-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-glow);
  font-size: 1.2rem;
}

.method-details h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.method-details p,
.method-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* Legal Pages (Modular & Clean) */
.legal-content {
  padding-bottom: 100px;
}

.legal-content .content-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 50px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px 0;
  color: var(--primary-glow);
}

.legal-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.legal-content ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 8px;
}

/* ==========================================================================
   11. FOOTER (Strictly Universal & Identical)
   ========================================================================== */

.footer {
  background: #04060a;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about-text {
  font-size: 0.9rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.1rem;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-list li i {
  color: var(--primary-glow);
  font-size: 1rem;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .services-grid,
  .testimonials-grid,
  .industry-cards-grid {
    grid-template-columns: 1fr;
  }
  .consultation-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .dash-metrics-row {
    grid-template-columns: 1fr;
  }
  .calc-results-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .consultation-box,
  .calculator-card,
  .contact-form-wrapper,
  .legal-content .content-wrapper {
    padding: 24px;
  }
  .floating-badge {
    display: none;
  }
}
