:root {
  --bg: #000000;
  --bg-dark: #05060a;
  --panel: #0a0f1a;
  --glass: rgba(255,255,255,0.05);
  --accent-1: #00b4ff;
  --accent-2: #8be9ff;
  --accent-3: #00d4ff;
  --accent-4: #00ffd9;
  --glow: 0 0 40px rgba(0,180,255,0.3);
  --glow-strong: 0 0 60px rgba(0,180,255,0.5);
  --muted: #9fb3c8;
  --muted-light: #b8cfe0;
  --radius: 20px;
  --radius-sm: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: #e6f6ff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-animation::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0,180,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139,233,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(0,212,255,0.05) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
}

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

/* Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-2);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Main Container */
.container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  box-shadow: var(--glow-strong);
  position: relative;
  overflow: hidden;
  animation: logoGlow 3s ease-in-out infinite;
}

.logo::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  border-radius: 24px;
  z-index: -1;
  animation: rotate 3s linear infinite;
  opacity: 0.7;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 40px rgba(0,180,255,0.5), 0 0 80px rgba(0,180,255,0.3); }
  50% { box-shadow: 0 0 60px rgba(0,180,255,0.7), 0 0 120px rgba(0,180,255,0.5); }
}

.logo img {
  width: 90px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.brand-text h1 {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.brand-text .tagline {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Menu Toggle Button */
.menu-container {
  position: fixed;
  top: 24px;
  right: 40px;
  width: 100px;
  height: 100px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  width: 100px;
  height: 100px;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  background: #000;
  border-radius: 50%;
  border: 3px solid rgba(0,180,255,0.3);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: logoFloat 3s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(0,180,255,0.3),
    inset 0 0 30px rgba(0,0,0,0.5);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.02); }
}

.menu-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, 
    var(--accent-2) 0%, 
    var(--accent-1) 30%, 
    rgba(0,180,255,0.6) 60%, 
    transparent 100%);
  box-shadow: 
    0 0 20px rgba(0,180,255,0.8),
    0 0 40px rgba(0,180,255,0.6),
    0 0 60px rgba(0,180,255,0.4),
    0 0 80px rgba(139,233,255,0.3),
    inset 0 0 15px rgba(139,233,255,0.5);
  animation: spherePulse 2s ease-in-out infinite;
  transition: all 0.4s ease;
}

@keyframes spherePulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 
      0 0 20px rgba(0,180,255,0.8),
      0 0 40px rgba(0,180,255,0.6),
      0 0 60px rgba(0,180,255,0.4),
      0 0 80px rgba(139,233,255,0.3),
      inset 0 0 15px rgba(139,233,255,0.5);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 
      0 0 30px rgba(0,180,255,1),
      0 0 60px rgba(0,180,255,0.9),
      0 0 90px rgba(0,180,255,0.7),
      0 0 120px rgba(139,233,255,0.5),
      inset 0 0 20px rgba(139,233,255,0.7);
  }
}

.menu-toggle:hover {
  border-color: var(--accent-2);
  box-shadow: 
    0 0 30px rgba(0,180,255,0.5),
    inset 0 0 40px rgba(0,0,0,0.7);
  transform: scale(1.05);
}

.menu-toggle:hover::after {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 
    0 0 40px rgba(0,180,255,1),
    0 0 80px rgba(0,180,255,0.8),
    0 0 120px rgba(0,180,255,0.6),
    0 0 160px rgba(139,233,255,0.4),
    inset 0 0 25px rgba(139,233,255,0.8);
}

.menu-toggle.active {
  transform: scale(1.1);
  border-color: var(--accent-3);
  box-shadow: 
    0 0 40px rgba(0,212,255,0.6),
    inset 0 0 50px rgba(0,0,0,0.8);
}

.menu-toggle.active::after {
  transform: translate(-50%, -50%) scale(1.6);
  animation: spherePulseActive 1.5s ease-in-out infinite;
}

@keyframes spherePulseActive {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1.6);
    box-shadow: 
      0 0 40px rgba(0,180,255,1),
      0 0 80px rgba(0,212,255,0.9),
      0 0 120px rgba(0,212,255,0.7),
      0 0 160px rgba(139,233,255,0.5),
      inset 0 0 25px rgba(139,233,255,0.8);
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.8);
    box-shadow: 
      0 0 50px rgba(0,180,255,1),
      0 0 100px rgba(0,212,255,1),
      0 0 150px rgba(0,212,255,0.9),
      0 0 200px rgba(139,233,255,0.7),
      inset 0 0 30px rgba(139,233,255,1);
  }
}

