
/* ===============
   Defender Site
   =============== */
:root{
  --blue-1: #0F143F; /* primary deep blue */
  --blue-2: #1a2159; /* slightly lighter for mid tone */
  --blue-3: #2a3175; /* accent blue for gradient depth */
  --bg: #0F143F;     /* very dark blue for sections if needed */
  --text: #0f1a2b;
  --muted: #5c6b82;
  --card-bg: #ffffff;
  --divider: #e6e9ef;
  text-align: justify;
  --hero-gradient: linear-gradient(135deg, #0F143F 0%, #1a2159 50%, #2a3175 100%);
}
/* body::before {
  content: "CONFIDENTIAL - Defender System";
  position: fixed;
  top: 40%;
  left: 20%;
  font-size: 40px;
  color: rgba(255,0,0,0.2);
  transform: rotate(-30deg);
  z-index: 9999;
  pointer-events: none;
} */

*{
  box-sizing:border-box;
}
html,body{margin:0;padding:0}
body{
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #ffffff;
  text-align: justify;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Home */
.home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit; /* keeps brand text same color */
}
.home-link:hover .brand {
  text-decoration: underline; /* optional hover effect */
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
}
.header .wrap{
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .icon_panel {
    display: flex;
    align-items: center;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  color: var(--blue-1);
  letter-spacing:.2px;
}
.brand .logo{
  width:36px;height:36px;border-radius:8px;
  background: var(--hero-gradient);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.nav a{
  margin-left: 18px;
  text-decoration: none;
  color: #1b2a41;
  font-weight: 600;
  opacity:.9;
}
.nav a:hover{opacity:1}
.cta-btn {
  background: var(--blue-2);
  color: #fff;
  border: 0;
  padding: 6px 6px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  /* margin-left: 20px; */
  /* Light gray halo + drop shadow */
  box-shadow:
    0 0 0 4px rgba(200, 200, 200, 0.35), /* halo */
    0 8px 24px rgba(15, 86, 204, 0.25);   /* drop shadow */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover{filter:brightness(1.05)}
.nav .cta-btn{
  margin-left: 20px;    
  /* Brighter halo and slightly bigger shadow */
  box-shadow:
    0 0 0 6px rgba(200, 200, 200, 0.5),
    0 10px 28px rgba(15, 86, 204, 0.35);
  transform: translateY(-2px); /* slight lift effect */
}

/* Hero */
.hero{
  background: var(--hero-gradient);
  color: #fff;
  padding: 10px 10px;
}
.hero .wrap{
  max-width: 1200px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:40px;
  align-items:center;
}
.hero h1{
  margin:10px 0px 10px;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height:1.15;
}
.hero p{
  font-size: clamp(16px, 1.4vw, 20px);
  opacity:.95;
  margin: 8px 0 22px;
}
.hero .badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  font-weight:600;
}
.hero .illustration{
  width:85%;
  /* height: 85%;
  aspect-ratio: 1/1;
  background:#ffffff1a; 
  border:1px solid #ffffff33;*/
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:flex-end;  
  font-weight:700;
  letter-spacing:.3px;
}

img.illustration{
  border:1px solid #ffffff33;
}

/* Overview */
.section{
  padding: 15px 15px;
}
.section .wrap{
  max-width: 1200px;
  margin: 0 auto;
}
.section h2{
  font-size: clamp(24px, 2.4vw, 34px);
  margin:0 0 8px;
  color: var(--blue-1);
}
.section .sub{
  margin: 0 0 8px;
  color: var(--muted);
  text-align: justify;
}

.section, .faq-section {
  scroll-margin-top: 100px; /* header height */
}

/* 13 Points grid */
/* Capabilities Grid Responsive */
.points{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:10px;
}

.point{
  background: var(--card-bg);
  border:1px solid var(--divider);
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 8px 24px rgba(16,30,52,.06);
  display:flex;
  flex-direction:column;
}
.point .media{
  width:100%;
  aspect-ratio: 16/10;
  background:#f4f6fa;
  display:block;
}
.point .body{
  padding:16px;
}
.point .num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:10px;
  background: rgba(15,86,204,.12);
  color: var(--blue-2);
  font-weight:800;
  margin-bottom:10px;
}
.point h3{
  margin: 0 0 6px;
  font-size: 18px;
}
.point p{
  margin:0;
  color:#43536a;
}

/* Specs (optional) */
.specs{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.spec{
  padding:14px 16px;
  border:1px dashed var(--divider);
  border-radius:12px;
  background:#fafbfe;
}

/* CTA */
.cta{
  background: linear-gradient(135deg, rgba(11,61,145,.06), rgba(31,114,255,.08));
  border:1px solid var(--divider);
  border-radius:16px;
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
    justify-items: center;
    align-items: center;
}
.cta h3{margin:0;font-size:22px;color:#112648}
.cta p{margin:0;color:#43536a;text-align: justify}
.cta actions{display:flex;gap:12px}

.footer {
  background: var(--blue-1);
  color: #eee;
  font-size: 12px;
  padding: 20px 30px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  margin-top: 30px;
}
/* Home */
.footer a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s;
}
.footer a:hover { 
  color: #fff; 
  text-decoration: underline;
}
.footer-copy a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-copy a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Row 1 */
.footer-1col {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Row 2 */
.footer-bottom {
  max-width: 400px;               /* keeps logo+text together */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;                       /* space between logo & text */
  text-align: center;
}

.footer-logo {
  max-width: 100px;
  height: auto;
  width: 50px;
  /* padding: 0 0 0 0; */
}

.footer-copy {
  font-size: 14px;
  color: #dbd9d9;
  /* white-space: nowrap; */
}

.footer .apt-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit; /* keeps text same color as parent */
  gap: 10px; /* keep spacing consistent */
}

.footer .apt-link:hover .footer-copy {
  text-decoration: underline;
  color: #fff; /* brighten text on hover */
}

.footer .apt-link:hover .footer-logo {
  filter: brightness(1.2); /* optional: make logo pop slightly */
}

.footer-bottom {
  max-width: 400px;
  margin: 0 auto 12px;
  display: flex;
  flex-direction: column;   /* stack logo above text */
  align-items: center;
  text-align: center;
  gap: 2px;
}

.footer-logo {
  max-width: 70px;
  height: auto;
}

@media (max-width: 768px) {
  .footer-right {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .footer-logo {
    max-width: 80px;  /* keep it reasonable on mobile */
  }
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #1b2a41;
  border-radius: 3px;
}

/* Responsive tweaks */
@media (max-width: 980px){
  .header .wrap {
    flex-wrap: wrap;
  }
  .hamburger {
    display: flex;
  }
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .nav.active {
    display: flex;
  }
  .nav .cta-btn{
  margin-left: 0px;
}
  .nav a, .nav button {
    margin: 10px 0;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .illustration {
    margin-top: 5px;
  }
  .points {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px){
  .points {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 16px;
  }
  .section {
    padding: 20px 20px;
  }
}
/* Modal Background */
/* .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
} */
.modal {
  display: none;  /* hidden initially */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  
  /* flexbox to center */
  justify-content: center;
  align-items: center;
  padding: 20px; /* margin inside viewport for small screens */
  z-index: 9999;
}  

/* Modal Content Box */
.modal-content {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh; /* viewport height */
  overflow-y: auto; /* scroll only if content exceeds */
  padding: 40px 20px 20px 20px; /* top padding increased for close button */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: justify; /* justified text */
  position: relative; /* for close button */
}

.modal-content h2 {
  margin-top: 0px;
}

/* .close-btn {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 15px;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
} */

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  width: 25px;
  height: 25px;
  line-height: 20px;
  text-align:center;
  border-radius: 50%;
  background: #f2f2f2;             /* light gray background */
  box-shadow: 0 0 8px rgba(0,0,0,0.30); /* gray glow */
  transition: background 0.2s, box-shadow 0.2s;
}

.close-btn:hover {
  background: #e0e0e0; /* darker on hover */
  box-shadow: 0 0 12px rgba(0,0,0,0.55); /* stronger glow on hover */
}

#modalText {
  user-select: none;   /* disables text selection */
  -webkit-user-select: none; /* Chrome/Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
}

@media (max-width: 600px){
  .modal-content {
    padding: 30px 15px 15px 15px;
  }
  .close-btn {
    top: 8px;
    right: 12px;
  }
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* FAQ Section */
.faq-section {
  /* padding: 2rem 0; */
  padding: 15px 15px;
}
.faq-section .wrap{
  max-width: 1200px;
  margin: 0 auto;
}
.faq-section h2{
  font-size: clamp(24px, 2.4vw, 34px);
  margin:0 0 8px;
  color: var(--blue-1);
}
.faq-section .sub{
  margin: 0 0 8px;
  color: var(--muted);
}
.faq-item {
  /* margin-bottom: 1rem;
  border-bottom: 1px solid #ddd; */
  border: 1px solid #ddd;   
  border-radius: 12px;      
  margin: 1rem 0;
  overflow: hidden;         
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); 
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  background: #f9f9f9;
  /* background: #f5f5f5; */
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
  border-radius: 12px 12px 0 0; /* round only top corners */
}
.faq-question:hover {
  background: #e8e8e8;
}
.faq-answer {
  display: none;
  padding: 0.8rem 1rem;
  background: #fff;
  border-radius: 0 0 12px 12px; /* round only bottom corners */
}
.faq-answer p, .faq-answer ul {
  margin: 0.3rem 0;
}