/* Use-cases landing page (use-cases/landing.php). Loaded by that page only. */

.landing-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.landing-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff; /* global h1 rule sets var(--text-dark), invisible on the dark hero gradient */
}

.landing-hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.use-case-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.use-case-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #2563eb;
}

.use-case-card-body {
    padding: 1.5rem;
}

.use-case-card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.use-case-card-body p {
    color: #64748b;
    margin-bottom: 1rem;
}

.use-case-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #e0e7ff;
    color: #2563eb;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.category-section {
    padding: 4rem 0;
}

.guides-crosslink {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.25rem 1.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    color: #1e293b;
    font-size: 1.0625rem;
}

.guides-crosslink i {
    color: #2563eb;
    font-size: 1.5rem;
}

.guides-crosslink a {
    color: #2563eb;
    font-weight: 700;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

/* Every second category section */
.category-section-alt {
    background-color: #f8fafc;
}

/* Call to action above the footer */
.landing-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.landing-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.landing-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
}
