/* ==========================================================================
   CSS VARIABLE SYSTEM & PALETTE
   ========================================================================== */
:root {
  --bg-main: #060609;
  --bg-card: rgba(18, 18, 26, 0.7);
  --bg-card-hover: rgba(28, 28, 40, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.35);

  --primary: #6366f1; /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.15);
  --secondary: #06b6d4; /* Neon Teal */
  --secondary-glow: rgba(6, 182, 212, 0.15);
  --accent: #d946ef; /* Magenta Spark */

  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  --font-sans: "Poppins", sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --z-cursor: 9999;
  --z-header: 1000;
  --z-modal: 1100;
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   CUSTOM CURSOR (AWWARDS-ESTHETIC)
   ========================================================================== */
.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s;
}

.cursor-outline {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(6, 182, 212, 0.4);
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transition:
    var(--transition-smooth),
    width 0.3s,
    height 0.3s;
}

body.hover-link .cursor-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
}

body.hover-link .cursor-outline {
  width: 50px;
  height: 50px;
  border-color: rgba(99, 102, 241, 0.7);
  background-color: rgba(99, 102, 241, 0.05);
}

/* Hide cursor on touch devices */
@media (max-width: 1024px) {
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    #ffffff 30%,
    var(--primary) 70%,
    var(--secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  border-color: rgba(99, 102, 241, 0.3);
  color: #fff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.btn i {
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn:hover i {
  transform: translateX(4px);
}

/* Animations Trigger Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   STRICT COHERENT HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: var(--z-header);
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(6, 6, 9, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  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: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hamburger toggle menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-box {
  width: 28px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.hamburger-inner {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.hamburger-inner::before {
  top: -8px;
}
.hamburger-inner::after {
  top: 8px;
}

.mobile-toggle[aria-expanded="true"] .hamburger-inner {
  background-color: transparent;
}

.mobile-toggle[aria-expanded="true"] .hamburger-inner::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger-inner::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(6, 6, 9, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav nav ul li {
  margin: 2rem 0;
}

.mobile-nav nav ul li a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.mobile-nav nav ul li a:hover {
  color: var(--text-primary);
}

@media (max-width: 991px) {
  .nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }
}

/* ==========================================================================
   STRICT COHERENT FOOTER
   ========================================================================== */
.footer {
  background: #09090e;
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 2rem 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-logo {
  height: 42px;
  margin-bottom: 1.5rem;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-bounce);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-info li i {
  color: var(--secondary);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   HERO SECTION (AWWARDS METRICS STYLE)
   ========================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 150px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.12) 0%,
    rgba(6, 182, 212, 0.05) 50%,
    transparent 100%
  );
  pointer-events: none;
  filter: blur(80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Abstract visual elements (Floating Dashboard Graphic) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dashboard-mockup {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.8),
    rgba(10, 10, 15, 0.9)
  );
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-hover);
}

.mockup-dot:nth-child(1) {
  background-color: #ef4444;
}
.mockup-dot:nth-child(2) {
  background-color: #f59e0b;
}
.mockup-dot:nth-child(3) {
  background-color: #10b981;
}

.mockup-analytics-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.mockup-metric {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: monospace;
}

.mockup-graph-svg {
  width: 100%;
  height: 150px;
  margin-top: 1rem;
}

.floating-pill {
  position: absolute;
  background: rgba(6, 182, 212, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: floatAlternate 8s ease-in-out infinite;
}

.pill-1 {
  top: -20px;
  right: 20px;
}

.pill-2 {
  bottom: -15px;
  left: 10px;
  animation-delay: 2s;
}

@keyframes floatAlternate {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(2deg);
  }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 2.5rem auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero {
    padding-top: 130px;
  }
}

/* ==========================================================================
   TRUST BELT / LOGO RIBBON
   ========================================================================== */
.trust-belt {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.ribbon-track {
  display: flex;
  width: calc(250px * 10);
  animation: scrollTrack 25s linear infinite;
  gap: 3rem;
}

.ribbon-track:hover {
  animation-play-state: paused;
}

.ribbon-item {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  transition: var(--transition-smooth);
  opacity: 0.5;
}

.ribbon-item i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: var(--primary);
}

.ribbon-item:hover {
  color: var(--text-primary);
  opacity: 1;
}

@keyframes scrollTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  }
}

/* ==========================================================================
   SERVICES (GRID DECK)
   ========================================================================== */
