body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.ag-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 20px;
}

.ag-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(59,130,246,0.05)" d="M0 0 L100 0 L100 100 L0 100 Z M20 20 L80 20 L80 80 L20 80 Z"/></svg>');
    background-size: 50px;
    opacity: 0.3;
    pointer-events: none;
}

.ag-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.ag-nav-link svg {
    width: 20px;
    height: 20px;
    stroke: #3b82f6;
    stroke-width: 1.8;
    fill: none;
}

.ag-nav-link:hover svg {
    stroke: white;
}

.ag-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.ag-subtitle {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #94a3b8;
    margin-bottom: 40px;
}

.ag-content {
    background: #f4f6fa;
    border-radius: 40px;
    padding: 50px;
    margin-top: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.ag-description {
    font-size: 17px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #e2e8f0;
}

.ag-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.ag-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.ag-feature:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 15px 30px -10px rgba(59,130,246,0.2);
}

.ag-feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ag-feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: #3b82f6;
    stroke-width: 1.5;
    fill: none;
}

.ag-feature-text {
    flex: 1;
}

.ag-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.ag-feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

.ag-advantages {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 32px;
    padding: 40px;
    margin-top: 30px;
}

.ag-advantages-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.ag-advantages-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.ag-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ag-advantage {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.ag-advantage:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.ag-advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ag-advantage-icon svg {
    width: 44px;
    height: 44px;
    stroke: #3b82f6;
    stroke-width: 1.5;
    fill: none;
}

.ag-advantage-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.ag-advantage-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.ag-image-block img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
    transition: transform 0.5s ease;
}

.ag-image-block:hover img {
    transform: scale(1.02);
}


@media (max-width: 992px) {
    .ag-title {
        font-size: 44px;
    }

    .ag-subtitle {
        font-size: 20px;
    }

    .ag-content {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .ag-hero {
        padding: 50px 0;
    }

    .ag-title {
        font-size: 32px;
    }

    .ag-subtitle {
        font-size: 18px;
    }

    .ag-content {
        padding: 25px;
    }

    .ag-description {
        font-size: 15px;
    }

    .ag-advantages {
        padding: 25px;
    }

    .ag-advantages-title {
        font-size: 24px;
    }

}

@media (max-width: 480px) {
    .ag-title {
        font-size: 26px;
    }

    .ag-subtitle {
        font-size: 16px;
    }

    .ag-feature {
        flex-direction: column;
        text-align: center;
    }

    .ag-feature-icon {
        width: 65px;
        height: 65px;
    }
}
@keyframes ag-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ag-hero, .ag-content, .ag-advantages {
    animation: ag-fadeInUp 0.6s ease forwards;
}

.ag-feature, .ag-advantage {
    animation: ag-fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.ag-feature:nth-child(1) { animation-delay: 0.1s; }
.ag-feature:nth-child(2) { animation-delay: 0.15s; }
.ag-feature:nth-child(3) { animation-delay: 0.2s; }
.ag-feature:nth-child(4) { animation-delay: 0.25s; }

.ag-advantage:nth-child(1) { animation-delay: 0.3s; }
.ag-advantage:nth-child(2) { animation-delay: 0.35s; }
.ag-advantage:nth-child(3) { animation-delay: 0.4s; }
.ag-advantage:nth-child(4) { animation-delay: 0.45s; }
.ag-advantage:nth-child(5) { animation-delay: 0.5s; }
