/* cover.css — Styles for the Index / cover page. */

/* The page has a dark gradient background that pairs well with the
   three Bold Reports sample images in the cards below. The gradient
   also complements the dark theme toolbar used on Viewer/Designer. */
body.cover-page {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: #f5f7fa;
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Hero --------------------------------------------------------------- */
.cover-hero {
    text-align: center;
    padding: 64px 24px 32px;
    max-width: 960px;
    margin: 0 auto;
}

.cover-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7ad3ff;
    margin-bottom: 16px;
    font-weight: 600;
}

.cover-brand::before,
.cover-brand::after {
    content: "";
    flex: 0 0 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7ad3ff, transparent);
}

.cover-title {
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 700;
    background: linear-gradient(120deg, #ffffff 0%, #7ad3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cover-tagline {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(245, 247, 250, 0.78);
    margin: 0 auto 32px;
    max-width: 680px;
}

.cover-cta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.cover-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 1px solid transparent;
}

.cover-cta a.btn-primary {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.35);
}

.cover-cta a.btn-primary:hover {
    background: #0b8af0;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 123, 255, 0.5);
}

.cover-cta a.btn-success {
    background: #28a745;
    color: #fff;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.35);
}

.cover-cta a.btn-success:hover {
    background: #2fbb52;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(40, 167, 69, 0.5);
}

.cover-cta a.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cover-cta a.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

/* Feature gallery ---------------------------------------------------- */
.cover-features {
    max-width: 960px;
    margin: 32px auto 64px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 760px) {
    .cover-features {
        /* On wider viewports, center a single image card with a fixed max width
           so the aspect ratio looks intentional rather than stretched. */
        max-width: 760px;
    }
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 211, 255, 0.5);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.feature-card .feature-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: rgba(0, 0, 0, 0.2);
}

.feature-card .feature-body {
    padding: 20px 22px 24px;
}

.feature-card .feature-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #fff;
}

.feature-card .feature-desc {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(245, 247, 250, 0.72);
    margin: 0;
}

/* External links strip ---------------------------------------------- */
.cover-resources {
    max-width: 960px;
    margin: 0 auto 48px;
    padding: 0 24px;
    text-align: center;
}

.cover-resources h3 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245, 247, 250, 0.55);
    margin: 0 0 16px;
    font-weight: 600;
}

.cover-resources .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
}

.cover-resources a {
    color: #7ad3ff;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.cover-resources a:hover {
    color: #fff;
    background: rgba(122, 211, 255, 0.12);
}

/* Override the layout's default min-height on the body wrapper so the
   cover can grow with content instead of being clipped. */
body.cover-page #bodyWrap,
body.cover-page .body-content {
    min-height: auto;
}

/* Footer note */
.cover-foot {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: rgba(245, 247, 250, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cover-foot a {
    color: rgba(245, 247, 250, 0.65);
    text-decoration: none;
    border-bottom: 1px dotted rgba(245, 247, 250, 0.4);
}

.cover-foot a:hover {
    color: #7ad3ff;
    border-bottom-color: #7ad3ff;
}
