/* --------------
   Base Reset
-------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-alt: #070b1b;
  --card: #0b1024;
  --card-alt: #0f162f;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --accent: #7c5cff;
  --accent-soft: rgba(124, 92, 255, 0.16);
  --accent-2: #36e4da;
  --text: #f7f8ff;
  --muted: #a7b0d3;
  --danger: #ff5a7a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.55);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #171b3a 0%, #050816 55%, #02040a 100%);
  color: var(--text);
  line-height: 1.6;
}

/* --------------
   Layout
-------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  padding: 4.5rem 0;
  background: radial-gradient(circle at top, #0d1127 0%, #050816 60%);
}

.section-header {
  text-align: left;
  max-width: 640px;
}

.section-header h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* --------------
   Header / Nav
-------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.96),
    rgba(5, 8, 22, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: conic-gradient(
    from 120deg,
    #7c5cff,
    #36e4da,
    #ff8a5c,
    #7c5cff
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #050816;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top, #20253d, #101426);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  margin: 2px 0;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* --------------
   Hero
-------------- */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.3rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.7rem 0 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, border-color 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #050816;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.7);
}

.btn-ghost {
  background: rgba(18, 25, 55, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(27, 35, 68, 0.95);
}

.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-full {
  width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.meta-pill {
  padding: 0.55rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, #262b4b 0%, #101427 55%);
}

.meta-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.meta-value {
  font-size: 0.85rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 260px;
}

.floating-card {
  position: absolute;
  border-radius: 20px;
  background: radial-gradient(circle at top, #191f3b 0%, #050816 60%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-card);
  padding: 0.9rem;
}

.card-1 {
  top: 0.2rem;
  right: 0.35rem;
  left: 0.35rem;
}

.card-2 {
  top: 58%;
  right: 1.3rem;
  padding: 0.7rem 0.85rem;
}

.card-3 {
  top: 64%;
  left: 0.2rem;
  max-width: 220px;
}

.card-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}

.card-header .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ff8a5c;
}

.card-header .dot:nth-child(2) {
  background: #ffc15c;
}

.card-header .dot:nth-child(3) {
  background: #62e39f;
}

.card-body {
  border-radius: 16px;
  background: linear-gradient(135deg, #10152c, #070b1b);
  padding: 0.7rem;
}

.fake-hero {
  height: 120px;
  border-radius: 12px;
  background-image: linear-gradient(120deg, #7c5cff, #36e4da, #ff8a5c);
  background-size: 180% 180%;
  animation: gradient-shift 7s ease-in-out infinite alternate;
  margin-bottom: 0.8rem;
}

.fake-lines {
  display: grid;
  gap: 0.4rem;
}

.fake-lines span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.fake-lines span:nth-child(2) {
  width: 72%;
}

.fake-lines span:nth-child(3) {
  width: 52%;
}

.card-2 .chip {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: inline-block;
  margin: 0.1rem 0;
}

.card-2 .chip-outline {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(124, 92, 255, 0.55);
  color: #d7cfff;
}

.card-3 .mini-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.card-3 .mini-text {
  font-size: 0.8rem;
  color: #d6dcff;
}

/* --------------
   Filters & Gallery
-------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 36, 0.9);
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
}

.filter-chip.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #050816;
}

.gallery-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.design-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #191f37 0%, #070b1b 52%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.design-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.design-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.28),
    rgba(5, 8, 22, 0.9)
  );
  mix-blend-mode: multiply;
}

.thumb-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.design-content {
  padding: 1rem 1.05rem 1.05rem;
}

.design-content h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.design-content p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.design-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.pill-small {
  font-size: 0.76rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(11, 16, 41, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-actions {
  display: flex;
  gap: 0.45rem;
}

/* Thumbnail gradients */
.gradient-1 {
  background: linear-gradient(120deg, #7c5cff 0%, #36e4da 40%, #050816 100%);
}

.gradient-2 {
  background: linear-gradient(120deg, #ff8a5c, #ffc15c, #7c5cff);
}

.gradient-3 {
  background: radial-gradient(circle at top, #36e4da, #050816);
}

.gradient-4 {
  background: linear-gradient(135deg, #36e4da, #7c5cff, #050816);
}

.gradient-5 {
  background: linear-gradient(135deg, #ff5a7a, #ffc15c, #050816);
}

.gradient-6 {
  background: linear-gradient(135deg, #7c5cff, #36e4da, #ff8a5c);
}

/* --------------
   Generator
-------------- */
.generator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.generator-text h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.generator-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.9rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  top: 0.02rem;
  color: var(--accent-2);
}

.generator-panel {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #181e40 0%, #050816 60%);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow-card);
}

.generator-panel h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.prompt-form {
  margin-top: 0.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
}

.field span {
  margin-bottom: 0.2rem;
}

select,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 13, 33, 0.95);
  color: var(--text);
  padding: 0.5rem 0.6rem;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.4);
}

textarea {
  resize: vertical;
}

.helper {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* --------------
   Packs
-------------- */
.packs-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.pack-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #181e40 0%, #050816 70%);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow-card);
  font-size: 0.86rem;
}

.pack-card h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.02rem;
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.pack-card p {
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.pack-card ul {
  padding-left: 1.1rem;
  margin: 0 0 0.8rem;
}

/* --------------
   About / Founder
-------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

.founder-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #22284a 0%, #050816 65%);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem 1.15rem 1.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #7c5cff, #36e4da);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.avatar-initials {
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: #050816;
  font-weight: 700;
}

.founder-content h3 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 0.15rem;
}

.founder-name {
  font-size: 0.96rem;
  margin: 0;
}

.founder-role {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.1rem 0 0.35rem;
}

.founder-note {
  font-size: 0.82rem;
  color: #dbe1ff;
}

/* --------------
   Footer
-------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.3rem 0 1.5rem;
  background: #050816;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

/* --------------
   Animations
-------------- */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* --------------
   Responsive
-------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    min-height: 260px;
    margin-top: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .generator-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .packs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 1.5rem;
    top: 3.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.6rem 0.65rem;
    border-radius: 16px;
    background: rgba(7, 10, 31, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 170px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform-origin: top right;
    transform: scale(0.96);
    transition: max-height 0.18s ease-out, opacity 0.15s ease-out,
      transform 0.16s ease-out;
  }

  .nav-links.is-open {
    max-height: 220px;
    opacity: 1;
    transform: scale(1);
  }

  .nav-links a {
    width: 100%;
    padding: 0.35rem 0.4rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-meta {
    margin-top: 0.2rem;
  }

  .hero-visual {
    max-width: 360px;
    margin-inline: auto;
  }

  .card-1 {
    left: 0;
    right: 0;
  }

  .card-2 {
    right: 0.8rem;
  }

  .card-3 {
    left: 0.4rem;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .packs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}