/* ============================================
   ShreeKrishnaVerse — Global Styles (Futuristic)
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand: #00f0ff;
  --brand-dark: #008b99;
  --brand-glow: rgba(0, 240, 255, 0.25);
  --brand-glow-strong: rgba(0, 240, 255, 0.4);
  --teal: #39ff14;
  --purple: #b026ff;
  --bg: #0b0f1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --bg-nav: rgba(11, 15, 26, 0.92);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --border: #1e293b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.3s ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Page load fade-in */
body {
  animation: pageFadeIn 0.8s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- Skip Link (Accessibility) ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #000;
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  z-index: 10002;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  color: #000;
}

/* ---------- Global Focus Visible ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.service-card:focus-visible,
.why-card:focus-visible,
.value-item:focus-visible,
.carousel-dot:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--purple));
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px var(--brand-glow-strong), 0 0 20px var(--brand-glow);
}

/* ---------- Noise Overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ---------- Animated Grid Background ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(107, 157, 252, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 157, 252, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  animation: grid-pulse 8s ease-in-out infinite;
}

@keyframes grid-pulse {

  0%,
  100% {
    opacity: 0.03;
  }

  50% {
    opacity: 0.06;
  }
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--brand);
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-ring-2 {
  inset: 6px;
  border-top-color: var(--teal);
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.loader-ring-3 {
  inset: 12px;
  border-top-color: var(--purple);
  animation-duration: 2s;
}

.loader-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand);
  animation: loader-text-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-text-pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Custom Cursor ---------- */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(2);
  background: var(--teal);
}

.cursor-trail {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out, transform 0.2s ease, border-color 0.3s ease;
  opacity: 0.6;
}

/* ---------- Network Canvas ---------- */
.network-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---------- Mouse Glow ---------- */
.mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 157, 252, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  will-change: left, top;
}

/* ---------- Particle/Star Field ---------- */
.particle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(107, 157, 252, 0.5);
  border-radius: 50%;
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  position: relative;
}

.section-label::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--brand);
  transform: translateY(-50%);
}