.services-section {
  padding: 8rem 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    var(--primary-glow),
    transparent 60%
  );
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 2rem;
  position: relative;
  z-index: 5;
  transition: var(--transition-bounce);
}

.service-card:hover .service-card-icon {
  background: var(--primary);
  color: #fff;
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 5;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 5;
}

.service-card-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  position: relative;
  z-index: 5;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   INTERACTIVE PORTFOLIO/CAMPAIGN REPORTS
   ========================================================================== */
.campaign-section {
  padding: 8rem 0;
  background: rgba(255, 255, 255, 0.01);
}

.dashboard-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 30px;
  padding: 3.5rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.dashboard-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  justify-content: center;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.dashboard-panel {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.dashboard-panel.active {
  display: grid;
}

.chart-visual-pane {
  background: #09090e;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.chart-bars-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 250px;
  margin-top: 1.5rem;
}

.chart-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 14%;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--primary), transparent);
  border-radius: 6px 6px 0 0;
  height: 0%;
  transition: height 1s ease-out;
}

.dashboard-panel.active .chart-bar-1 {
  height: 45%;
}
.dashboard-panel.active .chart-bar-2 {
  height: 65%;
}
.dashboard-panel.active .chart-bar-3 {
  height: 80%;
}
.dashboard-panel.active .chart-bar-4 {
  height: 50%;
}
.dashboard-panel.active .chart-bar-5 {
  height: 95%;
}

.chart-bar-group span {
  font-size: 0.75rem;
  color: var(--text-dark);
}

.panel-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.p-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 14px;
}

.p-metric-card .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.25rem;
}

.p-metric-card .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 991px) {
  .dashboard-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==========================================================================
   INTERACTIVE ROI & BUDGET CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 8rem 0;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.calc-slider-group label span:nth-child(2) {
  color: var(--secondary);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-outputs {
  background: #09090e;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.output-stat {
  text-align: center;
}

.output-stat span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.output-val {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-top: 0.5rem;
}

@media (max-width: 991px) {
  .calculator-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 3rem;
  }
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-card-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-bounce);
}

.about-card-stat:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.about-card-stat h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-card-stat p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 8rem 0;
  background: rgba(255, 255, 255, 0.01);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  transition: var(--transition-bounce);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-dark);
}

/* ==========================================================================
   FAQ & CLIENT STRATEGY STEPS
   ========================================================================== */
.faq-steps-section {
  padding: 8rem 0;
}

.faq-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
}

.step-num {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-info p {
  color: var(--text-muted);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  user-select: none;
}

.faq-icon {
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.01);
}

.faq-body p {
  padding: 1.5rem;
  color: var(--text-muted);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

@media (max-width: 991px) {
  .faq-steps-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner {
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.05)),
    var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 30px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* ==========================================================================
   SUBPAGES (Privacy, Terms, Disclaimer, Contact)
   ========================================================================== */
.subpage {
  background: var(--bg-main);
}

.page-header {
  padding: 180px 0 50px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.page-header-background {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--text-primary);
}

.breadcrumbs i {
  font-size: 0.75rem;
}

.page-content {
  padding: 6rem 0;
}

.content-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4rem;
}

.content-wrapper p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.content-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
}

.content-wrapper ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.content-wrapper ul li {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-wrapper ul li::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.75rem;
}

/* Contact Page Form styling */
.contact-page-section {
  padding: 6rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4rem 3rem;
}

.contact-info-block h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info-block p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-methods {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-methods li {
  display: flex;
  gap: 1.5rem;
}

.contact-methods li i {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-methods li h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-methods li span,
.contact-methods li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-main);
  color: var(--text-primary);
}

.form-group label {
  position: absolute;
  left: 1.25rem;
  top: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  pointer-events: none;
  font-size: 0.95rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.6rem;
  left: 0.75rem;
  background: #0d0d15;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
}

.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -0.6rem;
  left: 0.75rem;
  background: #0d0d15;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: var(--primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.02);
}

.select-label {
  top: -0.6rem !important;
  left: 0.75rem !important;
  background: #0d0d15 !important;
  padding: 0 0.5rem !important;
  font-size: 0.8rem !important;
}

/* Modal Popup Success Box */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 6, 9, 0.85);
  backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-overlay:target {
  display: flex;
}

.popup-content {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 20px;
  padding: 4rem 3rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.popup-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.popup-icon {
  font-size: 2.2rem;
  color: #10b981;
}

.popup-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.popup-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.popup-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.popup-close-btn {
  width: 100%;
}

@media (max-width: 991px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
