﻿
:root {
    scroll-behavior: smooth;
    --primary-color: #4154f1;
    --dark-neutral: #1f2937;
    --light-neutral: #f1f5f9;
    --white: #ffffff;
    --muted: #475569;
    --success-green: #10b981;
    --error-red: #ef4444;
}

main#main {
    margin-top: 3rem;
}

/* Tighter section paddings to match other pages */
.section-pad {
    padding: 30px 0;
}

.py-5 {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.py-4 {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* HERO */
.ag-hero {
    background: linear-gradient(135deg, var(--light-neutral), #e7ecf7);
}

    .ag-hero h1 {
        color: var(--dark-neutral);
        font-weight: 600;
        letter-spacing: -0.02em;
        margin-bottom: .25rem;
        font-size: 2.0rem;
    }

    .ag-hero p.lead {
        color: #475569;
        font-size: .9rem;
        margin-bottom: .75rem;
    }

/* CTA (compact) */
.cta {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: 8px 10px;
    border-radius: 12px;
    font-weight: 300;
    background: var(--primary-color);
    color: var(--white);
    border: 0;
    transition: transform .2s ease, opacity .2s ease;
    font-size: .9rem;
    line-height: 1;
    text-decoration: none;
}

    .cta.alt {
        background: #1f2937;
    }

    .cta:hover {
        transform: translateY(-1px);
        opacity: .92;
        color: var(--white);
    }

/* Info band */
.info-band {
    background: linear-gradient(135deg, rgba(65,84,241,.08), rgba(65,84,241,.02));
    border: 1px dashed rgba(65,84,241,.25);
    border-radius: 14px;
    padding: 10px 12px;
    color: #334155;
    font-size: .9rem;
}

/* Label + orb */
.label {
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(65,84,241,.08);
    border: 1px solid rgba(65,84,241,.15);
    padding: 3px 8px;
    border-radius: 999px;
}

.orb {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

    .orb::before {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 20px;
        background: radial-gradient(60% 60% at 30% 30%, rgba(65,84,241,.18), rgba(65,84,241,0));
    }

    .orb i {
        position: relative;
        font-size: 20px;
        color: var(--primary-color);
    }

/* Typography */
.section-title {
    color: var(--dark-neutral);
    font-weight: 600;
    letter-spacing: -.02em;
    margin: .4rem 0 .25rem;
    font-size: 1.75rem;
}

.sub {
    color: var(--muted);
    max-width: 60ch;
    font-size: .95rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(12, 1fr);
}

.span-12 {
    grid-column: span 12;
}

.span-lg-6 {
    grid-column: span 12;
}

@media (min-width: 992px) {
    .span-lg-6 {
        grid-column: span 6;
    }
}
/* fixed typo */
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Mini feature cards */
.mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
    margin-top: .6rem;
}

    .mini .item {
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 10px 12px;
        background: #fff;
        transition: transform .2s ease;
    }

        .mini .item:hover {
            transform: translateY(-2px);
        }

    .mini .title {
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 2px;
        font-size: .9rem;
    }

    .mini .desc {
        color: #475569;
        font-size: .85rem;
        margin: 0;
    }

/* Lists */
.check, .xlist {
    list-style: none;
    padding-left: 0;
    margin: .5rem 0 0;
}

    .check li, .xlist li {
        margin: .3rem 0;
        color: #334155;
        font-size: .9rem;
    }

        .check li:before {
            content: "\F26E";
            font-family: bootstrap-icons;
            margin-right: .4rem;
            font-size: .85rem;
            color: var(--success-green);
        }

        .xlist li:before {
            content: "\F623";
            font-family: bootstrap-icons;
            margin-right: .4rem;
            font-size: .85rem;
            color: var(--error-red);
        }

/* Cards */
.cardx {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 14px;
    height: 100%;
}

/* Full-width CTA */
.full-cta {
    background: linear-gradient(90deg, rgba(65,84,241,.12), rgba(65,84,241,.06));
    border: 1px solid rgba(65,84,241,.2);
    border-radius: 16px;
    padding: 12px 14px;
}

/* Utilities */
ul {
    padding: 0 !important;
}

@media (max-width: 991.98px) {
    .ag-hero h1 {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta {
        transition: none;
    }

    [data-aos] {
        transition: none !important;
        transform: none !important;
    }
}

