:root {
  --ink: #09090b;
  --muted: #64646f;
  --line: #e4e4e7;
  --paper: #fbfbfd;
  --cloud: #f4f6fb;
  --iris: #4f46e5;
  --violet: #7c3aed;
  --cyan: #06b6d4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(228, 228, 231, 0.82);
  backdrop-filter: blur(18px);
  display: flex;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 28px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.site-header nav,
.hero-actions,
.trust-row,
.panel-top,
.format-grid,
.controls,
.contact {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-header nav {
  color: var(--muted);
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.header-button,
.button {
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  padding: 13px 20px;
}

.header-button,
.primary {
  background: var(--ink);
  color: #fff;
}

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

.hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(124, 58, 237, 0.18), transparent 28%),
    radial-gradient(circle at 85% 0%, rgba(6, 182, 212, 0.18), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
  display: grid;
  gap: 44px;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: calc(100vh - 68px);
  padding: 76px max(28px, calc((100vw - 1180px) / 2)) 90px;
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.section-heading span,
.studio-copy span,
.contact span {
  color: var(--iris);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3f3f46;
  display: inline-flex;
  gap: 10px;
  letter-spacing: 0;
  padding: 8px 12px;
  text-transform: none;
}

.eyebrow span {
  background: var(--cyan);
  border-radius: 999px;
  height: 8px;
  width: 8px;
}

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

h1 {
  font-size: clamp(58px, 8vw, 104px);
  letter-spacing: 0;
  line-height: 0.95;
  margin-top: 24px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  margin-top: 26px;
  max-width: 680px;
}

.hero-actions {
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  color: #52525b;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  margin-top: 34px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 10px 12px;
}

.product-panel,
.studio-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  box-shadow: 0 24px 90px rgba(15, 23, 42, 0.12);
  padding: 18px;
}

.product-panel {
  align-self: center;
}

.panel-top {
  background: var(--ink);
  border-radius: 22px 22px 0 0;
  color: #fff;
  justify-content: space-between;
  padding: 18px;
}

.panel-top span {
  color: rgba(255, 255, 255, 0.56);
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-top strong {
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

.panel-top .status {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  padding: 8px 11px;
}

.preview-art {
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.45) 0 2px, transparent 2px 16px),
    radial-gradient(circle at 35% 30%, rgba(124, 58, 237, 0.62), transparent 29%),
    radial-gradient(circle at 70% 75%, rgba(6, 182, 212, 0.48), transparent 31%),
    linear-gradient(135deg, #111827, #f8fafc);
  display: grid;
  overflow: hidden;
  place-items: center;
  position: relative;
}

.preview-letter {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(120px, 22vw, 230px);
  font-weight: 900;
}

.watermark {
  bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  font-weight: 900;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.format-grid {
  background: var(--ink);
  border-radius: 0 0 22px 22px;
  gap: 10px;
  justify-content: space-between;
  padding: 14px;
}

.format-grid span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  flex: 1;
  font-weight: 900;
  padding: 16px 10px;
  text-align: center;
}

.section,
.studio-section,
.contact {
  padding: 92px max(28px, calc((100vw - 1180px) / 2));
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.studio-copy h2,
.contact h2 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-top: 14px;
}

.service-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
}

.service-grid article,
.pricing-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
  padding: 26px;
}

.icon {
  align-items: center;
  background: #eef2ff;
  border-radius: 14px;
  color: var(--iris);
  display: flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.service-grid h3,
.pricing-grid h3 {
  font-size: 22px;
  margin-top: 34px;
}

.service-grid p,
.pricing-grid p,
.studio-copy p,
.contact p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
}

.studio-section,
.pricing-section {
  background: var(--cloud);
}

.studio-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.86fr 1.14fr;
}

.studio-copy {
  align-self: center;
}

.dropzone {
  align-items: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  justify-content: center;
  text-align: center;
}

.dropzone input {
  display: none;
}

.drop-icon {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 28px;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  margin-bottom: 14px;
  width: 46px;
}

.dropzone small {
  color: var(--muted);
  margin-top: 8px;
}

.controls {
  gap: 10px;
  margin: 14px 0;
}

.controls input,
.controls select {
  border: 1px solid var(--line);
  border-radius: 14px;
  flex: 1;
  font: inherit;
  height: 48px;
  padding: 0 14px;
}

.studio-card .button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.result {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-top: 16px;
  min-height: 320px;
  overflow: hidden;
  position: relative;
}

.result-empty {
  color: var(--muted);
  display: grid;
  height: 320px;
  place-items: center;
}

.result img {
  display: block;
  filter: saturate(0.82) contrast(1.05);
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.result .overlay {
  background: repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 16px);
  inset: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
  position: absolute;
}

.result .label {
  background: rgba(9, 9, 11, 0.78);
  border-radius: 999px;
  bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  left: 50%;
  padding: 10px 14px;
  position: absolute;
  transform: translateX(-50%);
}

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

.pricing-grid strong {
  display: block;
  font-size: 46px;
  margin-top: 24px;
}

.pricing-grid .featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-10px);
}

.pricing-grid .featured p {
  color: rgba(255, 255, 255, 0.68);
}

.contact {
  background: #fff;
  justify-content: space-between;
  gap: 26px;
}

.contact div {
  max-width: 680px;
}

@media (max-width: 920px) {
  .site-header nav {
    display: none;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    padding: 0 16px;
  }

  .header-button {
    display: none;
  }

  .hero,
  .section,
  .studio-section,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .controls,
  .contact {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid .featured {
    transform: none;
  }
}
