/* Coming Soon */
.coming-soon-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--navy-gold);
  background: radial-gradient(circle at top left, rgba(207, 174, 79, 0.18), rgba(8, 24, 48, 0.95));
  color: #f7f9fc;
  font-size: 13px;
  cursor: pointer;
  z-index: 50;
  font-family: "Rajdhani", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coming-soon-btn:hover {
  box-shadow: 0 0 0 1px rgba(207, 174, 79, 0.8);
}

.coming-soon-panel {
  position: fixed;
  top: 52px;
  left: 16px;
  width: 260px;
  max-width: 80vw;
  background: var(--navy-blue-soft);
  border-radius: 12px;
  border: 1px solid rgba(207, 174, 79, 0.6);
  padding: 14px 14px 12px;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  z-index: 40;
  display: none;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.coming-soon-panel h3 {
  font-size: 14px;
  margin-bottom: 6px;
  font-family: "Rajdhani", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-gold);
}

.coming-soon-panel ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--navy-text-soft);
  font-size: 12px;
}

.coming-soon-panel li {
  margin-bottom: 4px;
}

/* Logo */
.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo-wrap img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

/* Search bar */
.search-wrap {
  max-width: 520px;
  margin: 0 auto 28px;
}

.search-inner {
  position: relative;
  border-radius: 999px;
  border: 1px solid #3c4f73;
  background: rgba(3, 22, 45, 0.8);
  overflow: hidden;
}

.search-inner input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 44px 12px 20px;
  font-size: 14px;
  color: #f7f9fc;
}

.search-inner input::placeholder {
  color: #7085aa;
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0.85;
}

/* Category buttons: always horizontal with scroll */
.category-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.category-buttons::-webkit-scrollbar {
  height: 4px;
}

.category-buttons::-webkit-scrollbar-thumb {
  background: #3c4f73;
  border-radius: 999px;
}

.category-btn {
  font-family: "Rajdhani", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid #f7f9fc;
  background: transparent;
  color: #f7f9fc;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  flex: 0 0 auto;
}

.category-btn:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.category-btn.active {
  background: var(--navy-gold);
  color: var(--navy-bg);
  border-color: var(--navy-gold);
}

/* Chips row */
.chips-strip-wrap {
  margin-bottom: 16px;
}

.chips-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.chips-strip::-webkit-scrollbar {
  height: 4px;
}

.chips-strip::-webkit-scrollbar-thumb {
  background: #3c4f73;
  border-radius: 999px;
}

.chip {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #7f93bf;
  padding: 7px 18px;
  font-size: 13px;
  color: #e0e8ff;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip:hover {
  border-color: var(--navy-gold);
}

.chip.active {
  background: var(--navy-gold);
  color: var(--navy-bg);
  border-color: var(--navy-gold);
}

/* Topic card */
.topic-card {
  border-radius: 18px;
  border: 1px solid var(--navy-border-soft);
  background: radial-gradient(circle at top left, #122744 0, #051427 55%, #020814 100%);
  padding: 24px 22px 16px;
  box-shadow:
    0 24px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(207, 174, 79, 0.08);
  max-width: 960px;
  margin: 0 auto 24px;
  display: none;
}

.topic-card.visible {
  display: block;
}

.topic-card h2 {
  margin-bottom: 12px;
  letter-spacing: 0.09em;
}

.topic-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--navy-text-soft);
  font-size: 14px;
}

.topic-card li {
  margin-bottom: 4px;
}

.topic-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Buttons */
.small-btn {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--navy-gold);
  background: transparent;
  color: #f7f9fc;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.small-btn.secondary {
  border-color: #7f93bf;
  color: #d0d8e6;
}

.small-btn:hover {
  background: var(--navy-gold);
  color: var(--navy-bg);
  box-shadow: 0 0 0 1px rgba(207, 174, 79, 0.7);
}

/* Feature panel */
.feature-panel {
  margin-top: 24px;
  border-radius: 16px;
  border: 1px solid var(--navy-border-soft);
  background: #07192c;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
}

.feature-panel h3 {
  color: var(--navy-gold);
}

/* Study tools grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: 16px;
  row-gap: 10px;
  margin-top: 10px;
  justify-content: center; /* center both rows */
}

.feature-grid button {
  flex: 0 0 auto;
  min-width: 150px;
  text-align: center;
}

/* Feature output window */
.feature-output {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid var(--navy-border-soft);
  background: #0b2037;
  padding: 12px 14px;
  font-size: 13px;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: inset 0 0 0 1px rgba(207, 174, 79, 0.15);
}

.feature-output h3 {
  margin-bottom: 4px;
  color: var(--navy-gold);
}

.feature-output p,
.feature-output li {
  font-size: 13px;
}

/* Progress list */
.progress-list {
  margin-top: 8px;
  padding-left: 18px;
  font-size: 12px;
  color: #c1d0ea;
}