:root {
  --bg: #0e0a13;
  --bg-soft: #17101f;
  --panel: rgba(24, 15, 32, 0.88);
  --panel-border: #714266;
  --pink: #f39bd1;
  --pink-bright: #ffb8e2;
  --purple: #b883d1;
  --text: #f8edf5;
  --muted: #cbb9c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  background: rgba(10, 6, 14, 0.94);

  border-bottom:
    1px solid rgba(243, 155, 209, 0.18);

  backdrop-filter: blur(16px);
}

.brand img {
  width: 120px;
  display: block;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;

  font-size: 14px;

  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--pink);
}

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

.login-btn,
.start-btn {
  text-decoration: none;

  font-size: 14px;

  border-radius: 10px;

  padding: 11px 18px;
}

.login-btn {
  color: var(--text);

  border:
    1px solid #5f405c;
}

.start-btn {
  color: #261324;
  font-weight: 700;

  background:
    linear-gradient(
      135deg,
      #f5b0d8,
      #d887c0
    );

  box-shadow:
    0 0 22px rgba(243, 155, 209, 0.3);
}


/* =========================
   HERO
========================= */

.hero {
  min-height:
    calc(100vh - 82px);

  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;

  text-align: center;

  padding:
    70px 24px 95px;

  background:

    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.30) 0%,
      rgba(10, 6, 14, 0.58) 52%,
      rgba(10, 6, 14, 0.94) 100%
    ),

    url("../assets/images/hero-bg-v1.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:

    radial-gradient(
      circle at center,
      rgba(20, 10, 27, 0.10) 0%,
      rgba(10, 6, 14, 0.32) 65%,
      rgba(6, 4, 9, 0.68) 100%
    );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;

  width: min(900px, 100%);
}

.hero-logo {
  width: 230px;
  max-width: 55vw;

  margin-bottom: 12px;
}

.eyebrow {
  color: var(--pink);

  font-size: 11px;
  letter-spacing: 5px;

  text-transform: uppercase;

  margin: 8px 0 16px;
}

