/* =========================
   Base & Typography
========================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   Header
========================= */
.header {
  text-align: center;
  padding: 40px 20px 20px;
}

.header img {
  width: 100px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.header h1 {
  margin: 0;
  font-size: 32px;
  color: var(--neon-blue, #2bd2ff);
  text-shadow: 0 0 12px rgba(43, 210, 255, 0.6);
  letter-spacing: 1px;
}

.header p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted, #94a3b8);
  font-weight: 300;
}

/* =========================
   Navbar
========================= */
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--card, rgba(30, 41, 59, 0.5));
  padding: 12px 16px;
  border-radius: 16px;
  max-width: fit-content;
  margin: 20px auto 30px;
  border: 1px solid rgba(43, 210, 255, 0.15);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-item {
  text-decoration: none;
  color: var(--muted, #94a3b8);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover,
.nav-item.active {
  background: var(--neon-blue, #2bd2ff);
  color: #0b111e;
  box-shadow: 0 0 15px rgba(43, 210, 255, 0.6);
  transform: translateY(-2px);
}

/* =========================
   Hero Section
========================= */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(
    135deg,
    rgba(15, 22, 37, 0.9),
    rgba(20, 30, 50, 0.8)
  );
  border-radius: 20px;
  border: 1px solid rgba(43, 210, 255, 0.1);
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero h2 {
  margin-top: 0;
  font-size: 28px;
  color: var(--neon-green, #39ff9f);
  text-shadow: 0 0 10px rgba(57, 255, 159, 0.5);
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  color: var(--muted, #94a3b8);
  margin: 0;
}

/* =========================
   Image Block
========================= */
.image-block {
  margin: 26px auto;
  border-radius: 20px;
  overflow: hidden;
  background: #0d1422;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  width: 100%;
  aspect-ratio: 16 / 7;
  display: flex;
  /* display: none; */
  align-items: center;
  justify-content: center;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Cards Container
========================= */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-bottom: 40px;
}

.card {
  background: linear-gradient(
    180deg,
    rgba(20, 30, 50, 0.9),
    rgba(15, 22, 37, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: right;
  text-decoration: none;
  color: var(--text-light, #e2e8f0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.02),
    0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 210, 255, 0.4);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(43, 210, 255, 0.15);
  background: linear-gradient(
    180deg,
    rgba(25, 38, 60, 0.9),
    rgba(15, 22, 37, 0.95)
  );
}

.card h2 {
  font-size: 24px;
  color: var(--neon-blue, #2bd2ff);
  margin-top: 0;
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(43, 210, 255, 0.3);
}

.card p {
  font-size: 15px;
  color: var(--muted, #94a3b8);
  line-height: 1.8;
  margin: 0;
}

.badge {
  display: inline-block;
  background: rgba(43, 210, 255, 0.12);
  color: var(--neon-blue);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(43, 210, 255, 0.28);
  width: fit-content;
}

.warning-box,
.danger-box,
.highlight {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
}

.warning-box {
  background: rgba(255, 206, 0, 0.1);
  border-right: 3px solid #ffce00;
}

.danger-box {
  background: rgba(255, 77, 109, 0.12);
  border-right: 3px solid var(--neon-danger);
}

.highlight {
  background: rgba(43, 210, 255, 0.1);
  border-right: 3px solid var(--neon-blue);
}

/* =========================
   CTA
========================= */
.cta {
  margin-top: 25px;
  background: linear-gradient(
    135deg,
    rgba(57, 255, 159, 0.13),
    rgba(43, 210, 255, 0.12)
  );
  border: 1px solid rgba(57, 255, 159, 0.25);
  padding: 22px 18px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 18px rgba(57, 255, 159, 0.12);
}

.cta h3 {
  margin: 0 0 10px 0;
  color: var(--neon-green);
  text-shadow: 0 0 6px rgba(57, 255, 159, 0.8);
  font-size: 20px;
}

.cta p {
  margin: 0;
  font-size: 14px;
}

.cta button {
  margin-top: 14px;
  background: var(--neon-green);
  color: #00331a;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(57, 255, 159, 0.65);
  transition: all 0.2s ease;
}

.cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(57, 255, 159, 0.8);
}

.cta button:active {
  transform: scale(0.98);
}

/* =========================
   Features Grid
========================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-card {
  background: linear-gradient(
    180deg,
    rgba(17, 27, 45, 0.95),
    rgba(15, 22, 37, 0.96)
  );
  border: 1px solid rgba(57, 255, 159, 0.15);
  padding: 24px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(57, 255, 159, 0.25);
  border-color: var(--neon-green, #39ff9f);
}

.feature-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  background: rgba(57, 255, 159, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(57, 255, 159, 0.2);
  transition: all 0.3s ease;
}

.feature-icon i {
  color: var(--neon-green, #39ff9f);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: rgba(57, 255, 159, 0.2);
  box-shadow: 0 0 15px rgba(57, 255, 159, 0.4);
  transform: scale(1.05);
}

.feature-card:hover .feature-icon i {
  filter: drop-shadow(0 0 8px rgba(57, 255, 159, 0.8));
  color: #fff;
}

.feature-card h3 {
  margin: 0 0 8px 0;
  color: var(--neon-green, #39ff9f);
  font-size: 17px;
  text-shadow: 0 0 5px rgba(57, 255, 159, 0.4);
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: #fff;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light, #e2e8f0);
  line-height: 1.7;
}

.feature-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* =========================
   Footer
========================= */
.footer {
  margin-top: 60px;
  padding: 40px 20px 20px;
  background: #080c14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}

.footer-grid {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: auto;
}

.footer-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.footer-section:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  color: var(--neon-blue, #2bd2ff);
  text-shadow: 0 0 8px rgba(43, 210, 255, 0.5);
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--neon-blue, #2bd2ff);
  border-radius: 2px;
}

.footer-section p {
  font-size: 14px;
  color: var(--muted, #94a3b8);
  line-height: 1.8;
  margin: 0;
}

.footer-section ul {
  margin: 0;
  padding-right: 18px;
  list-style-type: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted, #94a3b8);
  display: flex;
  align-items: center;
}

.footer-section li::before {
  content: "\f104"; /* FontAwesome angle-left */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
  color: var(--neon-blue, #2bd2ff);
  font-size: 12px;
}

.footer-section a {
  color: var(--muted, #94a3b8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--neon-green, #39ff9f);
  text-shadow: 0 0 8px rgba(57, 255, 159, 0.4);
}

.footer-note {
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(148, 163, 184, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================
  TIMELINE
========================= */
.timeline {
  max-width: 850px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: right;
}

.step-card {
  background: linear-gradient(
    180deg,
    rgba(17, 27, 45, 0.95),
    rgba(15, 22, 37, 0.96)
  );
  border-radius: 18px;
  border: 1px solid rgba(43, 210, 255, 0.1);
  padding: 20px 25px;
  margin-bottom: 45px;
  position: relative;
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.03),
    0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border-color: rgba(43, 210, 255, 0.4);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--neon-blue);
  color: var(--bg);
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--neon-blue);
}

.step-card h3 {
  color: var(--neon-blue);
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 12px;
  text-shadow: 0 0 6px rgba(43, 210, 255, 0.7);
}

.step-card p {
  font-size: 14px;
  margin-top: 8px;
  color: var(--text-light);
}

.step-card img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

.info-box {
  background: rgba(255, 206, 0, 0.1);
  border-right: 3px solid #ffce00;
  margin: 20px 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffd39b;
  font-size: 14px;
  text-align: right;
}

/* =========================
   Media Queries (Responsive)
========================= */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
  }

  .nav-item {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .header h1 {
    font-size: 26px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .image-block {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .cards-container,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .image-block {
    aspect-ratio: 1 / 1;
  }

  .footer-section {
    padding: 20px;
  }
}
