/* --- START OF FILE styles.css --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  /* Color Palette */
  --bg-base: #050914;
  --bg-surface: #0a1128;
  --bg-surface-light: #131f42;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #00f0ff;
  --primary-glow: rgba(0, 240, 255, 0.4);
  --secondary: #7000ff;
  --secondary-glow: rgba(112, 0, 255, 0.4);
  --accent: #ff0055;
  --border-color: rgba(255, 255, 255, 0.08);
  --success: #10b981;

  /* Typography */
  --font-sans: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  /* Spacing & Layout */
  --container-width: 1280px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Animation Speeds */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
svg {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-muted);
}

/* ==========================================================================
   GLOBAL COMPONENTS
   ========================================================================== */

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary), var(--primary));
  z-index: -1;
  transition: var(--transition-base);
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--bg-base);
  z-index: -1;
  border-radius: 2px;
  transition: var(--transition-base);
}

.cta-button:hover::after {
  background: transparent;
}
.cta-button:hover {
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: translateY(-2px);
}

.cta-button.primary::after {
  display: none;
}
.cta-button.primary:hover {
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Section Styles */
section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-inline: auto;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   HEADER & NAVIGATION (STRICTLY CONSISTENT)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-base);
  background: rgba(5, 9, 20, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(5, 9, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition-base);
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-base);
  box-shadow: 0 0 10px var(--primary-glow);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-base);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger::before {
  top: -8px;
  left: 0;
}
.hamburger::after {
  bottom: -8px;
  left: 0;
}

.nav-toggle.active .hamburger {
  background: transparent;
}
.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ==========================================================================
   PARTICLE CANVAS (BACKGROUND)
   ========================================================================== */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at center, #0a1128 0%, #050914 100%);
}

/* ==========================================================================
   HERO SECTION (INDEX)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.glitch {
  position: relative;
  color: white;
  text-shadow:
    0.05em 0 0 var(--primary),
    -0.025em -0.05em 0 var(--secondary),
    0.025em 0.05em 0 var(--accent);
  animation: glitch 3s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--accent);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--primary);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* 3D Cube Graphic in Hero */
.hero-graphic {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  perspective: 1000px;
  z-index: 1;
  pointer-events: none;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 100px;
  left: 100px;
  background: rgba(10, 17, 40, 0.8);
  border: 2px solid var(--primary);
  box-shadow:
    0 0 20px var(--primary-glow),
    inset 0 0 20px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  backdrop-filter: blur(5px);
}

.cube-face.front {
  transform: rotateY(0deg) translateZ(100px);
}
.cube-face.back {
  transform: rotateY(180deg) translateZ(100px);
}
.cube-face.right {
  transform: rotateY(90deg) translateZ(100px);
}
.cube-face.left {
  transform: rotateY(-90deg) translateZ(100px);
}
.cube-face.top {
  transform: rotateX(90deg) translateZ(100px);
}
.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(100px);
}

/* ==========================================================================
   SERVICES OVERVIEW (3D FLIP CARDS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: transparent;
  perspective: 1000px;
  height: 400px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-color);
}

.service-front {
  background: linear-gradient(
    145deg,
    var(--bg-surface),
    var(--bg-surface-light)
  );
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.service-front h3 {
  margin-bottom: 1rem;
}
.service-front p {
  margin: 0;
}

.service-back {
  background: linear-gradient(145deg, var(--secondary), #4c00b0);
  transform: rotateY(180deg);
  color: white;
}

.service-back p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}
.service-back ul {
  text-align: left;
  margin-bottom: 1.5rem;
  width: 100%;
}
.service-back li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.service-back li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.btn-small {
  padding: 0.5rem 1.5rem;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 20px;
  transition: var(--transition-base);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.btn-small:hover {
  background: #fff;
  color: var(--secondary);
}

/* ==========================================================================
   PHILOSOPHY / ABOUT SECTION
   ========================================================================== */
.philosophy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-text h2 {
  margin-bottom: 1.5rem;
}
.philosophy-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.philosophy-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulse-ring {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  position: absolute;
  animation: pulse 4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.pulse-ring:nth-child(2) {
  animation-delay: 1s;
}
.pulse-ring:nth-child(3) {
  animation-delay: 2s;
}

.core-brain {
  width: 120px;
  height: 120px;
  background: var(--bg-surface);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--primary-glow);
  border: 2px solid var(--primary);
}
.core-brain svg {
  width: 60px;
  height: 60px;
  fill: var(--primary);
}

.orbit-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--bg-surface-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--secondary);
  box-shadow: 0 0 20px var(--secondary-glow);
}
.orbit-item svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.orbit-1 {
  top: 10%;
  left: 20%;
  animation: float 6s infinite ease-in-out;
}
.orbit-2 {
  bottom: 20%;
  right: 10%;
  animation: float 5s infinite ease-in-out reverse;
}
.orbit-3 {
  bottom: 10%;
  left: 30%;
  animation: float 7s infinite ease-in-out 1s;
}

/* ==========================================================================
   INDUSTRIES SECTION
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  z-index: -1;
  transition: var(--transition-base);
  opacity: 0.1;
}

.industry-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}
.industry-card:hover::before {
  height: 100%;
}

.industry-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
}
.industry-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--text-main);
  transition: var(--transition-base);
}
.industry-card:hover .industry-icon svg {
  fill: var(--primary);
  transform: scale(1.1);
}

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.calculator-wrap::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 50%);
  opacity: 0.1;
  pointer-events: none;
}

.calc-group {
  margin-bottom: 2rem;
}
.calc-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-weight: 500;
}
.calc-value {
  color: var(--primary);
  font-weight: 700;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  margin-top: -10px;
  box-shadow: 0 0 10px var(--primary-glow);
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: var(--border-color);
  border-radius: 2px;
}

.calc-output {
  background: var(--bg-base);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.1);
}

.output-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.output-number {
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 20px var(--primary-glow);
  margin-bottom: 0.5rem;
}
.output-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   SAMPLE REPORTS SECTION (PURE HTML/CSS CHARTS)
   ========================================================================== */
