:root {
  --bg: #050b19;
  --bg-soft: #09152d;
  --panel: rgba(13, 26, 54, .82);
  --panel-solid: #0d1a36;
  --text: #f7f9ff;
  --muted: #aab7d2;
  --line: rgba(176, 204, 255, .17);
  --cyan: #65e7ff;
  --violet: #936dff;
  --coral: #ff776d;
  --success: #64f0b4;
  --radius: 24px;
  --shadow: 0 26px 75px rgba(0, 0, 0, .38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(58, 83, 230, .2), transparent 32rem),
    radial-gradient(circle at 88% 30%, rgba(150, 77, 255, .16), transparent 30rem),
    var(--bg);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 18px;
  color: #05101e;
  background: var(--cyan);
  border-radius: 10px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.noscript { padding: 14px; color: #351000; background: #ffd2a6; text-align: center; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 11, 25, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.back-link, .brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.back-link { color: var(--muted); width: max-content; }
.back-link:hover { color: var(--cyan); }
.back-link span:first-child { font-size: 1.35rem; }
.brand { font-size: 1rem; letter-spacing: .02em; }
.brand img { width: 42px; height: 42px; border-radius: 13px; }
.language-switcher { justify-self: end; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); }
.lang-btn { min-width: 42px; min-height: 36px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; cursor: pointer; font-size: .78rem; font-weight: 900; }
.lang-btn:hover, .lang-btn.is-active { color: #06111f; background: var(--cyan); }

.hero {
  width: min(1240px, calc(100% - 44px));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 72px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 540px);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--cyan); font-size: .78rem; line-height: 1.4; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 22px; font-size: clamp(2.7rem, 5.2vw, 4.75rem); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy > p { max-width: 620px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.24rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, .lang-btn:focus-visible { outline: 3px solid rgba(101,231,255,.45); outline-offset: 2px; }
.button-primary { color: #04101e; background: linear-gradient(135deg, var(--cyan), #b6f6ff); box-shadow: 0 12px 35px rgba(101,231,255,.22); }
.button-ghost, .button-muted { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.045); }
.button-outline { color: var(--cyan); border-color: rgba(101,231,255,.38); background: rgba(101,231,255,.06); }
.button-full { width: 100%; }
.button-small { width: 100%; min-height: 42px; padding: 0 14px; font-size: .88rem; }
.trust-list { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 20px; list-style: none; color: var(--muted); font-size: .84rem; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list li span:first-child { color: var(--success); font-weight: 900; }
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0;
  justify-self: end;
  align-self: center;
  overflow: visible;
  isolation: isolate;
}
.hero-visual::before { content: ""; position: absolute; inset: 12% 8%; z-index: -1; border-radius: 50%; background: linear-gradient(135deg, rgba(101,231,255,.35), rgba(147,109,255,.35), rgba(255,119,109,.22)); filter: blur(55px); }
.hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  object-fit: contain !important;
  object-position: center;
  box-shadow: 0 32px 85px rgba(0,0,0,.48);
}

.generator-section { position: relative; width: min(1320px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
.generator-section::before { content: ""; position: absolute; inset: 40px 0 auto; height: 420px; z-index: -1; border-radius: 60px; background: radial-gradient(circle at center, rgba(95,61,215,.15), transparent 65%); }
.section-heading { width: min(820px, 100%); margin: 0 auto 42px; text-align: center; }
.section-heading.narrow { width: min(680px, 100%); }
.section-heading h2, .benefits-copy h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.section-heading p, .benefits-copy p { margin-bottom: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.72; }
.app-shell { display: grid; grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr); gap: 22px; align-items: start; }
.editor-panel, .preview-panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16,31,64,.92), rgba(8,19,42,.88)); box-shadow: var(--shadow); }
.editor-panel { padding: clamp(22px, 4vw, 38px); }
.editor-panel fieldset { margin: 0 0 32px; padding: 0 0 32px; border: 0; border-bottom: 1px solid var(--line); }
.editor-panel fieldset:last-of-type { margin-bottom: 20px; }
.editor-panel legend { width: 100%; margin-bottom: 20px; display: flex; align-items: center; gap: 11px; font-size: 1rem; font-weight: 900; }
.step-number { width: 29px; height: 29px; display: inline-grid; place-items: center; border: 1px solid rgba(101,231,255,.35); border-radius: 9px; color: var(--cyan); background: rgba(101,231,255,.06); font-size: .76rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { min-width: 0; display: grid; gap: 8px; color: #dae4f7; font-size: .84rem; font-weight: 750; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .compact-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(172,198,247,.2);
  border-radius: 11px;
  color: var(--text);
  background: rgba(1,8,23,.54);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:hover, .field select:hover, .compact-field select:hover { border-color: rgba(101,231,255,.38); }
.field input::placeholder { color: #6f7f9d; }
.field small { color: #7f8daa; font-size: .72rem; font-weight: 500; }
.social-input-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.social-input-row select { padding: 0 9px; }
.file-control { position: relative; min-height: 50px; display: flex; align-items: center; gap: 11px; padding: 7px; overflow: hidden; border: 1px solid rgba(172,198,247,.2); border-radius: 11px; background: rgba(1,8,23,.54); }
.file-control input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-button { flex: none; padding: 8px 12px; border-radius: 8px; color: #071122; background: #d9faff; font-size: .76rem; font-weight: 900; }
#fileName, #backgroundFileName { overflow: hidden; color: var(--muted); font-size: .76rem; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.style-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.style-option { position: relative; padding: 8px 8px 11px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 800; text-align: center; }
.style-option input { position: absolute; opacity: 0; }
.style-option:hover, .style-option.is-selected { color: var(--text); border-color: var(--cyan); background: rgba(101,231,255,.055); }
.style-preview { height: 48px; border-radius: 8px; }
.style-aurora { background: linear-gradient(135deg,#091427,#283e89 50%,#803fac); }
.style-minimal { background: linear-gradient(135deg,#f9fbff 0 70%,#57cee7 70%); }
.style-executive { background: linear-gradient(135deg,#161719,#161719 70%,#bc8a44 70%); }
.style-gradient { background: linear-gradient(135deg,#071a3d,#753eb5); }
.design-subsection { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.design-subtitle { display: block; margin-bottom: 6px; color: #edf4ff; font-size: .85rem; }
.design-help { margin: 0 0 14px; color: #7f8daa; font-size: .72rem; line-height: 1.5; }
.gradient-controls { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 11px; align-items: end; }
.custom-color-field { min-width: 0; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 7px 9px; color: #dae4f7; font-size: .72rem; font-weight: 750; }
.custom-color-field > span { grid-column: 1 / -1; }
.custom-color-field input { width: 42px; height: 42px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.custom-color-field output { min-width: 0; overflow: hidden; color: var(--muted); font: 600 .67rem ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; }
.gradient-direction-field select { min-height: 42px; padding: 0 10px; }
.gradient-direction-field option { color: #121722; background: #fff; }
.background-actions { margin-top: 13px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 14px; }
.range-field { min-width: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; color: #dae4f7; font-size: .75rem; font-weight: 750; }
.range-field input { grid-column: 1; width: 100%; accent-color: var(--cyan); cursor: pointer; }
.range-field output { grid-column: 2; grid-row: 1 / 3; color: var(--cyan); font: 700 .72rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.button-tiny { min-height: 38px; padding: 0 13px; font-size: .74rem; }
.design-row { display: grid; grid-template-columns: 1fr; gap: 11px; }
.alignment-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.alignment-picker label { position: relative; min-width: 0; padding: 10px 7px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; }
.alignment-picker label:has(input:checked), .alignment-picker label.is-selected { color: var(--text); border-color: var(--cyan); background: rgba(101,231,255,.07); }
.alignment-picker input { position: absolute; opacity: 0; }
.alignment-picker span { font-size: 1.2rem; line-height: 1; }
.alignment-picker label:nth-child(2) span { text-align: center; }
.alignment-picker label:nth-child(3) span { text-align: right; transform: scaleX(-1); }
.alignment-picker b { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.toggle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.toggle-field { min-width: 0; min-height: 48px; padding: 10px 11px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; color: #cbd7eb; background: rgba(255,255,255,.025); cursor: pointer; font-size: .72rem; font-weight: 750; line-height: 1.35; }
.toggle-field:has(input:checked), .toggle-field.is-selected { border-color: rgba(101,231,255,.58); background: rgba(101,231,255,.07); }
.toggle-field input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--cyan); }
.text-color-controls { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.shadow-controls { margin-top: 14px; padding: 14px; display: grid; grid-template-columns: minmax(135px, .72fr) 1.28fr; align-items: end; gap: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(1,8,23,.27); }
.custom-color-field input:disabled, .range-field input:disabled { cursor: not-allowed; filter: grayscale(.9); opacity: .38; }
.custom-color-field:has(input:disabled), .range-field:has(input:disabled) { opacity: .58; }
.form-actions { display: flex; justify-content: flex-end; }
.privacy-note { margin: 18px 0 0; display: flex; align-items: center; gap: 9px; color: #8798b7; font-size: .76rem; line-height: 1.5; }
.privacy-note > span:first-child { color: var(--success); font-size: .65rem; }

.preview-panel { position: sticky; top: 86px; padding: clamp(18px, 3vw, 30px); }
.preview-topline { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.preview-topline h3 { margin: 0; font-size: 1rem; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.live-badge > span:first-child { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.digital-card {
  --accent: #65e7ff;
  --title-color: #f8fbff;
  --body-color: rgba(255,255,255,.78);
  --brand-color: rgba(255,255,255,.34);
  --custom-title-color: #f8fbff;
  --custom-body-color: #c5d3ea;
  --card-text-shadow: none;
  position: relative;
  min-height: 320px;
  padding: clamp(24px, 5vw, 38px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 25px;
  color: var(--title-color);
  background: linear-gradient(135deg,#06142c,#1b3271 56%,#522b77);
  box-shadow: 0 25px 65px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.14);
  isolation: isolate;
}
.card-background-image { position: absolute; inset: 0; z-index: -2; background-position: center; background-repeat: no-repeat; background-size: cover; opacity: .55; pointer-events: none; }
.card-glow { position: absolute; width: 220px; height: 220px; top: -90px; right: -60px; z-index: -1; border-radius: 50%; background: var(--accent); filter: blur(50px); opacity: .3; }
.card-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.card-identity > div:last-child { min-width: 0; flex: 1; }
.avatar { width: 72px; height: 72px; flex: 0 0 72px; display: grid; place-items: center; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 65%, white); border-radius: 20px; color: #06111f; background: var(--accent); box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 25%, transparent); font-weight: 950; letter-spacing: -.03em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar img:not([src]) { display: none; }
.card-name { width: 100%; max-width: 100%; margin: 0 0 4px; overflow: visible; color: var(--title-color); font-size: 2.05rem; line-height: 1.05; font-weight: 900; text-overflow: clip; white-space: nowrap; }
.card-role { max-width: 390px; margin: 0; overflow: hidden; color: var(--body-color); font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.card-contact-list { margin: 34px 0 20px; display: grid; gap: 9px; }
.card-contact { min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--body-color); font-size: .83rem; }
.card-contact span { width: 37px; color: var(--accent); font-size: .55rem; font-weight: 950; letter-spacing: .08em; }
.card-contact b { overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.card-socials { min-height: 27px; padding-right: 106px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-socials > span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--body-color); background: rgba(255,255,255,.07); font-size: .59rem; font-weight: 800; }
.card-socials img { width: 14px; height: 14px; margin-right: 5px; display: inline-block; vertical-align: -3px; }
.card-brand { position: absolute; right: 28px; bottom: 31px; color: var(--brand-color); font-size: .54rem; font-weight: 950; letter-spacing: .18em; }
.theme-minimal { --title-color: #0d1830; --body-color: #526078; --brand-color: #8c97a9; color: var(--title-color); border-color: #d8e0ed; background: linear-gradient(135deg,#fff,#f0f5fc); }
.theme-minimal .card-glow { opacity: .16; }
.theme-minimal .card-socials > span { border-color: #d8e0ed; background: #f7f9fc; }
.theme-executive { --accent: #d5a455; --title-color: #f9f2e6; --body-color: #c3bbaa; --brand-color: rgba(249,242,230,.38); color: var(--title-color); border-color: rgba(224,186,117,.38); background: linear-gradient(135deg,#0f1012,#252629 60%,#121315); }
.theme-custom { color: var(--title-color); background: linear-gradient(135deg,#071a3d,#753eb5); }
.has-background-image { --title-color: #fff; --body-color: rgba(255,255,255,.86); --brand-color: rgba(255,255,255,.48); color: var(--title-color); }
.has-background-image .card-socials span { border-color: rgba(255,255,255,.22); background: rgba(3,9,22,.3); }
.custom-text-colors { --title-color: var(--custom-title-color); --body-color: var(--custom-body-color); --brand-color: var(--custom-body-color); color: var(--title-color); }
.has-text-shadow { text-shadow: var(--card-text-shadow); }
.brand-hidden .card-socials { padding-right: 0; }
.brand-hidden.align-right .card-socials { padding-left: 0; }
.align-center { min-height: 340px; text-align: center; }
.align-center .card-identity { flex-direction: column; justify-content: center; gap: 9px; }
.align-center .card-identity > div:last-child { width: 100%; }
.align-center .avatar { width: 58px; height: 58px; flex-basis: 58px; border-radius: 16px; }
.align-center .card-name, .align-center .card-role { max-width: 100%; text-align: center; }
.align-center .card-contact-list { width: 100%; margin: 18px 0 12px; }
.align-center .card-contact { justify-content: center; }
.align-center .card-socials { padding: 0 0 15px; justify-content: center; }
.align-center.brand-hidden .card-socials { padding-bottom: 0; }
.align-center .card-brand { right: auto; left: 50%; transform: translateX(-50%); }
.align-right { text-align: right; }
.align-right .card-identity { flex-direction: row-reverse; }
.align-right .card-name, .align-right .card-role { text-align: right; }
.align-right .card-contact { justify-content: flex-end; }
.align-right .card-socials { padding-right: 0; padding-left: 106px; justify-content: flex-end; }
.align-right .card-brand { right: auto; left: 28px; }
.download-main { margin: 18px 0; }
.export-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.export-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: rgba(1,8,23,.43); }
.export-kicker { color: var(--cyan); font-size: .64rem; font-weight: 950; letter-spacing: .15em; }
.export-card h4 { margin: 5px 0 13px; font-size: .92rem; line-height: 1.3; }
.export-card p { color: var(--muted); font-size: .75rem; line-height: 1.55; }
.compact-field { margin-bottom: 12px; display: grid; gap: 6px; color: var(--muted); font-size: .68rem; font-weight: 750; }
.compact-field select { min-height: 39px; padding: 0 10px; border-radius: 9px; font-size: .76rem; }
.compact-field option { color: #121722; background: #fff; }
.qr-wrap { width: min(168px, 100%); aspect-ratio: 1; margin: 0 auto 13px; padding: 9px; border-radius: 12px; background: #fff; }
.qr-wrap canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.export-status { min-height: 1.2em; margin: 8px 0 0 !important; color: #ffc79e !important; text-align: center; }
.mini-contact { margin: 25px 0 21px; display: flex; align-items: center; gap: 11px; }
.mini-contact > span { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; border-radius: 13px; color: #06111f; background: var(--cyan); font-size: .7rem; font-weight: 950; }
.mini-contact div { min-width: 0; display: grid; gap: 3px; }
.mini-contact b, .mini-contact small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-contact b { font-size: .8rem; }
.mini-contact small { color: var(--muted); font-size: .65rem; }

.content-section, .faq-section { width: min(1160px, calc(100% - 44px)); margin: 0 auto; padding: 90px 0; }
.steps-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; counter-reset: none; }
.steps-grid li { min-height: 240px; padding: 29px; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg, rgba(16,31,64,.7), rgba(8,19,42,.6)); }
.steps-grid li > span { display: inline-block; margin-bottom: 38px; color: var(--cyan); font-size: .75rem; font-weight: 950; letter-spacing: .15em; }
.steps-grid h3 { margin-bottom: 11px; font-size: 1.15rem; }
.steps-grid p { margin-bottom: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.benefits-section { width: min(1160px, calc(100% - 44px)); margin: 40px auto 70px; padding: clamp(32px, 6vw, 70px); display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(35px, 7vw, 90px); align-items: center; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(135deg, rgba(18,45,88,.72), rgba(50,25,86,.56)); }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.benefit-list article { min-height: 128px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(2,10,25,.38); }
.benefit-list b { color: var(--cyan); font-size: 1.2rem; }
.benefit-list span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.faq-list { width: min(850px, 100%); margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 15px; background: rgba(12,27,57,.6); }
.faq-list summary { padding: 19px 22px; cursor: pointer; font-weight: 800; line-height: 1.45; }
.faq-list p { margin: 0; padding: 0 22px 21px; color: var(--muted); line-height: 1.65; }
.site-footer { width: min(1160px, calc(100% - 44px)); margin: 40px auto 0; padding: 35px 0 max(35px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; text-align: center; }
.site-footer > a:last-child { justify-self: end; }
.footer-brand { color: var(--cyan); font-weight: 900; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; max-width: calc(100% - 32px); padding: 13px 18px; border: 1px solid rgba(101,231,255,.36); border-radius: 12px; color: var(--text); background: #0b1934; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 25px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, 46%); gap: 30px; padding: 50px 0; }
  .hero-visual { max-width: 470px; }
  .app-shell { grid-template-columns: 1fr; }
  .preview-panel { position: relative; top: auto; }
  .benefits-section { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding: 9px 12px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 10px; }
  .brand { display: none; }
  .back-link { font-size: .78rem; }
  .language-switcher { grid-column: 2; }
  .hero { width: min(100% - 28px, 620px); padding: 38px 0 48px; grid-template-columns: minmax(0, 1fr); gap: 34px; }
  h1 { font-size: clamp(2.55rem, 13.5vw, 4.25rem); }
  .hero-copy { max-width: 100%; }
  .hero-visual { grid-row: 1; width: min(100%, 540px); max-width: 540px; justify-self: center; }
  .hero-visual img { width: 100%; height: auto !important; border-radius: 20px; object-fit: contain !important; }
  .trust-list { display: grid; }
  .generator-section { padding: 65px 0; }
  .section-heading { margin-bottom: 30px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .gradient-controls { grid-template-columns: 1fr 1fr; }
  .gradient-direction-field { grid-column: 1 / -1; }
  .toggle-grid { grid-template-columns: 1fr; }
  .text-color-controls { grid-template-columns: repeat(3, 1fr); }
  .shadow-controls { grid-template-columns: 1fr; }
  .editor-panel, .preview-panel { border-radius: 19px; }
  .digital-card { min-height: 286px; padding: 23px; border-radius: 19px; }
  .digital-card.align-center { min-height: 324px; }
  .card-contact-list { margin: 28px 0 17px; }
  .export-grid { grid-template-columns: 1fr; }
  .export-card { display: grid; }
  .qr-wrap { width: 175px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid li { min-height: 190px; }
  .benefits-section { width: calc(100% - 28px); margin-top: 10px; padding: 30px 20px; border-radius: 23px; }
  .benefit-list { grid-template-columns: 1fr 1fr; }
  .content-section, .faq-section { width: calc(100% - 28px); padding: 65px 0; }
  .site-footer { width: calc(100% - 28px); grid-template-columns: 1fr; text-align: center; }
  .site-footer > a:last-child { justify-self: center; }
}

@media (max-width: 460px) {
  .back-link span:last-child { max-width: 112px; line-height: 1.15; }
  .hero-actions .button { width: 100%; }
  .style-picker { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .style-option { padding: 6px; }
  .style-preview { height: 40px; }
  .text-color-controls { grid-template-columns: 1fr; }
  .social-input-row { grid-template-columns: 84px minmax(0, 1fr); }
  .digital-card { min-height: 274px; }
  .avatar { width: 57px; height: 57px; flex-basis: 57px; border-radius: 16px; }
  .background-actions { grid-template-columns: 1fr; }
  .alignment-picker b { font-size: .64rem; }
  .card-name { font-size: 1.8rem; }
  .card-contact { font-size: .74rem; }
  .benefit-list { grid-template-columns: 1fr; }
  .benefit-list article { min-height: 105px; }
}

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

@media print {
  body { background: #fff; }
  body::before, .site-header, .hero, .section-heading, .editor-panel, .download-main, .export-grid, .content-section, .benefits-section, .faq-section, .site-footer { display: none !important; }
  .generator-section, .app-shell, .preview-panel { width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .preview-topline { display: none; }
  .digital-card { width: 180mm; min-height: 105mm; margin: 20mm auto; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
