:root {
  --ink: #101626;
  --muted: #5f6b7a;
  --paper: #ffffff;
  --mint: #eefbf8;
  --mint-strong: #2dd4bf;
  --violet: #6543ff;
  --pink: #ff4bb8;
  --orange: #ff7a3d;
  --line: rgba(16, 22, 38, 0.1);
  --panel: #ffffff;
  --night: #111827;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(16, 22, 38, 0.12);
}

* {
  box-sizing: border-box;
}

.is-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px clamp(22px, 8vw, 160px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 148px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  color: var(--ink);
  font-weight: 800;
}

.nav-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: white;
  background: var(--night);
  border-radius: var(--radius);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 101px);
  padding: clamp(74px, 11vw, 150px) clamp(22px, 8vw, 160px);
  background:
    radial-gradient(circle at 78% 44%, rgba(45, 212, 191, 0.14), transparent 28rem),
    linear-gradient(90deg, var(--mint), #fff 52%);
  overflow: hidden;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 5vw, 5.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 4.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-text,
.section-heading p,
.possibilities-header p,
.event-copy p,
.final-cta p,
.admin-hero p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.4rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 16px 34px rgba(255, 75, 184, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.button.dark {
  color: white;
  background: var(--night);
}

.microcopy {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-mockup {
  position: relative;
  min-height: 560px;
}

.browser-frame {
  position: absolute;
  top: 0;
  right: -160px;
  width: min(760px, 66vw);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.browser-top {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #cfd7e3;
}

.browser-content {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 28px;
}

.mock-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  color: #8a94a3;
  font-size: 0.9rem;
  font-weight: 800;
}

.mock-sidebar .active {
  color: var(--ink);
}

.mock-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mock-gallery img,
.phone-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.phone-frame {
  position: absolute;
  right: clamp(10px, 18vw, 260px);
  bottom: -30px;
  width: 270px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
}

.phone-bar {
  margin-bottom: 14px;
  font-weight: 900;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.styles-section,
.possibilities,
.events-section,
.final-cta {
  padding: clamp(72px, 9vw, 130px) clamp(22px, 8vw, 160px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 36px;
}

.style-category + .style-category {
  margin-top: 38px;
}

.uploaded-gallery {
  margin-top: 38px;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.category-title h3 {
  margin: 0;
  font-size: 1.55rem;
}

.category-title span {
  padding: 8px 13px;
  color: #0f766e;
  background: #dff8f4;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  font-weight: 900;
}

.style-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.style-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: white;
  background: var(--night);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(16, 22, 38, 0.16);
  cursor: zoom-in;
}

.style-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.style-card:hover img {
  transform: scale(1.04);
}

.style-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.style-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
}

.possibilities {
  overflow: hidden;
}

.possibilities-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}

.try-box {
  display: grid;
  gap: 12px;
  align-content: start;
}

.try-box h3 {
  font-size: 2.3rem;
}

.spark {
  font-size: 3rem;
}

.transformation-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  align-items: start;
}

.transform-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(16, 22, 38, 0.06);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 22, 38, 0.09);
  cursor: zoom-in;
}

.transform-card:focus-visible {
  outline: 3px solid rgba(101, 67, 255, 0.42);
  outline-offset: 5px;
}

.transform-card.tall {
  margin-top: 70px;
}

.split-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.transform-card h3 {
  margin: 22px 22px 6px;
  font-size: 1.5rem;
}

.transform-card p {
  margin: 0 22px 24px;
  color: var(--muted);
}

.events-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  background: linear-gradient(90deg, var(--mint), #fff);
}

.event-steps {
  display: grid;
  gap: 24px;
  padding: 20px 0 26px;
  margin: 0;
  list-style: none;
}

.event-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  align-items: start;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.event-steps span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  background: #000;
  border-radius: 999px;
  font-weight: 900;
}

.event-question {
  max-width: 620px;
  margin: 4px 0 18px;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
  line-height: 1.12;
}

.event-dashboard {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 560px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.dashboard-menu {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 28px;
  color: #8a94a3;
  border-right: 1px solid var(--line);
  font-weight: 800;
}

.dashboard-menu strong,
.dashboard-menu .active {
  color: var(--ink);
}

.dashboard-main {
  padding: 34px;
}

.dash-label {
  color: var(--muted);
  font-weight: 800;
}

.dashboard-main h3 {
  font-size: 2rem;
}

.color-card {
  display: grid;
  width: 180px;
  height: 130px;
  margin: 22px 0 14px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--mint-strong), var(--violet));
  border-radius: var(--radius);
  font-size: 1.3rem;
  font-weight: 900;
}

.design-tokens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.design-tokens span {
  padding: 10px 13px;
  color: #0f766e;
  background: #dff8f4;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  font-weight: 900;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 16px;
}

.dash-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.final-cta {
  display: grid;
  min-height: 620px;
  place-items: center;
  background:
    radial-gradient(circle, rgba(45, 212, 191, 0.1), transparent 33rem),
    var(--mint);
  text-align: center;
}

