/* =========================================
   JIYAXO PREMIUM DEFENCE CSS
========================================= */

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --primary: #2563eb;
  --bg: #050816;
  --card: #0f172a;
  --text: #ffffff;
  --gray: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --glow: 0 0 20px rgba(37, 99, 235, 0.4);
}

body {
  font-family: "Orbitron", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* SCROLLBAR */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
}

/* CONTAINER */

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* LOADER */

.loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: hideLoader 2s forwards;
}

.loader-content {
  text-align: center;
}

.loader-content h1 {
  color: var(--primary);
  font-size: 4rem;
  letter-spacing: 10px;
}

.loader-content p {
  margin-top: 20px;
  color: var(--gray);
}

@keyframes hideLoader {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* HEADER */

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.logo h1 {
  font-size: 2rem;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links .active {
  color: white;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.95)
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
}

.badge {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(37, 99, 235, 0.4);
  border-radius: 50px;
  margin-bottom: 30px;
  color: #60a5fa;
  letter-spacing: 2px;
  font-size: 14px;
}

.hero-content h1 {
  font-size: 5rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-content h1 span {
  color: var(--primary);
  text-shadow: var(--glow);
}

.hero-content p {
  margin-top: 30px;
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.1rem;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* BUTTON */

.btn {
  padding: 15px 35px;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-5px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* SECTION */

.section {
  padding: 120px 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.section-tag {
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 3px;
}

/* GRID */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glow);
  border-color: rgba(37, 99, 235, 0.5);
}

.card h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.card p {
  color: var(--gray);
  line-height: 1.8;
}

/* FEATURE CARD */
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.4s ease;
  cursor: pointer;
}

/* ICON */
.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: 0.4s ease;
}

/* TITLE */
.feature-card h3 {
  font-size: 1.3rem;
  line-height: 1.5;
  transition: 0.4s ease;
}

/* PARAGRAPH HIDDEN */
.feature-card p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    max-height 0.5s ease,
    transform 0.4s ease;

  color: var(--text-gray);
  margin-top: 15px;
  line-height: 1.8;
}

/* HOVER EFFECT */
.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: var(--glow);
}

/* SHOW P ONLY ON HOVER */
.feature-card:hover p {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
}

/* OPTIONAL ICON ANIMATION */
.feature-card:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

/* GRID */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* MOBILE PE AUTO SHOW */
  .feature-card p {
    opacity: 1;
    max-height: 1000px;
    transform: translateY(0);
  }
}
/* =========================================
   SPEC GRID
========================================= */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* CARD */
.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* TABLE */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.3s ease;
}

.spec-table tr:hover {
  background: rgba(37, 99, 235, 0.08);
}

.spec-table td {
  padding: 18px 22px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.spec-table td:first-child {
  width: 42%;
  color: white;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-table td:last-child {
  color: var(--text-gray);
}

/* MOBILE */
@media (max-width: 900px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-table td {
    padding: 15px;
    font-size: 0.82rem;
  }
}

/* =========================================
   OPERATIONAL ADVANTAGES
========================================= */

.section-title.left {
  text-align: left;
}

.section-desc {
  color: var(--text-gray);
  margin-top: 25px;
  margin-bottom: 50px;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 950px;
}

/* GRID */
.advantage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* PILL */
.advantage-pill {
  padding: 18px 24px;
  border: 1px solid rgba(255, 196, 0, 0.6);
  background: rgba(255, 196, 0, 0.12);
  color: #ffcc33;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.35s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

/* HOVER EFFECT */
.advantage-pill:hover {
  background: #ffcc33;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 196, 0, 0.35);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .advantage-grid {
    flex-direction: column;
  }

  .advantage-pill {
    width: 100%;
    text-align: center;
  }
}

/* DARK SECTION */

.dark-section {
  background: #020617;
}

/* FOOTER */
footer {
  background: #020617;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-section h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  line-height: 2;
  transition: 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-media {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-media img {
  transition: 0.3s ease;
}

.social-media img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #2563eb);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
}

/* GLOW EFFECT */
.glow {
  box-shadow: var(--glow);
}

/* ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 3.5rem;
    /* margin-top: 150px; */
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    /* margin-top: 150px; */
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 80px 0;
  }

  .card {
    padding: 30px;
  }
}

@media (max-width: 500px) {
  .hero-content h1 {
    font-size: 2rem;
    /* margin-top: 150px; */
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ANIMATION */

.fade-up {
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .grid-2,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 2rem;
  }
}
