/* ==========================================================================
   AWARDS-LEVEL DIGITAL MARKETING AGENCY CSS ARCHITECTURE
   ========================================================================== */

:root {
  --bg-primary: #08080a;
  --bg-secondary: #0f0f13;
  --bg-tertiary: #16161d;
  --accent-primary: #8a2be2; /* Neon Violet */
  --accent-secondary: #00f2fe; /* Cyber Cyan */
  --text-primary: #f5f5f7;
  --text-muted: #9e9ea7;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(15, 15, 19, 0.7);
  --glass-blur: blur(12px);
  --font-main: "Plus Jakarta Sans", sans-serif;
  --font-display: "Teko", sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --glow-glow: 0 0 30px rgba(138, 43, 226, 0.3);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Background Grids & Elements */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.15) 0%,
    rgba(0, 242, 254, 0.05) 50%,
    transparent 100%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition:
    width 0.2s ease,
    height 0.2s ease;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.section-padding {
  padding: 120px 0;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Gradient Text & Headers */
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-header {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-secondary);
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
}

.section-desc {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
}

/* Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  color: #fff;
  border: none;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--accent-secondary) 0%,
    var(--accent-primary) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background: rgba(8, 8, 10, 0.8);
  backdrop-filter: var(--glass-blur);
  transition: all 0.3s var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background: rgba(8, 8, 10, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.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;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: rgba(138, 43, 226, 0.1);
  border: 1px solid rgba(138, 43, 226, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-secondary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 15px var(--accent-secondary);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(transparent, var(--bg-primary));
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   2. MARQUEE TICKER SECTION
   ========================================================================== */
.ticker-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  overflow: hidden;
  position: relative;
}

.ticker-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee-anim 25s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.marquee-item i {
  font-size: 1.8rem;
  color: var(--accent-primary);
}

.marquee-item:hover {
  color: var(--text-primary);
}

@keyframes marquee-anim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   3. SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--bg-primary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(138, 43, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.service-icon-wrap i {
  font-size: 1.8rem;
  color: var(--accent-secondary);
  transition: transform 0.4s var(--transition-smooth);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.service-bullets i {
  color: var(--accent-primary);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 43, 226, 0.4);
  box-shadow: var(--glow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon-wrap i {
  transform: rotateY(180deg);
}

/* ==========================================================================
   4. LIVE METRIC DASHBOARD SECTION
   ========================================================================== */
.dashboard-section {
  background-color: var(--bg-secondary);
}

.dashboard-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dashboard-info .sub-header {
  margin-bottom: 16px;
}

.dashboard-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.dashboard-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.dash-metric-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.dash-metric-row .label {
  color: var(--text-muted);
  font-weight: 500;
}

.dash-metric-row .value {
  font-weight: 700;
  color: var(--accent-secondary);
}

.dash-controls {
  display: flex;
  gap: 12px;
}

.dash-controls .btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* Mock Browser Visual */
.mock-browser {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.browser-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red {
  background-color: #ff5f56;
}
.browser-dot.yellow {
  background-color: #ffbd2e;
}
.browser-dot.green {
  background-color: #27c93f;
}

.browser-url {
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 2px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.browser-body {
  padding: 30px;
}

.chart-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.stat-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 700;
}

.stat-trend {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.stat-trend.trend-up {
  color: #27c93f;
}

.visual-graph-container {
  height: 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

.graph-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.graph-bar {
  background: rgba(138, 43, 226, 0.2);
  width: 10%;
  height: var(--height);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.graph-bar.highlight {
  background: linear-gradient(
    to top,
    var(--accent-primary),
    var(--accent-secondary)
  );
}

.graph-bar span {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. STRATEGY SECTION
   ========================================================================== */
.strategy-section {
  background: var(--bg-primary);
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.strategy-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  transition: all 0.3s ease;
}

.step-num {
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-primary);
  margin-bottom: 20px;
}

.strategy-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.strategy-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.strategy-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

/* ==========================================================================
   6. INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.calculator-section {
  background: var(--bg-secondary);
}

.calculator-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 60px;
}

.calc-header {
  margin-bottom: 40px;
}

.calc-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.slider-header label {
  color: var(--text-primary);
}

.value-display {
  color: var(--accent-secondary);
}

/* Custom Range Styles */
.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: 3px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-primary);
  transition: transform 0.2s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-outputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.output-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}

.output-card.highlighted {
  border-color: var(--accent-primary);
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.1) 0%,
    transparent 100%
  );
}

.output-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.output-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-secondary);
}

.output-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.output-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.output-card-small {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
}

.output-card-small .output-val {
  font-size: 1.8rem;
}

/* ==========================================================================
   7. INDUSTRY PLAYBOOKS
   ========================================================================== */
.industries-section {
  background: var(--bg-primary);
}

.tabs-nav-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.tabs-nav {
  display: flex;
  background: var(--bg-secondary);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--text-primary);
  background: var(--accent-primary);
}

