
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ===================================
   CYBERPUNK RETRO GAMING FEATURES
=================================== */

.cyber-features {
  --cyber-bg: #080b19;
  --cyber-card: #10152a;
  --cyber-pink: #ff2bd6;
  --cyber-blue: #00f0ff;
  --cyber-yellow: #faff00;
  --cyber-text: #ffffff;
  --cyber-muted: #a2acc9;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 100px 20px;
  background: var(--cyber-bg);
  color: var(--cyber-text);
  font-family: 'Rajdhani', sans-serif;
  margin-top: 20px;
}

/* RETRO GRID BACKGROUND */

.cyber-features::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(
      rgba(0, 240, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 240, 255, 0.055) 1px,
      transparent 1px
    );

  background-size: 45px 45px;

  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 30%,
    black 70%,
    transparent
  );
}

/* NEON BACKGROUND GLOW */

.cyber-features::after {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  top: -250px;
  right: -200px;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(255, 43, 214, 0.17),
    transparent 70%
  );
}

.cyber-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================
   HEADING
=================================== */

.cyber-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 60px;
}

.cyber-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 9px 18px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.06);

  color: var(--cyber-blue);
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.cyber-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyber-blue);
  box-shadow: 0 0 12px var(--cyber-blue);
  animation: cyber-pulse 2s infinite;
}

.cyber-heading h2 {
  margin: 25px 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.cyber-heading h2 span {
  display: block;

  background: linear-gradient(
    90deg,
    var(--cyber-blue),
    var(--cyber-pink)
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(
    0 0 16px rgba(255, 43, 214, 0.25)
  );
}

.cyber-heading p {
  max-width: 650px;
  margin: 0 auto;

  color: var(--cyber-muted);
  font-size: 19px;
  line-height: 1.7;
}

/* ===================================
   FEATURE GRID
=================================== */

.cyber-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* ===================================
   FEATURE CARDS
=================================== */

.cyber-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 330px;
  padding: 30px 24px;
  overflow: hidden;

  background: linear-gradient(
    145deg,
    rgba(22, 29, 55, 0.98),
    rgba(9, 13, 30, 0.98)
  );

  border: 1px solid rgba(0, 240, 255, 0.16);

  clip-path: polygon(
    0 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% 100%,
    0 100%
  );

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* TOP NEON LINE */

.cyber-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 3px;

  background: linear-gradient(
    90deg,
    var(--cyber-blue),
    transparent
  );

  transition: width 0.35s ease;
}

/* DECORATIVE CORNER */

.cyber-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  width: 22px;
  height: 1px;
  background: var(--cyber-pink);
  transform: rotate(45deg);
  transform-origin: right center;
}

.cyber-card:hover {
  transform: translateY(-10px);

  border-color: rgba(0, 240, 255, 0.65);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 240, 255, 0.12);
}

.cyber-card:hover::before {
  width: 100%;
}

/* ALTERNATING PINK CARDS */

.cyber-card:nth-child(even)::before {
  background: linear-gradient(
    90deg,
    var(--cyber-pink),
    transparent
  );
}

.cyber-card:nth-child(even):hover {
  border-color: rgba(255, 43, 214, 0.65);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 43, 214, 0.14);
}

/* CARD NUMBER */

.cyber-card-number {
  display: block;
  margin-bottom: 30px;

  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;

  color: var(--cyber-blue);
}

.cyber-card:nth-child(even) .cyber-card-number {
  color: var(--cyber-pink);
}

/* ICON CONTAINER */

.cyber-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 74px;
  height: 74px;
  margin-bottom: 28px;

  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.3);

  color: var(--cyber-blue);

  box-shadow:
    inset 0 0 15px rgba(0, 240, 255, 0.08),
    0 0 20px rgba(0, 240, 255, 0.08);

  transform: rotate(-5deg);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.cyber-icon span {
  font-family: 'Orbitron', sans-serif;
  font-size: 34px;
  line-height: 1;
}

.cyber-card:nth-child(even) .cyber-icon {
  color: var(--cyber-pink);
  background: rgba(255, 43, 214, 0.06);
  border-color: rgba(255, 43, 214, 0.3);
}