.hero h1 {
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight: 500;

  font-size:
    clamp(54px, 8vw, 92px);

  line-height: 0.95;

  background:

    linear-gradient(
      180deg,
      #fff7fc,
      #efafd3
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-subtitle {
  margin:
    22px auto 36px;

  max-width: 670px;

  color: var(--muted);

  font-size: 18px;
  line-height: 1.7;
}


/* =========================
   CREATOR
========================= */

.creator {
  width: min(780px, 100%);

  margin: 0 auto;

  background: var(--panel);

  border:
    1px solid var(--panel-border);

  border-radius: 22px;

  padding: 12px;

  box-shadow:
    0 25px 80px rgba(0,0,0,0.35),
    0 0 30px rgba(243,155,209,0.08);

  backdrop-filter: blur(20px);
}

.creator-tabs {
  display: flex;
  gap: 6px;

  margin-bottom: 10px;

  overflow-x: auto;
}

.creator-tabs button {
  flex: 1;

  min-width: 90px;

  border: 0;

  background: transparent;

  color: #cbb9c8;

  padding: 12px 15px;

  border-radius: 12px;

  cursor: pointer;
}

.creator-tabs button.active {
  color: #2a1525;

  font-weight: 700;

  background:

    linear-gradient(
      135deg,
      #ffbee3,
      #dd8bc5
    );
}

.prompt-box {
  width: 100%;

  min-height: 115px;

  resize: vertical;

  background: #100b16;

  color: var(--text);

  border:
    1px solid #64435f;

  border-radius: 14px;

  padding: 18px;

  font-family: inherit;
  font-size: 15px;

  outline: none;
}

.prompt-box:focus {
  border-color: var(--pink);
}

.creator-bottom {
  margin-top: 10px;

  display: flex;

  gap: 10px;
}

.model-select,
.reference-btn {
  background: #120c18;

  color: var(--text);

  border:
    1px solid #5b405a;

  border-radius: 10px;

  padding: 12px 14px;
}

.model-select {
  flex: 1;
}

.reference-btn {
  cursor: pointer;
}

.generate-btn {
  border: 0;

  margin-left: auto;

  padding: 12px 25px;

  border-radius: 10px;

  color: #251222;

  font-weight: 700;

  background:

    linear-gradient(
      135deg,
      #ffbae2,
      #d87fc0
    );

  cursor: pointer;

  box-shadow:
    0 0 18px rgba(243,155,209,0.25);
}

.idea-chips {
  margin-top: 18px;

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;
}

.idea-chips span {
  color: #cab6c7;

  border:
    1px solid #51394f;

  border-radius: 999px;

  padding: 7px 12px;

  font-size: 12px;

  background:
    rgba(15,10,20,0.65);
}


/* =========================
   CREATIVE TOOLS
========================= */

.tools-section {
  position: relative;

  padding:
    95px 5% 110px;

  overflow: hidden;

  background:

    radial-gradient(
      circle at 85% 20%,
      rgba(174,88,161,0.12),
      transparent 28%
    ),

    radial-gradient(
      circle at 10% 80%,
      rgba(241,133,194,0.08),
      transparent 25%
    ),

    linear-gradient(
      180deg,
      #0d0912 0%,
      #100a16 100%
    );

  border-top:
    1px solid rgba(243,155,209,0.12);
}

.tools-section::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -80px;

  width: 400px;
  height: 400px;

  background:

    radial-gradient(
      circle,
      rgba(219,124,188,0.12),
      transparent 68%
    );

  pointer-events: none;
}


/* section heading */

.section-heading {
  width: min(1400px,100%);

  margin:
    0 auto 45px;

  display: flex;

  justify-content:
    space-between;

  align-items:
    flex-end;

  gap: 30px;
}

.section-eyebrow {
  margin:
    0 0 9px;

  color: var(--pink);

  text-transform:
    uppercase;

  letter-spacing: 4px;

  font-size: 10px;
}

.section-heading h2 {
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(38px,5vw,58px);

  font-weight: 500;

  background:

    linear-gradient(
      180deg,
      #fff8fc,
      #efb0d3
    );

  -webkit-background-clip:
    text;

  background-clip:
    text;

  color:
    transparent;
}

.section-description {
  max-width: 620px;

  margin:
    15px 0 0;

  color:
    var(--muted);

  font-size:
    15px;

  line-height:
    1.7;
}

.view-all-link {
  flex-shrink: 0;

  color:
    var(--pink);

  text-decoration:
    none;

  font-size:
    13px;

  transition:
    0.25s ease;
}

.view-all-link span {
  margin-left: 5px;
}

.view-all-link:hover {
  color:
    var(--pink-bright);

  transform:
    translateX(3px);
}


/* grid */

.tools-grid {
  width:
    min(1400px,100%);

  margin:
    0 auto;

  display:
    grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:
    18px;
}


/* cards */

.tool-card {
  position:
    relative;

  overflow:
    hidden;

  min-height:
    350px;

  display:
    flex;

  flex-direction:
    column;

  border:
    1px solid rgba(212,128,190,0.28);

  border-radius:
    18px;

  background:
    #130d19;

  text-decoration:
    none;

  color:
    var(--text);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.20);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.tool-card:hover {
  transform:
    translateY(-7px);

  border-color:
    rgba(243,155,209,0.65);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.35),
    0 0 28px rgba(226,124,190,0.10);
}


/* card art */

.tool-art {
  position:
    relative;

  min-height:
    165px;

  overflow:
    hidden;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-bottom:
    1px solid rgba(243,155,209,0.14);
}


/* individual colors */

.tool-image .tool-art {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.08) 0%,
      rgba(10, 6, 14, 0.22) 65%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/tool-image-generator-v1.png");

  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}

.tool-video .tool-art {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.08) 0%,
      rgba(10, 6, 14, 0.22) 65%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/tool-video-generator-v1.png");

  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.tool-music .tool-art {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.08) 0%,
      rgba(10, 6, 14, 0.22) 65%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/tool-music-creator-v1.png");

  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.tool-book .tool-art {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.08) 0%,
      rgba(10, 6, 14, 0.22) 65%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/tool-book-creator-v1.png");

  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.tool-writing .tool-art {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.08) 0%,
      rgba(10, 6, 14, 0.22) 65%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/tool-writing-assistant-v1.png");

  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.tool-character .tool-art {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.08) 0%,
      rgba(10, 6, 14, 0.22) 65%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/tool-character-studio-v1.png");

  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}


/* pattern */

.tool-art::before {
  content: "";

  position:
    absolute;

  inset:
    0;

  background:

    radial-gradient(
      circle,
      rgba(255,255,255,0.30) 1px,
      transparent 1px
    );

  background-size:
    38px 38px;

  opacity:
    0.12;
}


/* icons */

