﻿:root {
  --bg: #120012;
  --bg-soft: #1d0219;
  --surface: #220c3c;
  --surface-2: #331b26;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f8f0f7;
  --muted: #d3dbe5;
  --accent-a: #c52da6;
  --accent-b: #e24b77;
  --accent-c: #ff4180;
  --radius: 18px;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(197, 45, 166, 0.32), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(226, 75, 119, 0.2), transparent 35%),
    linear-gradient(165deg, #0f0010 0%, #170815 48%, #1b0a1c 100%);
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
}

body::before {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 120px;
  background: radial-gradient(circle, rgba(255, 65, 128, 0.24), transparent 70%);
}

body::after {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(197, 45, 166, 0.2), transparent 70%);
}

main,
header,
footer,
.mobile-nav {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(12, 8, 14, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 130px;
  height: auto;
  display: block;
}

.main-nav {
  margin-left: auto;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav a {
  text-decoration: none;
  color: #f5e9f2;
  font-size: 14px;
  line-height: 1;
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 10px 28px rgba(197, 45, 166, 0.32);
}

.credits-pill img {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 3px;
  background: #fff;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 74px 12px auto;
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  background: #1b1021;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

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

.mobile-nav a {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 12px;
  border-radius: 10px;
  font-size: 15px;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding-top: 42px;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-title h1 {
  font-size: clamp(34px, 6vw, 62px);
}

.section-title h2 {
  font-size: clamp(27px, 4vw, 44px);
}

.section-title span {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 900px;
}

.tool-tabs {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(226, 75, 119, 0.54);
  background: rgba(255, 255, 255, 0.03);
}

.tab {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: transparent;
  color: #f9eff7;
  text-decoration: none;
  font-size: 14px;
  padding: 11px 16px;
  cursor: pointer;
}

.tab img {
  width: 17px;
  height: 17px;
}

.tab.active,
.tab:hover {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
}

.hero-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

.studio-card,
.hero-side,
.benefit-grid article,
.model-card,
.story-card,
.text-cards article,
.step-grid article,
.faq-item,
.fun-card {
  background: linear-gradient(165deg, rgba(42, 22, 47, 0.95), rgba(35, 15, 40, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.studio-card {
  padding: 20px;
}

.upload-box {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  overflow: hidden;
}

.upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-box label {
  min-height: 120px;
  padding: 16px;
  display: grid;
  place-items: center;
  gap: 8px;
  cursor: pointer;
}

.upload-box img {
  width: 34px;
  height: 34px;
}

.upload-box span {
  font-weight: 700;
}

.preview-wrap {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
  background: #0f0f12;
}

.preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.options-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.option-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
}

.option-card p {
  margin: 0 0 9px;
  font-size: 13px;
  color: #f2d7ea;
  font-weight: 700;
}

.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  border-color: transparent;
  background: linear-gradient(96deg, var(--accent-a), var(--accent-b));
}

.quick-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-links a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-links a:hover {
  background: rgba(255, 255, 255, 0.13);
}

.actions-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
}

.btn {
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 14px;
  font-family: "Manrope", sans-serif;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.solid {
  color: #fff;
  background: linear-gradient(96deg, var(--accent-a), var(--accent-b));
}

.credit-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.credit-note strong {
  color: #fff;
}

.hero-side {
  padding: 16px;
}

.hero-side h2 {
  margin: 0;
  font-size: 18px;
  font-family: "Space Grotesk", sans-serif;
}

.hero-side ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.hero-side li {
  color: var(--muted);
  line-height: 1.45;
  margin: 7px 0;
}

.rating-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #f1d6e9;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.block {
  padding-top: 76px;
}

.model-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.model-card {
  overflow: hidden;
  padding: 9px;
}

.model-card img {
  width: 100%;
  border-radius: 12px;
  height: 220px;
  object-fit: cover;
}

.model-card .btn {
  width: 100%;
  margin-top: 8px;
}

.benefit-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.benefit-grid article {
  padding: 18px;
}

.benefit-grid img {
  width: 44px;
  height: 44px;
}

.benefit-grid h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.narrative {
  display: grid;
  gap: 14px;
}

.story-card {
  padding: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.story-card.reverse {
  direction: rtl;
}

.story-card.reverse > div {
  direction: ltr;
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 14px;
}

.story-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.15;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.text-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.text-cards article {
  padding: 18px;
}

.text-cards h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.text-cards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.step-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid article {
  padding: 16px;
}

.step-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(96deg, var(--accent-a), var(--accent-b));
}

.step-grid h3 {
  margin: 12px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.step-grid p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #fff;
  font: 700 18px/1.3 "Manrope", sans-serif;
  padding: 16px 18px;
}

.faq-question::after {
  content: "+";
  float: right;
  font-size: 24px;
  margin-top: -4px;
  color: #fff;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.5;
  padding: 0 18px;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 18px 16px;
}

.fun-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.fun-card {
  overflow: hidden;
}

.fun-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.fun-card div {
  padding: 14px;
}

.fun-card h3 {
  margin: 0;
  font-size: 24px;
}

.fun-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.fun-card a {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  display: inline-block;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(96deg, var(--accent-a), var(--accent-b));
}

.site-footer {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  background: rgba(14, 11, 17, 0.9);
  padding: 26px 0 46px;
}

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

.footer-grid {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-grid h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.footer-grid a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .credits-pill {
    margin-left: 4px;
  }

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

  .model-grid,
  .benefit-grid,
  .fun-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card,
  .story-card.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .container {
    width: min(1200px, calc(100% - 24px));
  }

  .topbar-inner {
    min-height: 64px;
  }

  .brand img {
    width: 108px;
  }

  .credits-pill {
    padding: 8px 10px;
    font-size: 12px;
  }

  .section-title p {
    font-size: 15px;
  }

  .options-grid,
  .text-cards,
  .model-grid,
  .benefit-grid,
  .fun-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .actions-row {
    grid-template-columns: 1fr;
  }

  .credit-note {
    text-align: left;
  }

  .faq-question {
    font-size: 16px;
    padding: 14px;
  }

  .faq-item.open .faq-answer {
    padding: 0 14px 14px;
  }

  .story-card h3,
  .text-cards h3,
  .step-grid h3,
  .fun-card h3 {
    font-size: 22px;
  }

  .site-footer {
    margin-top: 60px;
  }
}
