/* ZeroTrace - Clean Cybersecurity UI */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

body{
  background:#050816;
  color:#fff;
  overflow-x:hidden;
  scroll-behavior:smooth;
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* ── NAV ── */
nav{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:rgba(5,8,22,0.6);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.nav-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
}

.logo{
  font-weight:900;
  letter-spacing:3px;
  font-size:18px;
  color:#00e5ff;
  text-shadow: 0 0 20px rgba(0,229,255,0.4);
}

/* ── NAV LINKS ── */
.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
}

.nav-links > a{
  color:#b8c4df;
  text-decoration:none;
  font-weight:500;
  font-size:15px;
  transition:color 0.2s;
}

.nav-links > a:hover{
  color:#00e5ff;
}

/* ── DROPDOWN TRIGGER ── */
.dropdown{
  position:relative;
}

.dropdown > a{
  color:#b8c4df;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
  transition:color 0.2s;
  display:flex;
  align-items:center;
  gap:5px;
  padding:6px 0;
}

.dropdown:hover > a{
  color:#00e5ff;
}

/* ── DROPDOWN MENU ── */
.dropdown-menu{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  padding-top:16px;
  width:420px;
  background:rgba(6,10,22,0.98);
  backdrop-filter:blur(24px);
  border:1px solid rgba(0,229,255,0.12);
  border-radius:20px;
  padding:12px;
  display:none;
  flex-direction:column;
  gap:4px;
  z-index:9999;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.2s ease, transform 0.2s ease;
}

/* small arrow pointer on top */
.dropdown-menu::before{
  content:'';
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  width:12px;
  height:12px;
  background:rgba(6,10,22,0.98);
  border-left:1px solid rgba(0,229,255,0.12);
  border-top:1px solid rgba(0,229,255,0.12);
  rotate:45deg;
}

.dropdown:hover .dropdown-menu{
  display:flex;
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:all;
}

/* header label inside dropdown */
.dropdown-label{
  font-size:10px;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#3a4a6b;
  padding:6px 12px 8px;
  border-bottom:1px solid rgba(255,255,255,0.05);
  margin-bottom:4px;
}

/* ── DROPDOWN ITEMS ── */
.item{
  display:grid;
  grid-template-columns:44px 1fr auto;
  align-items:center;
  gap:0;
  padding:10px 10px 10px 8px;
  border-radius:12px;
  text-decoration:none;
  color:#b8c4df;
  transition:all 0.22s ease;
  position:relative;
  border:1px solid transparent;
}

.item:hover{
  background:rgba(0,229,255,0.07);
  border-color:rgba(0,229,255,0.1);
  transform:translateX(3px);
}

/* icon box */
.icon-box{
  width:36px;
  height:36px;
  border-radius:10px;
  background:rgba(0,229,255,0.08);
  border:1px solid rgba(0,229,255,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  transition:all 0.22s;
  flex-shrink:0;
}

.item:hover .icon-box{
  background:rgba(0,229,255,0.15);
  border-color:rgba(0,229,255,0.3);
  box-shadow:0 0 16px rgba(0,229,255,0.2);
}

.item-text{
  padding-left:12px;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.item-title{
  display:block;
  color:#e2ecff;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  letter-spacing:-0.2px;
  transition:color 0.2s;
}

.item:hover .item-title{
  color:#00e5ff;
}

.item-desc{
  display:block;
  font-size:11.5px;
  color:#4a5f82;
  line-height:1.4;
  transition:color 0.2s;
}

.item:hover .item-desc{
  color:#6a82a8;
}

/* arrow on hover */
.item-arrow{
  font-size:12px;
  color:#2a3a5a;
  transition:all 0.2s;
  margin-right:2px;
}

.item:hover .item-arrow{
  color:#00e5ff;
  transform:translateX(2px);
}

/* ── RECOMMENDED ── */
.item.recommended{
  background:rgba(0,229,255,0.04);
  border-color:rgba(0,229,255,0.1);
}

.item.recommended:hover{
  background:rgba(0,229,255,0.1);
  border-color:rgba(0,229,255,0.25);
}

.tag{
  position:absolute;
  top:8px;
  right:32px;
  font-size:9px;
  font-weight:800;
  letter-spacing:0.6px;
  text-transform:uppercase;
  padding:2px 7px;
  background:linear-gradient(135deg, rgba(0,229,255,0.2), rgba(0,180,220,0.1));
  border:1px solid rgba(0,229,255,0.35);
  color:#00e5ff;
  border-radius:20px;
  white-space:nowrap;
}

/* dropdown divider */
.dropdown-divider{
  height:1px;
  background:rgba(255,255,255,0.05);
  margin:6px 4px;
}

/* ── HERO ── */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top, rgba(0,229,255,0.12), transparent 60%);
  z-index:0;
}

