:root{
  --bg1:#0f1724;
  --accent1:#06b6d4;
  --accent2:#7c3aed;
  --card: rgba(255,255,255,0.04);
  --muted:#a8b3c3;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:#eaf2ff;
  background:
    radial-gradient(600px 300px at 10% 10%, rgba(124,58,237,0.06), transparent),
    radial-gradient(600px 300px at 90% 90%, rgba(6,182,212,0.04), transparent),
    linear-gradient(180deg,#071024,#071428 60%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:24px;
}

/* HEADER MAIN */
.site-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    max-width:1100px;
    margin:0 auto;
    position:relative;
}

.brand{
    display:flex;
    gap:12px;
    align-items:center;
}

.logo{
    width:56px;
    height:56px;
    border-radius:10px;
    object-fit:cover;
    border:1px solid rgba(255,255,255,0.05);
}

.brand h1{
    margin:0;
    font-size:18px;
}

/* DESKTOP NAV */
.desktop-nav a {
    margin-left: 25px;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: 0.3s;
}
.desktop-nav a:hover {
    color: #4ade80;
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 9999;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    display: block;
    border-radius: 4px;
}

/* MOBILE MENU (Slide Down) */
.nav-menu {
    position: absolute;
    top: 75px;
    right: 0;
    width: 220px;
    background: #0a0a23;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.nav-menu.open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
}

.nav-menu a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #1d1d3b;
}

.nav-menu a:hover {
    background: #13153a;
}

/* HERO */
.hero{
    background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    padding:24px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,0.03);
    margin:24px auto;
    max-width:1100px;
}

.hero h2{margin:0 0 6px;font-size:22px}
.muted{color:var(--muted)}

/* CTA */
.cta-row{margin-top:14px;display:flex;gap:12px}
.cta{background:linear-gradient(90deg,var(--accent1),var(--accent2));padding:12px 16px;border-radius:10px;color:#021022;text-decoration:none;font-weight:700}
.cta.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:inherit}

/* TOOLS GRID */
.tools-grid{
   .grid{
  display:grid;
  gap:20px;
  padding:40px 20px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}

.card{
  display:block;
  background: #14162e;
  padding:25px;
  border-radius:15px;
  border:1px solid #1d203b;
  text-align:center;
  color:#fff;
  text-decoration:none;
  font-weight:500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card h3{
  margin-top:0;
  font-size:20px;
}

.card p{
  font-size:14px;
  color:#ccc;
}

.card:hover{
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(135deg,#4eaaff,#00ffd5);
  color:#021022;
  box-shadow: 0 15px 25px rgba(0,0,0,0.5);
}


.icon{
    width:48px;
    height:48px;
    border-radius:10px;
    background:linear-gradient(90deg,var(--accent1),var(--accent2));
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.info strong{display:block}
.info span{color:var(--muted);font-size:13px}

/* FOOTER */
.site-footer{
  background:#0f1724;
  color:#e0e0e0;
  padding:50px 24px 20px;
  font-family:'Inter', sans-serif;
  font-size:14px;
}

.footer-container{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  max-width:1100px;
  margin:0 auto 20px;
  gap:24px;
}

.footer-section{
  flex:1 1 220px;
}

.footer-section h4{
  margin-bottom:16px;
  font-size:16px;
  font-weight:700;
  color:#7c3aed; /* Purple accent like CalculatorHub */
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.footer-section a{
  display:block;
  text-decoration:none;
  color:#e0e0e0;
  margin-bottom:8px;
  transition:0.3s;
  font-weight:500;
}

.footer-section a:hover{
  color:#06b6d4; /* Blue accent on hover */
}

.footer-section p{
  margin:4px 0;
  font-size:13px;
  color:#a8b3c3;
}

.social-icons a{
  display:inline-block;
  margin-right:10px;
  font-size:22px;
  color:#e0e0e0;
  transition:0.3s;
}

.social-icons a:hover{
  color:#06b6d4;
}

.footer-bottom{
  text-align:center;
  border-top:1px solid #222;
  padding-top:18px;
  font-size:13px;
  color:#888;
  margin-top:30px;
}

/* Responsive */
@media(max-width:850px){
  .footer-container{
    flex-direction:column;
    gap:24px;
  }
}



/* RESPONSIVE */
@media (max-width:850px){
    .desktop-nav { display:none; }
    .hamburger { display:flex; }
    .site-header{flex-direction:row;}
}