.cyber-card:hover .cyber-icon {
  transform: rotate(0deg) scale(1.08);

  box-shadow:
    0 0 25px rgba(0, 240, 255, 0.2);
}

.cyber-card:nth-child(even):hover .cyber-icon {
  box-shadow:
    0 0 25px rgba(255, 43, 214, 0.2);
}

/* CARD CONTENT */

.cyber-card h3 {
  margin: 0 0 16px;

  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.cyber-card p {
  margin: 0 0 30px;

  color: var(--cyber-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* CARD FOOTER */

.cyber-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-top: auto;
  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cyber-card-footer > span:first-child {
  color: var(--cyber-blue);
  font-family: 'Orbitron', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.cyber-card:nth-child(even)
.cyber-card-footer > span:first-child {
  color: var(--cyber-pink);
}

.cyber-arrow {
  color: var(--cyber-blue);
  font-size: 22px;
  transition: transform 0.3s ease;
}

.cyber-card:nth-child(even) .cyber-arrow {
  color: var(--cyber-pink);
}

.cyber-card:hover .cyber-arrow {
  transform: translate(4px, -4px);
}

/* ===================================
   BOTTOM CTA BANNER
=================================== */

.cyber-bottom {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  margin-top: 35px;
  padding: 35px 40px;

  background: linear-gradient(
    100deg,
    rgba(0, 240, 255, 0.08),
    rgba(255, 43, 214, 0.08)
  );

  border: 1px solid rgba(0, 240, 255, 0.3);
}

.cyber-bottom::before,
.cyber-bottom::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyber-blue);
}

.cyber-bottom::before {
  top: -2px;
  left: -2px;
  border-right: 0;
  border-bottom: 0;
}

.cyber-bottom::after {
  bottom: -2px;
  right: -2px;
  border-left: 0;
  border-top: 0;
}

.cyber-bottom-label {
  display: block;
  margin-bottom: 10px;

  color: var(--cyber-yellow);
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
}

.cyber-bottom h3 {
  margin: 0;

  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 800;
  line-height: 1.5;
}

/* BUTTON */

.cyber-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;

  flex-shrink: 0;

  padding: 17px 26px;

  background: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);

  color: #07101e;
  text-decoration: none;

  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;

  box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);

  clip-path: polygon(
    0 0,
    calc(100% - 15px) 0,
    100% 15px,
    100% 100%,
    15px 100%,
    0 calc(100% - 15px)
  );

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.cyber-button span {
  font-size: 18px;
}

.cyber-button:hover {
  background: var(--cyber-pink);
  border-color: var(--cyber-pink);
  color: #ffffff;

  transform: translateY(-3px);

  box-shadow:
    0 0 35px rgba(255, 43, 214, 0.45);
}

.cyber-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

/* ===================================
   ANIMATIONS
=================================== */

@keyframes cyber-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 12px var(--cyber-blue);
  }

  50% {
    opacity: 0.4;
    box-shadow: 0 0 4px var(--cyber-blue);
  }
}

/* ===================================
   RESPONSIVE - TABLET
=================================== */

@media (max-width: 1024px) {
  .cyber-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cyber-card {
    min-height: 300px;
  }
}

/* ===================================
   RESPONSIVE - MOBILE
=================================== */

@media (max-width: 600px) {
  .cyber-features {
    padding: 65px 16px;
  }

  .cyber-heading {
    margin-bottom: 35px;
  }

  .cyber-heading h2 {
    font-size: 27px;
    line-height: 1.4;
  }

  .cyber-heading p {
    font-size: 16px;
  }

  .cyber-eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 9px 12px;
  }

  .cyber-feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cyber-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .cyber-card-number {
    margin-bottom: 22px;
  }

  .cyber-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
  }

  .cyber-icon span {
    font-size: 28px;
  }

  .cyber-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;

    padding: 28px 20px;
  }

  .cyber-button {
    width: 100%;
    gap: 15px;
  }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .cyber-features *,
  .cyber-features *::before,
  .cyber-features *::after {
    animation: none !important;
    transition: none !important;
  }
}
