:root {
  --bg: #0d0f11;
  --bg-2: #111315;
  --panel: #17191c;
  --panel-2: #1d2024;
  --panel-3: #24272c;
  --ink: #f2eee9;
  --ink-soft: #ddd4c9;
  --muted: #9e9993;
  --muted-2: #77736f;
  --accent: #d7b98f;
  --accent-strong: #ebd0aa;
  --accent-dark: #9f8567;
  --silver: #b6b3ae;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(231,208,176,.22);
  --shadow: 0 30px 90px rgba(0,0,0,.42);
  --shadow-soft: 0 18px 46px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(164,139,108,.12), transparent 28rem),
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.035), transparent 23rem),
    linear-gradient(180deg, #0d0f11 0%, #111315 52%, #0c0e10 100%);
  font-family: "DM Sans", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 75%);
}

button, input, select { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.topbar {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 42px;
  height: 42px;
  display: block;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.12);
  background: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.brand-icon img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: 50% 5%;
  transform: translate(-7px,-3px);
}
.brand-name {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

nav { display: flex; align-items: center; gap: 27px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: color .18s ease;
}
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { color: var(--accent-strong); }

main { overflow: hidden; }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 670px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr);
  gap: clamp(38px,6vw,84px);
  align-items: center;
  padding: 76px 0 82px;
}
.hero-copy { position: relative; z-index: 5; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1,h2,h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -.035em;
  line-height: 1.04;
}
h1 { font-size: clamp(3rem,5.5vw,5.35rem); }
h2 { font-size: clamp(2.1rem,4.4vw,3.7rem); }
.hero-accent {
  margin: 9px 0 0;
  color: var(--accent-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem,2.5vw,2.35rem);
  letter-spacing: -.025em;
}
.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.hero-primary, .hero-secondary, .primary-link, .secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 14px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.hero-primary, .primary-link {
  color: #17130f;
  background: linear-gradient(135deg, #ead3b0, #bd9b73);
  box-shadow: 0 14px 34px rgba(174,139,99,.18);
}
.hero-secondary, .secondary-link { color: var(--ink-soft); border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); }
.hero-primary:hover, .hero-secondary:hover, .primary-link:hover, .secondary-link:hover { transform: translateY(-1px); }
.hero-secondary:hover, .secondary-link:hover { border-color: rgba(231,208,176,.42); }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-meta span {
  padding: 8px 11px;
  color: #aaa59f;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.018);
  font-size: .72rem;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 34px;
  overflow: hidden;
  background: #111315;
  box-shadow: var(--shadow);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,15,17,.38), transparent 38%),
    linear-gradient(180deg, transparent 55%, rgba(10,11,13,.62));
}
.hero-hina {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% center;
  filter: saturate(.78) contrast(1.03) brightness(.92);
}
.hero-glass {
  position: absolute;
  z-index: 4;
  left: 24px;
  bottom: 24px;
  width: min(330px, calc(100% - 48px));
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(14,16,18,.72);
  box-shadow: 0 18px 48px rgba(0,0,0,.26);
  backdrop-filter: blur(16px);
}
.hero-glass-kicker { display: block; margin-bottom: 6px; color: var(--accent); font-size: .64rem; font-weight: 700; letter-spacing: .16em; }
.hero-glass strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.14rem; }
.hero-glass p { margin: 6px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.workspace {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 84px;
  padding-top: 74px;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading p:last-child { margin: 15px 0 0; color: var(--muted); line-height: 1.7; }
.converter-heading h2 { max-width: 720px; }

.converter-shell {
  display: grid;
  grid-template-columns: 270px minmax(0,1fr);
  gap: 14px;
  align-items: stretch;
}
.converter-aside, .converter-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29,32,36,.98), rgba(20,22,25,.98));
  box-shadow: var(--shadow-soft);
}
.converter-aside {
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}
.aside-icon {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.11);
  background: #0f1113;
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
}
.aside-icon img { width: 116px; height: 116px; object-fit: cover; object-position: 50% 4%; transform: translate(-14px,-6px); }
.stage-kicker { margin: 18px 0 10px; color: var(--accent); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hina-message {
  display: flex;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.026);
}
.hina-message p { margin: 0; color: var(--muted); font-size: .81rem; line-height: 1.48; }
.hina-message strong { color: var(--ink); font-size: .9rem; }
.message-dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(215,185,143,.11); }
.aside-note { margin: auto 0 0; padding-top: 22px; color: var(--muted-2); font-size: .72rem; line-height: 1.55; }

