/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  --bg-dark: #060814;
  --bg-panel: rgba(13, 17, 39, 0.7);
  --border-glass: rgba(0, 242, 254, 0.15);
  --cyan: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.3);
  --purple: #9d4edd;
  --purple-glow: rgba(157, 78, 221, 0.3);
  --text-main: #f0f3ff;
  --text-muted: #94a3b8;
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Roboto", sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1280px;
}

/* ==========================================================================
   2. GLOBAL RESET & BASE RULES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark);
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   3. VISUAL DECORATIVE LAYERS
   ========================================================================== */
.background-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0, 242, 254, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  pointer-events: none;
}

.background-grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 10%,
    var(--bg-dark) 90%
  );
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;
}

.orb-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
  animation: pulseOrb 12s infinite alternate ease-in-out;
}

.orb-2 {
  width: 550px;
  height: 550px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--purple-glow), transparent 70%);
  animation: pulseOrb 18s infinite alternate-reverse ease-in-out;
}

@keyframes pulseOrb {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(30px, 40px);
  }
}

/* ==========================================================================
   4. LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 30%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--cyan);
}
.text-purple {
  color: var(--purple);
}

.subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--cyan-glow);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Glass panel background */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 15px 40px rgba(0, 242, 254, 0.08);
}

/* ==========================================================================
   5. COMPONENT ELEMENTS (BUTTONS & BADGES)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  color: #030712;
  border: none;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.btn-primary span {
  position: relative;
  z-index: 2;
  font-weight: 900;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--cyan);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
}

.cyber-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border: 1px solid var(--cyan);
  background: rgba(0, 242, 254, 0.05);
  border-radius: 4px;
  margin-bottom: 2rem;
  text-shadow: 0 0 5px var(--cyan);
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 8, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(6, 8, 20, 0.95);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition-smooth);
}

.header.scrolled .navbar {
  height: 70px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: var(--transition-smooth);
  box-shadow: 0 0 8px var(--cyan);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Hamburger active transformation */
.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 12rem 0 8rem;
  position: relative;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Interactive Hologram Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hologram-card {
  width: 100%;
  max-width: 420px;
  background: rgba(13, 17, 39, 0.85);
  border: 1px solid var(--cyan);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
  position: relative;
  overflow: hidden;
}

.hologram-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 242, 254, 0.08) 50%,
    transparent
  );
  transform: rotate(30deg);
  animation: hologramGlint 4s infinite linear;
}

@keyframes hologramGlint {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.hologram-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: simplePulse 1.5s infinite;
}

@keyframes simplePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hologram-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
}

.hologram-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat-circle {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.stat-circle circle {
  fill: none;
  stroke-width: 6;
}

.stat-circle circle.base {
  stroke: rgba(255, 255, 255, 0.05);
}

.stat-circle circle.progress {
  stroke: var(--cyan);
  stroke-dasharray: 251.2;
  stroke-dashoffset: 25.12; /* 90% progress */
  stroke-linecap: round;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-lbl {
  font-size: 0.6rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stat-metrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-heading);
}

.metric-row span {
  color: var(--text-muted);
}

.metric-row span.value {
  color: var(--text-main);
  font-weight: 700;
}

.metric-row span.glow {
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan);
}

