/* ============================================================================
 * Arcpoly Theme — Homepage specific styles
 * ========================================================================== */

@layer pages {

/* ----- Hero ----- */
.hero {
    position: relative;
    padding-block: clamp(4rem, 12vw, 8rem);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%,  rgba(245,77,45,0.15), transparent),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(245,77,45,0.05), transparent);
    z-index: -1;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--c-brand-soft);
    color: var(--c-brand);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-bottom: 1.5rem;
}
.hero__title {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: var(--ls-tight);
    font-weight: var(--fw-bold);
    max-width: 900px;
    margin-bottom: 1.25rem;
}
.hero__title strong {
    color: var(--c-brand);
    font-weight: inherit;
}
.hero__desc {
    font-size: var(--fs-lg);
    color: var(--c-text-dim);
    max-width: 640px;
    line-height: var(--lh-relaxed);
    margin-bottom: 2rem;
}
.hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.hero__stats {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
}
.hero__stat {
    border-left: 2px solid var(--c-brand);
    padding-left: 1rem;
}
.hero__stat-value {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--c-text);
    line-height: 1;
}
.hero__stat-label {
    margin-top: 0.5rem;
    color: var(--c-text-dim);
    font-size: var(--fs-sm);
}

/* ----- Apps showcase ----- */
.apps-showcase {
    background: var(--c-bg-1);
}

/* ----- Featured assets ----- */
.featured-assets__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
}

/* ----- USP / Why Arcpoly ----- */
.usp-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
    list-style: none;
    padding: 0;
}
.usp-list li {
    padding: 1.5rem;
    background: var(--c-bg-1);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
}
.usp-list h3 {
    font-size: var(--fs-lg);
    margin-bottom: 0.5rem;
}
.usp-list p {
    color: var(--c-text-dim);
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
}

/* ----- CTA bottom ----- */
.cta-band {
    background: linear-gradient(135deg, var(--c-brand) 0%, #d63d20 100%);
    border-radius: var(--r-2xl);
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
    color: var(--c-text-on-brand);
    margin: 3rem 0;
}
.cta-band h2 {
    color: var(--c-text-on-brand);
    font-size: var(--fs-4xl);
    margin-bottom: 1rem;
}
.cta-band p {
    max-width: 540px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.9);
    font-size: var(--fs-lg);
}
.cta-band .btn--brand {
    background: var(--c-bg-0);
    color: var(--c-text);
    border-color: var(--c-bg-0);
}
.cta-band .btn--brand:hover {
    background: var(--c-text);
    color: var(--c-bg-0);
}

} /* /@layer pages */
