:root{
  --bg:#0f1724;
  --muted:#6b7280;
  --accent:#007bff;
  --glass: rgba(255,255,255,0.06);
  --card:#0b1220;
  --white:#ffffff;
  --radius:12px;
  --maxW:1200px;
}

/* Reset & base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--white);
  background:
    linear-gradient(180deg, rgba(8,10,14,1) 0%, rgba(12,15,20,1) 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  -webkit-tap-highlight-color: transparent;
}

/* Layout helpers */
.container{
  width:calc(100% - 40px);
  max-width:var(--maxW);
  margin:0 auto;
  padding:40px 0;
}

/* Links & buttons */
a{color:inherit}
.btn{
  display:inline-block;
  background:linear-gradient(90deg,var(--white) 0%, #e6f0ff 100%);
  color:var(--bg);
  padding:10px 18px;
  border-radius:999px;
  font-weight:600;
  box-shadow: 0 6px 20px rgba(2,6,23,0.5);
  transition:transform .22s ease, box-shadow .22s ease;
  text-decoration:none;
}
.btn:active{transform:translateY(1px)}
.btn.ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,0.06);
  color:var(--white);
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:1200;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(5,7,10,0.65), rgba(5,7,10,0.35));
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:calc(100% - 40px);
  max-width:var(--maxW);
  margin:0 auto;
  padding:14px 0;
}

/* Logo */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:1.15rem;
  color:var(--white);
}
.logo .dot{color:var(--accent);}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap:20px;
}
.nav ul{
  display:flex;
  gap:12px;
  list-style:none;
  align-items:center;
}
.nav a{
  padding:8px 12px;
  border-radius:8px;
  color:var(--white);
  font-weight:600;
  opacity:.9;
  transition:background .18s, transform .12s;
  font-size:.95rem;
}
.nav a:hover{background:rgba(255,255,255,0.03); transform:translateY(-2px)}
.nav a.active{
  background:linear-gradient(90deg,var(--accent), #00b4ff);
  color:#021026;
  box-shadow:0 8px 24px rgba(0,123,255,0.18);
}

/* Mobile nav toggle */
.mobile-toggle{
  display:none;
  background:transparent;
  border:0;
  color:var(--white);
  font-size:1.2rem;
}

/* Footer */
.footer{
  background:linear-gradient(180deg, rgba(2,4,8,0.95), rgba(2,4,8,0.95));
  padding:28px 0;
  border-top:1px solid rgba(255,255,255,0.03);
  color:var(--muted);
  text-align:center;
  font-size:.95rem;
}

/* Small utilities */
.section-title{
  font-size:1.6rem;
  font-weight:700;
  margin-bottom:12px;
  color:var(--white);
}
.section-sub{
  color:var(--muted);
  margin-bottom:22px;
  font-size:0.98rem;
}

/* Responsive */
@media (max-width:900px){
  .header-inner{padding:12px}
  .mobile-toggle{display:inline-flex}
}
/* Mobile dropdown menu */
@media (max-width:900px){
  .nav ul{
    position: absolute;
    top: 60px; /* below header */
    right: 20px;
    background: var(--card);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 200px;
    padding: 10px 0;
    display: none; /* hidden by default */
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav ul li{
    width:100%;
  }
  .nav ul li a{
    display:block;
    width:100%;
    padding:12px 16px;
    border-radius:0;
  }
  .nav ul li a:hover{
    background:rgba(255,255,255,0.08);
    transform:none;
  }

  /* Show menu when active */
  .nav ul.show{
    display:flex;
    animation: dropdown 0.3s ease forwards;
  }

  /* Animation */
  @keyframes dropdown {
    from {opacity:0; transform: translateY(-10px);}
    to {opacity:1; transform: translateY(0);}
  }
}
