/* ==========================================================================
   ACCELERATED GROWTH CONSULTING | SITE CSS
   ========================================================================== */

/* --- CSS VARIABLES & THEME --- */
:root {
  --bg-main: #050505;
  --bg-surface: #0f0f0f;
  --bg-elevated: #1a1a1a;

  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --text-dark: #666666;

  --accent-primary: #00e5ff;
  --accent-secondary: #7000ff;
  --accent-glow: rgba(0, 229, 255, 0.3);

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 32px;
}

/* --- RESET & NORMALIZE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Disabled for JS smooth scroll */
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

::selection {
  background: var(--accent-primary);
  color: #000;
}

/* --- NOISE OVERLAY --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* --- CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
}
.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-primary);
  transition:
    width 0.2s,
    height 0.2s,
    background 0.2s;
}
.cursor-outline.hover {
  width: 60px;
  height: 60px;
  background: rgba(0, 229, 255, 0.1);
  border-color: transparent;
}

/* --- SMOOTH SCROLL WRAPPER --- */
.smooth-scroll-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
  overflow: hidden;
}

/* --- TYPOGRAPHY & UTILITIES --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-padding {
  padding: 120px 0;
}
.dark-bg {
  background-color: var(--bg-surface);
}
.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- REVEAL ANIMATIONS --- */
.block-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s var(--transition-smooth),
    transform 1s var(--transition-smooth);
}
.block-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}

/* --- BUTTONS --- */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--bg-main);
  background: var(--text-main);
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  outline: none;
}
.btn-primary .btn-text {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}
.btn-primary .btn-fill {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  border-radius: 50% 50% 0 0;
}
.btn-primary:hover .btn-fill {
  top: 0;
  border-radius: 0;
}
.btn-primary:hover .btn-text {
  color: var(--text-main);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  transition: border-color var(--transition-fast);
}
.btn-secondary:hover {
  border-color: var(--accent-primary);
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  transition:
    transform 0.4s ease,
    background 0.4s ease;
}
.site-header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-header.hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 1600px;
  margin: 0 auto;
}
.brand-logo img {
  height: 40px;
  display: block;
  filter: brightness(0) invert(1); /* Ensure contrast on dark bg */
}
.main-nav .nav-list {
  display: flex;
  gap: 40px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.nav-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.nav-link::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}
