/* ===== Public pages ===== */

.page-hero {
    padding: 9rem 1.5rem 4rem;
    text-align: center;
    position: relative;
}

.page-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* Entrance is pure CSS so the header is always visible even before/without JS */
.page-hero-inner.fade-in {
    opacity: 1;
    transform: none;
    animation: pageFadeUp 0.7s ease forwards;
}

@keyframes pageFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-hero-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: var(--grad-gold, linear-gradient(135deg, #d4af37, #895129));
    color: #0A0A0F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.page-hero p {
    color: var(--text-secondary, #a0a8b8);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

/* Generic content blocks */
.content-section {
    margin-bottom: 3.5rem;
}

.content-section h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: -0.01em;
}

.content-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.content-section p {
    color: var(--text-secondary, #a0a8b8);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.content-card {
    padding: 1.8rem 1.6rem;
    border-radius: 18px;
    background: var(--bg-card, #14161d);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow, 0 20px 40px rgba(0, 0, 0, 0.4));
}

.content-card .icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: rgba(137, 81, 41, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light, #e5c36b);
    margin-bottom: 1.1rem;
}

.content-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.content-card p { font-size: 0.9rem; margin-bottom: 0; }
.content-card a { color: var(--primary-light, #e5c36b); font-size: 0.85rem; font-weight: 600; }

/* Steps list */
.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.steps-list .step {
    text-align: left;
}

/* Legal / prose */
.prose {
    max-width: 860px;
}

.prose h2 { margin-top: 2.5rem; }

.prose ul {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--text-secondary, #a0a8b8);
    font-size: 0.96rem;
    line-height: 1.8;
}

.prose ul li { margin-bottom: 0.4rem; }

.prose .update-note {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--text-muted, #6b7280);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 30px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.5rem;
}

/* Asset pages */
.asset-hero {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.5rem;
}

.asset-hero h2 {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.8rem;
}

.asset-hero p { color: var(--text-secondary, #a0a8b8); line-height: 1.75; }

.asset-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.asset-fact {
    background: var(--bg-card, #14161d);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 1.4rem 1.3rem;
}

.asset-fact .af-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
}

.asset-fact .af-title i { color: var(--primary-light, #e5c36b); }
.asset-fact p { color: var(--text-secondary, #a0a8b8); font-size: 0.87rem; line-height: 1.6; margin: 0; }

.asset-cta {
    text-align: center;
    margin-top: 3.5rem;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(16, 185, 129, 0.06) 50%, rgba(59, 130, 246, 0.1));
}

.asset-cta h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.asset-cta p { color: var(--text-secondary, #a0a8b8); font-size: 0.92rem; margin-bottom: 1.4rem; }

.risk-note {
    border-left: 3px solid var(--primary, #d4af37);
    background: rgba(137, 81, 41, 0.08);
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    margin-top: 2.5rem;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary, #a0a8b8);
}

.risk-note strong { color: var(--text-primary, #f5f5f7); }

/* Investment page links */
.investment-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.investment-index-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.8rem 1.6rem;
    border-radius: 18px;
    background: var(--bg-card, #14161d);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    transition: all 0.3s ease;
}

.investment-index-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: var(--shadow, 0 20px 40px rgba(0, 0, 0, 0.4));
}

.investment-index-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(137, 81, 41, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-light, #e5c36b);
    margin-bottom: 1rem;
}

.investment-index-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.investment-index-card p { color: var(--text-secondary, #a0a8b8); font-size: 0.9rem; line-height: 1.65; margin-bottom: 0.9rem; }
.investment-index-card .card-link { color: var(--primary-light, #e5c36b); font-size: 0.85rem; font-weight: 700; }

@media (max-width: 640px) {
    .page-hero h1 { font-size: 2rem; }
    .content-grid { grid-template-columns: 1fr; }
    .steps-list { grid-template-columns: 1fr; }
    .investment-index-grid { grid-template-columns: 1fr; }
}
