/* =============================
   BrandMyQuote — Light Studio
   ============================= */

:root {
    --bg-primary: #f4f7ff;
    --bg-gradient: radial-gradient(140% 140% at 0% 0%, rgba(37, 99, 235, 0.18) 0%, rgba(14, 165, 233, 0.12) 42%, rgba(255, 255, 255, 0.95) 72%, #ffffff 100%);
    --surface-base: rgba(255, 255, 255, 0.92);
    --surface-elevated: #ffffff;
    --surface-muted: rgba(244, 248, 255, 0.72);
    --surface-border: rgba(15, 23, 42, 0.08);
    --surface-border-strong: rgba(15, 23, 42, 0.14);
    --accent-primary: #2563eb;
    --accent-secondary: #f97316;
    --accent-tertiary: #22d3ee;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --heading-font: 'Instrument Serif', 'Playfair Display', serif;
    --body-font: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --shadow-card: 0 30px 70px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.1);
    --transition-base: 180ms ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg-gradient), var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--body-font);
    line-height: 1.7;
    overflow-x: hidden;
}

main.page {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent-primary);
}

p {
    color: var(--text-secondary);
}

strong {
    font-weight: 600;
}

.shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Loader ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(249, 115, 22, 0.15)), #ffffff;
    display: grid;
    place-items: center;
    z-index: 9999;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    padding: 32px 40px;
    border-radius: var(--radius-lg);
    background: var(--surface-base);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

.loader-glow {
    position: absolute;
    inset: -14px;
    border-radius: 28px;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.25), transparent 70%);
    filter: blur(18px);
    opacity: 0.65;
    animation: loaderGlow 4s ease-in-out infinite;
}

@keyframes loaderGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.9; }
}

.loader-symbol {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
}

.loader-symbol::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(249, 115, 22, 0.16));
}

.loader-symbol::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.loader-icon {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--accent-primary);
    font-size: 28px;
}

.loader-text {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
}

.loader-progress {
    margin-top: 22px;
    height: 4px;
    width: 120px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(37, 99, 235, 0.12);
    position: relative;
}

.loader-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: loaderTrack 1.8s linear infinite;
}

@keyframes loaderTrack {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--surface-border);
}

.site-header__bar {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
}


.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-decoration: none;
}

.site-logo__badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 20px;
    background: linear-gradient(135deg, #2563eb 0%, #f97316 100%);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.45);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.site-logo__badge::before {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
}

.site-logo__initials {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: #f8fafc;
}

.site-logo__initial--accent {
    color: #fde68a;
}

.site-logo__sparkle {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
    opacity: 0.85;
    animation: sparkleOrbit 5s ease-in-out infinite;
}

@keyframes sparkleOrbit {
    0% { transform: scale(0.8) translate(0, 0); opacity: 0.6; }
    40% { transform: scale(1) translate(2px, -2px); opacity: 1; }
    70% { transform: scale(0.9) translate(-1px, 1px); opacity: 0.75; }
    100% { transform: scale(0.8) translate(0, 0); opacity: 0.6; }
}

.site-logo__wordmark {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
}

.site-logo__brand {
    font-size: 1.16rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0f172a, #2563eb 60%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-logo__tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--text-muted);
    font-weight: 600;
}

.site-logo__badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 65%);
    opacity: 0.8;
}

.site-logo:hover .site-logo__badge {
    box-shadow: 0 20px 38px rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.site-logo--footer .site-logo__badge {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 70%);
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
}

.site-logo--footer .site-logo__sparkle {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.3);
}

.site-logo--footer .site-logo__brand {
    background: linear-gradient(135deg, #1e293b, #2563eb 70%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-logo--footer .site-logo__tagline {
    color: rgba(15, 23, 42, 0.6);
}

.site-logo--footer {
    gap: 12px;
}

.site-nav {
    display: flex;
    gap: 22px;
    justify-self: center;
}

.nav-link {
    position: relative;
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 100px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.site-header__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__toggle {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
    display: none;
}

.site-header__toggle:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
    cursor: pointer;
    background: rgba(37, 99, 235, 0.08);
}

.btn i {
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.18);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #f97316);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #fb923c);
}