.section-title {
  font-family: 'Syncopate', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  line-height: 1.25;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 10px var(--brand-glow), 0 0 20px var(--brand-glow-strong);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.reveal.visible .section-title::after,
.section-title:hover::after {
  width: 100px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-label::before {
  display: none;
}

.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-bottom {
  transform: translateY(40px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- Animations ---------- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-alt {

  0%,
  100% {
    transform: translateY(-6px);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(107, 157, 252, 0.2), 0 0 40px rgba(107, 157, 252, 0.1);
  }

  50% {
    box-shadow: 0 0 30px rgba(107, 157, 252, 0.4), 0 0 60px rgba(107, 157, 252, 0.2);
  }
}

@keyframes mesh-shift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  25% {
    transform: translate(60px, -40px) rotate(90deg) scale(1.1);
  }

  50% {
    transform: translate(-30px, 50px) rotate(180deg) scale(0.95);
  }

  75% {
    transform: translate(40px, 20px) rotate(270deg) scale(1.05);
  }

  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

@keyframes mesh-shift-2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-50px, 30px) rotate(120deg);
  }

  66% {
    transform: translate(40px, -40px) rotate(240deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes phone-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(0.5deg);
  }

  75% {
    transform: translateY(6px) rotate(-0.5deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes cursor-blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes wave-drift {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-20px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes gradient-line {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes icon-rotate-gradient {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes ripple-effect {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes border-draw {
  0% {
    clip-path: inset(0 100% 100% 0);
  }

  25% {
    clip-path: inset(0 0 100% 0);
  }

  50% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* ---------- Glitch Text Effect ---------- */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch-text::before {
  color: var(--brand);
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: inset(0 0 80% 0);
}

.glitch-text::after {
  color: var(--purple);
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: inset(80% 0 0 0);
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
  96% { transform: translate(-2px, -1px); }
  98% { transform: translate(2px, 1px); }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); }
  91% { transform: translate(3px, -1px); }
  93% { transform: translate(-3px, 1px); }
  95% { transform: translate(2px, 1px); }
  97% { transform: translate(-2px, -1px); }
}

/* ---------- CRT Scanlines Overlay ---------- */
.scanlines::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

/* ---------- HUD Corner Brackets ---------- */
.hud-corners {
  position: relative;
}

.hud-corners::before,
.hud-corners::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--brand);
  border-style: solid;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.hud-corners::before {
  top: -6px;
  left: -6px;
  border-width: 2px 0 0 2px;
}

.hud-corners::after {
  bottom: -6px;
  right: -6px;
  border-width: 0 2px 2px 0;
}

.hud-corners:hover::before,
.hud-corners:hover::after {
  opacity: 1;
}

/* ---------- Chromatic Aberration on Hover ---------- */
.chromatic-hover {
  transition: filter 0.3s ease;
}

.chromatic-hover:hover {
  animation: chromatic-shift 0.3s ease forwards;
}

@keyframes chromatic-shift {
  0% { filter: none; }
  30% { filter: drop-shadow(-2px 0 rgba(255, 0, 0, 0.5)) drop-shadow(2px 0 rgba(0, 255, 255, 0.5)); }
  100% { filter: none; }
}

/* ---------- Data Tag Decoration ---------- */
.data-tag {
  font-family: 'Roboto Mono', 'Space Grotesk', monospace;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  opacity: 0.5;
}

/* ---------- Hero 3D Canvas ---------- */
.hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 30px rgba(107, 157, 252, 0.08);
  border-bottom-color: rgba(107, 157, 252, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform var(--transition), filter var(--transition);
}

.nav-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(107, 157, 252, 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* Animated gradient mesh background */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-mesh::before,
.hero-bg-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
}

.hero-bg-mesh::before {
  width: 600px;
  height: 600px;
  background: var(--brand);
  top: 5%;
  right: 0%;
  animation: mesh-shift 18s ease-in-out infinite;
}

.hero-bg-mesh::after {
  width: 500px;
  height: 500px;
  background: var(--purple);
  bottom: 5%;
  left: 5%;
  animation: mesh-shift 22s ease-in-out infinite reverse;
}

/* Aurora effect */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.12;
}

.hero-aurora::before,
.hero-aurora::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 200px;
  top: 10%;
  left: -25%;
  background: linear-gradient(90deg, transparent, var(--brand), var(--teal), var(--purple), transparent);
  filter: blur(80px);
  animation: aurora-wave 12s ease-in-out infinite;
  transform-origin: center;
}

.hero-aurora::after {
  top: 40%;
  animation-delay: -4s;
  animation-duration: 16s;
  opacity: 0.7;
}

@keyframes aurora-wave {

  0%,
  100% {
    transform: translateX(-10%) skewY(-2deg) scaleY(1);
  }

  33% {
    transform: translateX(5%) skewY(1deg) scaleY(1.5);
  }

  66% {
    transform: translateX(-5%) skewY(-1deg) scaleY(0.8);
  }
}

/* Animated horizontal lines */
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.h-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(107, 157, 252, 0.08) 20%, rgba(107, 157, 252, 0.15) 50%, rgba(107, 157, 252, 0.08) 80%, transparent 100%);
  animation: line-scan 8s ease-in-out infinite;
}

.h-line:nth-child(1) {
  top: 15%;
  animation-delay: 0s;
}

.h-line:nth-child(2) {
  top: 35%;
  animation-delay: -1.5s;
}

.h-line:nth-child(3) {
  top: 55%;
  animation-delay: -3s;
}

.h-line:nth-child(4) {
  top: 75%;
  animation-delay: -4.5s;
}

.h-line:nth-child(5) {
  top: 90%;
  animation-delay: -6s;
}

@keyframes line-scan {

  0%,
  100% {
    opacity: 0;
    transform: scaleX(0.3);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Extra mesh blob */
.hero .container::before {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  background: var(--teal);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  top: 20%;
  left: 30%;
  animation: mesh-shift-2 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
  animation: hero-enter 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-visual-enter {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(107, 157, 252, 0.3);
  border-radius: 20px;
  background: rgba(107, 157, 252, 0.05);
  animation: float-alt 4s ease-in-out infinite, tag-glow 3s ease-in-out infinite;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: dot-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px var(--teal);
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

@keyframes tag-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }

  50% {
    box-shadow: 0 0 20px rgba(107, 157, 252, 0.1);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--brand-glow), 0 0 40px var(--brand-glow-strong);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--brand), var(--teal), var(--purple));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Rotating text */
.rotating-text-wrapper {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  gap: 0;
}

.rotating-text-prefix {
  color: var(--text-muted);
}

.rotating-text {
  color: var(--brand);
  font-weight: 600;
  transition: opacity 0.4s ease;
}

.rotating-cursor {
  color: var(--brand);
  animation: cursor-blink 1s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}

.hero p,
.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

/* Magnetic button hover */
.btn-magnetic {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px var(--brand-glow);
}

.btn-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.btn-glow:hover {
  animation: none;
  box-shadow: 0 0 40px rgba(107, 157, 252, 0.5), 0 0 80px rgba(107, 157, 252, 0.2);
}

/* Ripple effect for buttons */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  animation: ripple-effect 0.6s ease-out forwards;
  pointer-events: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(107, 157, 252, 0.15);
}

.btn-full-width {
  width: 100%;
  justify-content: center;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual - Illustration */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-visual-enter 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-visual-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 157, 252, 0.15) 0%, transparent 70%);
  animation: pulse-glow-soft 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow-soft {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-1 {
  width: 12px;
  height: 12px;
  background: var(--brand);
  top: 10%;
  right: 15%;
  box-shadow: 0 0 15px var(--brand), 0 0 30px var(--brand-glow);
  animation: orb-float-1 6s ease-in-out infinite;
}

.hero-orb-2 {
  width: 8px;
  height: 8px;
  background: var(--teal);
  bottom: 20%;
  right: 5%;
  box-shadow: 0 0 12px var(--teal);
  animation: orb-float-2 8s ease-in-out infinite;
}

.hero-orb-3 {
  width: 6px;
  height: 6px;
  background: var(--purple);
  top: 40%;
  left: -5%;
  box-shadow: 0 0 10px var(--purple);
  animation: orb-float-3 7s ease-in-out infinite;
}

@keyframes orb-float-1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(10px, -15px);
  }

  50% {
    transform: translate(-5px, -25px);
  }

  75% {
    transform: translate(15px, -10px);
  }
}

@keyframes orb-float-2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-12px, -18px);
  }

  66% {
    transform: translate(8px, 12px);
  }
}

