.nav-link-active {
    color: var(--accent) !important;
}

html[data-page="design"] body {
    background:
        radial-gradient(circle at 10% 6%, rgba(42, 240, 143, 0.12), transparent 42%),
        radial-gradient(circle at 88% 22%, rgba(42, 240, 143, 0.08), transparent 40%),
        linear-gradient(180deg, #060f0c 0%, #07110d 46%, #060f0c 100%);
    background-attachment: fixed;
}

html[data-page="design"] #main-content {
    background: transparent;
}

html[data-page="design"] .footer {
    background: transparent !important;
}

.design-intro {
    --design-radius-sm: 8px;
    --design-radius-md: 12px;
    --design-radius-lg: 16px;
    --design-border: rgba(118, 153, 138, 0.3);
    --design-surface: linear-gradient(180deg, rgba(10, 16, 14, 0.94) 0%, rgba(9, 14, 12, 0.9) 100%);
    --design-surface-soft: linear-gradient(180deg, rgba(16, 24, 21, 0.94) 0%, rgba(13, 20, 18, 0.94) 100%);
    --design-shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.34);
    --design-shadow-md: 0 22px 52px rgba(0, 0, 0, 0.42);
    --design-primary: #2af08f;
    --design-primary-hover: #21cc79;
    --design-text: #effcf5;
    --design-muted: #b9cec3;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.design-intro::before {
    display: none;
}

.hero-parallax-static {
    position: relative;
    overflow: hidden;
    padding: 130px 0 70px;
    background: transparent;
}

.hero-parallax-static::before {
    display: none;
}

.hero-parallax-static::after {
    display: none;
}

.hero-parallax-static__container {
    position: relative;
    z-index: 2;
}

.hero-parallax-static__title {
    max-width: 760px;
}

.hero-parallax-static__subtitle {
    max-width: 720px;
}

.hero-parallax-static__tracks {
    margin-top: 34px;
    display: grid;
    gap: 16px;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.hero-parallax-static__cta-wrap {
    position: relative;
    z-index: 3;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-parallax-static__row {
    display: flex;
    gap: 18px;
    will-change: transform;
    transition: transform 0.18s ease-out;
}

.hero-parallax-static__row--reverse {
    flex-direction: row-reverse;
}

.hero-parallax-card {
    position: relative;
    display: block;
    flex: 0 0 clamp(220px, 26vw, 380px);
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(118, 153, 138, 0.36);
    background: rgba(8, 13, 11, 0.95);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
    cursor: default;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}

.hero-parallax-card:hover {
    transform: translateY(-8px);
    border-color: rgba(42, 240, 143, 0.45);
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.55);
}

.hero-parallax-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    padding: 10px;
    background: linear-gradient(180deg, rgba(9, 15, 13, 0.98) 0%, rgba(11, 19, 16, 0.98) 100%);
    display: block;
}

.hero-parallax-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}

.hero-parallax-card span {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nav-link-active::after {
    width: 100% !important;
    background: var(--accent) !important;
}

.design-intro {
    padding: 110px 0 90px;
}

.design-intro > .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.design-intro-grid {
    order: 1;
}

.design-gallery {
    order: 2;
    margin-bottom: 0;
}

.design-gallery-library {
    order: 3;
}

.design-gallery-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.design-gallery-kicker {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--design-muted);
    margin-bottom: 10px;
}

.design-gallery-head h2 {
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    color: var(--design-text);
}

.design-gallery-subtitle {
    color: var(--design-muted);
    font-size: 15px;
    line-height: 1.75;
}

.design-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.design-gallery-shell {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: var(--design-radius-lg);
    background: var(--design-surface);
    border: 1px solid var(--design-border);
    box-shadow: var(--design-shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.design-gallery-shell:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 240, 143, 0.36);
    box-shadow: var(--design-shadow-md);
}

.design-gallery-spotlight {
    display: grid;
    gap: 14px;
}

.design-gallery-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--design-radius-md);
    border: 1px solid var(--design-border);
    background: var(--design-surface-soft);
    backdrop-filter: blur(6px);
}

.design-gallery-panel-copy {
    display: grid;
    gap: 6px;
}

.design-gallery-panel-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--design-muted);
}

.design-gallery-panel h3 {
    margin: 0;
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--design-text);
}

.design-gallery-panel-copy p:last-child {
    margin: 0;
    color: var(--design-muted);
    font-size: 14px;
    line-height: 1.65;
}

.design-gallery-panel-note {
    margin: 2px 0 0;
    color: var(--design-muted);
    font-size: 13px;
    line-height: 1.6;
}

.design-gallery-panel-note.is-highlight {
    margin-top: 4px;
    color: #b7f6d4;
    border-left: 2px solid rgba(42, 240, 143, 0.5);
    padding-left: 10px;
}