.converter-card { border-radius: 24px; padding: 10px; }
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 16px;
  background: #111315;
}
.tab {
  min-height: 47px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}
.tab span { margin-right: 7px; }
.tab.is-active {
  color: var(--ink);
  background: #25282d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 7px 18px rgba(0,0,0,.22);
}
.tab-panel { padding: 18px 8px 6px; }
.drop-zone {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(215,185,143,.28);
  border-radius: 18px;
  background: #14171a;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.drop-zone:hover, .drop-zone.is-dragging, .drop-zone.has-file { border-color: rgba(235,208,170,.68); background: #171a1e; }
.drop-zone.is-dragging { transform: scale(1.006); }
.drop-zone input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.drop-zone strong { margin-top: 7px; font-size: .98rem; }
.drop-zone > span:not(.upload-icon) { color: var(--muted); font-size: .84rem; }
.drop-zone small { margin-top: 8px; color: var(--muted-2); font-size: .73rem; }
.upload-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #19140f; border-radius: 13px; background: linear-gradient(135deg,#e6cfad,#b79873); font-size: 1.32rem; }

.options-row { margin: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.link-options { margin-top: 15px; }
.options-row label, .field-label { color: var(--ink-soft); font-size: .83rem; font-weight: 700; }
select {
  min-height: 42px;
  padding: 0 36px 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #111315;
}
.primary-button, .download-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  color: #17130f;
  background: linear-gradient(135deg,#ecd7b7,#b8946c);
  box-shadow: 0 12px 28px rgba(169,134,95,.16);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease;
}
.primary-button { width: 100%; }
.primary-button:hover:not(:disabled), .download-button:hover { filter: brightness(1.035); transform: translateY(-1px); }
.primary-button:disabled { opacity: .36; cursor: not-allowed; box-shadow: none; }
.field-label { display: block; margin: 5px 0 8px; }
.url-field {
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111315;
}
.url-field:focus-within { border-color: rgba(215,185,143,.52); box-shadow: 0 0 0 3px rgba(215,185,143,.08); }
.url-field span { color: var(--accent); font-size: 1.35rem; }
.url-field input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; }
.url-field input::placeholder { color: #68655f; }
.field-help { margin: 10px 1px 16px; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.status, .result { margin: 12px 8px 4px; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: #14171a; }
.status.is-error { color: #f0babf; border-color: rgba(207,89,99,.22); background: #1c1416; }
.status-line { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; font-weight: 600; }
.progress-track { height: 6px; margin-top: 11px; overflow: hidden; border-radius: 999px; background: #292c30; }
.progress-track span { height: 100%; display: block; width: 0; border-radius: inherit; background: linear-gradient(90deg,var(--accent-dark),var(--accent-strong)); transition: width .2s ease; }
.result { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.result div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.result strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-kicker { color: var(--accent); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.download-button { min-width: 124px; min-height: 43px; padding: 0 16px; font-size: .82rem; }

.feature-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.feature-strip span { padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); color: var(--muted); font-size: .77rem; line-height: 1.5; }
.feature-strip strong { color: var(--ink-soft); }
.privacy-note { margin: 15px 0 0; color: var(--muted-2); text-align: center; font-size: .73rem; }
.privacy-note span { color: var(--accent); margin-right: 4px; }

.ad-container { width: min(970px, calc(100% - 40px)); min-height: 120px; margin: 0 auto 70px; padding: 10px; color: #77736f; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: #141619; font-size: .7rem; }
.adsbygoogle { display: block; min-height: 90px; }

.steps { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 94px 0; border-top: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.step-grid article, .about-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 23px; background: linear-gradient(180deg,#181b1e,#141619); box-shadow: 0 14px 44px rgba(0,0,0,.14); }
.step-grid article > span, .about-card span { color: var(--accent); font-family: "Playfair Display", serif; font-size: .94rem; letter-spacing: .08em; }
.step-grid h3 { margin: 32px 0 9px; font-size: 1.42rem; }
.step-grid p, .about-card p { margin: 0; color: var(--muted); line-height: 1.64; }

.privacy-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto 84px; padding: 40px; display: grid; grid-template-columns: .85fr 1fr; gap: 60px; align-items: center; border: 1px solid rgba(215,185,143,.13); border-radius: 28px; background: linear-gradient(135deg,#1e1b18,#17191c); box-shadow: var(--shadow-soft); }
.privacy-section .eyebrow { color: var(--accent); }
.privacy-section p:last-child { margin: 0; color: #aaa49d; line-height: 1.75; }
.privacy-section a { color: var(--accent-strong); text-underline-offset: 3px; }

footer { width: min(1180px, calc(100% - 40px)); min-height: 125px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: .8rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(215,185,143,.09); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent-strong); }
footer > p { text-align: right; }

.consent-banner { position: fixed; z-index: 30; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(930px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 18px; border: 1px solid var(--line-strong); border-radius: 20px; background: rgba(24,27,30,.94); box-shadow: 0 22px 70px rgba(0,0,0,.42); backdrop-filter: blur(16px); }
.consent-banner strong { display: block; margin-bottom: 4px; }
.consent-banner p { margin: 0; max-width: 600px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent-actions button { min-height: 40px; padding: 0 14px; border-radius: 12px; cursor: pointer; font-size: .76rem; font-weight: 700; }
.consent-secondary { color: var(--ink); border: 1px solid var(--line-strong); background: #141619; }
.consent-primary { color: #17130f; border: 0; background: linear-gradient(135deg,#ead3b0,#b8946c); }

.about-page { width: min(1180px, calc(100% - 40px)); margin: 36px auto 84px; }
.about-hero { display: grid; grid-template-columns: minmax(0,.82fr) minmax(520px,1.18fr); gap: clamp(34px,5vw,72px); align-items: center; min-height: 650px; }
.about-copy { position: relative; z-index: 3; }
.about-copy h1 { max-width: 640px; }
.about-copy .lead { max-width: 610px; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-visual { position: relative; min-height: 535px; border: 1px solid var(--line); border-radius: 34px; overflow: hidden; background: #111315; box-shadow: var(--shadow); }
.about-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 60%,rgba(9,10,11,.58)); }
.about-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78) brightness(.9); }
.about-badge { position: absolute; z-index: 4; right: 20px; bottom: 20px; max-width: 275px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; background: rgba(15,17,19,.78); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.about-badge strong { display: block; margin-bottom: 4px; font-family: "Playfair Display", Georgia, serif; }
.about-badge p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 34px; }
.about-card h2 { margin: 14px 0 10px; font-size: 1.52rem; }

.legal-page { width: min(820px, calc(100% - 40px)); margin: 55px auto 100px; }
.legal-page h1 { font-size: clamp(2.5rem,6vw,4.2rem); }
.legal-page h2 { margin-top: 42px; font-size: 1.6rem; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.75; }
.legal-page a { color: var(--accent-strong); text-underline-offset: 3px; }
.back-link { display: inline-block; margin-bottom: 40px; color: var(--accent); text-decoration: none; font-weight: 700; }
.error-page { min-height: 75vh; display: grid; place-items: center; text-align: center; }
.error-page .legal-page { margin: 0 auto; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 520px; }
  .converter-shell { grid-template-columns: 1fr; }
  .converter-aside { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .converter-aside .aside-icon { grid-row: 1 / span 3; }
  .converter-aside .stage-kicker { margin: 0 0 7px; }
  .converter-aside .aside-note { margin: 10px 0 0; padding: 0; }
  .about-hero { grid-template-columns: 1fr; min-height: 0; }
  .about-visual { min-height: 520px; }
}

@media (max-width: 760px) {
  nav { gap: 18px; }
  nav a:nth-child(2), nav a:nth-child(4) { display: none; }
  .feature-strip, .step-grid, .privacy-section, .about-grid { grid-template-columns: 1fr; }
  .privacy-section { gap: 22px; }
  .consent-banner { align-items: stretch; flex-direction: column; gap: 13px; }
  .consent-actions { width: 100%; }
  .consent-actions button { flex: 1; }
}

@media (max-width: 640px) {
  .topbar, .hero, .workspace, .steps, .privacy-section, footer, .ad-container, .about-page { width: min(100% - 28px, 1180px); }
  .topbar { min-height: 70px; }
  .brand-name { font-size: 1.06rem; }
  .brand-icon { width: 38px; height: 38px; }
  .brand-icon img { width: 50px; height: 50px; transform: translate(-6px,-2px); }
  .hero { padding: 48px 0 64px; gap: 34px; }
  h1 { font-size: clamp(2.7rem,14vw,4rem); }
  .hero-accent { font-size: 1.55rem; }
  .lead { font-size: .96rem; }
  .hero-visual { min-height: 360px; border-radius: 24px; }
  .hero-hina { object-position: 50% center; }
  .hero-glass { left: 14px; bottom: 14px; width: calc(100% - 28px); }
  .workspace { margin-bottom: 58px; padding-top: 58px; }
  .converter-aside { padding: 16px; border-radius: 20px; grid-template-columns: 66px 1fr; }
  .aside-icon { width: 66px; height: 66px; border-radius: 18px; }
  .aside-icon img { width: 88px; height: 88px; transform: translate(-11px,-4px); }
  .hina-message { padding: 12px; }
  .aside-note { grid-column: 1 / -1; }
  .converter-card { border-radius: 20px; padding: 8px; }
  .tab-panel { padding: 15px 5px 5px; }
  .drop-zone { min-height: 158px; padding: 18px 12px; }
  .options-row { align-items: stretch; flex-direction: column; gap: 7px; }
  select { width: 100%; }
  .result { align-items: stretch; flex-direction: column; }
  .download-button { width: 100%; }
  .steps { padding: 70px 0; }
  .privacy-section { padding: 28px 23px; }
  footer { padding: 30px 0; grid-template-columns: 1fr; }
  footer > p { margin: 0; text-align: left; }
  .footer-links { justify-content: flex-start; }
  .about-page { margin-top: 20px; }
  .about-hero { gap: 28px; }
  .about-visual { min-height: 360px; border-radius: 24px; }
  .about-badge { right: 13px; bottom: 13px; max-width: calc(100% - 26px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}

/* v2.2 — compra do app + marca Hina */
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.nav-buy {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 12px;
  color: #17130f;
  background: linear-gradient(135deg,#ead3b0,#b8946c);
  box-shadow: 0 10px 28px rgba(169,134,95,.14);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}
.nav-buy:hover { filter: brightness(1.04); transform: translateY(-1px); }

/* O novo asset já é quadrado: não precisa do recorte usado no concept board. */
.brand-icon img,
.aside-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.purchase-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 84px;
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 390px;
  gap: clamp(34px,6vw,82px);
  align-items: center;
  border: 1px solid rgba(215,185,143,.15);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 12%, rgba(215,185,143,.10), transparent 19rem),
    linear-gradient(135deg,#191b1f,#111315 68%);
  box-shadow: var(--shadow-soft);
}
.purchase-copy > p:last-of-type {
  max-width: 700px;
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.72;
}
.purchase-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.purchase-features span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.02);
  font-size: .73rem;
  font-weight: 600;
}
.price-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  background: rgba(13,15,17,.82);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.price-region {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #141619;
}
.region-button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 700;
}
.region-button.is-active {
  color: var(--ink);
  background: #25282d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.price-label {
  margin: 22px 0 5px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem,5vw,4.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.price-caption { margin: 9px 0 21px; color: var(--muted); font-size: .78rem; }
.buy-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 14px;
  color: #17130f;
  background: linear-gradient(135deg,#ecd7b7,#b8946c);
  box-shadow: 0 14px 34px rgba(169,134,95,.18);
  text-decoration: none;
  font-weight: 800;
}
.buy-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.checkout-note { margin: 12px 2px 0; color: var(--muted-2); font-size: .68rem; line-height: 1.5; text-align: center; }
.checkout-note code { color: var(--muted); }

@media (max-width: 1020px) {
  .purchase-section { grid-template-columns: 1fr; }
  .price-card { max-width: 500px; }
}

@media (max-width: 760px) {
  .topbar-actions { gap: 10px; }
  .nav-buy { min-height: 38px; padding: 0 12px; font-size: .74rem; }
}

@media (max-width: 640px) {
  .purchase-section { width: min(100% - 28px, 1180px); padding: 26px 22px; border-radius: 23px; }
  .topbar-actions nav { display: none; }
  .nav-buy { display: inline-flex; }
}

/* v2.3 — toolkit positioning, real app preview, Web vs App */
.hero-v23 {
  grid-template-columns: minmax(0,.9fr) minmax(460px,1.1fr);
  gap: clamp(42px,6vw,88px);
  min-height: 700px;
  padding-top: 72px;
  padding-bottom: 92px;
}
.hero-v23 .lead { max-width: 620px; }
.hero-link-note {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: .76rem;
}
.hero-link-note span { color: var(--accent); }

.app-showcase {
  position: relative;
  min-height: 570px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 10%, rgba(215,185,143,.10), transparent 20rem),
    linear-gradient(180deg,#171a1e,#0f1113);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg,rgba(255,255,255,.025),transparent 42%);
}
.app-showcase-topline {
  position: relative;
  z-index: 2;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px 0 9px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.app-showcase-topline span { display: inline-flex; align-items: center; gap: 8px; }
.app-showcase-topline i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(215,185,143,.08); }
.app-showcase-topline strong { color: var(--accent-strong); font-size: .66rem; letter-spacing: .08em; }
.app-shot-wrap {
  position: relative;
  z-index: 1;
  height: 484px;
  display: grid;
  place-items: start center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  background: #101214;
}
.app-shot-wrap img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(.91) contrast(1.02) brightness(.94);
}
.app-showcase-badges {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 27px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.app-showcase-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(13,15,17,.84);
  backdrop-filter: blur(12px);
  font-size: .68rem;
  font-weight: 700;
}

.toolkit-section,
.compare-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}
.toolkit-heading,
.compare-heading { max-width: 790px; }
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.tool-card {
  min-height: 310px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    linear-gradient(180deg,rgba(29,32,36,.96),rgba(19,21,24,.96));
  box-shadow: 0 14px 42px rgba(0,0,0,.14);
}
.tool-card:nth-child(3) {
  border-color: rgba(215,185,143,.15);
  background:
    radial-gradient(circle at 92% 10%,rgba(215,185,143,.07),transparent 14rem),
    linear-gradient(180deg,rgba(30,29,28,.97),rgba(19,21,24,.96));
}
.tool-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #111315;
  font-size: 1.05rem;
  font-weight: 800;
}
.audio-icon { color: #d4b06a; }
.image-icon { color: #8ea3bc; }
.creative-icon { color: #d8c4a6; }
.batch-icon { color: #a9adaf; }
.tool-kicker {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.tool-card h3 { font-size: 1.58rem; }
.tool-card > p:not(.tool-kicker) {
  margin: 14px 0 0;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.67;
  font-size: .88rem;
}
.format-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.format-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255,255,255,.018);
  font-size: .67rem;
  font-weight: 700;
}

.compare-section { padding-top: 88px; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.compare-card {
  position: relative;
  min-height: 455px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(180deg,#191c20,#121416);
  overflow: hidden;
}
.compare-card.app-card {
  border-color: rgba(215,185,143,.28);
  background:
    radial-gradient(circle at 86% 2%,rgba(215,185,143,.13),transparent 19rem),
    linear-gradient(180deg,#1d1c1b,#121416 72%);
}
.compare-card.app-card::after {
  content: "APP COMPLETO";
  position: absolute;
  top: 19px;
  right: 20px;
  padding: 6px 8px;
  border: 1px solid rgba(215,185,143,.24);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(215,185,143,.06);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.compare-label {
  color: var(--accent);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.compare-card h3 { margin-top: 22px; font-size: 1.85rem; }
.compare-card > p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: .88rem;
}
.compare-card ul {
  list-style: none;
  margin: 25px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.compare-card li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: .82rem;
}
.compare-card li span { width: 17px; color: var(--accent); font-weight: 800; }
.compare-card li.not-included { color: var(--muted-2); }
.compare-card li.not-included span { color: #666b70; }
.compare-action { margin-top: auto; align-self: flex-start; }

.web-workspace { padding-top: 90px; }
.converter-shell-v23 { grid-template-columns: 300px minmax(0,1fr); }
.web-aside { display: block; }
.web-aside h3 { margin: 8px 0 0; font-size: 1.45rem; }
.aside-copy { margin: 13px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.app-only-note {
  margin-top: 28px;
  padding: 13px;
  display: flex;
  gap: 10px;
  border: 1px solid rgba(215,185,143,.15);
  border-radius: 15px;
  background: rgba(215,185,143,.035);
}
.app-only-note > span { color: var(--accent); font-weight: 800; }
.app-only-note strong { display: block; color: var(--ink-soft); font-size: .75rem; }
.app-only-note small { display: block; margin-top: 3px; color: var(--muted-2); font-size: .67rem; line-height: 1.45; }
.single-converter-card { padding: 10px; }
.web-file-panel { padding-top: 10px; }

@media (max-width: 1020px) {
  .hero-v23 { grid-template-columns: 1fr; }
  .app-showcase { width: min(700px,100%); min-height: 0; }
  .app-shot-wrap { height: 540px; }
  .converter-shell-v23 { grid-template-columns: 1fr; }
  .web-aside { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .web-aside .aside-icon { grid-row: 1 / span 3; }
  .web-aside .stage-kicker { align-self: end; margin-bottom: 4px; }
  .web-aside h3 { align-self: start; }
  .web-aside .aside-copy { grid-column: 2; }
  .web-aside .app-only-note { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .toolkit-grid,
  .compare-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; }
  .compare-card { min-height: 0; }
  .compare-card.app-card::after { position: static; width: max-content; margin-top: 12px; order: 0; }
}

@media (max-width: 640px) {
  .toolkit-section,
  .compare-section { width: min(100% - 28px,1180px); padding: 70px 0; }
  .hero-v23 { padding-top: 48px; padding-bottom: 72px; }
  .hero-v23 h1 { font-size: clamp(2.75rem,14vw,4rem); }
  .hero-v23 .hero-meta { gap: 6px; }
  .app-showcase { padding: 9px; border-radius: 23px; }
  .app-showcase-topline { height: 38px; font-size: .59rem; }
  .app-shot-wrap { height: 430px; border-radius: 16px; }
  .app-showcase-badges { left: 18px; right: 18px; bottom: 18px; }
  .tool-card,
  .compare-card { padding: 23px; border-radius: 21px; }
  .web-aside { grid-template-columns: 64px 1fr; }
  .web-aside .aside-copy { grid-column: 1 / -1; }
}