.tab-content-container {
  position: relative;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.tab-panel-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.tab-panel-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.benefit-list i {
  color: var(--accent-secondary);
}

.tab-panel-visual {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.feature-metric {
  text-align: center;
}

.feature-metric .metric-num {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-primary);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.feature-metric .metric-lbl {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   8. ABOUT STORY SECTION WITH STATS
   ========================================================================== */
.about-section {
  background: var(--bg-secondary);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-preview-card {
  height: 400px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blurred-bg-logo {
  width: 150px;
  opacity: 0.2;
  filter: blur(4px);
  transition: all 0.5s ease;
}

.video-preview-card:hover .blurred-bg-logo {
  transform: scale(1.1);
  opacity: 0.4;
}

.overlay-stats-pill {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(8, 8, 10, 0.8);
  backdrop-filter: var(--glass-blur);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.overlay-stats-pill i {
  color: var(--accent-secondary);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.counter-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.counter-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   9. TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  transition: transform 0.3s ease;
}

.testimonial-stars {
  color: #ffbd2e;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-details strong {
  display: block;
  font-size: 1rem;
}

.author-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

/* ==========================================================================
   10. CALL TO ACTION PRE-FOOTER
   ========================================================================== */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  z-index: 2;
}

.cta-inner-card {
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-tertiary) 100%
  );
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(138, 43, 226, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.cta-desc {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta-btn-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   CONTACT PAGE & LEGAL STYLES
   ========================================================================== */
.page-header-section {
  padding: 180px 0 80px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.page-header-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.page-header-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 24px auto;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--accent-secondary);
}

.breadcrumbs i {
  font-size: 0.75rem;
  margin: 0 8px;
}

/* Contact Wrapper Layout */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-details-list li {
  display: flex;
  gap: 20px;
}

.contact-details-list i {
  width: 44px;
  height: 44px;
  background: rgba(138, 43, 226, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details-list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-details-list p,
.contact-details-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-details-list a:hover {
  color: var(--accent-primary);
}

/* Creative Form Styling */
.contact-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
  border-bottom: 1px solid var(--border-color);
  padding-top: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 0;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group select {
  color: var(--text-muted);
  cursor: pointer;
}

.form-group label {
  position: absolute;
  top: 28px;
  left: 0;
  color: var(--text-muted);
  transition: all 0.3s var(--transition-smooth);
  pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
  top: 0px;
  font-size: 0.8rem;
  color: var(--accent-secondary);
}

.form-group.text-field {
  border: none;
}

.form-group select {
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 10px 0;
}

/* Success Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 50px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--glow-glow);
}

.popup-icon {
  font-size: 4rem;
  color: var(--accent-secondary);
  margin-bottom: 24px;
}

.popup h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.popup p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Legal Content Details */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER SECTION (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-about-text {
  color: var(--text-muted);
  margin-top: 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-secondary);
  padding-left: 5px;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent-primary);
  margin-top: 4px;
}

.footer-contact a {
  color: var(--text-muted);
}

.footer-contact a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS & SCROLL EFFECT ARCHITECTURE
   ========================================================================== */
.animate-in {
  opacity: 0;
  transition:
    transform 0.8s var(--transition-smooth),
    opacity 0.8s var(--transition-smooth);
}

.animate-in[data-animation="fade-in-up"] {
  transform: translateY(40px);
}

.animate-in[data-animation="fade-in-left"] {
  transform: translateX(-40px);
}

.animate-in[data-animation="fade-in-right"] {
  transform: translateX(40px);
}

.animate-in.active {
  opacity: 1;
  transform: translate(0) !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUTS (MOBILE / TABLET BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .section-padding {
    padding: 80px 0;
  }
  .dashboard-wrapper,
  .tab-panel-grid,
  .about-wrapper,
  .calc-body,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 100px 40px;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.4s var(--transition-smooth);
    z-index: 200;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .nav-toggle,
  .nav-close {
    display: block;
  }

  .nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
  }

  .header-actions .btn {
    display: none; /* Hide Quote button in small screen header to save space */
  }

  .strategy-grid,
  .testimonials-carousel {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-btn-wrap {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-counter-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
