:root {
  --ink: #121827;
  --muted: #667085;
  --line: #dfe3ec;
  --panel: rgba(255,255,255,.88);
  --page: #f5f7fb;
  --purple: #6d5dfc;
  --purple-dark: #5243e6;
  --cyan: #37c9dd;
  --success: #16794b;
  --danger: #b42318;
  --shadow: 0 24px 70px rgba(18,24,39,.12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(109,93,252,.12), transparent 28rem),
    radial-gradient(circle at 90% 15%, rgba(55,201,221,.12), transparent 24rem),
    var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(245,247,251,.82);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--purple), var(--cyan));
  box-shadow: 0 10px 24px rgba(82,67,230,.28);
}
.brand-icon::before, .brand-icon span {
  content: "";
  position: absolute;
  width: 17px;
  height: 27px;
  border: 3px solid white;
  border-radius: 5px 10px 10px 5px;
}
.brand-icon::before { transform: translateX(-5px); }
.brand-icon span { transform: translateX(5px); opacity: .68; }
.nav-links, .footer-links { display: flex; align-items: center; gap: 22px; }
.nav-links a, .footer-links a { text-decoration: none; color: var(--muted); font-weight: 700; }
.nav-links a:hover, .footer-links a:hover { color: var(--purple-dark); }
main { overflow: hidden; }
.hero {
  max-width: 1240px;
  min-height: 650px;
  margin: 0 auto;
  padding: 88px 24px 72px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 72px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--purple-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.65rem, 5.8vw, 5.3rem); line-height: .99; letter-spacing: -.065em; }
h1 span { color: var(--purple); }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
h3 { margin-bottom: 8px; font-size: 1.22rem; letter-spacing: -.025em; }
.hero-copy > p { max-width: 670px; margin-bottom: 28px; color: var(--muted); font-size: 1.14rem; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  border: 0;
  border-radius: 14px;
  padding: 13px 19px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 850;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.button-primary { color: white; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); box-shadow: 0 12px 25px rgba(82,67,230,.22); }
