/* Home page */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(rgba(5,10,20,.72), rgba(5,10,20,.72)), url("../img/hero.jpg") center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(37,99,235,.22), transparent 28%), radial-gradient(circle at 80% 70%, rgba(59,130,246,.14), transparent 30%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.35), transparent 30%);
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: #fff;
    animation: fadeUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(14px);
    margin-bottom: 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
}

.hero h1 {
    font-size: 78px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    max-width: 820px;
}

.subtitle {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255,255,255,.82);
    max-width: 720px;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 18px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat {
    min-width: 180px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(18px);
    animation: fadeUp 1s ease;
}

.stat strong {
    display: block;
    font-size: 32px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat span {
    font-size: 14px;
    color: rgba(255,255,255,.76);
}

.hero-card {
    display: flex;
    justify-content: flex-end;
    animation: fadeUp 1s ease;
}

.glass-card {
    width: 100%;
    max-width: 400px;
    padding: 34px;
    border-radius: 32px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(24px);
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.glass-card h3 {
    font-size: 30px;
    margin-bottom: 14px;
}

.glass-card p {
    color: rgba(255,255,255,.82);
    line-height: 1.8;
}

.card-divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 24px 0;
}

.card-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.card-row span {
    color: rgba(255,255,255,.70);
}

.card-row strong {
    font-weight: 600;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60%;
    height: 4px;
    border-radius: 20px;
    background: linear-gradient(90deg,var(--accent),transparent);
}

.services {
    position: relative;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, rgba(37,99,235,.06), transparent 30%), radial-gradient(circle at 90% 70%, rgba(59,130,246,.06), transparent 30%);
    pointer-events: none;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 26px;
    perspective: 1000px;
}

.card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.60);
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    transition: all .3s ease;
    animation: fadeUp .8s ease both;
    cursor: pointer;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(37,99,235,.10), transparent 35%);
    opacity: 0;
    transition: .3s ease;
}

.card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(37,99,235,.12);
    top: -80px;
    right: -80px;
    opacity: 0;
    transition: .35s ease;
}

.card:hover::before,
.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(15,23,42,.14);
}

    .card .icon {
        width: calc(100% + 60px);
        height: 180px;
        margin: -30px -30px 24px -30px;
        object-fit: cover;
        display: block;
        border-radius: 30px 30px 0 0;
        transition: .4s ease;
    }

    .card:hover .icon {
        transform: scale(1.05);
    }

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.card p {
    color: var(--muted);
    margin-bottom: 22px;
    min-height: 52px;
}

.advantages {
    background: linear-gradient(to bottom, transparent, rgba(37,99,235,.03));
}

.adv-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
    list-style: none;
}

.adv-list li {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.70);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    font-size: 16px;
    transition: .25s ease;
}

.adv-list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15,23,42,.10);
}

.cta .container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#1d4ed8,#2563eb);
    border-radius: 40px;
    padding: 70px 50px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(37,99,235,.28);
}

.cta .container::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -200px;
    right: -120px;
}

.cta h2 {
    position: relative;
    z-index: 2;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    position: relative;
    z-index: 2;
    font-size: 18px;
    color: rgba(255,255,255,.86);
    margin-bottom: 30px;
}

.cta .btn-primary {
    background: #fff;
    color: #2563eb;
}

.cta .btn-primary:hover {
    background: #f3f6fc;
}

.footer {
    background: #0f172a;
    color: #fff;
    padding: 90px 0 50px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(37,99,235,.08);
    top: -250px;
    right: -180px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 18px;
}

.footer p,
.footer li,
.footer a {
    color: rgba(255,255,255,.70);
    margin-bottom: 10px;
    list-style: none;
    transition: .2s ease;
}

.footer a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icons a {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    transition: .25s ease;
}

.social-icons a:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-3px);
}

.hero,
.card,
.glass-card,
.stat {
    will-change: transform;
}

@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-card {
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 58px;
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 70px;
        min-height: auto;
        text-align: left;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: 17px;
    }

    .hero-stats {
        flex-direction: column;
    }

    .stat {
        width: 100%;
    }

    .section-title {
        font-size: 32px;
    }

    .adv-list {
        grid-template-columns: 1fr;
    }

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

    .cta .container {
        padding: 50px 28px;
    }

    .cta h2 {
        font-size: 34px;
    }

    .glass-card {
        max-width: 100%;
        padding: 26px;
    }

    .card {
        padding: 24px;
    }

    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero-badge {
        font-size: 12px;
    }
}
.service-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.card {
    overflow: hidden;
}
    .card h3 {
        font-size: 30px;
        font-weight: 700;
    }

    .card p {
        min-height: auto;
    }

    .card .btn {
        margin-top: auto;
        background: #2563eb;
        color: white !important;
        border: none;
        padding: 12px 20px;
        border-radius: 14px;
        font-weight: 600;
        box-shadow: 0 8px 20px rgba(37,99,235,.25);
        transition: .25s ease;
    }

        .card .btn:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
        }

.card {
    min-height: 360px;
}