.btn-outline {
    border-color: rgba(37, 99, 235, 0.25);
    background: transparent;
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.08);
}

.btn-ghost {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.16);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #22d3ee);
    border-color: rgba(34, 197, 94, 0.35);
    color: #ffffff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.83rem;
}

.btn-large {
    padding: 14px 26px;
    font-size: 1.02rem;
}

.btn-social {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
    width: calc(33.333% - 10px);
    justify-content: flex-start;
}

.btn-social span {
    margin-left: auto;
    font-weight: 500;
}

.btn-social:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.18);
}

.btn-twitter:hover { color: #1d9bf0; }
.btn-instagram:hover { color: #f56040; }
.btn-facebook:hover { color: #1877f2; }
.btn-linkedin:hover { color: #0a66c2; }
.btn-pinterest:hover { color: #e60023; }
.btn-whatsapp:hover { color: #25d366; }

/* ===== Mobile Navigation ===== */
.mobile-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--surface-border);
    backdrop-filter: blur(14px);
}

.mobile-nav.show {
    display: block;
}

.mobile-nav__inner {
    display: grid;
    gap: 24px;
    padding: 24px;
}

.mobile-nav__links {
    display: grid;
    gap: 16px;
}

.mobile-nav__links .nav-link {
    font-size: 1.02rem;
}

.mobile-nav__cta {
    display: flex;
    justify-content: flex-start;
}

/* ===== Hero Section ===== */
.hero {
    padding: 120px 0 80px;
    position: relative;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background: radial-gradient(60% 60% at 0% 0%, rgba(37, 99, 235, 0.15), transparent 70%);
}

.hero::after {
    background: radial-gradient(70% 70% at 100% 0%, rgba(249, 115, 22, 0.14), transparent 70%);
    opacity: 0.7;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 26px;
}

.hero__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.hero__title {
    font-family: var(--heading-font);
    font-size: clamp(2.9rem, 4vw, 3.6rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero__description {
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 44px;
}

.hero__metrics {
    display: flex;
    gap: 32px;
}

.metric dt {
    font-family: var(--heading-font);
    font-size: 2.1rem;
    color: var(--text-primary);
}

.metric dd {
    font-size: 0.96rem;
    color: var(--text-muted);
}


.hero-examples {
    position: relative;
    display: grid;
    gap: 22px;
}

@media (min-width: 768px) {
    .hero-examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .example-card:nth-child(3) {
        grid-column: span 2;
        max-width: 420px;
        justify-self: center;
        transform: translateY(-20px);
    }
}

.example-card {
    position: relative;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #fff;
    overflow: hidden;
}

.example-card--sunrise {
    background: linear-gradient(135deg, #fb923c, #f97316, #f472b6);
}

.example-card--twilight {
    background: linear-gradient(135deg, #1f2937, #312e81, #6366f1);
}

.example-card--minimal {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #0f172a;
}

.example-card__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.example-card__logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
}

.example-card__logo--sunrise {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 65%), #f97316;
}

.example-card__logo--twilight {
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4), transparent 70%), #a1a2f4;
}

.example-card__logo--minimal {
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4), transparent 70%), #0f172a;
    color: #fef3c7;
}

.example-card__brand-name {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
}

.example-card__tagline {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
}

.example-card--minimal .example-card__brand-name {
    color: var(--text-primary);
}

.example-card--minimal .example-card__tagline {
    color: rgba(15, 23, 42, 0.6);
}

.example-card__quote {
    font-family: var(--heading-font);
    font-size: 1.15rem;
    line-height: 1.45;
    margin: 10px 0 20px;
}

.example-card--minimal .example-card__quote {
    color: var(--text-primary);
}

.example-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    opacity: 0.9;
}

.example-card__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 500;
}

.example-card--minimal .example-card__badge {
    background: rgba(15, 23, 42, 0.08);
    color: var(--accent-primary);
}

.hero__visual {
    position: relative;
}

.hero-scene {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.95));
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    overflow: hidden;
    min-height: 440px;
    box-shadow: var(--shadow-card);
}

