:root {
  --ink: #f6f7fa;
  --muted: #a3a9b8;
  --bg: #0d1017;
  --panel: #151a24;
  --line: rgba(255,255,255,.11);
  --acid: #78f7d4;
  --violet: #77a8ff;
  --orange: #ffb35c;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(143,124,255,.13), transparent 27rem),
    var(--bg);
  font: 15px/1.6 "Manrope", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { color: inherit; }

.topbar {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 19px "Space Grotesk"; letter-spacing: -.04em; }
.brand b { color: var(--acid); }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--acid); }
.brand-mark i { display: block; width: 4px; background: #10141c; border-radius: 4px; }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 11px; }
.topbar nav { display: flex; gap: 34px; color: var(--muted); font-size: 13px; }
.topbar nav a:hover { color: var(--ink); }
.top-action { padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 13px; }

.hero {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 690px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 82px;
  align-items: center;
  padding: 80px 0 96px;
}
.eyebrow { color: var(--acid); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1 { margin: 18px 0 24px; font-size: clamp(50px, 6.2vw, 90px); line-height: .93; letter-spacing: -.065em; }
h1 em { color: var(--violet); font-style: normal; }
.hero-copy > p { color: var(--muted); font-size: 17px; max-width: 510px; }
.hero-facts { display: flex; gap: 31px; margin-top: 42px; color: var(--muted); font-size: 12px; }
.hero-facts span { padding-right: 31px; border-right: 1px solid var(--line); }
.hero-facts span:last-child { border: 0; }
.hero-facts b { display: block; color: var(--ink); font: 700 20px "Space Grotesk"; }

.converter { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 32px; background: rgba(21,26,36,.88); box-shadow: 0 34px 90px rgba(0,0,0,.32); backdrop-filter: blur(16px); }
.converter-head { display: flex; justify-content: space-between; align-items: start; }
.converter-head h2 { margin: 3px 0 0; font-size: 25px; }
.step-label { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.secure { color: #87d6b1; font-size: 10px; }
.dropzone { width: 100%; min-height: 224px; margin: 25px 0; padding: 25px; border: 1px dashed rgba(215,255,67,.5); border-radius: 22px; background: linear-gradient(135deg, rgba(215,255,67,.06), rgba(143,124,255,.08)); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: .2s ease; }
.dropzone:hover, .dropzone.dragging { transform: translateY(-2px); border-color: var(--acid); background: rgba(215,255,67,.09); }
.dropzone strong { font: 600 17px "Space Grotesk"; }
.dropzone small { color: var(--muted); margin-top: 5px; }
.upload-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 15px; border-radius: 50%; color: #10141c; background: var(--acid); font: 800 25px "Space Grotesk"; }
.format-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 10px 0 22px; }
.format-row > label { color: var(--muted); font-size: 12px; }
.select-wrap { flex: 1; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 8px 11px; }
.format-badge { display: grid; place-items: center; min-width: 44px; height: 34px; padding: 0 7px; border-radius: 8px; color: #10141c; background: var(--orange); font: 800 10px "Space Grotesk"; }
.select-wrap select { width: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 12px; }
.select-wrap option { color: #111; }
.convert-button { width: 100%; padding: 17px 20px; border: 0; border-radius: 14px; color: #10141c; background: var(--acid); cursor: pointer; font-weight: 800; display: flex; justify-content: space-between; }
.convert-button:hover { filter: brightness(1.08); }
.converter-note { min-height: 20px; margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 10px; }

.format-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 35px max(24px, calc((100% - 1240px)/2)); }
.format-strip > p { margin: 0 0 20px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.format-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.format-list button { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: transparent; cursor: pointer; text-align: left; }
.format-list button:hover { border-color: var(--violet); background: rgba(143,124,255,.08); }
.format-list b { font: 700 16px "Space Grotesk"; }
.format-list span { color: var(--muted); font-size: 10px; }

.workflow { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0; }
.section-title { max-width: 720px; margin-bottom: 54px; }
.section-title h2, .studio-copy h2, .cta h2 { margin: 12px 0 0; font-size: clamp(35px, 4vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.steps article > span { color: var(--violet); font: 700 13px "Space Grotesk"; }
.steps h3 { margin: 44px 0 8px; font-size: 25px; }
.steps p { margin: 0; color: var(--muted); }

.studio { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 130px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; }
.studio figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.studio img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.72) contrast(1.08); }
.studio-main { height: 540px; position: relative; }
.studio-main figcaption { position: absolute; left: 18px; bottom: 18px; max-width: 330px; padding: 13px 16px; border-radius: 12px; background: rgba(13,16,23,.86); font-size: 11px; }
.studio-copy { display: flex; flex-direction: column; justify-content: center; padding: 45px; border-radius: var(--radius); background: var(--acid); color: #10141c; }
.studio-copy .eyebrow { color: #5c631d; }
.studio-copy p { color: #40451d; }
.studio-copy ul { list-style: none; margin: 24px 0 0; padding: 0; }
.studio-copy li { margin: 10px 0; font-weight: 700; font-size: 13px; }
.studio-copy li span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; border-radius: 50%; background: #10141c; color: var(--acid); }
.studio-detail { grid-column: 1 / -1; height: 310px; }

.visual-library { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 130px; }
.visual-library .section-title { display: grid; grid-template-columns: 1fr 1fr; column-gap: 55px; max-width: none; align-items: end; }
.visual-library .section-title .eyebrow { grid-column: 1 / -1; }
.visual-library .section-title p { color: var(--muted); max-width: 470px; margin: 0 0 5px; }
.photo-grid { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: 300px 300px; gap: 18px; }
.photo-grid figure { margin: 0; min-height: 0; overflow: hidden; position: relative; border-radius: var(--radius); background: var(--panel); }
.photo-grid .photo-wide { grid-row: 1 / 3; }
.photo-grid img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.68) contrast(1.08); transition: transform .5s ease, filter .5s ease; }
.photo-grid figure:hover img { transform: scale(1.025); filter: saturate(.9) contrast(1.04); }
.photo-grid figcaption { position: absolute; inset: auto 16px 16px 16px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(13,16,23,.82); backdrop-filter: blur(12px); }
.photo-grid figcaption b { font: 700 13px "Space Grotesk"; color: var(--acid); text-transform: uppercase; letter-spacing: .11em; }
.photo-grid figcaption span { color: #d5d8e0; font-size: 10px; text-align: right; }

.cta { width: min(1240px, calc(100% - 48px)); margin: 0 auto 80px; padding: 80px 28px; border-radius: 34px; text-align: center; background: linear-gradient(135deg, #201b3e, #3a2654 52%, #542c35); }
.cta a { display: inline-flex; gap: 30px; margin-top: 30px; padding: 16px 20px; border-radius: 999px; color: #10141c; background: var(--acid); font-weight: 800; }

footer { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 45px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 12px 50px; align-items: center; color: var(--muted); font-size: 10px; }
.footer-brand { color: var(--ink); grid-row: 1 / 3; }
.credits { margin: 0; }
.credits a { text-decoration: underline; }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding-top: 62px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-facts { justify-content: center; }
  .format-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .studio-detail { grid-column: auto; }
  .visual-library .section-title { grid-template-columns: 1fr; }
  .visual-library .section-title .eyebrow { grid-column: auto; }
  .visual-library .section-title p { margin-top: 18px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 260px; }
  .photo-grid .photo-wide { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
  .topbar, .hero, .workflow, .studio, .cta, footer { width: min(100% - 28px, 1240px); }
  .top-action { display: none; }
  .hero { padding: 52px 0 72px; }
  h1 { font-size: 52px; }
  .hero-facts { gap: 12px; }
  .hero-facts span { padding-right: 12px; }
  .converter { padding: 18px; border-radius: 23px; }
  .converter-head { display: block; }
  .secure { display: block; margin-top: 8px; }
  .dropzone { min-height: 190px; }
  .format-row { display: block; }
  .format-row > label { display: block; margin-bottom: 8px; }
  .format-list { grid-template-columns: 1fr; }
  .workflow { padding: 82px 0; }
  .studio-copy { padding: 32px 25px; }
  .studio-main { height: 390px; }
  .visual-library { width: min(100% - 28px, 1240px); padding-bottom: 82px; }
  .photo-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 330px); }
  .photo-grid .photo-wide { grid-column: auto; }
  .photo-grid figcaption { display: block; }
  .photo-grid figcaption span { display: block; margin-top: 4px; text-align: left; }
  footer { grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; }
}
