/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, var(--primary) 0%, #0c1220 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--light);
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.container-feature {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--accent) 0%, var(--neon) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 17px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn:hover:after {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--text);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
}

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title span {
    background: linear-gradient(90deg, var(--accent), var(--neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--neon));
    border-radius: 2px;
}

/* Hero Section */
.services-hero {
    padding: 180px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
}

.services-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 60%);
    z-index: -1;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.services-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-header {
    padding: 40px 30px 30px;
    border-bottom: var(--border);
    position: relative;
    text-align: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--neon);
    border: var(--border);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content ul {
    list-style: none;
    margin: 25px 0;
    flex-grow: 1;
}

.service-content ul li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    padding-left: 35px;
    display: flex;
    align-items: center;
}

.service-content ul li:last-child {
    border-bottom: none;
}

.service-content ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--neon);
    position: absolute;
    left: 0;
    top: 15px;
}

.service-footer {
    padding: 0 30px 30px;
    text-align: center;
}

/* Features Section */
.features-section {
    background: var(--secondary);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-lg);
    padding: 35px;
    border: var(--border);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 48px;
    color: var(--neon);
    margin-bottom: 20px;
}

/* CTA Section */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0c1220 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-lg);
    padding: 60px;
    border: var(--border);
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.service-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 992px) {
    .services-hero {
        padding: 160px 0 60px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-container {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}