.hero::after{
  display:none;
}

.hero > .container{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  max-width:900px;
}

.hero h1{
  font-size:72px;
  line-height:1.05;
  letter-spacing:-1px;
}

.hero span{
  color:#00e5ff;
}

.hero p{
  margin-top:10px;
  max-width:800px;
  color:#b8c4df;
  font-size:18px;
}

/* ── BUTTON ── */
.btn{
  display:inline-block;
  margin:30px auto 0;
  padding:20px 56px;
  background:#00e5ff;
  color:#000;
  font-weight:900;
  font-size:20px;
  border-radius:14px;
  text-decoration:none;
  position:relative;
  z-index:10;
  box-shadow:0 20px 50px rgba(0,229,255,0.35);
  transition:transform 0.2s, box-shadow 0.2s;
  border:none;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 25px 70px rgba(0,229,255,0.45);
}

/* ── SECTIONS ── */
.section{
  padding:120px 0;
}

.section-alt{
  background:#070d1c;
}

.title{
  text-align:center;
  font-size:46px;
  margin-bottom:60px;
}

/* ── GRID & CARDS ── */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}

.card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  padding:26px;
  border-radius:18px;
  transition:border-color 0.2s, transform 0.2s;
}

.card:hover{
  border-color:rgba(0,229,255,0.2);
  transform:translateY(-2px);
}

.card h3{
  color:#00e5ff;
  margin-bottom:10px;
}

.card p{
  color:#b8c4df;
  line-height:1.5;
}

/* ── FORM ── */
.form{
  max-width:700px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}

input, textarea{
  padding:15px;
  background:rgba(11,18,32,0.9);
  border:1px solid #222;
  color:#fff;
  border-radius:10px;
  font-size:15px;
  outline:none;
  transition:border-color 0.2s;
}

input:focus, textarea:focus{
  border-color:#00e5ff;
}

textarea{
  height:160px;
  resize:none;
}

/* ── FAQ ── */
.faq-list{
  max-width:800px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.faq-item{
  background:rgba(255,255,255,0.02);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:14px;
  overflow:hidden;
  transition:border-color 0.2s;
}

.faq-item.open{
  border-color:rgba(0,229,255,0.25);
  background:rgba(0,229,255,0.03);
}

.faq-q{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:20px 24px;
  background:none;
  border:none;
  color:#e2ecff;
  font-size:15px;
  font-weight:600;
  text-align:left;
  cursor:pointer;
  transition:color 0.2s;
}

.faq-item.open .faq-q{
  color:#00e5ff;
}

.faq-icon{
  flex-shrink:0;
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid rgba(0,229,255,0.3);
  color:#00e5ff;
  font-size:18px;
  font-weight:300;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform 0.3s, background 0.2s;
  line-height:1;
}

.faq-item.open .faq-icon{
  transform:rotate(45deg);
  background:rgba(0,229,255,0.12);
}

.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease, padding 0.3s ease;
}

.faq-item.open .faq-a{
  max-height:200px;
}

.faq-a p{
  padding:0 24px 20px;
  color:#8aa0c2;
  font-size:14px;
  line-height:1.7;
  border-top:1px solid rgba(255,255,255,0.05);
  padding-top:16px;
}

/* ── FOOTER ── */
footer{
  text-align:center;
  padding:30px;
  border-top:1px solid rgba(255,255,255,0.08);
  color:#b8c4df;
}