.button-secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.full-width { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 27px; color: #4a5568; font-size: .9rem; font-weight: 750; }
.hero-visual { position: relative; min-height: 500px; }
.visual-glow { position: absolute; inset: 15% 10%; border-radius: 50%; background: rgba(109,93,252,.22); filter: blur(55px); }
.phone-card {
  position: absolute;
  width: 245px;
  height: 480px;
  padding: 34px 24px;
  border: 10px solid #151b2a;
  border-radius: 43px;
  background: linear-gradient(165deg, #fff 0 35%, #ecf7ff 100%);
  box-shadow: var(--shadow);
}
.phone-card-back { right: 26px; top: 20px; transform: rotate(9deg); opacity: .82; }
.phone-card-front { left: 28px; top: 45px; transform: rotate(-7deg); }
.mock-top { width: 55px; height: 8px; margin: 0 auto 45px; border-radius: 999px; background: #1b2232; }
.mock-badge { width: max-content; margin: 0 auto 28px; padding: 7px 10px; border-radius: 999px; background: rgba(109,93,252,.13); color: var(--purple-dark); font-size: .7rem; font-weight: 900; }
.mock-line { height: 13px; width: 72%; margin-bottom: 12px; border-radius: 999px; background: #dce1eb; }
.mock-line.wide { width: 100%; background: #a9b2c4; }
.mock-button { width: 100%; height: 45px; margin-top: 90px; border-radius: 13px; background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.mock-grid i { height: 82px; border-radius: 18px; background: rgba(109,93,252,.12); }
.resize-badge { position: absolute; right: 5px; bottom: 50px; padding: 12px 16px; border-radius: 14px; color: white; background: #121827; box-shadow: var(--shadow); font-weight: 850; }
.tool-section { padding: 88px 24px; background: #111827; color: white; }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading p { color: #aab3c4; }
.section-heading.compact { margin-bottom: 48px; }
.tool-layout { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .88fr .88fr 1.24fr; gap: 18px; align-items: start; }
.panel { min-width: 0; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.075); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.step-label { margin-bottom: 10px; color: #aab3c4; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.drop-zone {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px;
  border: 2px dashed rgba(255,255,255,.24);
  border-radius: 20px;
  text-align: center;
  color: #d5d9e2;
  background: rgba(255,255,255,.035);
  transition: .18s ease;
}
.drop-zone:hover, .drop-zone.dragging, .drop-zone:focus-visible { border-color: var(--cyan); background: rgba(55,201,221,.08); outline: none; }
.upload-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 16px; background: rgba(109,93,252,.24); font-size: 1.6rem; }
.drop-zone small, .field small { color: #98a2b3; }
.file-summary { margin-top: 15px; color: #cbd1dc; font-size: .9rem; }
.file-list { max-height: 230px; overflow: auto; margin-top: 10px; }
.file-row { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
.file-row img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; }
.file-row strong, .file-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row small { color: #98a2b3; }
.icon-button { width: 32px; height: 32px; border: 0; border-radius: 9px; color: #d7dbe4; background: rgba(255,255,255,.08); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.field select, .field input[type="color"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  color: white;
  background: #222b3c;
  padding: 10px 12px;
}
.field input[type="color"] { padding: 5px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.range-label { display: flex; justify-content: space-between; }
input[type="range"] { width: 100%; accent-color: var(--cyan); }
.checkbox-field label { display: flex; align-items: center; gap: 9px; font-weight: 700; }
.checkbox-field input { width: 18px; height: 18px; accent-color: var(--purple); }
.status { margin-top: 12px; min-height: 44px; padding: 11px 12px; border-radius: 12px; color: #bcc5d5; background: rgba(255,255,255,.055); font-size: .88rem; }
.status.success { color: #a9efce; background: rgba(22,121,75,.2); }
.status.error { color: #fecaca; background: rgba(180,35,24,.2); }
.preview-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.dimension-chip { flex: none; padding: 6px 9px; border-radius: 999px; color: #d6d9ff; background: rgba(109,93,252,.2); font-size: .76rem; font-weight: 850; }
.preview-stage { min-height: 380px; display: grid; place-items: center; padding: 18px; border-radius: 20px; overflow: hidden; background: repeating-conic-gradient(#222b3b 0 25%, #1d2533 0 50%) 50%/24px 24px; }
.empty-preview { text-align: center; color: #97a1b3; }
.empty-preview span { font-size: 2rem; }
#preview-canvas { display: block; max-width: 100%; max-height: 540px; width: auto; height: auto; box-shadow: 0 15px 40px rgba(0,0,0,.35); }
.download-actions { margin-top: 14px; }
.download-actions .button { flex: 1; }
.hidden { display: none !important; }
.generated-list { margin-top: 12px; }
.generated-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.generated-item button { border: 0; color: #c9c5ff; background: none; font-weight: 800; }
.content-section { max-width: 1180px; margin: 0 auto; padding: 100px 24px; }
.content-section .section-heading p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 36px rgba(18,24,39,.06); }
.feature-grid article > span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border-radius: 13px; color: var(--purple-dark); background: rgba(109,93,252,.11); font-weight: 900; }
.feature-grid p { margin-bottom: 0; color: var(--muted); }
.privacy-banner { max-width: 1180px; margin: 0 auto 50px; padding: 48px; border-radius: 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; background: linear-gradient(125deg, #171d2c, #2c3560); box-shadow: var(--shadow); }
.privacy-banner > div:first-child { max-width: 770px; }
.privacy-banner p { margin-bottom: 0; color: #c1c8d6; }
.shield { flex: none; display: grid; place-items: center; width: 92px; height: 106px; border: 4px solid #8de7f1; border-radius: 44px 44px 55px 55px; color: #8de7f1; font-size: 2.2rem; font-weight: 900; }
.pricing-section { padding-top: 70px; }
.pricing-card { max-width: 440px; margin: 0 auto; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.price-label { color: var(--purple-dark); font-weight: 900; }
.price { margin: 12px 0 20px; font-size: 4.4rem; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.pricing-card ul { margin: 0 0 28px; padding-left: 20px; color: var(--muted); }
.pricing-card li { margin: 9px 0; }
.site-footer { max-width: 1180px; margin: 0 auto; padding: 40px 24px 54px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--ink); }
.footer-brand .brand-icon { width: 34px; height: 34px; border-radius: 11px; transform: scale(.82); }
.site-footer p { margin: 8px 0 0; }
.copyright { grid-column: 1 / -1; font-size: .86rem; }
.page-shell { max-width: 900px; margin: 0 auto; padding: 80px 24px 110px; }
.page-card { padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.page-card h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.page-card h2 { margin-top: 34px; font-size: 1.55rem; }
.page-card p, .page-card li { color: var(--muted); }
.support-options { display: grid; gap: 14px; margin-top: 30px; }
.support-option { padding: 18px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.support-option strong, .support-option span { display: block; }
.support-option span { color: var(--muted); }
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { width: min(540px, 100%); margin: 0 auto; }
  .tool-layout { grid-template-columns: 1fr 1fr; }
  .preview-panel { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-header { padding: 14px 16px; }
  .nav-links a:not(:first-child):not(:last-child) { display: none; }
  .hero { padding: 62px 18px 60px; gap: 34px; }
  h1 { font-size: clamp(2.55rem, 13vw, 4.3rem); }
  .hero-visual { min-height: 410px; transform: scale(.82); transform-origin: top center; margin-bottom: -70px; }
  .tool-section, .content-section { padding: 72px 16px; }
  .tool-layout, .feature-grid { grid-template-columns: 1fr; }
  .preview-panel { grid-column: auto; }
  .two-column { grid-template-columns: 1fr; }
  .privacy-banner { margin: 0 16px 30px; padding: 30px; align-items: flex-start; }
  .shield { width: 60px; height: 70px; font-size: 1.4rem; }
  .site-footer { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .panel, .page-card { padding: 20px; }
}
@media (max-width: 430px) {
  .brand > span:last-child { font-size: .96rem; }
  .nav-links { gap: 12px; font-size: .84rem; }
  .hero-visual { margin-left: -25px; width: calc(100% + 50px); }
  .phone-card-back { right: 6px; }
  .phone-card-front { left: 7px; }
  .privacy-banner { display: block; }
  .shield { margin-top: 24px; }
}