/* ==========================================================
   Namegeneratorai 
   ========================================================== */
:root {
  --purple-50: #f5f3ff;
  --purple-300: #7c3aed;
  --purple-400: #6d28d9;
  --purple-500: #7c3aed;
  --purple-600: #6d28d9;
  --purple-700: #5b21b6;
  --dark: #f8f6ff;
  --dark-2: #eee9ff;
  --surface: #ffffff;
  --text-primary: #1a0a3d;
  --text-secondary: #4c1d95;
  --text-muted: #7c6fa0;
  --border: rgba(109, 40, 217, 0.18);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background: var(--dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* BG */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(109, 40, 217, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(109, 40, 217, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 0.22) 0%,
    transparent 70%
  );
  top: -200px;
  left: -100px;
  animation: float1 12s ease-in-out infinite;
}
.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(196, 181, 253, 0.18) 0%,
    transparent 70%
  );
  bottom: 0;
  right: -100px;
  animation: float2 15s ease-in-out infinite;
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, 60px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, -50px);
  }
}
/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}
body.dark-mode nav {
  background: rgba(15, 10, 30, 0.9);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  height: 64px;
  position: relative;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 10px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}
/* HERO */
.hero {
  position: relative;
  z-index: 1;
  padding: 40px 5% 30px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--purple-400);
  margin-bottom: 14px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--purple-500);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero h1 span {
  background: linear-gradient(
    135deg,
    var(--purple-600),
    #9333ea,
    var(--purple-400)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2px;
  animation: fadeUp 0.7s ease 0.2s both;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--purple-400);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TOOL CARD */
.tool-card {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto 70px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(109, 40, 217, 0.1);
  animation: fadeUp 0.7s ease 0.3s both;
}
.tool-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--purple-400);
}
.tool-card-title i {
  font-size: 1.3rem;
}
.tool-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .tool-form {
    grid-template-columns: 1fr;
  }
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select {
  width: 100%;
  background: rgba(248, 246, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.12);
}
.form-group select option {
  background: #ffffff;
  color: var(--text-primary);
}

/* ERROR / CONFIG NOTICE */
.api-notice {
  background: rgba(109, 40, 217, 0.06);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: none;
}
.api-notice.show {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.api-notice strong {
  color: var(--purple-400);
}

/* BUTTON */
.generate-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.3);
  margin-bottom: 24px;
}
.generate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(109, 40, 217, 0.45);
}
.generate-btn:active {
  transform: translateY(0);
}
.generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* RESULTS */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
  min-height: 80px;
}
.name-card {
  background: rgba(109, 40, 217, 0.06);
  border: 1px solid rgba(109, 40, 217, 0.18);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  animation: popIn 0.3s ease both;
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.name-card:hover {
  background: rgba(109, 40, 217, 0.12);
  border-color: var(--purple-500);
  transform: translateY(-2px);
}
.name-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.name-meaning {
  font-size: 0.73rem;
  color: var(--text-muted);
}
.copy-hint {
  position: relative;
  z-index: 2;
  font-size: 0.7rem;
  color: var(--purple-500);
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.name-card:hover .copy-hint {
  opacity: 1;
}
.placeholder-msg {
  grid-column: 1/-1;
  text-align: center;
  color: var(--text-muted);
  padding: 20px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* RESULT ACTIONS (Regenerate / Download PDF) */
.result-actions {
  display: none;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.result-actions.show {
  display: flex;
}
.result-action-btn {
  flex: 1;
  min-width: 160px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.result-action-btn:active {
  transform: translateY(0);
}
.regenerate-btn {
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid var(--border);
  color: var(--purple-600);
}
.regenerate-btn:hover {
  background: rgba(109, 40, 217, 0.15);
  transform: translateY(-1px);
}
.download-btn {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.28);
}
.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(109, 40, 217, 0.42);
}
.download-btn:disabled,
.regenerate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* TOAST */
.copied-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-600);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SECTIONS */
.section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 5%;
}
.section-head {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align:center;margin-bottom:8px;
}
.section-head h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:1.8rem;font-weight:700;
  color:var(--text-primary);
}
.section-head p {
  color: var(--text-muted);
  font-size:1rem;font-weight:300;
  margin-bottom: 12px;
}
.prose {
  max-width: 780px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.prose p {
  margin-bottom: 14px;
}

/* STATS */
.stats-row {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ca8a04, #ffe714);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.step-item {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 14px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.3);
}
.step-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;  
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", sans-serif;
  transition: background 0.2s;
}
.faq-q:hover {
  background: rgba(109, 40, 217, 0.06);
}
.faq-q .arrow {
  color: var(--purple-400);
  transition: transform 0.3s;
  display: flex;
}
.faq-q.open .arrow {
  transform: rotate(180deg);
}
.faq-a {
  display: none;
  padding: 0 20px 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-a.open {
  display: block;
}

/* AD SLOT */
.ad-slot {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 5%;
}
.ad-inner {
  background: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(109, 40, 217, 0.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 5%;
  text-align: center;
  color: white;
  font-size: 0.85rem;
  background: linear-gradient(
    135deg,
    var(--purple-600),
    #9333ea,
    var(--purple-400)
  );
}
footer a {
  color: var(--purple-50);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

/* SIMPLE PAGE (about/privacy/contact/terms) */
.simple-page {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto 80px;
  padding: 90px 5% 0;
}
.simple-page h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.simple-page h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--purple-400);
}
.simple-page p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.8;
}
.simple-page a {
  color: var(--purple-500);
}

