/* --------------------------------------------------
   WRAPPER
   - Ensures hero + cards stay contained
   -------------------------------------------------- */
.landing-wrapper {
  padding: 0;
  overflow: hidden;
}

/* --------------------------------------------------
   HERO CINEMATIC WRAPPER
   - Main hero container with neon glow + rounded edges
   -------------------------------------------------- */
.hero-cinematic {
  position: relative;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 0 25px #00eaff55; /* outer neon glow */
}

/* --------------------------------------------------
   HERO BACKGROUND IMAGE
   - Darkened + contrasted for cinematic look
   -------------------------------------------------- */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/header.png') center/cover no-repeat;
  filter: brightness(0.45) contrast(1.1);
}

/* --------------------------------------------------
   HUD OVERLAY LAYER
   - Scanlines, grid, and animated sweep
   -------------------------------------------------- */
.hud-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    /* Animated vertical sweep */
    linear-gradient(to bottom, transparent 0%, #00eaff22 50%, transparent 100%),

    /* Static horizontal scanlines */
    repeating-linear-gradient(0deg, transparent, transparent 3px, #00eaff11 4px),

    /* Vertical neon grid */
    repeating-linear-gradient(90deg, transparent, transparent 40px, #00eaff08 41px),

    /* Horizontal neon grid */
    repeating-linear-gradient(0deg, transparent, transparent 40px, #00eaff08 41px);

  animation: scanSweep 6s linear infinite;
}

/* Scanline sweep animation */
@keyframes scanSweep {
  0% { opacity: 0.2; }
  50% { opacity: 0.35; }
  100% { opacity: 0.2; }
}

/* --------------------------------------------------
   CORNER BRACKETS
   - Neon HUD-style frame corners
   -------------------------------------------------- */
.hero-cinematic::before,
.hero-cinematic::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid #00eaff;
  pointer-events: none;
  box-shadow: 0 0 12px #00eaff;
}

/* Top-left bracket */
.hero-cinematic::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

/* Bottom-right bracket */
.hero-cinematic::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

/* --------------------------------------------------
   RETICLES (floating HUD circles)
   -------------------------------------------------- */
.hud-reticle {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #00eaff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00eaff;
  opacity: 0.6;
  pointer-events: none;
  animation: reticlePulse 3s ease-in-out infinite;
}

/* Reticle positions */
.hud-reticle-1 { top: 40px; right: 60px; }
.hud-reticle-2 { bottom: 50px; left: 80px; }

/* Reticle pulsing animation */
@keyframes reticlePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.9; }
}

/* --------------------------------------------------
   CIRCUIT LINES (HUD accents)
   -------------------------------------------------- */
.hud-circuit {
  position: absolute;
  background: #00eaff;
  box-shadow: 0 0 12px #00eaff;
  opacity: 0.7;
  pointer-events: none;
}

.hud-circuit-top {
  top: 20px;
  left: 20px;
  width: 120px;
  height: 2px;
}

.hud-circuit-left {
  top: 20px;
  left: 20px;
  width: 2px;
  height: 80px;
}

/* --------------------------------------------------
   HERO TEXT
   -------------------------------------------------- */
.hero-text {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
  text-shadow: 0 0 12px #00eaff, 0 0 25px #00eaff;
}

.hero-text h1 {
  font-size: 2rem;
  margin: 0;
}

.hero-text p {
  margin: 5px 0 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* --------------------------------------------------
   FEATURE GRID LAYOUT
   -------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* --------------------------------------------------
   FEATURE CARDS
   - Background image + tint
   - Soft cloud overlay
   - Base shadow
   -------------------------------------------------- */
.feature-card {
  position: relative;

  /* Background image + neon tint */
  background-image: url('images/cards.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 234, 255, 0.06);
  background-blend-mode: overlay;

  border-radius: 8px;
  padding: 40px 20px;
  border: 1px solid #00eaff55;

  /* Always-visible soft shadow */
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    0 0 12px #00eaff22;

  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

/* --------------------------------------------------
   CLOUDY OVERLAY
   - Soft mist to improve text readability
   -------------------------------------------------- */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.25)
  );

  opacity: 0.6;
  pointer-events: none;
}

/* --------------------------------------------------
   FLOATING LINE ANIMATION
   - Subtle neon line drifting across the card
   -------------------------------------------------- */
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;

  background: linear-gradient(to right, transparent, #00eaff55, transparent);
  animation: floatLine 6s linear infinite;
  pointer-events: none;
}

@keyframes floatLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --------------------------------------------------
   FEATURE CARD HOVER EFFECT
   - Lift + stronger shadow + neon glow
   -------------------------------------------------- */
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.45),
    0 0 20px #00eaffaa;
}

/* --------------------------------------------------
   BUTTON INSIDE FEATURE CARD
   -------------------------------------------------- */
.feature-card .btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #00eaff;
  color: black;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;

  /* Neon glow */
  box-shadow: 0 0 10px #00eaff, 0 0 20px #00eaffaa;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.feature-card .btn:hover {
  box-shadow: 0 0 15px #00eaff, 0 0 35px #00eaff;
  transform: scale(1.05);
}
