/* Home page scoped styles (.au-home) - avoid interfering with global header/footer */
.au-home {
    --grad-start: #0d1224;
    --grad-mid: #111e3a;
    --grad-end: #1e2a4d;
    --accent: #6366f1;
    --accent2: #8b5cf6;
    --radius: 22px;
}

.au-home .home-hero {
    position: relative;
    padding: 72px 0;
    background: linear-gradient(135deg, #0d1117 0%, #172337 45%, #1e2a48 100%);
}

.au-home .home-hero .hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, .35), transparent 60%), radial-gradient(circle at 70% 60%, rgba(139, 92, 246, .25), transparent 65%);
}

.au-home .home-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.5px;
    background: linear-gradient(90deg, #fff, #cdd5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.au-home .home-hero .sub {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #c2cbe2;
    max-width: 820px;
    margin: 24px auto 36px;
}

.au-home .primary-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.au-home .btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 18px -4px rgba(99, 102, 241, .55);
    border: none;
    cursor: pointer;
}

.au-home .btn-pill:hover {
    box-shadow: 0 10px 28px -6px rgba(99, 102, 241, .55);
}

.au-home .btn-outline {
    background: #1c2b44;
    color: #d7e3f9;
    border: 1px solid #2d405f;
}

.au-home .btn-outline:hover {
    background: #243651;
    color: #fff;
}

/* Feature grid */
.au-home .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.au-home .feature-card {
    position: relative;
    background: linear-gradient(135deg, #142034, #1d2d47);
    border: 1px solid #263b57;
    border-radius: 18px;
    padding: 20px 18px;
    overflow: hidden;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
}

.au-home .feature-card:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, rgba(99, 102, 241, .4), transparent 65%);
    opacity: 0;
}

.au-home .feature-card:hover {
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55);
}

.au-home .feature-card:hover:before {
    opacity: 1;
}

.au-home .icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    box-shadow: 0 4px 14px -4px rgba(99, 102, 241, .6);
}

.au-home .feature-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #f0f6ff;
}

.au-home .feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #b5c3d8;
}

.au-home .feature-card a {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: #8ba7ff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.au-home .feature-card a:hover {
    color: #c4d4ff;
}

/* Category strip */
.au-home .categories-strip {
    margin-top: 72px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
}

.au-home .cat-pill {
    position: relative;
    padding: 16px 18px;
    border-radius: 16px;
    background: #17263d;
    border: 1px solid #253a55;
    color: #d2e2f7;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.au-home .cat-pill svg {
    width: 18px;
    height: 18px;
}

.au-home .cat-pill:hover {
    background: #1f3453;
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
}

/* Spotlight section */
.au-home .spotlight {
    margin-top: 90px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.au-home .spotlight-card {
    position: relative;
    border: 1px solid #273b57;
    border-radius: 22px;
    background: linear-gradient(145deg, #142034, #1c2b45);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
}

.au-home .spotlight-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 20%, rgba(139, 92, 246, .4), transparent 70%);
    opacity: 0;
}

.au-home .spotlight-card:hover:after {
    opacity: .55;
}

.au-home .spotlight-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f6f9ff;
}

.au-home .spotlight-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #b7c7dc;
}

.au-home .spotlight-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #b5c3d8;
}

.au-home .spotlight-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.au-home .spotlight-card a {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 10px;
    background: #243651;
    color: #d8e7fb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.au-home .spotlight-card a:hover {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: #fff;
}

/* Trust strip */
.au-home .trust-strip {
    margin: 100px auto 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: .85;
}

.au-home .trust-strip figure {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.au-home .trust-strip svg {
    color: #6366f1;
}

.au-home .trust-strip figcaption {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .5px;
    color: #cbd5e1;
}

.au-home .trust-strip figure:hover svg {
    color: #8b5cf6;
}

.au-home .trust-strip figure:hover figcaption {
    color: #fff;
}

/* Newsletter Section */
.au-home .newsletter-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid #334155;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.au-home .newsletter-content {
    flex: 1;
    min-width: 300px;
}

.au-home .newsletter-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.au-home .newsletter-content p {
    color: #94a3b8;
    line-height: 1.6;
}

.au-home .newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

.au-home .newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #fff;
    outline: none;
}

.au-home .newsletter-form input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Bottom CTA */
.au-home .bottom-cta {
    margin: 60px auto 40px;
    max-width: 960px;
    text-align: center;
    padding: 70px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 30%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 18px 40px -10px rgba(76, 92, 219, .55);
}

.au-home .bottom-cta h2 {
    margin: 0 0 20px;
    font-size: clamp(2rem, 4.8vw, 3rem);
    font-weight: 700;
    letter-spacing: -.5px;
}

.au-home .bottom-cta p {
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 1.55;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.au-home .bottom-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

/* Animations removed as per request */
.au-home .fade-in-up {
    opacity: 1;
    transform: none;
}


/* Mobile Optimizations */
@media (max-width: 768px) {
    .au-home .feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .au-home .categories-strip {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .au-home .spotlight {
        grid-template-columns: 1fr;
    }

    .au-home .bottom-cta {
        padding: 60px 28px;
    }

    .au-home .newsletter-box {
        flex-direction: column;
        text-align: center;
    }

    .au-home .newsletter-form {
        width: 100%;
        flex-direction: column;
    }

    /* Touch improvements */
    .au-home .group,
    .au-home .feature-card,
    .au-home .spotlight-card,
    .au-home .btn-pill {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(79, 70, 229, 0.1);
        touch-action: manipulation;
    }

    .au-home .group:active,
    .au-home .feature-card:active,
    .au-home .spotlight-card:active {
        transform: scale(0.98) !important;
        opacity: 0.9;
    }
}