﻿/* ============================================================
   PRYZMA SaaS Starter — /starter page
   Builds on main.css (variables, cards, buttons, pricing).
   ============================================================ */

/* ── Hero ── */
.st-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 5rem;
}

.st-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
}
    /* Grid items may shrink below their content width (the code card scrolls instead). */
    .st-hero-inner > * {
        min-width: 0;
    }

.st-hero .hero-title {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    overflow-wrap: break-word;
}

.st-hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 2rem;
    animation: fadeUp 0.7s 0.4s ease both;
}

    .st-hero-points li {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.9rem;
        color: var(--text-dim);
    }

    .st-hero-points i {
        color: var(--green);
    }

.st-hero-visual .code-card {
    white-space: nowrap;
    overflow-x: auto;
}

/* ── Shared ── */
/* Anchors land below the fixed header. */
#inside, #pricing, #faq {
    scroll-margin-top: 70px;
}

.st-center {
    text-align: center;
}

    .st-center .section-label {
        justify-content: center;
    }

.st-center-desc {
    margin: 0 auto;
    max-width: 720px;
}

/* ── Problem ── */
.st-problem {
    background: var(--bg2);
}

.st-why-grid {
    margin-top: 3rem;
}

/* ── Details ── */
.st-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.st-details-buttons {
    margin-top: 2rem;
    animation: none;
}

/* ── Audience ── */
.st-audience {
    background: var(--bg2);
}

.st-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ── Pricing ── */
.st-pricing {
    background: linear-gradient(160deg, #08091f 0%, #0f1035 45%, #10082a 100%);
}

    .st-pricing .pricing-row-title .section-label {
        justify-content: center;
    }

    .st-pricing .pricing-row-title h3 {
        font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    }

.st-audience-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.st-regular-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

    .st-regular-price span {
        display: inline-block;
        margin-left: 0.35rem;
        padding: 0.1rem 0.55rem;
        border-radius: 50px;
        background: rgba(240,192,64,0.12);
        border: 1px solid rgba(240,192,64,0.3);
        color: var(--gold);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

/* ── FAQ ── */
.st-faq-list {
    max-width: 820px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.st-faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 1.5rem;
    transition: border-color 0.2s, background 0.2s;
}

    .st-faq-item[open] {
        background: var(--surface-hover);
        border-color: rgba(67,97,238,0.3);
    }

    .st-faq-item summary {
        cursor: pointer;
        list-style: none;
        padding: 1.2rem 0;
        font-family: 'Syne', sans-serif;
        font-weight: 700;
        font-size: 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

        .st-faq-item summary::-webkit-details-marker {
            display: none;
        }

        .st-faq-item summary::after {
            content: '+';
            font-size: 1.4rem;
            color: var(--accent-light);
            line-height: 1;
            transition: transform 0.2s;
        }

    .st-faq-item[open] summary::after {
        transform: rotate(45deg);
    }

    .st-faq-item p {
        color: var(--text-dim);
        font-size: 0.93rem;
        padding-bottom: 1.25rem;
    }

    .st-faq-item a {
        color: var(--accent-light);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* ── Final call to action ── */
.st-final-card {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(67,97,238,0.3);
    background: radial-gradient(circle at 20% 0%, rgba(67,97,238,0.25), transparent 55%), radial-gradient(circle at 80% 100%, rgba(240,192,64,0.12), transparent 55%), var(--bg2);
}

    .st-final-card h2 {
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        margin-bottom: 0.75rem;
    }

    .st-final-card p {
        color: var(--text-dim);
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

.st-final-buttons {
    justify-content: center;
    animation: none;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .st-audience-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 992px) {
    .st-hero-inner, .st-two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .st-hero {
        padding: 4rem 1.5rem 3rem;
    }

    .st-hero-visual {
        display: block;
    }

    .st-final-card {
        padding: 3rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .st-final-buttons {
        flex-direction: column;
    }

    .st-hero .hstat-num {
        font-size: 1.15rem;
        white-space: nowrap;
    }
}