.design-gallery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--design-radius-sm);
    padding: 11px 16px;
    border: 1px solid transparent;
    background: var(--design-primary);
    color: #04110b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: var(--design-shadow-sm);
}

.design-gallery-cta:hover {
    transform: translateY(-1px);
    background: linear-gradient(90deg, #21cc79 0%, #37e99a 50%, #21cc79 100%);
    background-size: 200% 100%;
}

.design-gallery-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 14px;
    border-radius: var(--design-radius-sm);
    border: 1px solid var(--design-border);
    background: transparent;
    color: var(--design-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.design-gallery-link:hover {
    transform: translateY(-1px);
    border-color: rgba(42, 240, 143, 0.46);
    background: rgba(42, 240, 143, 0.08);
}

.design-gallery-link--expert {
    border-color: var(--design-border);
    background: transparent;
    color: var(--design-text);
    font-weight: 600;
    box-shadow: none;
}

.design-gallery-link--expert:hover {
    border-color: rgba(42, 240, 143, 0.46);
    background: rgba(42, 240, 143, 0.08);
    box-shadow: none;
}

.design-gallery-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.design-gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.design-gallery-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(42, 240, 143, 0.08);
    color: #cfe8dc;
    font-size: 11px;
    text-transform: capitalize;
    border: 1px solid rgba(117, 154, 138, 0.42);
}

.design-gallery-counter {
    color: var(--design-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.design-gallery-preview-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--design-radius-lg);
    border: 1px solid var(--design-border);
    background: var(--design-surface);
    box-shadow: var(--design-shadow-sm);
}

.design-gallery-browser-bar {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(117, 154, 138, 0.3);
    background: rgba(8, 13, 11, 0.78);
}

.design-gallery-browser-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(145, 171, 158, 0.52);
}

.design-gallery-browser-bar span:nth-child(1) {
    background: #ff5f57;
    box-shadow: 0 0 0 1px rgba(255, 95, 87, 0.25);
}

.design-gallery-browser-bar span:nth-child(2) {
    background: #febc2e;
    box-shadow: 0 0 0 1px rgba(254, 188, 46, 0.25);
}

.design-gallery-browser-bar span:nth-child(3) {
    background: #28c840;
    box-shadow: 0 0 0 1px rgba(40, 200, 64, 0.25);
}

.design-gallery-preview {
    position: relative;
    flex: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(180deg, rgba(8, 13, 11, 0.46), rgba(8, 13, 11, 0.82)),
        radial-gradient(circle at top left, rgba(42, 240, 143, 0.12), transparent 34%);
}

.design-gallery-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.06) 38%, transparent 58%);
    transform: translateX(-100%);
    animation: previewSweep 9s ease-in-out infinite;
}

.design-gallery-watermark {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(180deg, rgba(10, 18, 14, 0.75) 0%, rgba(10, 18, 14, 0.62) 100%);
    color: #ffffff;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    z-index: 3;
}

.design-gallery-watermark-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.design-gallery-watermark-text {
    display: grid;
    gap: 1px;
}

.design-gallery-watermark-text strong {
    font-size: 10px;
    line-height: 1.15;
    letter-spacing: 0.1em;
}

.design-gallery-watermark-text span {
    font-size: 10px;
    line-height: 1.15;
    opacity: 0.92;
}

.design-gallery-library {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-lg);
    background: var(--design-surface);
    box-shadow: var(--design-shadow-sm);
}

.design-trust {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(118, 153, 138, 0.3);
    border-radius: 20px;
    background: var(--design-surface);
    box-shadow: var(--design-shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.design-trust:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 240, 143, 0.34);
    box-shadow: var(--design-shadow-md);
}

.design-trust-head {
    margin-bottom: 12px;
}

.design-trust-head h3 {
    margin: 0 0 6px;
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--design-text);
}

.design-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.design-trust-card {
    border: 1px solid rgba(118, 153, 138, 0.28);
    border-radius: 14px;
    padding: 14px;
    background: var(--design-surface-soft);
}

.design-trust-num {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #79f7ba;
}

.design-trust-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.35;
    color: var(--design-text);
}

.design-trust-card p {
    margin: 0;
    color: var(--design-muted);
    font-size: 13px;
    line-height: 1.55;
}

.design-gallery-library-head {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.design-gallery-library-copy {
    flex: 1 1 520px;
}

.design-gallery-track-wrap {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.design-gallery-library-head h3 {
    margin: 0 0 6px;
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--design-text);
}

.design-gallery-preview-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    opacity: 0;
    padding: 18px;
    transform: scale(1.01);
    transition: opacity 0.55s ease, transform 0.7s ease;
}

.design-gallery-preview-image.is-active {
    opacity: 1;
    transform: scale(1);
}

.design-gallery-grid-wrap {
    gap: 12px;
}

