/* ********** */
/* HOME PAGE SPECIFIC STYLES */
/* ********** */

@keyframes landingFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes landingFadeIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes landingFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.landing-fade-up {
    opacity: 0;
    animation: landingFadeUp 0.7s ease forwards;
}

/* ***** HERO ***** */

.landing-hero-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 55px 45px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #eef5fc 0%, #e4edf8 100%);
}

    .landing-hero-wrap::before,
    .landing-hero-wrap::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        filter: blur(10px);
        pointer-events: none;
    }

    .landing-hero-wrap::before {
        width: 380px;
        height: 380px;
        top: -160px;
        right: -120px;
        background: radial-gradient(circle, rgba(102, 153, 204, 0.35) 0%, rgba(102, 153, 204, 0) 70%);
    }

    .landing-hero-wrap::after {
        width: 320px;
        height: 320px;
        bottom: -160px;
        left: -100px;
        background: radial-gradient(circle, rgba(102, 153, 102, 0.25) 0%, rgba(102, 153, 102, 0) 70%);
    }

.landing-hero-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 50px;
}

.landing-hero-content {
    text-align: left;
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--sys-blue);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(102, 153, 204, 0.25);
    margin-bottom: 22px;
    animation-delay: 0.05s;
}

    .landing-hero-badge img {
        width: 14px;
        height: 14px;
        filter: var(--icon-filter-blue);
    }

.landing-hero-content h1 {
    background: linear-gradient(135deg, var(--sys-blue) 0%, var(--sys-blue-grad) 60%, #34517a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--sys-blue);
    font-size: 3.4rem;
    font-weight: 800;
    margin: 0 0 18px 0;
    font-family: var(--font-family-h1);
    letter-spacing: -1px;
    line-height: 1.08;
    animation-delay: 0.15s;
}

.landing-hero-tagline {
    font-size: 1.35rem;
    margin: 0 0 32px 0;
    color: var(--font-color-base);
    font-weight: 500;
    line-height: 1.5;
    animation-delay: 0.25s;
}

.landing-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    animation-delay: 0.35s;
}

    .landing-hero-actions a {
        flex: none;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    }

        .landing-hero-actions a:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
        }

.landing-hero-media {
    position: relative;
    z-index: 1;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-delay: 0.3s;
}

.landing-hero-img {
    border-radius: 12px;
    display: block;
}

.landing-hero-img-primary {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    border: 6px solid var(--white);
    box-shadow: 0 20px 45px rgba(30, 60, 100, 0.28);
}

.landing-hero-img-secondary {
    position: absolute;
    z-index: 3;
    width: 30%;
    max-width: 140px;
    right: -20px;
    bottom: -40px;
    border: 5px solid var(--white);
    box-shadow: 0 14px 30px rgba(30, 60, 100, 0.28);
    animation: landingFloat 5s ease-in-out infinite;
}

.landing-hero-img-tertiary {
    position: absolute;
    z-index: 1;
    width: 46%;
    max-width: 210px;
    left: -35px;
    bottom: -25px;
    border: 5px solid var(--white);
    box-shadow: 0 14px 30px rgba(30, 60, 100, 0.22);
    animation: landingFloat 6.5s ease-in-out infinite;
    animation-delay: 0.8s;
}

.landing-hero-floating-badge {
    position: absolute;
    z-index: 3;
    top: -14px;
    left: -18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transform: rotate(-4deg);
    animation: landingFloat 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

    .landing-hero-floating-badge-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--sys-blue) 0%, var(--sys-blue-grad) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .landing-hero-floating-badge-icon img {
            width: 16px;
            height: 16px;
            filter: brightness(0) invert(1);
        }

    .landing-hero-floating-badge-text {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--font-color-base);
        line-height: 1.3;
        white-space: nowrap;
    }

        .landing-hero-floating-badge-text span {
            display: block;
            font-size: 0.68rem;
            font-weight: 500;
            opacity: 0.65;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

@media (max-width: 992px) {
    .landing-hero-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-hero-content {
        text-align: center;
        order: 2;
    }

    .landing-hero-actions {
        justify-content: center;
    }

    .landing-hero-media {
        order: 1;
        min-height: auto;
        margin-bottom: 0;
    }

    .landing-hero-img-secondary,
    .landing-hero-img-tertiary {
        display: none;
    }

    .landing-hero-img-primary {
        max-width: 300px;
    }

    .landing-hero-floating-badge {
        left: 50%;
        top: -20px;
        transform: translateX(-50%) rotate(-3deg);
    }
}

/* ***** SECTION HEADER ***** */

.landing-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px auto;
}