@keyframes orb-float-3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(15px, -20px) scale(1.5);
  }
}

.hero-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  animation: float-slow 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(107, 157, 252, 0.15));
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Gradient animated title */
.gradient-title {
  background: linear-gradient(135deg, var(--text-heading) 0%, var(--brand) 50%, var(--teal) 75%, var(--text-heading) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-title-sweep 6s ease-in-out infinite;
}

@keyframes gradient-title-sweep {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

/* ---------- Wave Dividers ---------- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-divider .wave-path-2 {
  animation: wave-drift 8s ease-in-out infinite;
}

.wave-divider--flip {
  transform: scaleY(-1);
}

/* ---------- Scroll Assembly Section ---------- */
.scroll-sequence {
  position: relative;
  height: 300vh;
  /* Make section tall to allow scrolling */
  background: var(--bg);
  /* Removed overflow: hidden because it breaks position: sticky on children */
}

.scroll-sequence-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  overflow: hidden;
}

.scroll-sequence-content {
  flex: 1;
  max-width: 500px;
  z-index: 10;
}

.sequence-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.stack-scene {
  flex: 1;
  height: 100%;
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-layer {
  position: absolute;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
  /* Base Isometric Transform */
  transform: rotateX(60deg) rotateZ(-45deg);
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layer-label {
  position: absolute;
  bottom: -40px;
  right: -80px;
  transform: rotateZ(45deg) rotateX(-60deg);
  background: rgba(11, 15, 26, 0.8);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.5s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.layer-label.visible {
  opacity: 1;
}

/* Layer 1: Database / AI */
.layer-db {
  z-index: 1;
}

.layer-base {
  position: absolute;
  inset: 0;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.1) inset;
  border-radius: 20px;
}

.layer-grid {
  position: absolute;
  inset: 10px;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.4) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

/* Layer 2: Server */
.layer-server {
  z-index: 2;
  /* Will be translated Z up via JS */
}

.server-block {
  width: 240px;
  height: 240px;
  background: rgba(11, 15, 26, 0.8);
  border: 2px solid var(--teal);
  border-radius: 16px;
  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.15) inset,
    0 20px 50px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  position: relative;
  transform: translateZ(20px);
}

.server-lights {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.server-lights span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: blink 2s infinite alternate;
}

.server-lights span:nth-child(2) {
  animation-delay: 0.3s;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

.server-lights span:nth-child(3) {
  animation-delay: 0.6s;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

/* Layer 3: UI */
.layer-ui {
  z-index: 3;
}

.ui-frame {
  width: 140px;
  height: 280px;
  background: #0b0f1a;
  border: 4px solid var(--border);
  border-radius: 20px;
  transform: translateZ(40px);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
  position: relative;
}

.ui-screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(0, 240, 255, 0.1));
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
}

.ui-header {
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.ui-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-card {
  height: 40px;
  background: rgba(176, 38, 255, 0.2);
  border: 1px solid rgba(176, 38, 255, 0.4);
  border-radius: 6px;
}

@media (max-width: 992px) {
  .scroll-sequence-container {
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
  }

  .scroll-sequence-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .stack-scene {
    transform: scale(0.7);
  }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: rgba(107, 157, 252, 0.02);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--teal), var(--purple), var(--brand));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: shimmer 5s linear infinite;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(from var(--card-angle, 0deg), transparent 0%, var(--brand) 10%, var(--teal) 20%, transparent 30%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: rotate-border 4s linear infinite;
}

@keyframes rotate-border {
  to {
    --card-angle: 360deg;
  }
}

@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(107, 157, 252, 0.08) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px) perspective(1000px) rotateX(2deg);
  box-shadow: var(--shadow), 0 0 60px rgba(107, 157, 252, 0.1), 0 0 120px rgba(107, 157, 252, 0.05);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(107, 157, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(107, 157, 252, 0.2), rgba(45, 212, 191, 0.2));
  box-shadow: 0 0 20px rgba(107, 157, 252, 0.2);
  animation: icon-rotate-gradient 3s linear infinite;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Products ---------- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107, 157, 252, 0.06) 0%, transparent 70%);
  animation: mesh-shift-2 20s ease-in-out infinite;
  pointer-events: none;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(from var(--card-angle, 0deg), transparent 0%, var(--purple) 10%, var(--brand) 20%, transparent 30%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 1;
  pointer-events: none;
  animation: rotate-border 5s linear infinite reverse;
}