.design-gallery-note {
    color: var(--design-muted);
    font-size: 13px;
    line-height: 1.6;
}

.design-gallery-panel-controls {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.design-gallery-panel-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.design-gallery-panel-cta-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.design-gallery-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.design-gallery-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--design-border);
    border-radius: 999px;
    background: rgba(12, 19, 16, 0.94);
    color: #79f7ba;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-gallery-nav-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(42, 240, 143, 0.46);
    box-shadow: var(--design-shadow-sm);
}

.design-gallery-cta:focus-visible,
.design-gallery-link:focus-visible,
.design-gallery-nav-btn:focus-visible,
.design-btn:focus-visible,
.hero-cta:focus-visible {
    outline: 3px solid rgba(0, 66, 44, 0.3);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 66, 44, 0.14);
}

.design-gallery-thumb {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex: 0 0 clamp(224px, 28vw, 306px);
    padding: 10px;
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-md);
    background: var(--design-surface);
    cursor: pointer;
    text-align: left;
    scroll-snap-align: start;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    box-shadow: var(--design-shadow-sm);
}

.design-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 240, 143, 0.4);
    box-shadow: var(--design-shadow-md);
}

.design-gallery-thumb.is-active {
    border-color: rgba(42, 240, 143, 0.5);
    background: var(--design-surface-soft);
    box-shadow: var(--design-shadow-md);
}

.design-gallery-thumb-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    object-fit: contain;
    object-position: center top;
    padding: 12px;
    background: linear-gradient(180deg, rgba(9, 15, 13, 0.98) 0%, rgba(11, 19, 16, 0.98) 100%);
    border: 1px solid rgba(118, 153, 138, 0.3);
}

.design-gallery-thumb-media {
    position: relative;
    display: block;
}

.design-gallery-watermark--thumb {
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    gap: 6px;
    border-radius: 9px;
}

.design-gallery-watermark--thumb .design-gallery-watermark-logo {
    width: 14px;
    height: 14px;
}

.design-gallery-watermark--thumb .design-gallery-watermark-text strong,
.design-gallery-watermark--thumb .design-gallery-watermark-text span {
    font-size: 9px;
}

.design-gallery-thumb-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.design-gallery-thumb-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--design-muted);
}

.design-gallery-thumb strong {
    font-size: 14px;
    line-height: 1.25;
    color: var(--design-text);
}

.design-gallery-thumb-copy > span:not(.design-gallery-thumb-kicker):not(.design-gallery-thumb-tags) {
    color: var(--design-muted);
    font-size: 12px;
    line-height: 1.45;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.design-gallery-thumb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 1px;
}

.design-gallery-thumb-tags .design-gallery-badge {
    background: rgba(42, 240, 143, 0.08);
    color: #cfe8dc;
    border-color: rgba(117, 154, 138, 0.42);
}

.design-gallery-empty {
    padding: 24px;
    border: 1px dashed var(--gray-200);
    border-radius: 16px;
    background: rgba(10, 15, 13, 0.86);
    color: var(--design-muted);
    text-align: center;
    min-width: 100%;
}

.design-gallery-grid {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: max-content;
    padding: 6px 0 10px;
}

.design-gallery-grid.is-marquee {
    animation: designGalleryMarquee var(--design-library-duration, 26s) linear infinite;
}

.design-gallery-track-wrap:hover .design-gallery-grid.is-marquee {
    animation-play-state: paused;
}

@keyframes designGalleryMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7px)); }
}

.design-intro-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 28px;
}

.design-intro-grid.has-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.design-intro-grid.has-result .design-note {
    display: none;
}

.design-note {
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-md);
    padding: 24px;
    background: var(--design-surface);
}

.design-note h3 {
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: 22px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--design-text);
}

.design-note p {
    color: var(--design-muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.design-note ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.design-note li {
    color: var(--design-muted);
    font-size: 14px;
    padding-left: 16px;
    position: relative;
}

.design-note li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.design-note-tip {
    margin-top: 14px;
    margin-bottom: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(42, 240, 143, 0.3);
    background: linear-gradient(180deg, rgba(42, 240, 143, 0.13), rgba(42, 240, 143, 0.07));
    color: #9ef7cb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.design-ai-notice.in-note {
    margin-top: 10px;
}

.design-form-wrap {
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-lg);
    background: var(--design-surface);
    box-shadow: var(--design-shadow-md);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.design-form-wrap:hover {
    transform: translateY(-1px);
    border-color: rgba(42, 240, 143, 0.34);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
}

.design-form-head {
    border-bottom: 1px solid rgba(118, 153, 138, 0.22);
    padding: 18px 22px;
}

.design-form-head p {
    font-size: 12px;
    color: var(--design-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.design-form-subhead {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--design-muted);
    line-height: 1.5;
}

.design-form {
    padding: 24px 22px 20px;
    display: grid;
    gap: 20px;
}

.design-form-progress {
    display: grid;
    gap: 8px;
}

.design-form-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(118, 153, 138, 0.24);
    overflow: hidden;
}

.design-form-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14935f 0%, #2af08f 100%);
    transition: width 0.28s ease;
}

.design-form-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--design-muted);
}

