body.ms-landing-generator-body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #07080c;
    color: #f5f5f5;
}

body.ms-landing-generator-body .index-wrap {
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #25252a;
    --bg-surface: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --primary-color: #00d4ff;
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --turquoise: #2dd4bf;
    --turquoise-rgb: 45, 212, 191;
    --turquoise-light: #5eead4;
    --turquoise-dark-rgb: 20, 160, 145;
}

.index-wrap #loginModal .modal-overlay,
.index-wrap #signupModal .modal-overlay {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
}

.index-wrap #loginModal .modal-content,
.index-wrap #signupModal .modal-content {
    background: #1a1a1e !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5) !important;
}

.index-wrap #loginModal .auth-modal .modal-header,
.index-wrap #signupModal .auth-modal .modal-header,
.index-wrap #loginModal .auth-initial-view .modal-header,
.index-wrap #signupModal .auth-initial-view .modal-header,
.index-wrap #loginModal .auth-form-view .modal-header,
.index-wrap #signupModal .auth-form-view .modal-header,
.index-wrap #loginModal .auth-initial-view,
.index-wrap #loginModal .auth-form-view,
.index-wrap #signupModal .auth-initial-view,
.index-wrap #signupModal .auth-form-view,
.index-wrap #loginModal .social-login,
.index-wrap #loginModal .auth-form,
.index-wrap #signupModal .social-login,
.index-wrap #signupModal .auth-form,
.index-wrap #loginModal .auth-footer,
.index-wrap #signupModal .auth-footer {
    background: #1a1a1e !important;
}

.index-wrap #loginModal .auth-modal .modal-header,
.index-wrap #signupModal .auth-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dashboard-v2-body.ms-landing-generator-body:has(#msGeneratorPage) {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100dvh;
}

.ms-landing-generator-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.ms-landing-generator-top {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 12, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20;
}

.ms-landing-generator-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.ms-landing-generator-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.ms-landing-generator-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.ms-landing-generator-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.04);
}

.ms-landing-generator-actions a:hover {
    border-color: rgba(232, 197, 120, 0.45);
    color: #f5e6b8;
}

.ms-landing-generator-actions a.ms-landing-generator-cta {
    border-color: rgba(139, 92, 246, 0.45);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(255, 122, 26, 0.2));
}

.ms-landing-front-hero-strip {
    height: 10px;
    min-height: 10px;
    max-height: 10px;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.12);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75), rgba(18, 22, 22, 0.85));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ms-landing-generator-main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ms-landing-generator-main #msGeneratorPage {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

@keyframes msGuestHeroFade {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 14px));
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.ms-generator-canvas:has(.ms-guest-hero)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: rgba(0, 0, 0, 0.2);
}

.ms-guest-hero {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 4;
    pointer-events: none;
    padding: 16px 18px;
    text-align: center;
    animation: msGuestHeroFade 0.22s ease-out forwards;
    opacity: 0;
    background: none;
    transform: translateY(-50%);
}

.ms-guest-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ms-guest-hero-headline {
    max-width: min(920px, 92vw);
    margin: 0 0 9px;
    text-align: center;
    font-size: clamp(1.5rem, 2.95vw, 2rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.ms-guest-hero-line1 {
    color: #ffffff;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(0, 0, 0, 0.55);
}

.ms-guest-hero-line2 {
    color: #e8dcc0;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ms-guest-hero-sub {
    max-width: min(720px, 92vw);
    margin: 0 0 18px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(232, 232, 236, 0.9);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.42), 0 1px 2px rgba(0, 0, 0, 0.45);
}

.ms-guest-hero-proof {
    margin: 10px 0 0;
    max-width: 520px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 400;
    color: rgba(118, 120, 128, 0.68);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.ms-guest-hero-cta {
    border: 0;
    padding: 15px 30px;
    font: inherit;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: #2a2218;
    background: linear-gradient(145deg, #9e7230 0%, #b8883c 34%, #d4a860 62%, #b87838 100%);
    box-shadow:
        0 1px 0 rgba(255, 245, 220, 0.4) inset,
        0 0 22px rgba(212, 155, 75, 0.28),
        0 10px 26px rgba(95, 62, 28, 0.38);
    border-radius: 999px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s ease;
}

.ms-guest-hero-cta:hover {
    transform: translateY(-1px);
    color: #1f180f;
    box-shadow:
        0 1px 0 rgba(255, 250, 235, 0.55) inset,
        0 0 30px rgba(220, 165, 85, 0.38),
        0 12px 30px rgba(85, 52, 22, 0.45);
}

body.ms-landing-generator-body.ms-landing-generator-home-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100dvh;
    height: auto;
}

body.ms-landing-generator-body.ms-landing-generator-home-scroll .index-wrap {
    max-height: none;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible;
}

body.dashboard-v2-body.ms-landing-generator-body.ms-landing-generator-home-scroll:has(#msGeneratorPage) {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
}