/* ==========================================================================
   Theme 10: Kinetic Liquid & Neon Flow (Deep Indigo & Magma Red)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Dark Flow Palette */
  --bg-main: #0A0915;
  --bg-card: #121026;
  --bg-card-hover: #1A1736;

  /* Neon Liquid Accents */
  --neon-magma: #FF3366;
  --neon-violet: #8A2BE2;
  --neon-mango: #FF9933;

  /* Text Colors */
  --text-light: #FFFFFF;
  --text-muted: #A09DB0;
  --text-dark: #05040A;

  /* Borders & UI */
  --border-dim: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 51, 102, 0.3);

  /* Spacing & Layout */
  --container-max: 1240px;
  --section-pad: 8rem 2rem;

  /* Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 100px;

  /* Fluid Shadows */
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 10px 30px rgba(255, 51, 102, 0.3);
  --shadow-violet: 0 10px 30px rgba(138, 43, 226, 0.3);

  /* Timing */
  --trans-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --trans-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Base & Typography Resets
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* Global Section Titles */
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #FFFFFF, #A09DB0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title span {
  background: linear-gradient(135deg, var(--neon-magma), var(--neon-mango));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 4rem auto;
  color: var(--text-muted);
}

/* ==========================================================================
   Kinetic Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.8rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--trans-bounce);
  border-radius: var(--radius-pill);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(90deg, var(--neon-magma), var(--neon-violet));
  color: var(--text-light);
  box-shadow: var(--shadow-neon);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--neon-violet), var(--neon-mango));
  z-index: -1;
  transition: opacity var(--trans-smooth);
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 51, 102, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-dim);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--neon-magma);
  background: rgba(255, 51, 102, 0.1);
  transform: translateY(-4px);
}

/* ==========================================================================
   Strict Header (Deep Indigo)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg-main);
  z-index: 1000;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-dim);
  transition: padding var(--trans-smooth), background var(--trans-smooth);
}

.site-header.scrolled {
  padding: 1rem 0;
  background-color: rgba(10, 9, 21, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container img {
  height: 50px;
  filter: invert(1);
}

.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--neon-magma), var(--neon-violet));
  transition: var(--trans-smooth);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   1. Kinetic Hero Section
   ========================================================================== */
.hero {
  padding: 14rem 0 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Fluid Animated Background Orbs */
.fluid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.fluid-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatFluid 20s infinite ease-in-out alternate;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--neon-magma);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--neon-violet);
  bottom: -20%;
  right: -10%;
  animation-delay: -5s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--neon-mango);
  top: 40%;
  left: 40%;
  animation-delay: -10s;
  opacity: 0.3;
}

@keyframes floatFluid {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(100px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-50px, 100px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem;
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content h1 span {
  background: linear-gradient(90deg, var(--neon-magma), var(--neon-mango));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) 0.4s forwards;
  opacity: 0;
}

/* 3D Kinetic Glass Cards */
.hero-visual {
  position: relative;
  height: 550px;
  perspective: 1200px;
}

.kinetic-card {
  position: absolute;
  background: rgba(18, 16, 38, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.05);
  transform-style: preserve-3d;
}

.k-card-1 {
  top: 10%;
  right: 0;
  width: 320px;
  transform: rotateY(-15deg) translateZ(80px);
  animation: hover3D 8s ease-in-out infinite alternate;
  border-top: 2px solid var(--neon-magma);
}

.k-card-2 {
  bottom: 5%;
  left: 0;
  width: 280px;
  transform: rotateY(15deg) translateZ(120px);
  animation: hover3D 10s ease-in-out infinite alternate-reverse;
  border-bottom: 2px solid var(--neon-violet);
}

.k-card-1 h2 {
  font-size: 3.5rem;
  margin: 0.5rem 0;
  color: var(--text-light);
}

.k-card-2 h2 {
  font-size: 3.5rem;
  margin: 0.5rem 0;
  color: var(--text-light);
}

.kinetic-card p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: var(--neon-mango);
}

@keyframes hover3D {
  0% {
    transform: rotateY(-15deg) translateZ(80px) translateY(0);
  }

  100% {
    transform: rotateY(-5deg) translateZ(80px) translateY(-30px);
  }
}

