/**
 * Generate Pages — public SEO starter landing pages.
 * Extends snap landing visual language (ms-gp-*).
 */

.ms-gp {
    color: #f4f4f8;
}

.ms-gp-hero {
    padding: 48px 20px 56px;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.18), transparent 55%), #050508;
}

.ms-gp-hero__inner,
.ms-gp-section__inner {
    max-width: 980px;
    margin: 0 auto;
}

.ms-gp-hero__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.ms-gp-hero__logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: #fff;
}

.ms-gp-hero__badge {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.ms-gp-hero__headline {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.ms-gp-hero__subhead {
    margin: 0 0 1.5rem;
    text-align: center;
    color: #71717a;
    font-size: 1rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.ms-gp-composer__box {
    border: 1px solid rgba(124, 58, 237, 0.45);
    border-radius: 16px;
    background: rgba(12, 12, 18, 0.92);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.ms-gp-composer textarea {
    width: 100%;
    min-height: 96px;
    border: none;
    background: transparent;
    color: #f4f4f8;
    font: inherit;
    font-size: 15px;
    padding: 1rem 1rem 0.5rem;
    resize: vertical;
}

.ms-gp-composer textarea:focus { outline: none; }

.ms-gp-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ms-gp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.ms-gp-btn--primary {
    background: rgba(124, 58, 237, 0.22);
    border-color: rgba(124, 58, 237, 0.5);
    color: #ede9fe;
}

.ms-gp-btn--secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.ms-gp-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    color: #a1a1aa;
}

.ms-gp-btn--lg { padding: 12px 22px; font-size: 15px; }

.ms-gp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 1rem;
}

.ms-gp-chip {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(244, 244, 248, 0.9);
    font-size: 13px;
    padding: 8px 12px;
}

.ms-gp-chip--category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c4b5fd;
    border-color: rgba(124, 58, 237, 0.35);
}

.ms-gp-chip--prompt {
    cursor: pointer;
    max-width: 100%;
    text-align: left;
}

.ms-gp-chip--prompt:hover {
    border-color: rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.1);
}

.ms-gp-section {
    padding: 64px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ms-gp-section--alt { background: #0c0c12; }

.ms-gp-section__title {
    margin: 0 0 24px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ms-gp-card-grid,
.ms-gp-community-grid,
.ms-gp-format-grid {
    display: grid;
    gap: 18px;
}

.ms-gp-card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ms-gp-community-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ms-gp-format-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.ms-gp-template-card,
.ms-gp-community-card,
.ms-gp-format-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.ms-gp-template-card__media,
.ms-gp-community-card__media {
    aspect-ratio: 16 / 10;
    background: #111118;
}

.ms-gp-template-card__media img,
.ms-gp-community-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ms-gp-template-card__body,
.ms-gp-community-card__body {
    padding: 14px 16px 16px;
}

.ms-gp-template-card__meta,
.ms-gp-community-card__body p {
    margin: 4px 0 12px;
    font-size: 12px;
    color: #71717a;
}

.ms-gp-format-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ms-gp-format-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    transform: translateY(-2px);
}

.ms-gp-format-card span {
    font-size: 13px;
    color: #71717a;
}

.ms-gp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.ms-gp-steps li {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ms-gp-step-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    background: rgba(124, 58, 237, 0.2);
    color: #ddd6fe;
    margin-bottom: 4px;
}

.ms-gp-steps span:last-child {
    font-size: 13px;
    color: #71717a;
}

.ms-gp-faq {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.ms-gp-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.ms-gp-faq p {
    margin: 10px 0 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.55;
}

.ms-gp-cta {
    padding: 72px 20px 88px;
    text-align: center;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 58, 237, 0.15), transparent 70%), #050508;
}

.ms-gp-cta__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
}

.ms-gp-cta__sub {
    margin: 0 0 20px;
    color: #71717a;
}

@media (max-width: 640px) {
    .ms-gp-composer__footer { flex-direction: column; align-items: stretch; }
    .ms-gp-composer__cta { width: 100%; justify-content: center; }
}