.hero-orbit {
    position: absolute;
    inset: -30% -20% auto;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.16);
    opacity: 0.5;
    transform: rotate(12deg);
}

.hero-card {
    position: relative;
    border-radius: 22px;
    padding: 28px;
    backdrop-filter: blur(18px);
    color: var(--text-primary);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.12);
}

.hero-card--primary {
    background: linear-gradient(135deg, #ffffff 5%, #f3f6ff 95%);
    max-width: 320px;
    position: absolute;
    top: 40px;
    left: 48px;
}

.hero-card--primary .hero-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.24);
    font-size: 0.8rem;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.hero-card__quote {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 18px;
}

.hero-card__author {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card--secondary {
    position: absolute;
    right: 40px;
    bottom: 40px;
    max-width: 260px;
    background: rgba(37, 99, 235, 0.08);
}

.hero-card--secondary ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 18px;
    color: var(--text-secondary);
}

.hero-card--secondary i {
    font-size: 6px;
    color: var(--accent-secondary);
    margin-right: 10px;
}

.hero-spark {
    position: absolute;
    width: 120px;
    height: 120px;
    right: 60px;
    top: -40px;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.4), transparent 70%);
    opacity: 0.8;
    animation: sparkPulse 6s ease-in-out infinite;
}

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

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-header--compact {
    max-width: 680px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.section-title {
    font-family: var(--heading-font);
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ===== Feature Grid ===== */
.feature-overview {
    padding: 90px 0 60px;
}

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

.feature-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    min-height: 220px;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 32px 60px rgba(37, 99, 235, 0.12);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    display: grid;
    place-items: center;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.18rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
}

/* ===== Generator Section ===== */
.generator {
    padding: 110px 0 100px;
    position: relative;
}

.generator::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 45%, rgba(249, 115, 22, 0.08));
    opacity: 0.6;
    pointer-events: none;
}

.generator > .shell {
    position: relative;
    z-index: 1;
}

.generator-view-toggle {
    display: inline-flex;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    padding: 6px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    gap: 4px;
    margin: 0 auto 40px;
}

.generator-view-toggle .toggle-button {
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.generator-view-toggle .toggle-button.active {
    background: #ffffff;
    color: var(--accent-primary);
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.14);
}

.app-container {
    display: grid;
    grid-template-columns: minmax(0, 530px) minmax(0, 1fr);
    gap: 36px;
}

.left-panel,
.right-panel {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--surface-border);
    padding: 34px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.left-panel::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: calc(var(--radius-lg) - 12px);
    border: 1px dashed rgba(37, 99, 235, 0.12);
    pointer-events: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 18px;
}

.panel-header h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.panel-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.panel-hint {
    font-size: 0.78rem;
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.12);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.saved-message {
    display: none;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-sm);
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.24);
    color: #166534;
    padding: 12px 16px;
    margin-bottom: 24px;
}

.saved-message.show {
    display: flex !important;
}

.step-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.step {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 14px 10px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-muted);
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.step.active {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.step-number {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.08);
    font-weight: 600;
}

.step.active .step-number {
    background: rgba(37, 99, 235, 0.28);
    color: var(--accent-primary);
}

.step-content {
    display: none;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.94);
    padding: 24px 26px 28px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.step-content.active {
    display: block;
}

.step-header h4 {
    font-size: 1.06rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.step-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.form-group {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.optional {
    font-size: 0.78rem;
    color: var(--text-muted);
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(248, 250, 255, 0.9);
    color: var(--text-primary);
    font: inherit;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.char-counter {
    font-size: 0.78rem;
    color: var(--text-muted);
    justify-self: flex-end;
}

.file-upload-modern {
    position: relative;
}

.file-upload-modern input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-modern-label {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.08);
    color: var(--text-secondary);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.file-upload-modern-label:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(249, 115, 22, 0.08);
}

.upload-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.16);
    color: var(--accent-primary);
}

.upload-title {
    font-weight: 500;
}

.upload-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.brand-mode-card {
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(244, 248, 255, 0.72);
    padding: 22px;
    margin-bottom: 22px;
}