.hologram-graph {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.bar-fill {
  flex: 1;
  background: linear-gradient(to top, var(--purple-glow), var(--cyan));
  border-radius: 4px 4px 0 0;
  animation: barGrow 3s infinite alternate ease-in-out;
  transform-origin: bottom;
}

.bar-fill:nth-child(2) {
  animation-delay: 0.3s;
}
.bar-fill:nth-child(3) {
  animation-delay: 0.6s;
}
.bar-fill:nth-child(4) {
  animation-delay: 0.1s;
}
.bar-fill:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes barGrow {
  0% {
    transform: scaleY(0.7);
  }
  100% {
    transform: scaleY(1);
  }
}

/* ==========================================================================
   8. BRAND TICKER SECTION
   ========================================================================== */
.brand-ticker-section {
  padding: 3rem 0;
  background: rgba(6, 8, 20, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ticker-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  width: 100%;
}

.ticker-content {
  display: inline-flex;
  animation: tickScroll 25s infinite linear;
  gap: 5rem;
  padding-right: 5rem;
}

.ticker-item {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.ticker-item i {
  font-size: 1.6rem;
}

.ticker-item:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

@keyframes tickScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ==========================================================================
   9. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2.5rem;
}

.service-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.card-features li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-features li i {
  color: var(--cyan);
}

/* ==========================================================================
   10. LIVE DASHBOARD & MOCK REPORT PREVIEW
   ========================================================================== */
.dashboard-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.f-row {
  display: flex;
  gap: 1.5rem;
}

.f-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.f-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.f-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dashboard-display-block {
  display: flex;
  justify-content: center;
}

.dashboard-mockup {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
}

.mockup-header {
  background: rgba(6, 8, 20, 0.8);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.mockup-header .controls {
  display: flex;
  gap: 6px;
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-header .dot.red {
  background-color: #ef4444;
}
.mockup-header .dot.yellow {
  background-color: #f59e0b;
}
.mockup-header .dot.green {
  background-color: #10b981;
}

.mockup-tab {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mockup-body {
  padding: 2rem;
}

.metric-grid-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.m-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.25rem;
}

.m-lbl {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.m-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.m-sub {
  font-size: 0.7rem;
  display: block;
}

.visual-graph-wrapper {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 10px;
  margin-bottom: 2rem;
}

.y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.graph-canvas {
  height: 120px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.graph-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.grid-lines-mock {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-lines-mock .h-grid {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.feed-log {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 1rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 110px;
  overflow-y: hidden;
}

.feed-log .log-entry {
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-log .time {
  color: var(--purple);
}

/* ==========================================================================
   11. INTERACTIVE CAMPAIGN BUDGET CALCULATOR
   ========================================================================== */
.calculator-wrapper {
  padding: 4rem;
}

.calc-header {
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.calc-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.input-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.slider-container {
  margin-bottom: 1rem;
}

.slider-container input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--cyan);
  transition: var(--transition-smooth);
}

.slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-markers {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.numeric-display {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
}

.input-group select {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.input-group select:focus {
  border-color: var(--cyan);
}

.calc-outputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.calc-stat-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-meta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.calc-stat-box .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
}

.calc-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 1rem;
}

/* ==========================================================================
   12. INDUSTRY-SPECIFIC VERTICALS
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.industry-card {
  padding: 3rem;
}

.ind-icon {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   13. ABOUT SECTION & IMAGE STACK
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-box {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 460px;
  border: 1px solid var(--border-glass);
}

.image-box img {
  filter: grayscale(40%) contrast(110%);
  transition: var(--transition-smooth);
}

.image-box:hover img {
  filter: grayscale(0%) contrast(100%);
  transform: scale(1.03);
}

.about-text-content h2 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.about-text-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-item {
  display: flex;
  gap: 1.25rem;
}

.pillar-item i {
  font-size: 1.25rem;
  color: var(--cyan);
  margin-top: 0.25rem;
}

.pillar-item h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   14. OPERATIONAL METHODOLOGY (TIMELINE)
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
}

.timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 242, 254, 0.1);
  margin-bottom: -1.5rem;
  margin-left: 1rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-step:hover .step-num {
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan-glow);
}

.step-content {
  padding: 2.5rem 2rem;
  flex-grow: 1;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================================================
   15. CUSTOMER TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-size: 2rem;
  color: var(--cyan);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.quote-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.client-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  font-size: 2.2rem;
  color: var(--purple);
}

.client-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.client-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   16. FAQ ACCORDION
   ========================================================================== */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-trigger h3 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  padding-right: 1.5rem;
}

.faq-icon {
  font-size: 1rem;
  color: var(--cyan);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 2.5rem;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding-bottom: 2rem;
}

/* ==========================================================================
   17. CALL TO ACTION (CTA)
   ========================================================================== */
.cta-banner-wrapper {
  padding: 6rem;
  position: relative;
  overflow: hidden;
}

.cta-banner-wrapper::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

/* ==========================================================================
   18. CONTACT PAGE SPECIFIC STYLING
   ========================================================================== */
.page-header-section {
  padding: 12rem 0 6rem;
  text-align: center;
  background: rgba(6, 8, 20, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.page-header-section h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-header-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-page-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  padding: 3rem;
}

.contact-info-block h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-info-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.info-text p {
  margin: 0;
  color: var(--text-muted);
}

.info-text a:hover {
  color: var(--cyan);
}

.contact-form-block {
  padding: 3rem;
}

.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.form-group select option {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

/* Form success dynamic modal popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 8, 20, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  max-width: 450px;
  width: 90%;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.popup-close:hover {
  color: var(--cyan);
}

.popup-icon {
  font-size: 4rem;
  color: var(--cyan);
  margin-bottom: 2rem;
  text-shadow: 0 0 15px var(--cyan-glow);
}

.popup-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.popup-content p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   19. LEGAL PAGES STRUCTURAL STYLING
   ========================================================================== */
.legal-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem;
}

.legal-content-wrapper p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.legal-content-wrapper h2 {
  font-size: 1.6rem;
  margin: 3.5rem 0 1.5rem;
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(0, 242, 254, 0.2);
  padding-bottom: 0.5rem;
}

.legal-content-wrapper ul {
  list-style: square;
  margin-left: 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.legal-content-wrapper ul li {
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   20. UNIVERSAL FOOTER REDESIGN
   ========================================================================== */
.footer {
  background: #03040b;
  border-top: 1px solid var(--border-glass);
  padding: 6rem 0 3rem;
  position: relative;
  z-index: 10;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-about .footer-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
  transform: translateY(-2px);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  letter-spacing: 0.1em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links ul a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact li i {
  color: var(--cyan);
  margin-top: 0.25rem;
}

.footer-contact li a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* Back to Top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: rgba(13, 17, 39, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 99;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--cyan);
  color: #030712;
  box-shadow: 0 0 15px var(--cyan);
  transform: translateY(-3px);
}

/* ==========================================================================
   21. INTERACTIVE SYSTEM PREVIEW INTERFACES
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
}

.chat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4);
  position: relative;
  transition: var(--transition-smooth);
}

.chat-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 25px rgba(157, 78, 221, 0.6);
}

.chat-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--purple);
  animation: simplePulse 2s infinite ease-out;
}

.chat-window {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 340px;
  height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.chat-window.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-header {
  background: rgba(6, 8, 20, 0.9);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-glass);
}

.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.chat-close:hover {
  color: var(--cyan);
}

.chat-messages {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-messages .msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-messages .msg.bot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  border-bottom-left-radius: 1px;
}

.chat-messages .msg.user {
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid var(--border-glass);
  align-self: flex-end;
  border-bottom-right-radius: 1px;
}

.chat-options {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.chat-opt {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chat-opt:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: var(--cyan);
  color: var(--text-main);
}

/* ==========================================================================
   22. RESPONSIVE DISPATCH ARCHITECTURE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .hero-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .dashboard-grid-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .industries-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-page-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 90px;
    flex-direction: column;
    background: rgba(6, 8, 20, 0.98);
    border-right: 1px solid var(--border-glass);
    width: 280px;
    height: calc(100vh - 90px);
    padding: 4rem 2rem;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 100;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .header.scrolled .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .nav-menu.active {
    left: 0;
  }

  .header-actions .btn {
    display: none; /* Hide primary call on small structures inside nav bar */
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .page-header-section h1 {
    font-size: 2.5rem;
  }

  .calculator-wrapper {
    padding: 2rem;
  }

  .contact-form-block,
  .contact-info-block {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-content-wrapper {
    padding: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }
}
