:root {
  --bg: #0b1220;
  --surface: #fff;
  --primary: #0f172a;
  --muted: #94a3b8;
  --accent: #22c55e;
  --accent-2: #60a5fa;
  --border: rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary);
  background: var(--bg);
  margin: 0;
}

body {
  min-height: 100vh;
}

main,
section {
  width: 100%;
}

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }
}

.site-shell {
  min-height: 100vh;
  background: var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(11, 18, 32, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  height: 64px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: 32px;
  flex: 1;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  padding: 8px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(34, 197, 94, 0.15);
}

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

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #16a34a);
  color: #fff;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.25);
}

.btn.secondary {
  border: 1px solid rgba(226, 232, 240, 0.6);
  color: #e5e7eb;
  background: rgba(226, 232, 240, 0.05);
}

.btn:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  display: block;
}

.hamburger {
  display: none;
  margin-left: auto;
}

.hero {
  background: var(--surface);
  border-radius: 28px;
  padding: 48px;
  margin-top: 32px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--muted);
  margin: 0 0 14px;
}

.hero-subtext {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.trust-pill {
  background: rgba(34, 197, 94, 0.12);
  color: #e5e7eb;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  margin-top: 48px;
  background: var(--surface);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: 2rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.generator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.generator-form input,
.generator-form select,
.generator-form button {
  width: 100%;
}

.generator-form input,
.generator-form select {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 1rem;
}

form input,
form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 1rem;
  margin-bottom: 12px;
  background: #f8fafc;
}

form textarea {
  resize: vertical;
  min-height: 140px;
}

.generator-form button {
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
}

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

.generator-output p {
  margin: 0;
  background: #f8fafc;
  color: var(--primary);
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.collections-grid,
.how-grid,
.testimonial-grid,
.names-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card,
.testimonial-card,
.category-card,
.name-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.card-img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.feature-card h3,
.name-card h3,
.testimonial-card h3,
.category-card h3 {
  margin: 0;
}

.name-card .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.15);
  color: #0f172a;
  font-size: 0.8rem;
}

.how-grid .how-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.testimonial-card p:last-child {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-banner {
  margin-top: 48px;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(96, 165, 250, 0.2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding: 40px 0;
  margin-top: 48px;
  color: #e5e7eb;
}

.footer a {
  color: rgba(226, 232, 240, 0.9);
  text-decoration: none;
}

.footer .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.names-section .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.names-section .filters input {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 16px;
  flex: 1;
  font-size: 1rem;
}

.pill {
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  background: #f3f4f6;
}

.pill.active {
  border-color: rgba(34, 197, 94, 0.5);
  color: var(--primary);
  background: #fff;
}

.load-more {
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #0f172a;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1300;
}

.toast.visible {
  opacity: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1100;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  background: var(--surface);
  box-shadow: -20px 0 40px rgba(11, 18, 32, 0.3);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  gap: 20px;
  overflow-y: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.mobile-menu-cta {
  display: inline-flex;
  justify-content: center;
  padding: 14px;
}

.mobile-menu.open {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .desktop-only {
    display: none !important;
  }
  .menu-toggle {
    display: flex;
  }
  .hamburger {
    display: flex !important;
  }
  .hero,
  .section,
  .cta-banner {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
