.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    padding: 120px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 217, 54, 0.26) 0, rgba(255, 217, 54, 0.1) 16%, rgba(255, 217, 54, 0) 30%),
        radial-gradient(circle at 86% 12%, rgba(246, 252, 255, 0.66) 0, rgba(246, 252, 255, 0.28) 24%, rgba(246, 252, 255, 0) 44%),
        linear-gradient(118deg, var(--primary) 0%, var(--primary) 68%, #F6FCFF 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 106, 167, 0.86) 0%, rgba(0, 106, 167, 0.66) 52%, rgba(0, 106, 167, 0.28) 100%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: #fff;
}

.hero-badge {
    margin-bottom: 28px;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 800;
    line-height: 1.08;
}

.hero p {
    max-width: 620px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.7;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 690px;
    margin-bottom: 34px;
}

.trust-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 28px rgba(0, 48, 78, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.trust-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.42);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(221, 226, 230, 0.84));
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        inset 0 -2px 0 rgba(84, 94, 102, 0.16);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-btn {
    min-width: 160px;
}

.hero-image-card {
    width: min(100%, 500px);
    justify-self: center;
    filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.22));
}

.hero-image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.company-grid,
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.company-card,
.partners-grid article {
    min-height: 240px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.company-card:hover,
.partners-grid article:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.company-card h3,
.partners-grid h3 {
    margin-bottom: 12px;
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 800;
}

.company-card p,
.partners-grid p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.company-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.portfolio-card,
.feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    min-height: 430px;
    overflow: hidden;
}

.portfolio-card:hover,
.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.portfolio-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 215px;
    padding: 28px;
    background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.portfolio-logo-panel img {
    display: block;
    width: min(78%, 210px);
    max-height: 150px;
    object-fit: contain;
}

.portfolio-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.portfolio-tag {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.portfolio-card h3,
.feature-card h3 {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 800;
}

.portfolio-card-body p,
.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-body);
    line-height: 1.7;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}

.portfolio-meta span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eff6ff;
    color: #006aa7;
    font-size: 12px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 24px;
    text-align: center;
}

.feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 106, 167, 0.3);
}

.section-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.stats-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 24px 16px;
    text-align: center;
}

.stat-number {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    font-weight: 600;
}

.cta-banner {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(122, 181, 230, 0.92), rgba(0, 106, 167, 0.84)),
        linear-gradient(45deg, #0f172a, #1d4ed8);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: #f1fdffff;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-inner h2 {
    margin-bottom: 16px;
    color: #006aa7;
    font-size: 40px;
    font-weight: 800;
}

.cta-inner p {
    max-width: 620px;
    margin: 0 auto 36px;
    color: #006aa7;
    font-size: 18px;
}

@media (max-width: 1120px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-card {
        width: min(100%, 420px);
    }

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

    .company-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 92px 0 60px;
    }

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

    .hero p {
        font-size: 16px;
    }

    .hero-trust-badges {
        flex-direction: column;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-image-card {
        width: min(100%, 340px);
    }

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

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

    .cta-inner h2 {
        font-size: 28px;
    }
}