/* Menu Modal */
.menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.menu-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.menu-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.menu-modal-content {
  position: relative;
  z-index: 2001;
  width: 90%;
  max-width: 600px;
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(10,15,26,0.95));
  backdrop-filter: blur(30px);
  border: 2px solid rgba(0,180,255,0.3);
  border-radius: 32px;
  padding: 60px 40px;
  box-shadow: 
    0 20px 80px rgba(0,0,0,0.8),
    0 0 60px rgba(0,180,255,0.3),
    inset 0 0 40px rgba(0,180,255,0.1);
  transform: scale(0.8) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-modal.active .menu-modal-content {
  transform: scale(1) translateY(0);
}

.menu-center-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 40px;
  position: relative;
}

.menu-center-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 10%, 90% 75%, 10% 75%);
  border-radius: 20px;
  background: transparent;
  border: 8px solid var(--accent-1);
  box-shadow: 
    0 0 40px rgba(0,180,255,0.9),
    0 0 80px rgba(0,180,255,0.7),
    inset 0 0 30px rgba(0,180,255,0.5);
  filter: blur(1px);
  animation: triangleRotate 3s linear infinite;
}

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

.menu-center-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #000 0%, rgba(0,0,0,0.8) 40%, transparent 100%);
  box-shadow: 
    0 0 30px rgba(0,180,255,1),
    0 0 60px rgba(0,180,255,0.8),
    0 0 90px rgba(0,180,255,0.6);
  animation: centerPulse 2s ease-in-out infinite;
}

@keyframes centerPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0,180,255,0.3);
  text-decoration: none;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.6),
    0 0 20px rgba(0,180,255,0.2),
    inset 0 0 20px rgba(0,180,255,0.05);
}

.menu-modal.active .menu-item {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.menu-item:nth-child(1) { transition-delay: 0.1s; }
.menu-item:nth-child(2) { transition-delay: 0.15s; }
.menu-item:nth-child(3) { transition-delay: 0.2s; }
.menu-item:nth-child(4) { transition-delay: 0.25s; }
.menu-item:nth-child(5) { transition-delay: 0.3s; }
.menu-item:nth-child(6) { transition-delay: 0.35s; }

.menu-item::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-item:hover::before {
  opacity: 0.3;
}

.menu-item:hover {
  background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
  border-color: var(--accent-2);
  box-shadow: 
    0 12px 50px rgba(0,180,255,0.5),
    0 0 40px rgba(0,180,255,0.4),
    inset 0 0 30px rgba(0,180,255,0.15);
  transform: scale(1.05) translateY(-5px);
  color: var(--accent-2);
}

.menu-item-icon {
  font-size: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 15px rgba(0,180,255,0.8));
  transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-icon {
  transform: scale(1.1) rotate(5deg);
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(0,180,255,0.3);
  color: var(--accent-2);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2002;
}

.menu-close:hover {
  background: rgba(0,180,255,0.2);
  border-color: var(--accent-2);
  transform: rotate(90deg) scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 80px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  animation: fadeInUp 1s ease-out;
}

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

.kicker {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #000;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0,180,255,0.4);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff, var(--accent-2), var(--accent-4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0,180,255,0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(0,180,255,0.6)); }
}

.hero .tagline {
  font-size: 22px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.btn {
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #000;
  box-shadow: 0 8px 30px rgba(0,180,255,0.4);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,180,255,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-2);
  border: 2px solid var(--accent-2);
}

.btn-secondary:hover {
  background: rgba(0,180,255,0.1);
  transform: translateY(-4px);
}

/* Sections */
section {
  padding: 100px 40px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.section-subtitle {
  font-size: 20px;
  color: var(--muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,180,255,0.3);
  box-shadow: 0 20px 60px rgba(0,180,255,0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,180,255,0.2), rgba(139,233,255,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 36px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

/* Capabilities Section */
.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.capability-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.capability-item:hover {
  background: rgba(0,180,255,0.1);
  border-color: var(--accent-2);
  transform: translateY(-4px);
}

.capability-item strong {
  display: block;
  font-size: 18px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

/* Contact Section */
.contact-form {
  max-width: 800px;
  margin: 60px auto 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  grid-column: span 2;
}

.form-group.half {
  grid-column: span 1;
}

input, textarea {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  background: rgba(0,180,255,0.1);
  box-shadow: 0 0 20px rgba(0,180,255,0.2);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  padding: 60px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 16px 20px;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .logo img {
    width: 60px;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero .tagline {
    font-size: 18px;
  }

  .section-title {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.half {
    grid-column: span 1;
  }

  .menu-items {
    grid-template-columns: 1fr;
  }

  .menu-modal-content {
    padding: 40px 20px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-2), var(--accent-3));
}