.cta-orbit {
  display: grid;
  width: min(760px, 100%);
  min-height: 520px;
  place-items: center;
  align-content: center;
  padding: 42px;
  border: 2px solid rgba(45, 212, 191, 0.18);
  border-radius: 999px;
}

.cta-orbit h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.chat-bubble {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: white;
  background: #000;
  border-radius: 999px;
  font-size: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1fr);
  gap: 28px;
  padding: 46px clamp(22px, 8vw, 160px);
  color: var(--muted);
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 128px;
  margin-bottom: 12px;
}

.site-footer nav {
  justify-content: end;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(680px, calc(100vw - 44px));
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner div {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cookie-banner a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
}

.cookie-banner .button {
  min-height: 42px;
}

.lightbox {
  width: min(94vw, 1120px);
  padding: 0;
  color: white;
  background: var(--night);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
}

.lightbox::backdrop {
  background: rgba(16, 22, 38, 0.78);
}

.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: #0e0a16;
}

.lightbox p {
  margin: 0;
  min-height: 54px;
  padding: 16px 74px 18px;
  font-weight: 800;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(16, 22, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  font-size: 1.5rem;
}

.lightbox-arrow {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 2.6rem;
  transform: translateY(-50%);
}

.lightbox-arrow-prev {
  left: 16px;
}

.lightbox-arrow-next {
  right: 16px;
}

.lightbox-arrow[hidden] {
  display: none;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 75, 184, 0.13), transparent 32rem),
    radial-gradient(circle at 88% 5%, rgba(101, 67, 255, 0.16), transparent 30rem),
    #fffaf3;
}

.admin-shell {
  padding: clamp(36px, 6vw, 72px) clamp(22px, 8vw, 160px);
}

.admin-login {
  display: grid;
  min-height: calc(100vh - 101px);
  place-items: center;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 8vw, 160px);
}

.login-card {
  display: grid;
  gap: 16px;
  width: min(100%, 440px);
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card img {
  width: 150px;
}

.login-card h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.login-card p {
  color: var(--muted);
  line-height: 1.5;
}

.login-error {
  margin: 0;
  color: #b91c1c;
  font-weight: 900;
}

.admin-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.admin-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.admin-section-heading {
  margin-bottom: 18px;
}

.admin-section-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.admin-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.admin-theme-manager {
  margin-bottom: 28px;
}

.admin-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.admin-theme-slot {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(22, 15, 35, 0.08);
}

.admin-theme-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 150px;
  background: #eef2f7;
}

.admin-theme-preview img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.admin-theme-preview img:only-child {
  grid-column: 1 / -1;
}

.admin-theme-meta {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.admin-theme-meta h3,
.admin-theme-meta p {
  margin: 0;
}

.admin-theme-meta p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.admin-uploader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(22, 15, 35, 0.08);
}

.admin-uploader h2,
.admin-uploader p {
  margin-bottom: 0;
}

.admin-uploader p {
  color: var(--muted);
  font-weight: 800;
}

.upload-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  width: 100%;
}

.upload-settings label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.admin-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(22, 15, 35, 0.1);
}

.admin-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-card div {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-card h2 {
  margin: 0;
  font-size: 1.1rem;
}

.upload-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-card textarea,
.admin-card input,
.admin-card select,
.upload-settings input,
.upload-settings select,
.upload-settings textarea,
.login-card input {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  resize: vertical;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

code {
  padding: 2px 6px;
  background: #edf2f7;
  border-radius: 6px;
}

.legal-page {
  background: #f8fafc;
}

.legal-shell {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) 0;
}

.legal-logo img {
  width: 150px;
  margin-bottom: 30px;
}

.legal-shell h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.legal-shell section {
  margin-top: 28px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-shell h2 {
  font-size: 1.4rem;
}

.legal-shell p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-updated {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .hero,
  .events-section {
    grid-template-columns: 1fr;
  }

  .hero-mockup {
    min-height: 620px;
  }

  .browser-frame {
    right: 0;
    width: 100%;
  }

  .style-row,
  .transformation-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-dashboard {
    grid-template-columns: 140px 1fr;
  }

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

  .admin-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-uploader {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  nav {
    justify-content: start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  nav a {
    white-space: nowrap;
  }

  .nav-cta,
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-mockup {
    min-height: 520px;
  }

  .browser-content {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .phone-frame {
    right: 8px;
    width: 210px;
  }

  .style-row,
  .transformation-wall,
  .possibilities-header,
  .admin-theme-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .transform-card.tall {
    margin-top: 0;
  }

  .event-dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-menu {
    display: none;
  }

  .cta-orbit {
    min-height: auto;
    border-radius: 28px;
  }

  .chat-bubble {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .site-footer,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: start;
  }

  .cookie-banner div {
    align-items: stretch;
    flex-direction: column;
  }
}