/* ==========================================================================
   2. Marquee & Stats
   ========================================================================== */
.stats {
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  background: var(--bg-card);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 4rem 2rem;
  border-right: 1px solid var(--border-dim);
  transition: var(--trans-smooth);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--bg-card-hover);
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-violet);
  margin: 0;
}

/* ==========================================================================
   3. The Philosophy (About)
   ========================================================================== */
.about {
  padding: var(--section-pad);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.4), rgba(138, 43, 226, 0.4));
  mix-blend-mode: overlay;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-xl);
  transition: transform 1s ease;
}

.about-visual:hover .about-img {
  transform: scale(1.05);
}

.about-content h2 {
  text-align: left;
}

.about-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. Liquid Services Cards
   ========================================================================== */
.services {
  padding: var(--section-pad);
  background: var(--bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: var(--bg-main);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dim);
  transition: var(--trans-bounce);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Liquid Hover Fill */
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--neon-violet), var(--neon-magma));
  z-index: -1;
  transition: height var(--trans-smooth);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 51, 102, 0.5);
  box-shadow: var(--shadow-neon);
}

.service-card:hover::before {
  height: 100%;
  opacity: 0.15;
  border-radius: var(--radius-lg);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-mango);
  margin-bottom: 2rem;
  transition: var(--trans-bounce);
}

.service-card:hover .service-icon {
  background: var(--neon-magma);
  color: var(--text-light);
  border-color: var(--neon-magma);
  transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 1rem;
}

/* ==========================================================================
   5. Interactive ROAS Calculator
   ========================================================================== */
.calculator-section {
  padding: var(--section-pad);
  position: relative;
}

.calc-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(18, 16, 38, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 51, 102, 0.3);
  padding: 4rem;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-neon);
}

.calc-wrapper label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
  margin: 2rem 0 3rem;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--neon-magma);
  cursor: pointer;
  box-shadow: 0 0 20px var(--neon-magma);
  transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
  background: var(--neon-mango);
}

.calc-result {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dim);
}

