/* ==========================================================================
   Go Design Patterns — Landing / Hero Page Styles
   OpenRouter-inspired minimal design
   ========================================================================== */

/* ---------- Hero Section ---------- */
.gp-hero {
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.gp-hero__gopher {
    width: 120px;
    height: auto;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-bottom: 2rem;
}

.gp-hero__gopher:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.gp-hero__title {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: var(--gp-text) !important;
    letter-spacing: -0.03em;
    line-height: 1.15 !important;
    margin: 0 0 1rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.gp-hero__subtitle {
    font-size: 1.125rem;
    color: var(--gp-text-muted);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.gp-hero__subtitle strong {
    color: var(--gp-text);
    font-weight: 600;
}

/* ---------- Stat Badges ---------- */
.gp-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.gp-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gp-bg-secondary);
    border: 1px solid var(--gp-border);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-text-secondary);
    transition: border-color 0.2s ease;
}

.gp-stat:hover {
    border-color: var(--gp-primary);
}

.gp-stat__icon {
    font-size: 1.1em;
    opacity: 0.8;
}

.gp-stat__number {
    color: var(--gp-text);
    font-weight: 600;
}

/* ---------- CTA Buttons ---------- */
.gp-cta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.gp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    cursor: pointer;
}

.gp-cta__btn--primary {
    background: var(--gp-primary);
    color: #FFFFFF !important;
    border: 1px solid var(--gp-primary) !important;
}

.gp-cta__btn--primary:hover {
    background: var(--gp-primary-hover);
    border-color: var(--gp-primary-hover) !important;
}

.gp-cta__btn--secondary {
    background: transparent;
    border: 1px solid var(--gp-border) !important;
    color: var(--gp-text) !important;
}

.gp-cta__btn--secondary:hover {
    border-color: var(--gp-text-muted) !important;
    background: var(--gp-bg-secondary);
}

/* ---------- Category Cards Grid ---------- */
.gp-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.gp-card {
    background: var(--gp-bg-secondary);
    border: 1px solid var(--gp-border);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: left;
    text-decoration: none !important;
    color: var(--gp-text) !important;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex;
    flex-direction: column;
}

.gp-card:hover {
    border-color: var(--gp-primary);
    background: var(--gp-bg-tertiary);
}

.gp-card__icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1;
    opacity: 0.9;
}

.gp-card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gp-text) !important;
}

.gp-card__desc {
    font-size: 13px;
    color: var(--gp-text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0.75rem;
}

.gp-card__count {
    font-size: 12px;
    font-weight: 500;
    color: var(--gp-text-secondary);
}

/* ---------- Divider ---------- */
.gp-divider {
    width: 100%;
    height: 1px;
    background: var(--gp-border);
    border: none;
    margin: 3rem auto;
}

/* ---------- Footer Note ---------- */
.gp-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--gp-text-muted);
    font-size: 14px;
}

.gp-footer p {
    margin: 0;
}

.gp-footer a {
    color: var(--gp-link) !important;
    font-weight: 500;
    transition: color 0.15s ease;
}

.gp-footer a:hover {
    color: var(--gp-link-hover) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .gp-hero__title {
        font-size: 2.4rem !important;
    }

    .gp-hero__subtitle {
        font-size: 1rem;
    }

    .gp-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gp-stats {
        gap: 0.5rem;
    }

    .gp-stat {
        font-size: 0.8rem;
        padding: 0.4em 0.9em;
    }

    .gp-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gp-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .gp-hero__title {
        font-size: 2.8rem !important;
    }
}
