/* Silverbowl – Homepage Specific Styles */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4rem;
    background: linear-gradient(135deg, #f0faf5 0%, #e8f4fd 50%, #f5f0ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230f7a4a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(15, 122, 74, .1);
    color: var(--color-primary-d);
    font-size: .78rem;
    font-weight: 700;
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 122, 74, .2);
}

.hero h1 {
    margin-bottom: 1.2rem;
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--color-text-2);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: .75rem;
    color: var(--color-text-3);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    width: 100%;
    max-width: 380px;
}

.income-pill {
    position: absolute;
    background: white;
    border-radius: 100px;
    padding: .45rem 1rem;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}

.pill1 {
    top: -18px;
    left: -30px;
    animation-delay: 0s;
    color: #0f7a4a;
}

.pill2 {
    top: 55px;
    right: -40px;
    animation-delay: .75s;
    color: #c62828;
}

.pill3 {
    bottom: 80px;
    left: -40px;
    animation-delay: 1.5s;
    color: #1565c0;
}

.pill4 {
    bottom: -18px;
    right: -20px;
    animation-delay: 2.25s;
    color: #6a1b9a;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.hero-chart-wrap {
    text-align: center;
}

.hero-chart-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}

.hero-bars {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    height: 120px;
    justify-content: center;
}

.bar {
    flex: 1;
    background: var(--color-primary-l);
    border-radius: 4px 4px 0 0;
    height: var(--h);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: height .5s ease;
    position: relative;
}

.bar.active {
    background: var(--color-primary);
}

.bar span {
    font-size: .62rem;
    color: var(--color-text-3);
    margin-top: .3rem;
    position: absolute;
    bottom: -1.4rem;
}

.bar.active span {
    color: var(--color-primary);
    font-weight: 700;
}

/* ── Authority ──────────────────────────────────────────────── */
.authority-section {
    background: var(--color-white);
}

.authority-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.authority-text .btn {
    margin-top: 1rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.trust-item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: var(--color-bg);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.trust-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: .9rem;
    margin-bottom: .2rem;
}

.trust-item small {
    font-size: .78rem;
    color: var(--color-text-3);
    line-height: 1.4;
}

/* ── Featured Posts ─────────────────────────────────────────── */
.featured-section {
    background: var(--color-bg);
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.75rem;
}

.featured-main {
    display: flex;
    flex-direction: column;
}

.featured-img-wrap {
    position: relative;
}

.featured-img-wrap img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.featured-main .card-body {
    flex: 1;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.featured-side-card {
    display: flex;
    gap: 0;
}

.featured-side-img {
    width: 110px;
    flex-shrink: 0;
}

.featured-side-img img {
    width: 110px;
    height: 85px;
    object-fit: cover;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.featured-side-card .card-body {
    padding: 1rem;
    flex: 1;
}

.featured-side-card .card-title {
    font-size: .93rem;
    margin-bottom: .5rem;
}

/* ── Categories ─────────────────────────────────────────────── */
.category-section {
    background: var(--color-white);
}

.cat-grid {
    margin-top: 2.5rem;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.cat-card:hover {
    background: var(--color-primary-l);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cat-icon {
    font-size: 2rem;
    line-height: 1;
}

.cat-card h4 {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 700;
    margin: 0;
}

.cat-card p {
    font-size: .82rem;
    color: var(--color-text-3);
    margin: 0;
    line-height: 1.5;
}

.cat-count {
    font-size: .72rem;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-l);
    padding: .15rem .6rem;
    border-radius: 100px;
}

/* ── Opt-in ─────────────────────────────────────────────────── */
.optin-section {
    background: linear-gradient(135deg, #0a3d26 0%, #0f5c3a 50%, #1a7a50 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.optin-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, .04) 0%, transparent 70%);
    border-radius: 50%;
}

.optin-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.optin-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}

.optin-text h2 {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.optin-text h2 em {
    color: var(--color-accent);
    font-style: normal;
}

.optin-text p {
    color: rgba(255, 255, 255, .75);
}

.optin-bullets {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .85);
}

.optin-bullets li {
    font-size: .9rem;
    margin-bottom: .5rem;
}

.optin-form-wrap {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-xl);
}

.optin-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--color-text);
}

.optin-disclaimer {
    font-size: .73rem;
    color: var(--color-text-3);
    text-align: center;
    margin-top: .75rem;
    margin-bottom: 0;
}

/* ── Latest Posts ───────────────────────────────────────────── */
.latest-section {
    background: var(--color-bg);
}

.card-cat-bar {
    height: 4px;
    width: 100%;
}

.latest-section .card {
    border: 1px solid var(--color-border);
}

/* ── FAQ Section ────────────────────────────────────────────── */
.faq-section {
    background: var(--color-white);
}

.faq-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.faq-left {
    position: sticky;
    top: 90px;
}

.faq-right {}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .authority-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .optin-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .faq-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-left {
        position: static;
    }

    .trust-badges {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3.5rem 0 3rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}