.design-form-progress-meta strong {
    color: var(--design-text);
}

.design-step {
    display: grid;
    gap: 16px;
}

.design-step[hidden] {
    display: none;
}

.design-step-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.design-fieldset {
    border: 0;
    display: grid;
    gap: 14px;
}

.design-legend {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--design-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.design-field label {
    display: block;
    font-size: 12px;
    color: var(--design-muted);
    margin-bottom: 7px;
}

.design-field input,
.design-field select,
.design-field textarea {
    width: 100%;
    border: 1px solid rgba(118, 153, 138, 0.32);
    border-radius: var(--design-radius-sm);
    padding: 12px 12px;
    font-size: 14px;
    line-height: 1.35;
    font-family: inherit;
    color: var(--design-text);
    background: rgba(8, 13, 11, 0.88);
}

.design-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9cb6aa 50%), linear-gradient(135deg, #9cb6aa 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.design-field input:focus,
.design-field select:focus,
.design-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 66, 44, 0.12);
}

.design-field.has-error input,
.design-field.has-error select,
.design-field.has-error textarea,
.design-field.has-error .design-color-picker {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.design-field-error {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
}

.design-field textarea {
    min-height: 100px;
    resize: vertical;
}

.design-step-intro {
    margin: 0;
    font-size: 13px;
    color: var(--design-muted);
    line-height: 1.6;
}

.design-advanced-callout {
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-md);
    padding: 12px 14px;
    background: var(--design-surface-soft);
}

.design-advanced-callout-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #9ef7cb;
}

.design-advanced-callout-list {
    margin: 0;
    padding-left: 17px;
    display: grid;
    gap: 5px;
}

.design-advanced-callout-list li {
    color: var(--design-muted);
    font-size: 12px;
    line-height: 1.5;
}

.design-inline {
    display: flex;
    gap: 10px;
}

.design-inline .design-field {
    flex: 1;
}

.design-color-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.design-color-picker {
    width: 46px;
    height: 44px;
    border: 1px solid rgba(118, 153, 138, 0.3);
    border-radius: 10px;
    padding: 4px;
    background: rgba(8, 13, 11, 0.88);
    cursor: pointer;
}

.design-palette {
    border: 1px dashed var(--design-border);
    border-radius: var(--design-radius-sm);
    padding: 12px;
    background: rgba(11, 18, 15, 0.8);
}

.design-palette-title {
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--design-muted);
}

.design-palette-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.design-palette-chip {
    border: 1px solid rgba(118, 153, 138, 0.34);
    border-radius: 999px;
    background: rgba(8, 13, 11, 0.9);
    color: #cfe8dc;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.design-palette-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.design-advanced-toggle {
    border: 1px solid transparent;
    border-radius: var(--design-radius-sm);
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.01em;
    padding: 12px 14px;
    cursor: pointer;
    width: 100%;
    box-shadow: var(--design-shadow-sm);
}

.design-advanced-toggle:hover {
    background: #162033;
    transform: translateY(-1px);
}

.design-advanced-panel {
    border-top: 1px dashed rgba(118, 153, 138, 0.32);
    padding-top: 16px;
}

.design-advanced-hint {
    font-size: 12px;
    color: var(--design-muted);
    margin-top: -12px;
}

.design-submit {
    margin-top: 4px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.design-submit[hidden] {
    display: none;
}

.design-legal {
    margin-top: 4px;
    padding: 14px;
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-md);
    background: rgba(10, 17, 14, 0.9);
    display: grid;
    gap: 10px;
}

.design-legal[hidden] {
    display: none;
}

.design-legal-title {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--design-text);
}

.design-field--check label.design-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--design-muted);
}

.design-field--check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #2af08f;
}

.design-field--check a {
    color: #9ef7cb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.design-field--check a:hover {
    color: #bff9dc;
}

.design-legal-mini {
    margin: 0;
    font-size: 12px;
    color: var(--design-muted);
    line-height: 1.55;
}

