@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700&family=Aldrich&display=swap');

/* ── Reset ─────────────────────────────────────────────────────────────────── */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
    color: #0B0B0C;
    background: #EEF1F5;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Layout helpers ────────────────────────────────────────────────────────── */

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 600px;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
    background: #0B0B0C;
    background-image: radial-gradient(circle, rgba(206, 213, 220, 0.08) 0.8px, transparent 0.8px);
    background-size: 24px 24px;
    color: #fff;
    text-align: center;
    padding: 5rem 1.5rem 4.5rem;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-family: 'Aldrich', 'Maven Pro', Arial, sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FF3718;
    border: 1px solid #FF3718;
    border-radius: 100px;
    padding: 0.3rem 1rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero-sub {
    color: #A8B2BF;
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    font-family: 'Maven Pro', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 6px;
    padding: 0.8rem 2rem;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-accent {
    background: #FF3718;
    color: #fff;
}

.btn-accent:hover {
    background: #e02e12;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */

.section {
    padding: 4.5rem 0;
}

.section--grow {
    flex: 1;
}

.section-alt {
    background: #FFFFFF;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #0B0B0C;
}

/* ── Steps (how it works) ──────────────────────────────────────────────────── */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0B0B0C;
    color: #fff;
    font-family: 'Aldrich', 'Maven Pro', Arial, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step p {
    color: #5C6B7E;
    font-size: 0.93rem;
}

/* ── Features (what you get) ───────────────────────────────────────────────── */

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature {
    background: #F5F7FA;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #CCD3DC;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #0B0B0C;
    color: #FF3718;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.feature p {
    color: #5C6B7E;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ── Subscribe card ────────────────────────────────────────────────────────── */

.card {
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #CCD3DC;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.card-desc {
    text-align: center;
    color: #5C6B7E;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}


/* ── Spinner ───────────────────────────────────────────────────────────────── */

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 0.4rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Explore / PowerBI embed ───────────────────────────────────────────────── */

.explore-desc {
    text-align: center;
    color: #5C6B7E;
    font-size: 0.95rem;
    max-width: 600px;
    margin: -1.5rem auto 2rem;
}

.explore-note {
    text-align: center;
    color: #A8B2BF;
    font-size: 0.82rem;
    margin-top: 0.75rem;
}

.powerbi-wrapper {
    position: relative;
    width: 100%;
    /* Proportional: canvas 1366×768 + ~100px toolbar buffer */
    height: 0;
    padding-bottom: calc(100% * 868 / 1366);  /* ≈ 63.5% */
    min-height: 260px;
    border-radius: 8px;
    border: 1px solid #CCD3DC;
    overflow: hidden;
    background: #F5F7FA;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.powerbi-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #5C6B7E;
    font-size: 0.9rem;
    z-index: 1;
}

.powerbi-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.powerbi-wrapper iframe.loaded {
    opacity: 1;
}

.spinner--dark {
    border-color: #CCD3DC;
    border-top-color: #0B0B0C;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

footer {
    background: #0B0B0C;
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #5C6B7E;
    font-size: 0.85rem;
}

.footer-brand {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 0.3rem;
}

/* ── Scroll-reveal animation ──────────────────────────────────────────────── */

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
}

.reveal.visible {
    animation: reveal-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

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

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1.5rem 1.25rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}