.calc-result h4 {
  color: var(--text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.calc-result h2 {
  font-size: 4.5rem;
  margin: 0;
  background: linear-gradient(90deg, var(--neon-magma), var(--neon-mango));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   6. Kinetic Process Timeline
   ========================================================================== */
.process {
  padding: var(--section-pad);
  background: var(--bg-card);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--bg-main);
  border: 1px solid var(--border-dim);
  transition: var(--trans-smooth);
}

.process-step:hover {
  border-color: var(--neon-violet);
  transform: translateY(-5px);
  box-shadow: var(--shadow-violet);
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  line-height: 1;
  transition: var(--trans-smooth);
}

.process-step:hover .step-num {
  -webkit-text-stroke: 2px var(--neon-violet);
  color: rgba(138, 43, 226, 0.1);
}

.process-step h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   7. Industry Ecosystems
   ========================================================================== */
.industries {
  padding: var(--section-pad);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--trans-smooth);
}

.industry-card:hover {
  background: var(--neon-magma);
  border-color: var(--neon-magma);
  transform: scale(1.05);
}

.industry-card svg {
  stroke: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: var(--trans-fast);
}

.industry-card:hover svg {
  stroke: var(--text-light);
}

.industry-card h4 {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* ==========================================================================
   8. Liquid Tube Chart (CSS Only)
   ========================================================================== */
.reports {
  padding: var(--section-pad);
  background: var(--bg-card);
}

.chart-container {
  background: var(--bg-main);
  padding: 4rem 3rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-dim);
  max-width: 900px;
  margin: 0 auto;
  height: 450px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.chart-tube {
  width: 70px;
  border-radius: 35px 35px 0 0;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.tube-fill {
  width: 100%;
  background: linear-gradient(to top, var(--neon-violet), var(--neon-magma));
  border-radius: 35px 35px 0 0;
  position: relative;
  animation: liquidFill 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transform-origin: bottom;
}

.chart-tube:nth-child(1) .tube-fill {
  height: 25%;
  animation-delay: 0.1s;
}

.chart-tube:nth-child(2) .tube-fill {
  height: 45%;
  animation-delay: 0.3s;
}

.chart-tube:nth-child(3) .tube-fill {
  height: 75%;
  animation-delay: 0.5s;
}

.chart-tube:nth-child(4) .tube-fill {
  height: 95%;
  animation-delay: 0.7s;
  background: linear-gradient(to top, var(--neon-magma), var(--neon-mango));
}

.chart-tube::before {
  content: attr(data-time);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.tube-fill::after {
  content: attr(data-val);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes liquidFill {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* ==========================================================================
   9. Glowing Testimonials
   ========================================================================== */
.testimonials {
  padding: var(--section-pad);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.testi-card {
  background: var(--bg-card);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dim);
  position: relative;
  transition: var(--trans-smooth);
}

.testi-card:hover {
  border-color: var(--neon-violet);
  box-shadow: var(--shadow-violet);
  transform: translateY(-5px);
}

.testi-card p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.testi-author h5 {
  font-size: 1.2rem;
  color: var(--neon-mango);
  margin-bottom: 0.2rem;
}

.testi-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   10. Kinetic CTA
   ========================================================================== */
.cta-section {
  padding: var(--section-pad);
  background: var(--bg-card);
  text-align: center;
  border-top: 1px solid var(--border-dim);
}

.cta-form {
  max-width: 600px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-main);
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 51, 102, 0.2);
  box-shadow: var(--shadow-neon);
}

.input-field {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-light);
  transition: var(--trans-fast);
}

.input-field:focus {
  outline: none;
  border-color: var(--neon-magma);
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.2);
}

textarea.input-field {
  resize: vertical;
  min-height: 130px;
}

/* ==========================================================================
   11. Strict Footer (Deep Indigo)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-main);
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo img {
  height: 55px;
  filter: invert(1);
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 350px;
}

.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--neon-magma);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-dim);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   12. Floating Neon Chat
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 999;
}

.chat-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-magma), var(--neon-violet));
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-bounce);
}

.chat-btn:hover {
  transform: scale(1.15) rotate(15deg);
}

.chat-panel {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.active {
  display: flex;
  animation: slideUpFade 0.3s ease;
}

.chat-header {
  background: linear-gradient(90deg, var(--neon-magma), var(--neon-violet));
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-body {
  padding: 1.5rem;
  height: 260px;
  background: var(--bg-main);
  overflow-y: auto;
}

.chat-msg {
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-md);
  border-bottom-left-radius: 0;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-dim);
}

.chat-input {
  display: flex;
  padding: 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-dim);
}

.chat-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  outline: none;
  font-family: inherit;
}

.chat-input button {
  background: none;
  border: none;
  color: var(--neon-mango);
  font-weight: 700;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
}

/* ==========================================================================
   Legal Pages Styling
   ========================================================================== */
.legal-wrapper {
  padding: 12rem 0 6rem;
  min-height: 100vh;
  background: var(--bg-main);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 4rem;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.legal-container h1 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 1rem;
  color: var(--neon-magma);
}

.legal-container h2 {
  font-size: 1.8rem;
  margin: 3rem 0 1.5rem;
  color: var(--text-light);
}

.legal-container p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.legal-container ul {
  list-style: circle;
  margin-left: 2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.legal-container li {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    height: 400px;
  }

  .k-card-1 {
    right: 10%;
  }

  .k-card-2 {
    left: 10%;
  }

  .about-content h2 {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border-dim);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--bg-main);
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--border-dim);
    transition: var(--trans-smooth);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .chart-container {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 4rem;
  }

  .chart-tube {
    width: 100%;
    height: 50px !important;
    border-radius: 0 25px 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: none;
  }

  .tube-fill {
    width: 0;
    height: 100% !important;
    border-radius: 0 25px 25px 0;
    background: linear-gradient(to right, var(--neon-violet), var(--neon-magma));
    transform-origin: left;
    animation: fillX 1.5s forwards;
  }

  .chart-tube::before {
    left: 0;
    top: -30px;
    transform: none;
    bottom: auto;
  }

  .tube-fill::after {
    left: auto;
    right: 15px;
    top: 12px;
    transform: none;
  }

  .legal-container {
    padding: 2rem;
  }
}

@keyframes fillX {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}