.nav-link:hover span {
  transform: translateY(-100%);
}
.nav-link:hover::after {
  transform: translateY(-100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 102;
}
.menu-toggle .line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s ease;
}
.menu-toggle .line-1 {
  top: 0;
}
.menu-toggle .line-2 {
  bottom: 0;
}
.menu-toggle.active .line-1 {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active .line-2 {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-main);
  z-index: 101;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu.active {
  transform: translateY(0);
}
.mobile-nav-list {
  text-align: center;
}
.mobile-nav-list li {
  margin-bottom: 2rem;
}
.mobile-nav-list a {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.hero-title {
  font-size: 5vw;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 30px;
}
.hero-subtitle {
  font-size: 1.25rem;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero-cta-group {
  display: flex;
  gap: 20px;
}

/* 3D CSS Element */
.hero-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}
.cube-container {
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  animation: rotate3d 15s infinite linear;
}
.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.face {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(5px);
}
.front {
  transform: translateZ(150px);
}
.back {
  transform: rotateY(180deg) translateZ(150px);
}
.right {
  transform: rotateY(90deg) translateZ(150px);
}
.left {
  transform: rotateY(-90deg) translateZ(150px);
}
.top {
  transform: rotateX(90deg) translateZ(150px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(150px);
}
@keyframes rotate3d {
  0% {
    transform: rotateX(0) rotateY(0);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* --- MARQUEE --- */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  background: var(--bg-surface);
}
.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
}
.marquee-content span {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-content .separator {
  margin: 0 40px;
  color: var(--accent-primary);
  font-size: 1.5rem;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.about-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-box {
  border-left: 2px solid var(--accent-primary);
  padding-left: 20px;
}
.stat-box h3 {
  font-size: 4rem;
  display: inline;
  color: var(--text-main);
}
.stat-box .suffix {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--accent-primary);
}
.stat-box p {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.service-card {
  background: var(--bg-elevated);
  padding: 50px 40px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.service-icon {
  width: 50px;
  height: 50px;
  color: var(--accent-primary);
  margin-bottom: 30px;
}
.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.service-features {
  margin-top: 30px;
}
.service-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* --- CALCULATOR --- */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.calc-interface {
  background: var(--bg-elevated);
  padding: 50px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.input-group {
  margin-bottom: 30px;
  position: relative;
}
.input-group label {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  font-size: 1.1rem;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 2px;
  outline: none;
  margin-bottom: 15px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.val-display {
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 1.1rem;
}
.calc-outputs {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}
.output-box {
  flex: 1;
}
.output-box h4 {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.output-val {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- PROCESS TIMELINE --- */
.process-timeline {
  margin-top: 60px;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 50px;
}
.process-step {
  position: relative;
  margin-bottom: 60px;
}
.process-step:last-child {
  margin-bottom: 0;
}
.step-number {
  position: absolute;
  left: -100px;
  top: 0;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.process-step::before {
  content: "";
  position: absolute;
  left: -55px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}
.step-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

/* --- REPORTS / VISUALS --- */
.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.chart-container {
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chart-bar {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.bar-fill {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px 4px 0 0;
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  height: 0;
}
.in-view .bar-fill {
  height: var(--bar-height);
}
.text-gradient-bg {
  background: linear-gradient(
    0deg,
    var(--accent-secondary),
    var(--accent-primary)
  );
}
.bar-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  color: var(--text-dark);
}
.chart-line-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.animated-path {
  fill: none;
  stroke: var(--text-main);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 2s ease;
}
.in-view .animated-path {
  stroke-dashoffset: 0;
}

/* --- TABS SECTION --- */
.tabs-container {
  margin-top: 60px;
}
.tab-headers {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.tab-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  cursor: pointer;
  padding-bottom: 10px;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s;
}
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s;
}
.tab-btn.active {
  color: var(--text-main);
}
.tab-btn.active::after {
  width: 100%;
}
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tab-text h3 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.tab-text ul {
  margin-top: 30px;
}
.tab-text li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-text li::before {
  content: "✔";
  color: var(--accent-primary);
}
.mockup-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}
.testimonial-card {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: var(--border-radius-md);
  position: relative;
}
.stars {
  color: #facc15;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}
.client-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.client-info span {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- CTA SECTION --- */
.cta-section {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.massive-text {
  font-size: 8vw;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-main);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 30px;
  position: relative;
  z-index: 10;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
}
.footer-logo {
  height: 40px;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}
.footer-brand h2 {
  font-size: 3rem;
  color: var(--text-dark);
  letter-spacing: -1px;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4,
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: var(--text-main);
}
.footer-col ul li {
  margin-bottom: 15px;
}
.footer-col a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.hover-underline {
  position: relative;
}
.hover-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.3s;
}
.hover-underline:hover {
  color: var(--text-main);
}
.hover-underline:hover::after {
  width: 100%;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.9rem;
}
.legal-links {
  display: flex;
  gap: 20px;
}

/* --- PAGE HEADER (Subpages) --- */
.page-header {
  padding: 200px 0 100px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-header h1 {
  font-size: 5rem;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- LEGAL PAGES CONTENT --- */
.legal-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.legal-content-wrapper h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin: 60px 0 20px;
}
.legal-content-wrapper p {
  margin-bottom: 20px;
}
.legal-content-wrapper ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style-type: disc;
}
.legal-content-wrapper li {
  margin-bottom: 10px;
}

/* --- CONTACT PAGE --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.contact-info-block h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.info-icon svg {
  width: 24px;
  height: 24px;
}
.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info-text p,
.info-text a {
  font-size: 1.25rem;
  color: var(--text-main);
}
.contact-form {
  background: var(--bg-elevated);
  padding: 50px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  color: var(--text-main);
  font-family: var(--font-body);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: border-color 0.3s;
}
.form-group textarea {
  height: 150px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
}
.btn-submit {
  width: 100%;
  margin-top: 20px;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 6vw;
  }
  .about-grid,
  .calc-grid,
  .reports-grid {
    gap: 40px;
  }
}
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge {
    margin: 0 auto 20px;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  .hero-cta-group {
    justify-content: center;
    margin-bottom: 60px;
  }
  .about-grid,
  .calc-grid,
  .reports-grid,
  .tab-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .page-header h1 {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  .main-nav,
  .header-actions .btn-primary {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-title {
    font-size: 12vw;
  }
  .massive-text {
    font-size: 12vw;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    padding-left: 30px;
  }
  .step-number {
    left: -60px;
    font-size: 3rem;
  }
  .process-step::before {
    left: -35px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .section-padding {
    padding: 80px 0;
  }
  .page-header h1 {
    font-size: 3rem;
  }
  .stat-box h3 {
    font-size: 3rem;
  }
  .cube-container {
    width: 200px;
    height: 200px;
  }
  .face {
    width: 200px;
    height: 200px;
    font-size: 1.5rem;
  }
  .front {
    transform: translateZ(100px);
  }
  .back {
    transform: rotateY(180deg) translateZ(100px);
  }
  .right {
    transform: rotateY(90deg) translateZ(100px);
  }
  .left {
    transform: rotateY(-90deg) translateZ(100px);
  }
  .top {
    transform: rotateX(90deg) translateZ(100px);
  }
  .bottom {
    transform: rotateX(-90deg) translateZ(100px);
  }
  .calc-interface,
  .contact-form,
  .testimonial-card {
    padding: 30px 20px;
  }
}
