/* Explain: Page layout styles for hero, media, and call-to-action sections. */
/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    padding-block: clamp(56px, 9vw, 120px) clamp(44px, 6vw, 84px);
    text-align: center;
    overflow: hidden;
}

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

.hero-decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.planet {
    position: absolute;
    top: 4%;
    inset-inline-end: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(232, 203, 107, 0.55), rgba(212, 175, 55, 0.12) 45%, transparent 72%);
    filter: blur(2px);
    opacity: 0.8;
}

.planet--sm {
    top: auto;
    bottom: 6%;
    inset-inline-end: auto;
    inset-inline-start: -70px;
    width: 150px;
    height: 150px;
    opacity: 0.6;
}

.orbit-ring {
    position: absolute;
    top: -4%;
    inset-inline-end: -140px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.05rem, 7.6vw, 4.2rem);
    line-height: 1.2;
    background: linear-gradient(120deg, #FFFFFF 8%, #F1D98A 46%, var(--primary-color) 84%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-text {
    max-width: 700px;
    margin: 22px auto 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.6vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions .btn-gold { width: min(100%, 400px); }
.hero-actions .btn-ghost { width: min(100%, 240px); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    max-width: 660px;
    margin: 48px auto 0;
    padding: 0;
    list-style: none;
}

.hero-stats li {
    padding: 18px 10px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.hero-stats strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--primary-color);
}

.hero-stats span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

/* ---------- Media frame ---------- */
.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    aspect-ratio: 4 / 3;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.9);
}

.media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.72));
}

/* ---------- CTA panel ---------- */
.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 64px) clamp(22px, 5vw, 56px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background:
        radial-gradient(700px 300px at 80% 0%, rgba(212, 175, 55, 0.22), transparent 60%),
        var(--surface-strong);
    text-align: center;
}

.cta-panel .btn-gold {
    width: min(100%, 420px);
    margin-top: 26px;
}

/* ---------- Misc ---------- */
.page-hero {
    position: relative;
    padding-block: clamp(48px, 7vw, 88px) clamp(30px, 4vw, 52px);
    text-align: center;
    overflow: hidden;
}

.page-hero h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.2;
    background: linear-gradient(120deg, #FFFFFF 10%, #F1D98A 50%, var(--primary-color) 86%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-hero p {
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.4vw, 1.12rem);
}

.step-num {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}