.tool-icon {
  position:
    relative;

  z-index:
    2;

  width:
    74px;

  height:
    74px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    22px;

  background:
    rgba(15,8,20,0.64);

  border:
    1px solid rgba(255,186,226,0.42);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.30),
    0 0 30px rgba(243,155,209,0.11);

  backdrop-filter:
    blur(12px);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.tool-card:hover .tool-icon {
  transform:
    translateY(-3px)
    scale(1.05);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 0 35px rgba(243,155,209,0.20);
}

.tool-icon svg {
  width:
    34px;

  height:
    34px;

  stroke:
    #ffd0e9;

  stroke-width:
    1.6;

  fill:
    none;

  stroke-linecap:
    round;

  stroke-linejoin:
    round;
}


/* card number */

.tool-number {
  position:
    absolute;

  top:
    14px;

  right:
    17px;

  color:
    rgba(255,214,237,0.38);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    13px;

  letter-spacing:
    2px;
}


/* card text */

.tool-info {
  flex:
    1;

  display:
    flex;

  flex-direction:
    column;

  padding:
    24px 23px 22px;
}

.tool-info h3 {
  margin:
    0 0 10px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-weight:
    500;

  font-size:
    23px;

  color:
    #fff2fa;
}

.tool-info p {
  margin:
    0 0 23px;

  color:
    #bfaebe;

  font-size:
    13px;

  line-height:
    1.65;
}

.tool-link {
  margin-top:
    auto;

  color:
    var(--pink);

  font-size:
    12px;

  font-weight:
    600;

  transition:
    0.2s ease;
}

.tool-link span {
  margin-left:
    4px;
}

.tool-card:hover .tool-link {
  color:
    var(--pink-bright);
}

/* =========================
   EXPLORE CREATIONS
========================= */

.explore-section {
  position: relative;
  padding: 100px 5% 115px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(185, 95, 170, 0.10),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 75%,
      rgba(240, 130, 195, 0.08),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #100a16 0%,
      #0b0710 100%
    );

  border-top: 1px solid rgba(243, 155, 209, 0.12);
}

.explore-heading {
  width: min(1400px, 100%);
  margin: 0 auto 32px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.explore-heading h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;

  background:
    linear-gradient(
      180deg,
      #fff8fc,
      #efb0d3
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.explore-filters {
  width: min(1400px, 100%);
  margin: 0 auto 28px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explore-filters button {
  border: 1px solid rgba(214, 130, 190, 0.30);

  background: rgba(19, 13, 25, 0.75);
  color: var(--muted);

  padding: 9px 14px;

  border-radius: 999px;

  font-size: 12px;

  cursor: pointer;

  transition: 0.2s ease;
}

.explore-filters button:hover {
  color: var(--text);
  border-color: rgba(243, 155, 209, 0.55);
}

.explore-filters button.active {
  color: #251222;
  font-weight: 700;

  background:
    linear-gradient(
      135deg,
      #ffbee3,
      #dc88c5
    );

  border-color: transparent;
}

.explore-grid {
  width: min(1400px, 100%);
  margin: 0 auto;

  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  grid-auto-rows: 220px;

  gap: 16px;
}

.creation-card {
  position: relative;
  overflow: hidden;

  border-radius: 18px;

  border:
    1px solid rgba(212, 128, 190, 0.25);

  background: #140d1a;

  box-shadow:
    0 16px 40px rgba(0,0,0,0.22);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.creation-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(243,155,209,0.60);

  box-shadow:
    0 22px 50px rgba(0,0,0,0.32),
    0 0 24px rgba(232, 137, 198, 0.08);
}

.creation-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.creation-card.wide {
  grid-column: span 2;
}

.creation-placeholder {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(222, 117, 188, 0.35),
      transparent 32%
    ),
    radial-gradient(
      circle at 70% 65%,
      rgba(120, 76, 164, 0.35),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #22132b,
      #3c1d3c
    );
}
.featured-creation {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.04) 0%,
      rgba(10, 6, 14, 0.16) 65%,
      rgba(10, 6, 14, 0.46) 100%
    ),
    url("../assets/images/explore-featured-creation-v1.png");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.featured-creation::after {
  display: none;
}
.creation-placeholder::after {
  content: "✦";
  position: absolute;
  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  color: rgba(255, 218, 240, 0.65);

  font-size: 26px;
}

.creation-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 2;

  display: flex;
  justify-content: space-between;
  gap: 12px;

  padding: 16px 17px;

  color: #f6e8f1;

  font-size: 12px;

  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(8, 4, 12, 0.82) 48%,
      rgba(8, 4, 12, 0.96) 100%
    );
}