.reports-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.report-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
}

.report-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  height: 200px;
  gap: 15px;
  padding-bottom: 30px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}
.bar {
  flex: 1;
  background: linear-gradient(to top, var(--secondary), var(--primary));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1.5s ease-out;
  height: 0; /* Animated via JS */
}
.bar::after {
  content: attr(data-month);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.bar:hover {
  filter: brightness(1.2);
  cursor: pointer;
}

/* Circle Progress */
.circle-chart-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 200px;
}
.circle-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0%,
    var(--primary) var(--pct),
    var(--bg-base) var(--pct),
    var(--bg-base) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.circle-progress::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: var(--bg-surface);
  border-radius: 50%;
}
.circle-inner {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.1;
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.test-text {
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-surface-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
}
.client-avatar svg {
  width: 24px;
  height: 24px;
  fill: var(--text-main);
}
.client-details h4 {
  margin: 0;
  font-size: 1.1rem;
}
.client-details p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--primary);
}

/* ==========================================================================
   CONTACT SECTION & PAGES
   ========================================================================== */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(
    to bottom,
    var(--bg-surface-light),
    var(--bg-base)
  );
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
}

.contact-form-wrapper {
  background: var(--bg-surface);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-main);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  transition: var(--transition-base);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
}
.contact-info-item:hover {
  border-color: var(--primary);
  transform: translateX(10px);
}

.contact-info-item svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page {
  padding: 150px 0 100px;
}
.legal-page h1 {
  text-align: center;
  margin-bottom: 3rem;
}
.legal-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.8rem;
}
.legal-page p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.legal-page ul {
  margin-bottom: 2rem;
  padding-left: 2rem;
  list-style: disc;
  color: var(--text-muted);
}
.legal-page li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER (STRICTLY CONSISTENT)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface-light);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-column p {
  font-size: 0.95rem;
}
.footer-column.about-us .logo {
  margin-bottom: 1.5rem;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}
.footer-column ul a {
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 0.95rem;
  display: inline-block;
}
.footer-column ul a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.contact-info svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes rotateCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

@keyframes glitch {
  0% {
    text-shadow:
      0.05em 0 0 var(--primary),
      -0.05em -0.025em 0 var(--secondary),
      -0.025em 0.05em 0 var(--accent);
  }
  14% {
    text-shadow:
      0.05em 0 0 var(--primary),
      -0.05em -0.025em 0 var(--secondary),
      -0.025em 0.05em 0 var(--accent);
  }
  15% {
    text-shadow:
      -0.05em -0.025em 0 var(--primary),
      0.025em 0.025em 0 var(--secondary),
      -0.05em -0.05em 0 var(--accent);
  }
  49% {
    text-shadow:
      -0.05em -0.025em 0 var(--primary),
      0.025em 0.025em 0 var(--secondary),
      -0.05em -0.05em 0 var(--accent);
  }
  50% {
    text-shadow:
      0.025em 0.05em 0 var(--primary),
      0.05em 0 0 var(--secondary),
      0 -0.05em 0 var(--accent);
  }
  99% {
    text-shadow:
      0.025em 0.05em 0 var(--primary),
      0.05em 0 0 var(--secondary),
      0 -0.05em 0 var(--accent);
  }
  100% {
    text-shadow:
      -0.025em 0 0 var(--primary),
      -0.025em -0.025em 0 var(--secondary),
      -0.025em -0.05em 0 var(--accent);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(10px, 9999px, 86px, 0);
  }
  10% {
    clip: rect(65px, 9999px, 49px, 0);
  }
  20% {
    clip: rect(2px, 9999px, 97px, 0);
  }
  30% {
    clip: rect(81px, 9999px, 62px, 0);
  }
  40% {
    clip: rect(44px, 9999px, 20px, 0);
  }
  50% {
    clip: rect(11px, 9999px, 93px, 0);
  }
  60% {
    clip: rect(69px, 9999px, 81px, 0);
  }
  70% {
    clip: rect(13px, 9999px, 2px, 0);
  }
  80% {
    clip: rect(88px, 9999px, 73px, 0);
  }
  90% {
    clip: rect(31px, 9999px, 19px, 0);
  }
  100% {
    clip: rect(98px, 9999px, 57px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
  }
  10% {
    clip: rect(52px, 9999px, 74px, 0);
  }
  20% {
    clip: rect(79px, 9999px, 85px, 0);
  }
  30% {
    clip: rect(15px, 9999px, 46px, 0);
  }
  40% {
    clip: rect(96px, 9999px, 32px, 0);
  }
  50% {
    clip: rect(21px, 9999px, 63px, 0);
  }
  60% {
    clip: rect(81px, 9999px, 12px, 0);
  }
  70% {
    clip: rect(53px, 9999px, 99px, 0);
  }
  80% {
    clip: rect(10px, 9999px, 29px, 0);
  }
  90% {
    clip: rect(44px, 9999px, 6px, 0);
  }
  100% {
    clip: rect(90px, 9999px, 43px, 0);
  }
}

/* Scroll Reveals */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .philosophy-wrap,
  .calculator-wrap,
  .reports-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-graphic {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-base);
    padding: 2rem;
    transition: var(--transition-base);
    border-top: 1px solid var(--border-color);
  }
  .main-nav.active {
    left: 0;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .header-cta {
    display: none;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .calculator-wrap {
    padding: 1.5rem;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* --- END OF FILE styles.css --- */
