* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, Arial;
  background: #ffffff;
  color: #222;
}
button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  font-family: inherit;
}

/* HEADER */
.header {
  border-bottom: 1px solid #eee;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
}

.logo {
  font-size: 22px;
}
/* LOGO LINK – GLOBAL FIX */
.logo-link {
  text-decoration: none;   /* REMOVE underline */
  color: #222;
  display: inline-block;
}


.menu-btn {
  display: none;
  font-size: 20px;
  background: none;
  border: none;
}

/* NAV */
.nav-desktop {
  display: flex;
  gap: 8px;
}

/* HEADER NAV BUTTONS – LIGHT BLUE SYSTEM */
.nav-desktop {
  display: flex;
  gap: 8px;
}
/* NAV BUTTONS – LIGHT DEFAULT, STRONG ACTIVE */
.nav-desktop {
  display: flex;
  gap: 10px;
}
.nav-desktop a,
.nav-mobile a {
  text-decoration: none;
}


.nav-desktop button,
.nav-mobile button {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: #eaf2ff;
  color: #2563eb;
  transition: all 0.25s ease;
}

.nav-desktop button:hover,
.nav-mobile button:hover {
  background: #dbeafe;
}


.nav-mobile button {
  width: 100%;
  margin-bottom: 10px;
}


.nav-desktop button:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}




.nav-mobile {
  display: none;
  padding: 14px;
  border-top: 1px solid #eee;
}



.top-controls button {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  transition: all 0.2s ease;
}

.top-controls button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.top-controls button:active {
  transform: scale(0.97);
}

/* MAIN */
.main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

.seo-text {
  font-size: 20px;
  color: #666;
    text-align: center;
}

/* TOOL */
.tool {
  background: #f5f5f5;
  padding: 26px;
  border-radius: 16px;
  text-align: center;
}

.category-title {
  font-size: 18px;
  color: #2f6df6;
}

.subtitle {
  margin-top: 6px;
  color: #555;
}

.quick-pick button {
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: #f1f5f9;
  color: #0f172a;
  transition: all 0.2s ease;
}

.quick-pick button:hover {
  background: #e2e8f0;
}

.quick-pick button.active {
  background: #2563eb;
  color: #fff;
}

/* BUTTONS */
.quick-pick {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.quick-pick button {
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: #e0e0e0;
}

/* CUSTOM */
.custom-box {
  margin: 20px auto 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.custom-box input {
  width: 160px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* OUTPUT */
.cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.card {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  font-weight: 500;
}

/* GENERATE */
.generate-btn {
  margin-top: 22px;
  width: 100%;
  padding: 16px;
  background: #2563eb;
  color: #fff;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.generate-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.generate-btn:active {
  transform: scale(0.98);
}
/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.footer a {
  margin: 0 8px;
  color: #555;
  text-decoration: none;
}

.hidden {
  display: none;
}
h1, h2 {
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-btn { display: block; }
  .nav-desktop { display: none; }
  .nav-mobile.open { display: block; }
}
@media (max-width: 768px) {

  /* Stack top action buttons */
  .top-controls {
    flex-direction: column;
    gap: 12px;
  }

  .top-controls button {
    width: 100%;
    margin-bottom: 4px;
  }

  /* Smooth horizontal scroll for count buttons */
  .quick-pick {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .quick-pick button {
    white-space: nowrap;
    flex-shrink: 0;
  }


  /* Bigger tap targets for mobile nav */
  .nav-mobile button {
    min-height: 44px;
  }
}