.product-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 1rem;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 16px;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.product-features {
  list-style: none;
  margin-bottom: 28px;
}

.product-features li {
  padding: 6px 0;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236B9DFC' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Phone Carousel ---------- */
.phone-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: phone-float 6s ease-in-out infinite;
}

.phone-frame-carousel {
  width: 220px;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #2a3444;
  box-shadow:
    0 0 0 1px rgba(107, 157, 252, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(107, 157, 252, 0.15),
    0 0 120px rgba(107, 157, 252, 0.05),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  background: var(--bg-card);
  position: relative;
  transition: box-shadow 0.4s ease;
}

.phone-frame-carousel:hover {
  box-shadow:
    0 0 0 1px rgba(107, 157, 252, 0.25),
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 100px rgba(107, 157, 252, 0.2),
    0 0 160px rgba(107, 157, 252, 0.08),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
}

/* Phone notch */
.phone-frame-carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.carousel-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  min-height: 1.4em;
  transition: opacity 0.4s ease;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px;
  box-sizing: content-box;
}

.carousel-dot.active {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 10px rgba(107, 157, 252, 0.4);
  transform: scale(1.2);
}

.carousel-dot:hover {
  border-color: var(--brand);
}

/* Why Anxieaze Highlights */
.why-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover {
  border-color: rgba(107, 157, 252, 0.3);
  box-shadow: 0 0 40px rgba(107, 157, 252, 0.08), 0 0 80px rgba(107, 157, 252, 0.04);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(107, 157, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand);
  transition: all 0.4s ease;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, rgba(107, 157, 252, 0.2), rgba(45, 212, 191, 0.15));
  box-shadow: 0 0 15px rgba(107, 157, 252, 0.2);
}