/* RESPONSIVE TWEAKS */
@media (max-width: 600px) {
  .tool-card {
    padding: 22px;
  }
  .section-head {
    font-size: 1.5rem;
  }
}

/* variant: table */
.name-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 4px;
}
.name-table th {
  text-align: left;
  padding: 10px 14px;
  background: rgba(109, 40, 217, 0.08);
  color: var(--purple-400);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.name-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(109, 40, 217, 0.08);
  color: var(--text-secondary);
}
.name-table tr:last-child td {
  border-bottom: none;
}
.name-table tr:hover td {
  background: rgba(109, 40, 217, 0.04);
}

/* variant: tips */
.tips-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
}
.tip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.tip-icon {
  color: var(--purple-500);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.tip-body strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.tip-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* variant: examples */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.example-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(109, 40, 217, 0.18);
  border-radius: 14px;
  padding: 20px;
}
.ex-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple-400);
  margin-bottom: 8px;
}
.ex-meaning {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* button */
.nf-btn {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
  margin-top: 24px;
}
.nf-btn:hover {
  transform: translateY(-2px);
}
.nf-btn:active {
  transform: translateY(0);
}

/* Style 1 - Solid */
.nf-solid {
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.3);
}
.nf-solid:hover {
  box-shadow: 0 6px 28px rgba(109, 40, 217, 0.5);
}

.bi-tree-fill {
  color: #16a34a;
}
.bi-moon-stars-fill {
  color: #7c3aed;
}
.bi-water {
  color: #2563eb;
}
.bi-shield-fill {
  color: #64748b;
}
.bi-mic-fill {
  color: #db2777;
}
.bi-fire {
  color: #ea580c;
}
.bi-lightning-charge-fill {
  color: #d97706;
}
.bi-stars {
  color: #ca8a04;
}
.bi-moon-fill {
  color: #4f46e5;
}
.bi-controller {
  color: #16a34a;
}
.bi-shield-check {
  color: #0891b2;
}
.bi-people-fill {
  color: #dc2626;
}

* {
  cursor: none !important;
}
.cursor-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}
.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #7c3aed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5), 0 0 20px rgba(109, 40, 217, 0.3);
}
.cursor-ring {
  position: fixed;
  width: 35px;
  height: 35px;
  border: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}
.cursor-spark {
  position: fixed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: sparkFade 0.6s ease forwards;
}
@keyframes sparkFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}
/**Dark mode**/
/* ============ THEME TOGGLE ============ */
body.dark-mode {
  --purple-50: #f5f3ff;
  --purple-300: #c4b5fd;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --dark: #0f0a1e;
  --dark-2: #1a1030;
  --surface: #1e1535;
  --text-primary: #f1eeff;
  --text-secondary: #c4b5fd;
  --text-muted: #7c6fa0;
  --border: rgba(139, 92, 246, 0.2);
}
body.dark-mode nav {
  background: rgba(15, 10, 30, 0.9);
}
body.dark-mode .tool-card {
  background: rgba(26, 16, 48, 0.85);
  box-shadow: 0 0 60px rgba(109, 40, 217, 0.15);
}
body.dark-mode .form-group input,
body.dark-mode .form-group select {
  background: rgba(15, 10, 30, 0.6);
  color: #f1eeff;
}
body.dark-mode .form-group select option {
  background: #1a1030;
}
body.dark-mode .tool-item {
  background: rgba(26, 16, 48, 0.7);
}
body.dark-mode .stat-item {
  background: rgba(26, 16, 48, 0.7);
}
body.dark-mode .step-item {
  background: rgba(26, 16, 48, 0.6);
}
body.dark-mode .faq-q,
body.dark-mode .faq-a {
  background: rgba(26, 16, 48, 0.7);
}
body.dark-mode .faq-q:hover {
  background: rgba(139, 92, 246, 0.1);
}
body.dark-mode .ad-inner {
  background: rgba(26, 16, 48, 0.4);
}
body.dark-mode .tip-item {
  background: rgba(26, 16, 48, 0.7);
}
body.dark-mode .example-card {
  background: rgba(26, 16, 48, 0.8);
}
body.dark-mode footer {
  background: transparent;
  color: var(--text-muted);
}
body.dark-mode footer a {
  color: #a78bfa;
}
body.dark-mode .stat-number {
  background: linear-gradient(135deg, #a78bfa, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.dark-mode .bg-grid {
  background-image: linear-gradient(
      rgba(139, 92, 246, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(139, 92, 246, 0.06) 1px, transparent 1px);
}
body.dark-mode .bg-orb-1 {
  background: radial-gradient(
    circle,
    rgba(109, 40, 217, 0.25) 0%,
    transparent 70%
  );
}
body.dark-mode .bg-orb-2 {
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.2) 0%,
    transparent 70%
  );
}

