/* Syvraze - Near Future Platform Styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

:root {
  --syvraze-cyan: #22d3ee;
  --syvraze-blue: #3b82f6;
  --syvraze-purple: #a855f7;
  --syvraze-bg: #0a0a0f;
  --syvraze-card: rgba(15, 23, 42, 0.8);
  --syvraze-glow-cyan: 0 0 40px rgba(34, 211, 238, 0.3);
  --syvraze-glow-purple: 0 0 40px rgba(168, 85, 247, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--syvraze-bg);
  color: #e2e8f0;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Orbitron', 'Noto Sans JP', sans-serif;
}

/* Grid background */
.syvraze-grid {
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.syvraze-hero-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(168, 85, 247, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(59, 130, 246, 0.08), transparent);
}

/* Navbar scroll effect */
.syvraze-nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

/* Buttons */
.syvraze-btn {
  transition: all 0.3s ease;
}
.syvraze-btn-primary {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: #fff;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}
.syvraze-btn-primary:hover {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
  transform: translateY(-2px);
}
.syvraze-btn-outline {
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: var(--syvraze-cyan);
}
.syvraze-btn-outline:hover {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

/* Hero title animation */
.hero-title-line {
  display: inline-block;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.hero-title-line:nth-child(2) { animation-delay: 0.25s; }
.hero-title-line:nth-child(3) { animation-delay: 0.4s; }
.hero-title-line:nth-child(4) { animation-delay: 0.55s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero delayed fade-up (used where Tailwind arbitrary animation can't see our keyframes) */
.hero-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-fade-up-delay-1 { animation-delay: 0.2s; }
.hero-fade-up-delay-2 { animation-delay: 0.7s; }
.hero-fade-up-delay-3 { animation-delay: 0.85s; }

/* Glow orb */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.glow-orb-1 { width: 400px; height: 400px; background: var(--syvraze-cyan); top: -100px; right: -100px; animation-delay: 0s; }
.glow-orb-2 { width: 300px; height: 300px; background: var(--syvraze-purple); bottom: -50px; left: -50px; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* Service cards */
.service-card {
  background: var(--syvraze-card);
  border: 1px solid rgba(34, 211, 238, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--syvraze-cyan), var(--syvraze-purple), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--syvraze-glow-cyan);
}
.service-card:hover::before {
  opacity: 1;
}

/* Pricing table */
.pricing-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.3s ease;
}
.pricing-card.featured {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}
.pricing-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

/* Scroll-triggered animations */
.syvraze-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.syvraze-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.syvraze-scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.syvraze-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-children.visible .stagger-item:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible .stagger-item:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible .stagger-item:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #22d3ee, #3b82f6, #a855f7);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Data stream line (decorative) */
.data-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
  animation: dataFlow 3s linear infinite;
}
@keyframes dataFlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Footer */
.syvraze-footer {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(10, 10, 15, 1) 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
}

/* Logo pulse */
.syvraze-logo {
  transition: filter 0.3s ease;
}
a:hover .syvraze-logo {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
}