.design-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: var(--design-radius-sm);
    min-height: 42px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.design-btn.primary {
    background: linear-gradient(90deg, #2af08f 0%, #45ffad 50%, #2af08f 100%);
    background-size: 200% 100%;
    border-color: transparent;
    color: #04110b;
    box-shadow: var(--design-shadow-sm);
    animation: ctaShift 6s linear infinite;
}

.design-btn.primary:hover {
    background: linear-gradient(90deg, #21cc79 0%, #37e99a 50%, #21cc79 100%);
    background-size: 200% 100%;
    transform: translateY(-1px);
    box-shadow: var(--design-shadow-md);
}

.design-btn.secondary {
    background: transparent;
    border-color: var(--design-border);
    color: var(--design-text);
}

.design-btn.secondary:hover {
    border-color: rgba(42, 240, 143, 0.46);
    background: rgba(42, 240, 143, 0.08);
    transform: translateY(-1px);
}

.design-status {
    font-size: 13px;
    color: var(--design-muted);
}

.design-status.error {
    color: #b91c1c;
}

.design-status.success {
    color: #9ef7cb;
}

.design-result {
    padding: 22px;
    border-top: 1px solid var(--design-border);
    background: var(--design-surface-soft);
    display: none;
}

.design-result.is-visible {
    display: block;
}

.design-result-conversion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-md);
    background: var(--design-surface);
    margin-bottom: 16px;
    box-shadow: var(--design-shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.design-result-conversion:hover {
    transform: translateY(-1px);
    border-color: rgba(42, 240, 143, 0.34);
    box-shadow: var(--design-shadow-md);
}

.design-result-conversion-copy {
    min-width: 0;
}

.design-result h3 {
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: 22px;
    margin-bottom: 6px;
    color: var(--design-text);
}

.design-result-subtitle {
    margin: 8px 0;
    font-size: 15px;
}

.design-result p {
    color: var(--design-muted);
    margin-bottom: 0;
}

.design-ai-notice {
    margin-top: 10px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid rgba(42, 240, 143, 0.34);
    background: linear-gradient(180deg, rgba(42, 240, 143, 0.16) 0%, rgba(42, 240, 143, 0.07) 100%);
    color: #b0f8d2;
    font-size: 13px;
    line-height: 1.62;
}

.design-result-main-cta {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 48px;
    border-radius: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: #04110b;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #2af08f 0%, #45ffad 50%, #2af08f 100%);
    background-size: 200% 100%;
    border: 1px solid rgba(197, 255, 226, 0.4);
    box-shadow: 0 12px 24px rgba(32, 188, 117, 0.22);
    animation: ctaShift 6s linear infinite;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.design-result-main-cta:hover {
    background: linear-gradient(90deg, #21cc79 0%, #37e99a 50%, #21cc79 100%);
    background-size: 200% 100%;
    transform: translateY(-2px);
    filter: saturate(1.04);
    box-shadow: 0 16px 30px rgba(32, 188, 117, 0.28);
}

.design-result-main-cta span:last-child {
    display: inline-block;
    transition: transform 0.2s ease;
}

.design-result-main-cta:hover span:last-child {
    transform: translateX(3px);
}

.design-result-cta-tip {
    flex-basis: 100%;
    margin: -2px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(42, 240, 143, 0.42);
    background: linear-gradient(180deg, rgba(42, 240, 143, 0.12) 0%, rgba(42, 240, 143, 0.04) 100%);
    color: #b8f8d7;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.design-image-frame {
    position: relative;
    margin: 0 0 14px;
    border-radius: var(--design-radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: min(58vh, 640px);
    background: linear-gradient(180deg, rgba(8, 16, 12, 0.9) 0%, rgba(8, 16, 12, 0.72) 100%);
    box-shadow: var(--design-shadow-md);
}

.design-image {
    width: 100%;
    height: auto;
    max-height: min(58vh, 640px);
    object-fit: contain;
    border-radius: var(--design-radius-md);
    border: 1px solid var(--design-border);
    display: block;
    margin-bottom: 0;
}

.design-image-watermark {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(10, 18, 14, 0.75) 0%, rgba(10, 18, 14, 0.64) 100%);
    color: #ffffff;
    backdrop-filter: blur(5px);
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.design-image-watermark-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.design-image-watermark-text {
    display: grid;
    gap: 1px;
}

.design-image-watermark strong {
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.2;
}

.design-image-watermark span {
    font-size: 11px;
    line-height: 1.2;
    opacity: 0.92;
}

.design-share-card {
    border: 1px solid var(--design-border);
    border-radius: var(--design-radius-md);
    padding: 16px;
    background: var(--design-surface);
    margin-bottom: 14px;
}

.design-share-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--design-muted);
    margin-bottom: 8px;
}

.design-share-text {
    font-size: 13px;
    color: var(--design-muted);
    margin-bottom: 12px;
    line-height: 1.65;
}

.design-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.design-share-btn {
    appearance: none;
    border: 1px solid var(--design-border);
    background: transparent;
    color: var(--design-text);
    border-radius: var(--design-radius-sm);
    min-height: 40px;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.design-share-btn:hover {
    background: rgba(42, 240, 143, 0.08);
    border-color: rgba(42, 240, 143, 0.46);
    transform: translateY(-1px);
    box-shadow: none;
}

.design-share-btn.is-copy {
    background: transparent;
    border-color: var(--design-border);
}

.design-result-bottom-cta {
    width: 100%;
    justify-content: center;
    text-decoration: none;
    min-height: 48px;
    color: var(--design-text);
    font-weight: 700;
    border: 1px solid rgba(42, 240, 143, 0.38);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(42, 240, 143, 0.08) 0%, rgba(42, 240, 143, 0.03) 100%);
    box-shadow: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.design-result-bottom-cta:hover {
    background: linear-gradient(180deg, rgba(42, 240, 143, 0.14) 0%, rgba(42, 240, 143, 0.06) 100%);
    border-color: rgba(92, 247, 173, 0.5);
    transform: translateY(-1px);
}

.design-result a:not(.hero-cta):not(.design-share-btn) {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.design-result-payload {
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid rgba(118, 153, 138, 0.34);
    border-radius: 8px;
    background: rgba(8, 13, 11, 0.92);
    color: #cfe8dc;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.design-mobile-sticky {
    display: none;
}

.design-generate-overlay {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 0%, rgba(15, 138, 91, 0.2), transparent 48%),
        radial-gradient(circle at 10% 100%, rgba(91, 111, 101, 0.2), transparent 38%),
        rgba(6, 11, 9, 0.56);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.design-generate-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.design-generate-matrix {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.38;
}

.design-generate-matrix span {
    position: absolute;
    left: -16%;
    width: 132%;
    font-family: 'Satoshi', sans-serif;
    font-size: clamp(10px, 1.4vw, 13px);
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: rgba(200, 214, 206, 0.28);
    text-transform: uppercase;
    white-space: nowrap;
    animation: matrixFlow 9s linear infinite;
}

.design-generate-matrix span:nth-child(1) { top: 10%; animation-delay: 0s; }
.design-generate-matrix span:nth-child(2) { top: 22%; animation-delay: -1.1s; }
.design-generate-matrix span:nth-child(3) { top: 34%; animation-delay: -2.4s; }
.design-generate-matrix span:nth-child(4) { top: 46%; animation-delay: -3.6s; }
.design-generate-matrix span:nth-child(5) { top: 58%; animation-delay: -4.8s; }
.design-generate-matrix span:nth-child(6) { top: 70%; animation-delay: -6s; }
.design-generate-matrix span:nth-child(7) { top: 82%; animation-delay: -7.2s; }

.design-generate-overlay-card {
    width: min(520px, 95vw);
    border: 1px solid rgba(150, 181, 167, 0.28);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(12, 20, 17, 0.88) 0%, rgba(8, 13, 11, 0.92) 100%);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(201, 221, 211, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 28px 24px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.design-generate-orb {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    left: 50%;
    top: -152px;
    transform: translateX(-50%);
    pointer-events: none;
    background: radial-gradient(circle, rgba(36, 190, 130, 0.2) 0%, rgba(19, 155, 101, 0) 70%);
    filter: blur(8px);
    animation: orbPulse 3.6s ease-in-out infinite;
}

.design-generate-logo-wrap {
    position: relative;
    width: 150px;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.design-generate-logo {
    width: auto;
    height: auto;
    max-height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 8px 22px rgba(11, 54, 37, 0.38)) saturate(1.1) contrast(1.08);
    animation: logoFloat 2.1s ease-in-out infinite;
    z-index: 2;
}

.design-generate-logo-ring {
    display: none;
}

/* Uiverse-style floating contact cluster (duck remains separate) */
.contact-fab {
    position: fixed;
    left: 21px;
    bottom: 96px;
    z-index: 94;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
}

.contact-fab-main,
.contact-fab-btn {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(143, 164, 153, 0.34);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eaf6f0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.contact-fab-main {
    background: rgba(14, 24, 20, 0.94);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.contact-fab-main-icon {
    width: 20px;
    height: 20px;
    opacity: 0.95;
}

.contact-fab-main:hover {
    transform: translateY(-1px);
    border-color: rgba(170, 201, 184, 0.46);
    background: rgba(18, 30, 25, 0.96);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36);
}

.contact-fab-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.9);
    background: rgba(13, 23, 19, 0.92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.contact-fab.is-open .contact-fab-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.contact-fab-mail {
    border-color: rgba(128, 149, 139, 0.38);
    transition-delay: 0s;
}

.contact-fab-whatsapp {
    border-color: rgba(88, 168, 122, 0.45);
    transition-delay: 0.06s;
}

.contact-fab-instagram {
    border-color: rgba(155, 117, 164, 0.42);
    transition-delay: 0.12s;
}

.contact-fab-linkedin {
    border-color: rgba(93, 136, 171, 0.45);
    transition-delay: 0.18s;
}

.contact-fab-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(170, 201, 184, 0.5);
    background: rgba(18, 30, 25, 0.95);
}

.contact-fab-main:focus-visible,
.contact-fab-btn:focus-visible {
    outline: 2px solid rgba(42, 240, 143, 0.7);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .contact-fab {
        left: 13px;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .contact-fab-main,
    .contact-fab-btn {
        width: 42px;
        height: 42px;
    }

    .contact-fab-main-icon {
        width: 18px;
        height: 18px;
    }
}

.design-generate-brand {
    margin: 0 0 10px;
    font-size: 10px;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: #a8c2b6;
    opacity: 0.9;
    text-transform: uppercase;
}

.design-generate-metrics {
    margin: 14px 0 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.design-generate-metric {
    border: 1px solid rgba(128, 160, 145, 0.25);
    border-radius: 10px;
    background: rgba(8, 15, 12, 0.72);
    padding: 8px;
}

.design-generate-metric-label {
    display: block;
    color: #8ea89c;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.design-generate-metric-value {
    display: block;
    margin-top: 2px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    color: #d4fce8;
    text-shadow: 0 0 14px rgba(86, 236, 161, 0.22);
}

.design-generate-progress {
    margin: 14px 0 10px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(69, 145, 111, 0.22);
}

.design-generate-progress-fill {
    display: block;
    height: 100%;
    width: 35%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f8a5b 0%, #89f7bc 56%, #0f8a5b 100%);
    animation: overlayProgress 1.3s ease-in-out infinite;
}

@keyframes ctaShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes previewSweep {
    0%, 18% { transform: translateX(-100%); opacity: 0; }
    24%, 44% { transform: translateX(100%); opacity: 1; }
    50%, 100% { transform: translateX(100%); opacity: 0; }
}

.design-generate-title {
    margin: 0 0 6px;
    font-family: 'Clash Display', 'Satoshi', sans-serif;
    font-size: clamp(22px, 2.4vw, 29px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--design-text);
}

.design-generate-copy {
    margin: 0;
    color: var(--design-muted);
    font-size: 13px;
    line-height: 1.6;
}

.design-generate-copy--sub {
    margin-top: 6px;
    color: #b8d6c8;
    font-size: 12px;
    line-height: 1.55;
    min-height: 38px;
}

.design-generate-stage {
    margin: 1px 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #9effcb;
    letter-spacing: 0.02em;
    min-height: 18px;
}

.design-generate-points {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    text-align: left;
}

.design-generate-points li {
    position: relative;
    font-size: 12px;
    color: #cfe8dc;
    padding-left: 16px;
    line-height: 1.45;
}

.design-generate-points li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #0f8a5b;
    position: absolute;
    left: 0;
    top: 5px;
    box-shadow: none;
}

@keyframes matrixFlow {
    0% {
        transform: translate3d(-4%, 0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate3d(4%, 0, 0);
        opacity: 0;
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.72; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 0.6; }
}

@keyframes overlayProgress {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(320%); }
}

body.is-design-loading {
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero-parallax-static {
        padding: 116px 0 54px;
    }

    .hero-parallax-static__tracks {
        gap: 12px;
    }

    .hero-parallax-static__row {
        gap: 12px;
    }

    .hero-parallax-static__cta-wrap {
        margin-top: 14px;
    }

    .hero-parallax-static__cta-wrap .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .design-gallery-grid {
        gap: 12px;
    }

    .design-gallery-track-wrap {
        overflow: hidden;
        mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
    }

    .design-gallery-meta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .design-gallery-panel-controls {
        justify-content: flex-start;
        width: 100%;
    }

    .design-gallery-panel-cta-group {
        justify-content: flex-start;
        width: 100%;
    }

    .design-gallery-cta,
    .design-gallery-link {
        width: 100%;
    }

    .design-intro-grid {
        grid-template-columns: 1fr;
    }

    .design-form-wrap {
        overflow: visible;
    }

    .design-grid {
        grid-template-columns: 1fr;
    }

    .design-field {
        position: relative;
    }

    .design-field select {
        position: relative;
        z-index: 6;
    }

    .design-share-actions {
        flex-direction: column;
    }

    .design-share-btn {
        width: 100%;
        text-align: center;
    }

    .design-step-actions {
        justify-content: stretch;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .design-step-actions .design-btn {
        width: 100%;
    }

    .design-generate-metrics {
        grid-template-columns: 1fr;
    }

    .design-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .design-submit .design-btn {
        width: 100%;
    }

    .design-status {
        width: 100%;
    }

    .design-trust-grid {
        grid-template-columns: 1fr;
    }

    .design-result-conversion {
        flex-direction: column;
        align-items: stretch;
    }

    .design-result-main-cta {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .design-result-bottom-cta {
        white-space: normal;
        text-align: center;
    }

    .design-image-frame {
        max-height: 52vh;
    }

    .design-image {
        max-height: 52vh;
    }
}

@media (min-width: 980px) {
    .design-gallery-spotlight {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
        align-items: stretch;
    }

    .design-gallery-panel {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .design-form {
        padding: 18px 14px 16px;
    }

    .design-form-head p {
        font-size: 13px;
        letter-spacing: 0.08em;
    }

    .design-form-subhead {
        font-size: 13px;
        line-height: 1.6;
    }

    .design-generate-overlay-card {
        border-radius: 18px;
        padding: 24px 16px 18px;
    }

    .design-generate-title {
        font-size: 21px;
    }

    .design-generate-copy {
        font-size: 13px;
    }

    .design-form-progress-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .design-field label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .design-field input,
    .design-field select,
    .design-field textarea {
        min-height: 48px;
        font-size: 16px;
        padding: 12px 12px;
    }

    .design-field select {
        -webkit-appearance: menulist;
        appearance: auto;
        background-image: none;
        padding-right: 12px;
    }

    .design-field select option {
        font-size: 16px;
        line-height: 1.4;
    }

    .design-color-control {
        align-items: stretch;
    }

    .design-color-picker {
        width: 52px;
        height: 48px;
        flex: 0 0 52px;
    }

    .design-advanced-toggle {
        width: 100%;
        text-align: center;
    }

    .design-inline {
        flex-direction: column;
    }

    .design-btn {
        min-height: 48px;
        font-size: 15px;
    }

    .design-image-frame {
        max-height: 46vh;
    }

    .design-image {
        max-height: 46vh;
    }

    .design-image-watermark {
        right: 10px;
        bottom: 10px;
        gap: 7px;
        padding: 6px 8px;
    }

    .design-image-watermark-logo {
        width: 14px;
        height: 14px;
    }

    .design-image-watermark strong,
    .design-image-watermark span {
        font-size: 9px;
    }

    .design-gallery-head h2 {
        font-size: 26px;
    }

    .design-gallery-shell {
        padding: 14px;
        border-radius: 22px;
    }

    .design-gallery-library {
        margin-top: 20px;
        padding: 14px;
    }

    .design-trust {
        margin-top: 18px;
        padding: 14px;
    }

    .design-trust-head h3 {
        font-size: 21px;
    }

    .design-gallery-library-head h3 {
        font-size: 21px;
    }

    .design-gallery-panel {
        padding: 14px;
    }

    .design-gallery-panel h3 {
        font-size: 21px;
    }

    .design-gallery-preview {
        aspect-ratio: 4 / 3;
    }

    .design-gallery-watermark {
        right: 10px;
        bottom: 10px;
        padding: 5px 8px;
        gap: 6px;
    }

    .design-gallery-watermark-logo {
        width: 12px;
        height: 12px;
    }

    .design-gallery-watermark-text strong,
    .design-gallery-watermark-text span {
        font-size: 8px;
    }

    .design-generate-overlay-card {
        width: min(380px, 94vw);
        padding: 18px 14px;
    }

    .design-generate-logo-wrap {
        width: 112px;
        height: 92px;
    }

    .design-generate-logo {
        width: auto;
        height: auto;
        max-height: 82px;
    }

    .design-generate-title {
        font-size: 20px;
    }

    .design-generate-copy {
        font-size: 13px;
    }

    .design-gallery-grid {
        gap: 10px;
    }

    .design-waves-bg {
        opacity: 0.5;
    }

    .design-gallery-thumb {
        flex-basis: 82vw;
        max-width: none;
    }

    .design-gallery-panel-controls {
        width: 100%;
    }

    .design-gallery-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .design-gallery-cta,
    .design-gallery-link {
        width: 100%;
    }

    .design-mobile-sticky {
        display: none !important;
    }
}

@media (pointer: coarse) {
    .design-field select {
        -webkit-appearance: menulist;
        appearance: auto;
        background-image: none;
        padding-right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .design-gallery-grid.is-marquee {
        animation: none;
    }

    .design-gallery-track-wrap {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none;
        scrollbar-width: thin;
    }

    .design-gallery-preview-image,
    .design-gallery-thumb,
    .design-gallery-cta,
    .design-gallery-link,
    .design-gallery-nav-btn,
    .design-btn {
        transition: none;
    }

    .design-gallery-cta,
    .design-btn.primary,
    .design-result-main-cta,
    .design-gallery-preview::after {
        animation: none;
    }

    .design-waves-bg {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .design-gallery-preview-image,
    .design-gallery-thumb-image {
        padding: 8px;
    }

    .design-gallery-thumb {
        flex-basis: 88vw;
        max-width: none;
    }

    .design-gallery-track-wrap {
        mask-image: linear-gradient(to right, #000 2%, #000 98%);
        -webkit-mask-image: linear-gradient(to right, #000 2%, #000 98%);
    }

    .design-gallery-grid {
        gap: 10px;
    }
}