/* Toggle Button Styles */
.theme-toggle-btn {
  position: relative;
  width: 60px;
  height: 30px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  flex-shrink: 0;
}
.tt-track {
  width: 60px;
  height: 30px;
  border-radius: 100px;
  background: linear-gradient(135deg, #f5f3ff, #eee9ff);
  border: 1.5px solid rgba(109, 40, 217, 0.25);
  position: relative;
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.45s;
  overflow: hidden;
}
body.dark-mode .tt-track {
  background: linear-gradient(135deg, #1a1030, #0f0a1e);
  border-color: rgba(139, 92, 246, 0.4);
}
.tt-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
body.dark-mode .tt-stars {
  opacity: 1;
}
.tt-star {
  position: absolute;
  background: #c4b5fd;
  border-radius: 50%;
  animation: ttTwinkle 2s ease-in-out infinite;
}
.tt-star:nth-child(1) {
  width: 3px;
  height: 3px;
  top: 6px;
  left: 8px;
  animation-delay: 0s;
}
.tt-star:nth-child(2) {
  width: 2px;
  height: 2px;
  top: 14px;
  left: 14px;
  animation-delay: 0.4s;
}
.tt-star:nth-child(3) {
  width: 3px;
  height: 3px;
  top: 7px;
  left: 20px;
  animation-delay: 0.8s;
}
@keyframes ttTwinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.5);
  }
}
.tt-rays {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.3s;
}
body.dark-mode .tt-rays {
  opacity: 0;
}
.tt-ray {
  position: absolute;
  background: rgba(109, 40, 217, 0.2);
  border-radius: 2px;
  width: 2px;
  height: 5px;
  top: 3px;
  right: 9px;
  transform-origin: 50% 200%;
  animation: ttRay 4s linear infinite;
}
.tt-ray:nth-child(2) {
  animation-delay: -1s;
  transform: rotate(45deg);
}
.tt-ray:nth-child(3) {
  animation-delay: -2s;
  transform: rotate(90deg);
}
.tt-ray:nth-child(4) {
  animation-delay: -3s;
  transform: rotate(135deg);
}
@keyframes ttRay {
  to {
    transform: rotate(360deg);
  }
}
.tt-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.45s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.4);
}
body.dark-mode .tt-thumb {
  transform: translateX(30px);
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
}
.tt-icon {
  position: absolute;
  transition: opacity 0.2s, transform 0.3s;
  line-height: 1;
}
.tt-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.tt-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
body.dark-mode .tt-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
body.dark-mode .tt-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.tt-ripple {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  pointer-events: none;
}
.tt-ripple-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  background: rgba(139, 92, 246, 0.3);
}
.tt-ripple-circle.pop {
  animation: ttRipple 0.5s ease-out forwards;
}
@keyframes ttRipple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(7);
    opacity: 0;
  }
}
/* CTA bottom banner */
.cta-banner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 5%;
}
.cta-inner {
  background: linear-gradient(
    135deg,
    var(--purple-700),
    #9333ea,
    var(--purple-500)
  );
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}
.cta-inner h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cta-inner p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 24px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--purple-700);
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .tools-stats {
    gap: 14px;
    padding: 10px 18px;
    flex-wrap: wrap;
    border-radius: 16px;
  }
  .cta-inner {
    padding: 32px 20px;
  }
  .cta-inner h2 {
    font-size: 1.4rem;
  }
}
/* Tools grid — upgraded */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.tool-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
body.dark-mode .tool-item {
  background: rgba(26, 16, 48, 0.75);
}
.tool-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.07), transparent);
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 18px;
}
.tool-item:hover {
  border-color: var(--purple-500);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(109, 40, 217, 0.14);
}
.tool-item:hover::after {
  opacity: 1;
}
.tool-item.hidden {
  display: none;
}

