/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;1,400;1,600;1,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Premium Landing Page Styles */
.premium-landing {
  background: #030712;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated Vertical Grid Lines */
.grid-lines {
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.03) 79px,
      rgba(255, 255, 255, 0.03) 80px
    );
  animation: gridSlide 20s linear infinite;
}

@keyframes gridSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(80px);
  }
}

/* Typography */
.headline-sovereign {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.body-sovereign {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

/* Beam Animation for CTA Buttons */
.beam-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #006AFF 0%, #0052CC 100%);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.beam-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: beam 3s infinite;
}

@keyframes beam {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

.beam-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 30px rgba(0, 106, 255, 0.5),
    0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Emerald Accent Button */
.emerald-button {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #030712;
  font-weight: 600;
  transition: all 0.3s ease;
}

.emerald-button:hover {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
}

/* Bento Grid Cards */
.bento-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(0, 106, 255, 0.5),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.bento-card:hover::before {
  transform: translateX(100%);
}

.bento-card:hover {
  border-color: rgba(0, 106, 255, 0.4);
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-4px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 106, 255, 0.2);
}

/* Tech Stack Badge */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #10B981;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Security Icon Glow */
.security-icon {
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.8));
  }
}

/* Step Number Style */
.step-number {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 6rem;
  font-weight: 700;
  background: linear-gradient(180deg,
    rgba(0, 106, 255, 0.2) 0%,
    rgba(0, 106, 255, 0.05) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* FAQ Accordion */
.faq-item {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 106, 255, 0.3);
  background: rgba(15, 23, 42, 0.6);
}

.faq-item.open {
  border-color: rgba(0, 106, 255, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

/* Connecting Lines / Noodles */
.connecting-line {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 106, 255, 0.3) 50%,
    transparent 100%
  );
  animation: lineGrow 1.5s ease-out forwards;
}

@keyframes lineGrow {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

/* Staggered Fade In Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Electric Border Effect */
.electric-border {
  position: relative;
}

.electric-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #006AFF, #10B981);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.electric-border:hover::after {
  opacity: 1;
}

/* Noise Texture Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 100;
  mix-blend-mode: overlay;
}
