﻿:root {
  --primary: #0B0F19;
  --secondary: #111827;
  --accent: #00E5FF;
  --highlight: #7C3AED;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  background: radial-gradient(1200px 800px at 10% 10%, rgba(0, 229, 255, 0.08), transparent 60%),
              radial-gradient(900px 700px at 90% 20%, rgba(124, 58, 237, 0.12), transparent 60%),
              linear-gradient(180deg, #0B0F19 0%, #0B0F19 30%, #0A0D16 100%);
  color: #E5E7EB;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.glow {
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35), 0 0 60px rgba(124, 58, 237, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, #00E5FF 0%, #7C3AED 100%);
  color: #0B0F19;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.6), 0 0 70px rgba(124, 58, 237, 0.35);
}

.btn-outline {
  border: 1px solid rgba(0, 229, 255, 0.6);
  color: #E5E7EB;
  background: rgba(17, 24, 39, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: #7C3AED;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.4);
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(0, 229, 255, 0.2);
  border-radius: 9999px;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.gradient-text {
  background: linear-gradient(135deg, #00E5FF, #7C3AED);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-bg {
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-pad {
  padding: 120px 0;
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.tilt .tilt-inner {
  transform: translateZ(20px);
}

.slider-track {
  display: flex;
  gap: 24px;
  animation: marquee 18s linear infinite;
}

.module-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45), inset 0 0 14px rgba(0,229,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
}

.module-chip .chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,229,255,0.25), rgba(124,58,237,0.25));
  color: #00E5FF;
  border: 1px solid rgba(0,229,255,0.4);
  box-shadow: inset 0 0 10px rgba(0,229,255,0.2);
  transform: translateZ(10px);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-slider {
  display: flex;
  transition: transform 0.8s ease;
}

.shadow-soft {
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.input-glow:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 60;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  transform-style: preserve-3d;
  box-shadow: 0 30px 120px rgba(0,0,0,0.55);
}

.modal-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0,229,255,0.4), rgba(124,58,237,0.4));
  filter: blur(18px);
  z-index: -1;
}

.modal-panel {
  transform: translateZ(25px);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(17,24,39,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.06);
  border-color: rgba(0,229,255,0.7);
}

.scroll-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-fab.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-fab .fab-core {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(124,58,237,0.25));
  border: 1px solid rgba(0,229,255,0.5);
  display: grid;
  place-items: center;
  color: #00E5FF;
  transform: translateZ(20px);
  box-shadow: inset 0 0 16px rgba(0,229,255,0.25), 0 8px 24px rgba(0,0,0,0.5);
  position: relative;
  transition: transform 0.2s ease;
}

.scroll-fab .fab-core::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  background: conic-gradient(from 0deg, rgba(0,229,255,0.0), rgba(0,229,255,0.35), rgba(124,58,237,0.0));
  filter: blur(10px);
  z-index: -1;
  animation: spin 8s linear infinite;
}

.scroll-fab .fab-core:hover {
  transform: translateZ(20px) scale(1.05);
}

.scroll-fab .progress-bar {
  position: absolute;
  bottom: -12px;
  right: 0;
  width: 0%;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00E5FF, #7C3AED);
  box-shadow: 0 0 18px rgba(0,229,255,0.6);
  transition: width 0.2s ease;
}

.success-toast {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.success-toast.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.success-card {
  min-width: 280px;
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(0,229,255,0.15), rgba(124,58,237,0.18));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), inset 0 0 18px rgba(0,229,255,0.2);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform-style: preserve-3d;
}

.success-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(11,15,25,0.8);
  border: 1px solid rgba(0,229,255,0.5);
  display: grid;
  place-items: center;
  color: #00E5FF;
  transform: translateZ(16px);
}

.canvas-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

#heroCanvas,
#showcaseCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

#heroCanvas {
  pointer-events: none;
}

#hero .hero-content {
  position: relative;
  z-index: 20;
}

#hero .hero-cta button {
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.showcase-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1400px;
}

.showcase-card {
  position: absolute;
  width: 88%;
  left: 50%;
  top: 50%;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  background: rgba(17,24,39,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: transform;
}

.showcase-rotator {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center center;
  transform: translate(-50%, -50%);
  animation: showcaseSpin 14s linear infinite;
  will-change: transform;
}

.showcase-rotator .showcase-front,
.showcase-rotator .showcase-back {
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform-origin: center center;
}

.showcase-rotator .showcase-front {
  transform: translate(-50%, -50%);
  box-shadow: 0 40px 110px rgba(0,0,0,0.6), 0 0 40px rgba(0,229,255,0.12);
}

.showcase-rotator .showcase-back {
  transform: translate(-50%, -50%) rotateY(180deg);
  opacity: 0.95;
}

.showcase-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: showcaseTilt 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes showcaseSpin {
  0% { transform: translate(-50%, -50%) rotateY(0deg); }
  100% { transform: translate(-50%, -50%) rotateY(360deg); }
}

@keyframes showcaseTilt {
  0%, 100% { transform: rotateX(4deg) rotateZ(-1deg); }
  50% { transform: rotateX(-2deg) rotateZ(1deg); }
}

@media (max-width: 768px) {
  .section-pad { padding: 80px 0; }
}