/* Icon row */
.tool-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tool-icon {
  width: 50px;
  height: 50px;
  background: rgba(109, 40, 217, 0.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(109, 40, 217, 0.18);
  color: var(--purple-400);
  flex-shrink: 0;
}
.tool-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s;
  flex-shrink: 0;
}
.tool-item:hover .tool-arrow {
  opacity: 1;
  transform: translateX(0);
}

.tool-item h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-primary);
}
.tool-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.tool-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--purple-400);
  letter-spacing: 0.04em;
}
.tool-free-badge {
  font-size: 0.7rem;
  color: #16a34a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Filter chips */
.filter-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 5%;
}
.filter-chip {
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
}
body.dark-mode .filter-chip {
  background: rgba(26, 16, 48, 0.6);
}
.filter-chip:hover {
  border-color: var(--purple-500);
  color: var(--purple-500);
}
.filter-chip.active {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border-color: transparent;
  color: #fff;
}
/* ===== ABOUT (split) ===== */

.band {
  position:relative; z-index:1;
  padding: 30px 5%;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-500);
  background: rgba(109,40,217,0.08);
  border: 1px solid rgba(109,40,217,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.about-split h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: left;
  color: var(--text-primary);
  line-height: 1.2;
}
.about-split p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.75;
}
.quote-card {
  background: rgba(109,40,217,0.07);
  border: 2px solid rgba(109,40,217,0.22);
  border-radius: 20px;
  padding: 36px 30px;
  font-size: 20px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-size: 72px;
  line-height: 1;
  color: rgba(109,40,217,0.18);
  position: absolute;
  top: 12px;
  left: 22px;
  font-family: Georgia, serif;
}
.quote-card em {
  color: var(--purple-500);
  font-style: italic;
  font-weight: 600;
}
.quote-card span {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #5b21b6, #9333ea);
  border-radius: 2px;
  margin-bottom: 24px;
}

@media(max-width:768px) {
  .about-split { grid-template-columns:1fr; gap:32px; }
  .about-split h2 { font-size:26px; }
  .wrap { padding:0 16px; }
}
.section-divider {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 32px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(109, 40, 217, 0.3) 15%,
    var(--purple-500) 50%,
    rgba(109, 40, 217, 0.3) 85%,
    transparent 100%
  );
  border-radius: 2px;
}

.wrap{max-width:1100px;margin:0 auto;padding:0 32px;}



.eyebrow{
  display:inline-block;
  font-size:0.75rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;
  color:var(--purple-500);
  background:rgba(109,40,217,0.08);
  border:1px solid rgba(109,40,217,0.2);
  border-radius:100px;
  padding:5px 14px;
  margin-bottom:14px;
}



.aud-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}

.aud-card{
  background:rgba(255,255,255,0.88);
  border:1px solid var(--border);
  border-radius:16px;
  padding:26px 18px;
  text-align:center;
  transition:all 0.25s;
  position:relative;
  overflow:hidden;
}
.aud-card::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(109,40,217,0.07),transparent);
  opacity:0;transition:opacity 0.25s;
  border-radius:16px;
}
.aud-card:hover{
  border-color:var(--purple-500);
  transform:translateY(-5px);
  box-shadow:0 16px 40px rgba(109,40,217,0.13);
}
.aud-card:hover::after{opacity:1;}

.aud-icon{
  font-size:28px;
  margin-bottom:14px;
  display:block;
  width:52px;height:52px;
  background:rgba(109,40,217,0.08);
  border:1px solid rgba(109,40,217,0.15);
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}

.aud-card h3{
  font-family:'Space Grotesk',sans-serif;
  font-size:14.5px;font-weight:600;
  color:var(--text-primary);
  margin-bottom:7px;
}

.aud-card p{
  font-size:12.5px;
  color:var(--text-muted);
  line-height:1.55;
}

.section-wrap{
  position:relative;z-index:1;
  padding:80px 0;
}

@media(max-width:900px){
  .aud-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:600px){
  .aud-grid{grid-template-columns:repeat(2,1fr);}
  .wrap{padding:0 16px;}
}