.creation-meta span:last-child {
  color: var(--pink);
}
.moonlit-character {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.04) 0%,
      rgba(10, 6, 14, 0.18) 70%,
      rgba(10, 6, 14, 0.48) 100%
    ),
    url("../assets/images/explore-moonlit-character-v1.png");

  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.moonlit-character::after {
  display: none;
}
.night-garden {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.04) 0%,
      rgba(10, 6, 14, 0.16) 70%,
      rgba(10, 6, 14, 0.46) 100%
    ),
    url("../assets/images/explore-night-garden-v1.png");

  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}

.night-garden::after {
  display: none;
}
.cinematic-scene {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.04) 0%,
      rgba(10, 6, 14, 0.14) 68%,
      rgba(10, 6, 14, 0.46) 100%
    ),
    url("../assets/images/explore-cinematic-scene-v1.png");

  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}

.cinematic-scene::after {
  display: none;
}
.moonlit-letters {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.04) 0%,
      rgba(10, 6, 14, 0.16) 70%,
      rgba(10, 6, 14, 0.46) 100%
    ),
    url("../assets/images/explore-moonlit-letters-v1.png");

  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.moonlit-letters::after {
  display: none;
}
.midnight-melody {
  background:
    linear-gradient(
      180deg,
      rgba(10, 6, 14, 0.04) 0%,
      rgba(10, 6, 14, 0.16) 70%,
      rgba(10, 6, 14, 0.46) 100%
    ),
    url("../assets/images/explore-midnight-melody-v1.png");

  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}

.midnight-melody::after {
  display: none;
}
/* =========================
   FEATURED MODELS
========================= */

.models-section {
  position: relative;
  padding: 100px 5% 115px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(181, 95, 169, 0.10),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 75%,
      rgba(231, 125, 191, 0.07),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #0b0710 0%,
      #100a16 100%
    );

  border-top: 1px solid rgba(243,155,209,0.12);
}

