:root{
  --bg:#0f172a;
  --card:#1e293b;
  --accent:#38bdf8;
  --text:#e5e7eb;
}

/* ===== GLOBAL ===== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Poppins,sans-serif;
}
body{
  background:var(--bg);
  color:var(--text);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.app-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 30px;
  background:#020617;
  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  font-size:22px;
  color:var(--accent);
  font-weight:600;
}

.logo a {
  font-size:22px;
  color:var(--accent);
  font-weight:600;
  text-decoration: none;
}

.top-menu a{
  margin:0 10px;
  color:#cbd5f5;
  text-decoration:none;
  font-size:14px;
}

.top-menu a:hover, .top-menu a.active {
  color:var(--accent);
}

/* ===== DESKTOP SEARCH ===== */
.desktop-search-form {
  display:flex;
  align-items:center;
}

.desktop-search-form input{
  padding:8px 12px;
  border-radius:8px;
  border:none;
}

.desktop-search-form button{
  margin-left:5px;
  padding:8px 12px;
  border:none;
  border-radius:8px;
  background:var(--accent);
  color:#000;
  cursor:pointer;
}

/* ===== MAIN / GRID ===== */
.container{
  max-width:1200px;
  margin:auto;
  padding:30px;
  min-height:70vh;
}

/* ===== INTRO BOX ===== */
.intro-box {
  background: linear-gradient(180deg, #111827, #0b1220);
  border-radius: 18px;
  padding: 26px 28px;
  margin: 12px 0 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Title */
.intro-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

/* Text */
.intro-content {
  font-size: 15px;
  line-height: 1.75;
  color: #d1d5db;
}

.intro-content p {
  margin-bottom: 14px;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

/* Hide browser intro by default */
.intro-browser {
  display: none;
}

/* Hide app intro by default */
.intro-app {
  display: none;
}

/* Mobile */
@media (max-width: 600px) {
  .intro-box {
    padding: 20px;
  }

  .intro-title {
    font-size: 19px;
  }

  .intro-content {
    font-size: 14px;
  }
}

.privacy-notice {
  background: #0f172a;
  color: #e5e7eb;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid #1e293b;
}

.section-header {
  text-align: left;
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.9rem;
  color: #f8fafc;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 1rem;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
  min-height:420px; /* desktop */
}

.card{
  background:var(--card);
  padding:25px;
  border-radius:16px;
  cursor:pointer;
  transition:.3s;
}

.card:hover{
  transform:translateY(-6px);
}

.icon{
  font-size:36px;
  margin-bottom:10px;
}
/* ICON */
.card img.tool-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.card p{
  opacity:.8;
  font-size:14px;
}

.privacy-tagline {
  margin-top: 30px;
  padding: 14px 18px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.95rem;
  color: #e5e7eb;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.12),
    rgba(2, 132, 199, 0.08)
  );
  border: 1px solid rgba(14, 165, 233, 0.25);
  backdrop-filter: blur(6px);
}

.privacy-tagline a {
  color: #38bdf8;
  text-decoration: none;
}

.privacy-tagline a:hover {
  text-decoration: underline;
}

#toolsContainer {
	display: grid;
    gap: 20px;
}
#toolsContainer section .category-header {
    display: flex;           /* horizontal layout */
    align-items: center;     /* vertically center h2 & p */
    gap: 10px;               /* h2 & p এর মাঝে gap */
    margin-bottom: 25px;
    padding-bottom: 5px;
    border-bottom: 2px solid #38bdf8;
}

#toolsContainer section .category-header h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.5rem;
}

#toolsContainer section .category-header p {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ===== FOOTER ===== */
.footer{
  text-align:center;
  padding:20px 30px;
  background:#020617;
}

.footer-menu a{
  margin:0 10px;
  color:#94a3b8;
  text-decoration:none;
}

.footer-menu a:hover, .footer-menu a.active {
  color:var(--accent);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav{
  display:none;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay{
  position:fixed;
  top:0; left:0; right:0;
  background:#020617;
  padding:12px 35px;
  display:none;
  align-items:center;
  gap:10px;
  z-index:999;
  transform:translateY(-100%);
  transition:.3s ease;
}

.search-overlay.active{
  display:flex;
  transform:translateY(0);
}

.search-overlay input{
  flex:1;
  padding:12px 18px;
  border-radius:30px;
  border:none;
  outline:none;
}

.search-icon{
  display:none;
  font-size:20px;
  cursor:pointer;
}

/* ===== SEARCH RESULTS ===== */
.results a{
  display:block;
  padding:10px;
  background:#1e293b;
  color:#fff;
  margin-bottom:5px;
  border-radius:6px;
  text-decoration:none;
}

.results a:hover{
  background:var(--accent);
  color:#000;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
  .top-menu,.desktop-search-form,.footer{
    display:none;
  }
  .search-icon{
    display:block;
  }

  .app-header{
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
	border-bottom: 1px solid #1e293b;
  }

  .bottom-nav{
    display:flex;
    position:fixed;
    bottom:0; left:0; right:0;
    justify-content:space-around;
    background:#020617;
    padding:10px 0;
    border-top:1px solid #1e293b;
  }

  .bottom-nav a{
    color:#94a3b8;
    text-decoration:none;
    font-size:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .bottom-nav a.active{
    color:var(--accent);
  }

.menu-icon{
  width:12px;
  margin:0 auto 3px;
}

.menu-icon i{
  display:block;
  height:2px;
  border-radius:3px;
  margin:2px 0;
}

/* 3 different colors */
.menu-icon i:nth-child(1){
  background:#ef4444; /* red */
}
.menu-icon i:nth-child(2){
  background:#22c55e; /* green */
}
.menu-icon i:nth-child(3){
  background:#3b82f6; /* blue */
}
  body{
    padding-bottom:60px;
  }
}