.brand-mode-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.brand-mode-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.brand-mode-info p {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    width: 46px;
    height: 26px;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    transition: background var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(249, 115, 22, 0.45));
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(18px);
}

.option-group {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 18px;
    margin-top: 18px;
}

.option-group:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.option-group h5 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.modern-select {
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M4 6L8 10L12 6" stroke="%232563EB" stroke-width="1.5" stroke-linecap="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
}

.range-wrapper {
    display: grid;
    gap: 10px;
}

.modern-range {
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.12);
    outline: none;
}

.modern-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #f97316);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}

.modern-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #f97316);
    border: none;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.template-card {
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.template-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--text-primary);
}

.template-card.active {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.1));
}

.template-preview {
    border-radius: 12px;
    overflow: hidden;
    height: 80px;
    margin-bottom: 12px;
    background: rgba(148, 163, 184, 0.12);
}

.gradient-preview { background: linear-gradient(135deg, #2563eb, #f97316); height: 100%; }
.white-preview { background: linear-gradient(135deg, #ffffff, #e2e8f0); height: 100%; }
.nature-preview { background: linear-gradient(135deg, #10b981, #22d3ee); height: 100%; }
.sunset-preview { background: linear-gradient(135deg, #fb923c, #f472b6); height: 100%; }
.ocean-preview { background: linear-gradient(135deg, #0ea5e9, #38bdf8); height: 100%; }
.neon-preview { background: linear-gradient(135deg, #a855f7, #f97316); height: 100%; }
.vintage-preview { background: linear-gradient(135deg, #f9e2af, #fde68a); height: 100%; }
.modern-preview { background: linear-gradient(135deg, #1e3a8a, #0f172a); height: 100%; }

.corporate-preview { background: linear-gradient(135deg, #1f2937, #0f172a); height: 100%; }
.geometric-preview { background: linear-gradient(135deg, #6366f1, #a855f7); height: 100%; }
.marble-preview { background: linear-gradient(135deg, #f8fafc, #e2e8f0); height: 100%; }
.bokeh-preview { background: linear-gradient(135deg, #fcd34d, #fb7185); height: 100%; }
.paper-preview { background: linear-gradient(135deg, #f9f7f1, #e2d5bb); height: 100%; }
.cosmic-preview { background: linear-gradient(135deg, #0f172a, #312e81); height: 100%; }
.watercolor-preview { background: linear-gradient(135deg, #bfdbfe, #fde68a); height: 100%; }
.luxury-preview { background: linear-gradient(135deg, #1f2937, #c084fc); height: 100%; }
.crystal-preview { background: linear-gradient(135deg, #38bdf8, #a5f3fc); height: 100%; }
.aurora-preview { background: linear-gradient(135deg, #0ea5e9, #22d3ee, #8b5cf6); height: 100%; }
.cyberpunk-preview { background: linear-gradient(135deg, #18181b, #f472b6); height: 100%; }
.galaxy-preview { background: linear-gradient(135deg, #111827, #4c1d95, #a855f7); height: 100%; }

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

.ratio-option {
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(248, 250, 255, 0.9);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.ratio-option.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.1));
    color: var(--accent-primary);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.mode-toggle-container {
    margin: 18px 0 16px;
}

.mode-toggle {
    display: flex;
    gap: 8px;
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    background: rgba(37, 99, 235, 0.08);
    padding: 6px;
}

.mode-option {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.mode-option i {
    font-size: 0.9rem;
}

.mode-option span {
    pointer-events: none;
}

.mode-option:hover {
    color: var(--accent-primary);
}

.mode-option.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(249, 115, 22, 0.14));
    border-color: rgba(37, 99, 235, 0.32);
    color: var(--accent-primary);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.16);
}

.step-navigation {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.quick-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.loading-state {
    margin-top: 20px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Preview & Export ===== */
.preview-container {
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.82), #ffffff 70%);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.preview-container::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.22), transparent 70%);
    pointer-events: none;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-quality-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    background: rgba(37, 99, 235, 0.12);
    border-radius: 999px;
    padding: 6px 12px;
}

.canvas-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.canvas-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.05);
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.canvas-container {
    background: rgba(15, 23, 42, 0.03);
    border-radius: 24px;
    border: 1px dashed rgba(37, 99, 235, 0.18);
    padding: 24px;
    display: grid;
    place-items: center;
}

canvas {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 20px;
    background: #f1f5ff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.download-options,
.share-options {
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.95);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 16px;
}

.download-buttons .btn {
    flex: 1 1 140px;
    min-width: 140px;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.12));
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--accent-primary);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.download-buttons .btn:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(249, 115, 22, 0.18));
    border-color: rgba(37, 99, 235, 0.28);
}

.download-info,
.share-info {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== CTA Strip ===== */
.cta-strip {
    padding: 90px 0;
    position: relative;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(249, 115, 22, 0.12));
    opacity: 0.65;
}

.cta-strip__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 44px 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-card);
}

.cta-strip__content h3 {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--text-primary);
    margin-bottom: 14px;
}

.cta-strip__content p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.cta-strip__content a {
    color: var(--accent-primary);
}

.cta-strip__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.1);
    margin-bottom: 18px;
}

/* ===== Footer ===== */
.site-footer {
    padding: 60px 0 40px;
    background: rgba(244, 247, 255, 0.9);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-footer__top {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.7fr));
    margin-bottom: 48px;
}

.site-footer__brand p {
    max-width: 360px;
    color: var(--text-secondary);
}

.site-footer__links h4,
.site-footer__social h4 {
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.site-footer__links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color var(--transition-base);
}

.site-footer__links a:hover {
    color: var(--accent-primary);
}

.site-footer__social p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    transition: border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.social-link:hover {
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-footer__bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .site-header__bar {
        grid-template-columns: auto auto auto;
        gap: 18px;
    }

    .site-nav {
        display: none;
    }

    .site-header__cta {
        display: none;
    }

    .site-header__toggle {
        display: grid;
        justify-self: end;
    }

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

    .hero__visual {
        order: -1;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .app-container[data-active-view="design"] .right-panel {
        display: none;
    }

    .app-container[data-active-view="preview"] .left-panel {
        display: none;
    }

    .generator-view-toggle {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1081px) {
    .generator-view-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .shell {
        width: min(100%, calc(100% - 32px));
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero__metrics {
        flex-direction: column;
        gap: 20px;
    }

    .hero-scene {
        padding: 32px;
    }

    .hero-card--primary {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 24px;
    }

    .hero-card--secondary {
        position: relative;
        right: auto;
        bottom: auto;
    }

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

    .template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ratio-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-container {
        display: block;
    }

    .left-panel,
    .right-panel {
        width: 100%;
        padding: 24px;
        box-shadow: none;
        border-radius: var(--radius-lg);
    }

    .app-container[data-active-view="design"] .right-panel {
        display: none;
    }

    .app-container[data-active-view="preview"] .left-panel {
        display: none;
    }

    .generator-view-toggle {
        position: sticky;
        top: 72px;
        z-index: 120;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(37, 99, 235, 0.1);
        margin-bottom: 18px;
    }

    .preview-container {
        padding: 20px;
        margin-bottom: 18px;
    }

    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .preview-actions {
        width: 100%;
        justify-content: space-between;
    }

    .canvas-info {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .canvas-info-item {
        font-size: 0.78rem;
        width: 100%;
        justify-content: flex-start;
    }

    .canvas-container {
        padding: 14px;
    }

    canvas {
        max-height: 340px;
    }

    .download-options,
    .share-options {
        padding: 20px;
    }

    .download-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .download-buttons .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .share-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .quick-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-social {
        width: 100%;
        justify-content: center;
    }

    .cta-strip__inner {
        flex-direction: column;
        text-align: center;
        padding: 34px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__eyebrow,
    .section-eyebrow,
    .cta-strip__eyebrow {
        font-size: 0.7rem;
    }

    .generator-view-toggle {
        width: 100%;
    }

    .site-logo__tagline {
        letter-spacing: 0.18em;
        font-size: 0.62rem;
    }

    .site-logo__badge {
        width: 46px;
        height: 46px;
    }
}