.why-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p:first-of-type {
  font-size: 1.1rem;
  color: var(--text);
}

.about-illustration {
  margin-top: 24px;
  border-radius: var(--radius);
  max-width: 100%;
  opacity: 0.9;
  filter: drop-shadow(0 10px 30px rgba(107, 157, 252, 0.1));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.about-illustration:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 15px 40px rgba(107, 157, 252, 0.2));
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-item:hover {
  border-color: rgba(107, 157, 252, 0.3);
  box-shadow: 0 0 30px rgba(107, 157, 252, 0.06);
  transform: translateY(-3px);
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(107, 157, 252, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.value-item:hover .value-icon {
  background: linear-gradient(135deg, rgba(107, 157, 252, 0.2), rgba(167, 139, 250, 0.15));
  box-shadow: 0 0 12px rgba(107, 157, 252, 0.2);
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.contact-info>p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.contact-detail:hover {
  transform: translateX(6px);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(107, 157, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail:hover .contact-detail-icon {
  background: rgba(107, 157, 252, 0.2);
  box-shadow: 0 0 15px rgba(107, 157, 252, 0.15);
}

.contact-detail-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-detail-text a,
.contact-detail-text p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(107, 157, 252, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
  position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107, 157, 252, 0.1), 0 0 20px rgba(107, 157, 252, 0.05);
  background: rgba(17, 24, 39, 0.5);
}

.form-group:focus-within label {
  color: var(--brand);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-bg-mesh::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--brand);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow-soft 6s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.footer-glow-line {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--teal), var(--purple), transparent);
  background-size: 200% 100%;
  animation: gradient-line 4s linear infinite;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition), text-shadow var(--transition);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand);
  text-shadow: 0 0 10px rgba(107, 157, 252, 0.3);
}

.footer-links a:hover::after {
  width: 100%;
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.legal-page .effective-date {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.legal-page h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-page ul {
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 24px;
  line-height: 1.8;
}

.legal-page a {
  color: var(--brand);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--brand);
  margin-bottom: 32px;
}

.legal-back:hover {
  color: var(--brand-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .product-visual {
    order: -1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .why-highlights {
    grid-template-columns: 1fr;
  }

  .phone-frame-carousel {
    width: 200px;
    height: 400px;
  }
}

@media (max-width: 768px) {

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .product-card {
    padding: 28px;
  }

  .legal-page h1 {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .mouse-glow,
  .custom-cursor,
  .cursor-trail,
  .network-canvas {
    display: none;
  }

  .phone-frame-carousel {
    width: 180px;
    height: 360px;
  }

  .hero-aurora,
  .hero-lines,
  .grid-bg,
  .hero-3d-canvas {
    display: none;
  }

  .hero-orb {
    display: none;
  }

  .cta-content h2 {
    font-size: 1.85rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .container {
    padding: 0 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .phone-frame-carousel {
    width: 160px;
    height: 320px;
  }
}

/* ---------- 1024px Breakpoint ---------- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-3d-canvas {
    display: none;
  }
}

/* ---------- 1440px+ Large Screens ---------- */
@media (min-width: 1441px) {
  .container {
    max-width: 1280px;
  }

  .hero h1 {
    font-size: 4rem;
  }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}