.models-heading {
  width: min(1400px, 100%);
  margin: 0 auto 38px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.models-heading h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;

  background:
    linear-gradient(
      180deg,
      #fff8fc,
      #efb0d3
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.models-grid {
  width: min(1400px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.model-card {
  overflow: hidden;

  border-radius: 18px;

  border:
    1px solid rgba(212,128,190,0.25);

  background: #130d19;

  box-shadow:
    0 16px 40px rgba(0,0,0,0.22);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.model-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(243,155,209,0.60);

  box-shadow:
    0 22px 50px rgba(0,0,0,0.32),
    0 0 24px rgba(232,137,198,0.08);
}

.model-preview {
  position: relative;

  min-height: 155px;

  background:
    radial-gradient(
      circle at 40% 40%,
      rgba(235, 142, 203, 0.30),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #211329,
      #482344
    );

  border-bottom:
    1px solid rgba(243,155,209,0.14);
}

.model-badge {
  position: absolute;
  top: 12px;
  left: 12px;

  padding: 6px 9px;

  border-radius: 999px;

  background:
    rgba(18, 10, 24, 0.78);

  border:
    1px solid rgba(255,190,226,0.28);

  color: #ffd6eb;

  font-size: 10px;
  letter-spacing: 0.5px;

  backdrop-filter: blur(10px);
}

.model-badge.workflow {
  color: #e8c9ff;
}

.model-info {
  padding: 20px 20px 22px;
}

.model-type {
  display: inline-block;
  margin-bottom: 8px;

  color: var(--pink);

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.model-info h3 {
  margin: 0 0 9px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;

  color: #fff2fa;
}

.model-info p {
  margin: 0;

  color: #bfaebe;

  font-size: 12px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .models-section {
    padding: 75px 20px 85px;
  }

  .models-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1050px) {
  .explore-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .explore-section {
    padding:
      75px 20px 85px;
  }

  .explore-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .explore-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .creation-card.large,
  .creation-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}
@media (max-width: 1050px) {

  .tools-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}

@media (max-width: 900px) {

  .main-nav {
    display: none;
  }

  .login-btn {
    display: none;
  }

  .site-header {
    padding:
      0 20px;
  }

  .hero {
    padding-top:
      60px;
  }

}

@media (max-width: 700px) {

  .tools-section {
    padding:
      70px 20px 80px;
  }

  .section-heading {
    align-items:
      flex-start;

    flex-direction:
      column;

    margin-bottom:
      30px;
  }

  .tools-grid {
    grid-template-columns:
      1fr;
  }

  .tool-card {
    min-height:
      320px;
  }

}

@media (max-width: 600px) {

  .brand img {
    width:
      95px;
  }

  .start-btn {
    padding:
      10px 12px;

    font-size:
      12px;
  }

  .hero-logo {
    width:
      180px;
  }

  .hero-subtitle {
    font-size:
      15px;
  }

  .creator-bottom {
    flex-wrap:
      wrap;
  }

  .model-select {
    flex-basis:
      100%;
  }

  .reference-btn,
  .generate-btn {
    flex:
      1;
  }

}
/* =========================
   FINAL HOMEPAGE POLISH
========================= */

body {
  overflow-x: hidden;
}

button,
select,
textarea,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pink-bright);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 92px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #5f405c;
  border-radius: 11px;
  background: rgba(18, 10, 24, 0.78);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

.idea-chips button {
  color: #cab6c7;
  border: 1px solid #51394f;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  background: rgba(15, 10, 20, 0.65);
  cursor: pointer;
  transition: .2s ease;
}

.idea-chips button:hover {
  color: var(--text);
  border-color: rgba(243, 155, 209, .65);
  transform: translateY(-1px);
}

.creation-card[hidden] {
  display: none;
}

.model-preview::after {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 218, 240, .58);
  font-size: 25px;
}

.model-card:nth-child(2) .model-preview {
  background: radial-gradient(circle at 65% 35%, rgba(228, 130, 209, .36), transparent 30%), linear-gradient(135deg, #21142e, #4a285b);
}

.model-card:nth-child(3) .model-preview {
  background: radial-gradient(circle at 38% 50%, rgba(248, 169, 204, .28), transparent 30%), linear-gradient(135deg, #271823, #52323e);
}

.model-card:nth-child(4) .model-preview {
  background: radial-gradient(circle at 55% 45%, rgba(188, 126, 224, .31), transparent 30%), linear-gradient(135deg, #171226, #412a56);
}

.model-card:nth-child(5) .model-preview {
  background: radial-gradient(circle at 30% 45%, rgba(244, 130, 193, .31), transparent 30%), linear-gradient(135deg, #251222, #50253d);
}

.model-card:nth-child(6) .model-preview {
  background: radial-gradient(circle at 70% 40%, rgba(220, 151, 205, .30), transparent 30%), linear-gradient(135deg, #22172b, #48334f);
}

.model-card:nth-child(7) .model-preview {
  background: radial-gradient(circle at 48% 48%, rgba(230, 109, 180, .34), transparent 31%), linear-gradient(135deg, #24101f, #522039);
}

.model-card:nth-child(8) .model-preview {
  background: radial-gradient(circle at 62% 42%, rgba(190, 135, 224, .32), transparent 31%), linear-gradient(135deg, #181322, #3a2b47);
}

.model-dream {
  background:
    linear-gradient(180deg, rgba(10,6,14,.04), rgba(10,6,14,.35)),
    url("../assets/images/model-tsuki-dream-v1.png"),
    radial-gradient(circle at 40% 40%, rgba(235,142,203,.30), transparent 32%),
    linear-gradient(135deg, #211329, #482344);
  background-size: cover;
  background-position: center;
}

.model-dream::after {
  display: none;
}

.content-heading {
  width: min(900px, 100%);
  margin: 0 auto 46px;
}

.centered-heading {
  text-align: center;
}

.content-heading h2,
.about-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  background: linear-gradient(180deg, #fff8fc, #efb0d3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.content-heading h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.centered-heading .section-description {
  margin-left: auto;
  margin-right: auto;
}

.pricing-section {
  padding: 105px 5% 115px;
  background:
    radial-gradient(circle at 50% 0%, rgba(211, 110, 181, .10), transparent 30%),
    linear-gradient(180deg, #100a16, #0d0912);
  border-top: 1px solid rgba(243,155,209,.12);
}

.pricing-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(212,128,190,.25);
  background: rgba(19,13,25,.86);
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.pricing-card.featured-plan {
  transform: translateY(-10px);
  border-color: rgba(243,155,209,.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(236, 147, 207, .12), transparent 36%),
    rgba(23, 14, 30, .94);
  box-shadow: 0 24px 65px rgba(0,0,0,.34), 0 0 35px rgba(243,155,209,.08);
}

.pricing-kicker {
  color: var(--pink);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.pricing-card h3 {
  margin: 12px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.pricing-card p,
.pricing-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
}

.pricing-card li {
  position: relative;
  padding: 7px 0 7px 22px;
}

.pricing-card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--pink);
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 13px;
  transition: .2s ease;
}

.primary-cta {
  color: #251222;
  font-weight: 700;
  background: linear-gradient(135deg, #ffbae2, #d87fc0);
  box-shadow: 0 0 22px rgba(243,155,209,.20);
}

.secondary-cta {
  color: var(--text);
  border: 1px solid #61435e;
  background: rgba(14, 9, 19, .5);
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-2px);
}

.about-section {
  padding: 110px 5%;
  background:
    radial-gradient(circle at 80% 50%, rgba(184,131,209,.10), transparent 25%),
    linear-gradient(180deg, #0d0912, #100a16);
  border-top: 1px solid rgba(243,155,209,.12);
}

.about-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  align-items: center;
}

.about-copy h2 {
  max-width: 780px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
}

.about-copy > p:not(.section-eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.about-mark {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px;
  border: 1px solid rgba(212,128,190,.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(237,145,207,.16), transparent 35%),
    rgba(18,11,24,.78);
  box-shadow: 0 26px 70px rgba(0,0,0,.27);
}

.about-mark img {
  width: min(240px, 70%);
  filter: drop-shadow(0 0 28px rgba(243,155,209,.16));
}

.about-mark span {
  margin-top: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.about-mark small {
  margin-top: 8px;
  color: var(--muted);
  font-style: italic;
}

.final-cta {
  padding: 105px 5%;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(239,143,207,.15), transparent 32%),
    #0b0710;
  border-top: 1px solid rgba(243,155,209,.12);
}

.final-cta-inner {
  width: min(780px, 100%);
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(44px, 6vw, 72px);
}

.final-cta p:not(.section-eyebrow) {
  max-width: 650px;
  margin: 20px auto 30px;
  color: var(--muted);
  line-height: 1.8;
}

.large-cta {
  min-width: 170px;
}

.site-footer {
  padding: 65px 5% 30px;
  background: #08050c;
  border-top: 1px solid rgba(243,155,209,.14);
}

.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  text-align: center;
}

.footer-brand img {
  width: 120px;
}

.footer-inner > p {
  max-width: 570px;
  margin: 18px auto 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--pink);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(243,155,209,.10);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8f7d8c;
  font-size: 11px;
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate(-50%, 20px);
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(243,155,209,.38);
  border-radius: 12px;
  background: rgba(19, 11, 25, .95);
  color: var(--text);
  box-shadow: 0 20px 55px rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  text-align: center;
  font-size: 13px;
}

.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1000px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .pricing-card.featured-plan {
    transform: none;
  }

  .about-shell {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-mark {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
    order: 3;
  }

  .header-actions {
    margin-left: auto;
    margin-right: 10px;
  }

  .main-nav {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(243,155,209,.24);
    border-radius: 14px;
    background: rgba(10,6,14,.98);
    box-shadow: 0 25px 55px rgba(0,0,0,.4);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: .2s ease;
  }

  .main-nav a {
    padding: 13px 14px;
    border-radius: 9px;
  }

  .main-nav a:hover {
    background: rgba(243,155,209,.08);
  }

  .nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }
}

@media (max-width: 700px) {
  .pricing-section,
  .about-section,
  .final-cta {
    padding: 78px 20px;
  }

  .about-copy h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .about-actions {
    flex-direction: column;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 72px;
  }

  .brand img {
    width: 84px;
  }

  .header-actions {
    margin-right: 8px;
  }

  .start-btn {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .creator-tabs button {
    min-width: 82px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 72px;
  }
}


/* Alpha 0.2 pricing refinements */
.pricing-grid.four-plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.price-line {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin: 6px 0 18px;
  color: var(--pink-bright);
}
.price-line strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}
.price-line span {
  color: var(--muted);
  font-size: 12px;
}
.pricing-note {
  width:min(900px,100%);
  margin:26px auto 0;
  color:#a995a7;
  text-align:center;
  font-size:12px;
  line-height:1.7;
}
@media (max-width: 1180px) {
  .pricing-grid.four-plans { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .pricing-grid.four-plans { grid-template-columns: 1fr; }
}