.landing-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--sys-blue);
    background: rgba(102, 153, 204, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.landing-section-header h2 {
    font-size: 2.1rem;
    color: var(--font-color-base);
    margin: 0 0 12px 0;
    font-family: var(--font-family-h1);
    font-weight: 700;
}

.landing-section-header p {
    color: var(--font-color-base);
    opacity: 0.7;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* ***** TRUST BAR / STATS ***** */

.landing-trustbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 153, 204, 0.07), rgba(74, 123, 184, 0.1));
    border: 1px solid rgba(102, 153, 204, 0.18);
    border-radius: 20px;
    padding: 34px 15px;
    margin-bottom: 70px;
}

.landing-trust-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 6px 25px;
    position: relative;
}

    .landing-trust-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 56px;
        width: 1px;
        background: rgba(102, 153, 204, 0.25);
    }

.landing-trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

    .landing-trust-icon img {
        width: 20px;
        height: 20px;
        filter: var(--icon-filter-blue);
    }

.landing-trust-value {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, var(--sys-blue) 0%, var(--sys-blue-grad) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--sys-blue);
}

.landing-trust-label {
    font-size: 0.9rem;
    color: var(--font-color-base);
    opacity: 0.75;
    font-weight: var(--font-weight-base);
}

/* ***** FEATURE CARDS ***** */

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.landing-feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 44px 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(20, 40, 70, 0.06);
    transition: all 0.35s ease;
    border: 1px solid var(--back-bdr-grey);
    position: relative;
    overflow: hidden;
}

    .landing-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
    }

    .landing-feature-card.accent-blue::before {
        background: linear-gradient(90deg, var(--sys-blue) 0%, var(--sys-blue-grad) 100%);
    }

    .landing-feature-card.accent-gold::before {
        background: linear-gradient(90deg, #ffcc00 0%, #e6b800 100%);
    }

    .landing-feature-card.accent-green::before {
        background: linear-gradient(90deg, var(--sys-green) 0%, var(--sys-green-grad) 100%);
    }

    .landing-feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 36px rgba(20, 40, 70, 0.14);
    }

        .landing-feature-card:hover .landing-feature-icon {
            transform: scale(1.1) rotate(-4deg);
        }

.landing-feature-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.accent-blue .landing-feature-icon {
    background: linear-gradient(135deg, var(--sys-blue) 0%, var(--sys-blue-grad) 100%);
    box-shadow: 0 8px 18px rgba(102, 153, 204, 0.35);
}

.accent-gold .landing-feature-icon {
    background: linear-gradient(135deg, #ffcc00 0%, #e6b800 100%);
    box-shadow: 0 8px 18px rgba(255, 204, 0, 0.3);
}

.accent-green .landing-feature-icon {
    background: linear-gradient(135deg, var(--sys-green) 0%, var(--sys-green-grad) 100%);
    box-shadow: 0 8px 18px rgba(102, 153, 102, 0.3);
}

.landing-feature-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.landing-feature-card h3 {
    font-size: 1.35rem;
    font-weight: var(--font-weight-base);
    color: var(--font-color-base);
    margin: 0 0 14px 0;
    font-family: var(--font-family-base);
}

.landing-feature-card p {
    color: var(--font-color-base);
    margin: 0;
    line-height: 1.7;
    font-size: var(--font-size-base);
    opacity: 0.8;
}

/* ***** CHECKLIST ***** */

.landing-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 70px;
}

.landing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--back-bdr-grey);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

    .landing-feature-item:hover {
        box-shadow: 0 8px 22px rgba(102, 153, 204, 0.18);
        border-color: var(--sys-blue);
        transform: translateY(-4px);
    }

.landing-feature-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

    .landing-feature-item-icon.accent-blue {
        background: rgba(102, 153, 204, 0.12);
    }

    .landing-feature-item-icon.accent-green {
        background: var(--rag-green-bg);
    }

    .landing-feature-item-icon img {
        width: 20px;
        height: 20px;
    }

    .landing-feature-item-icon.accent-blue img {
        filter: var(--icon-filter-blue);
    }

    .landing-feature-item-icon.accent-green img {
        filter: var(--icon-filter-green);
    }

.landing-feature-text {
    color: var(--font-color-base);
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .landing-hero-wrap {
        padding: 40px 24px;
    }

    .landing-hero-content h1 {
        font-size: 2.4rem;
    }

    .landing-hero-tagline {
        font-size: 1.15rem;
    }

    .landing-section-header h2 {
        font-size: 1.7rem;
    }

    .landing-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .landing-features-list {
        grid-template-columns: 1fr;
    }

    .landing-trust-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .landing-trust-item {
        min-width: 45%;
    }
}

/* ***** TESTIMONIAL SPACING ***** */

.testimonial-spotlight {
    margin-bottom: 70px;
}
