/* Основные настройки */
:root {
    --primary-color: #34507c; /* Темно-синий */
    --primary-dark: #283c5f; /* Более темный оттенок синего */
    --primary-light: #4a6593; /* Более светлый оттенок синего */
    --secondary-color: #f59e0b; /* Янтарный/золотой */
    --secondary-dark: #d97706; /* Более темный оттенок янтарного */
    --secondary-light: #fbbf24; /* Более светлый оттенок янтарного */
    --accent-color: #6366f1; /* Акцентный фиолетовый */
    --success-color: #10b981; /* Зеленый для успеха */
    --danger-color: #ef4444; /* Красный для ошибок */
    --text-color: #4b5563; /* Серый для текста */
    --heading-color: #1f2937; /* Темно-серый для заголовков */
    --light-text-color: #f9fafb;
    --light-bg-color: #f9fafb;
    --dark-bg-color: #1e293b;
    --gray-color: #9ca3af;
    --border-color: #e5e7eb;
    --input-bg: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 4px 14px rgba(52, 80, 124, 0.15);
    --shadow-amber: 0 4px 14px rgba(245, 158, 11, 0.15);
    --transition: all 0.3s ease;
    --radius: 0.5rem; /* Скругление углов */
    --radius-lg: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    font-size: 1.05rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.alert.alert-primary {
	position: relative;
    margin-top: 90px;
    text-align: center;
    display: block;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert.alert-danger{
	position: relative;
    margin-top: 90px;
    text-align: center;
    display: block;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.section-description {
    text-align: center;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-amber);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Шапка сайта */
header {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.logo i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 1.8rem;
}

nav ul.desktop-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul.desktop-menu li {
    margin-left: 32px;
}

nav ul.desktop-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}
.scrolled nav ul.desktop-menu li a, .scrolled .logo a {
	color: var(--light-text-color);
}
nav ul.desktop-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul.desktop-menu li a:hover {
    color: var(--primary-color);
}

nav ul.desktop-menu li a:hover::after {
    width: 100%;
}

nav ul.desktop-menu li a.btn-login {
    color: white;
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-blue);
}

nav ul.desktop-menu li a.btn-login:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

nav ul.desktop-menu li a.btn-login::after {
    display: none;
}

.mobile-menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    background-color: rgba(52, 80, 124, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-icon:hover {
    background-color: rgba(52, 80, 124, 0.2);
}

.mobile-menu {
    display: none;
    background-color: white;
    padding: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: var(--shadow);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu ul li a.btn-login {
    color: white;
    background-color: var(--primary-color);
    padding: 12px 20px;
    border-radius: var(--radius);
    display: inline-block;
    border-bottom: none;
    margin-top: 10px;
}

/* Главный баннер */
#hero {
    background: linear-gradient(to right, rgba(52, 80, 124, 0.85), rgba(10, 20, 45, 0.85)), url('/images/landing/futuristic-world-map.jpg') no-repeat center center/cover;
    color: white;
    padding: 180px 0 120px;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: var(--shadow-blue);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="10" height="10" fill="rgba(255, 255, 255, 0.05)"/></svg>');
    opacity: 0.5;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 0 0;
    position: relative;
    z-index: 1;
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #f1f1f1;
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    animation: fadeIn 2s ease;
}

.btn {
    overflow: hidden;
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(50, 50);
        opacity: 0;
    }
}

/* Секция услуг */
#services {
    padding: 80px 0;
    background-color: var(--light-bg-color);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(10, 46, 82, 0.03)"/></svg>');
    opacity: 0.5;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.service-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 80, 124, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--heading-color);
    position: relative;
    letter-spacing: -0.01em;
    padding: 0;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 1.02rem;
    margin-top: 15px;
}

/* Как это работает */
#how-it-works {
    padding: 10px 0;
    background-color: white;
    background-image: linear-gradient(135deg, rgba(10, 46, 82, 0.03) 25%, transparent 25%), 
                       linear-gradient(225deg, rgba(10, 46, 82, 0.03) 25%, transparent 25%), 
                       linear-gradient(45deg, rgba(10, 46, 82, 0.03) 25%, transparent 25%), 
                       linear-gradient(315deg, rgba(10, 46, 82, 0.03) 25%, #ffffff 25%);
    background-position: 25px 0, 25px 0, 0 0, 0 0;
    background-size: 50px 50px;
    background-repeat: repeat;
}
h4.intext {
    margin: 10px 0px 5px;	
}
.intext-container table { 
    border-collapse: collapse; 
    margin-bottom: 10px;
}
.intext-container table td {
	border: 1px solid #1c3a5c;
	vertical-align: text-bottom;
    padding: 5px 10px;
    font-size: 14px;
}
.intext-container a {
	color: #34507c;
}
.intext-container a:hover {
	color: #4c6080;
}
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    z-index: 0;
}

.step {
    flex: 1;
    min-width: 200px;
    margin: 15px;
    text-align: center;
    position: relative;
    background-color: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    z-index: 1;
    transition: var(--transition);
}

.step {
    transform-origin: center bottom;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step:active {
    transform: scale(0.98);
}

.step:not(:last-child)::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: -25px;
    color: var(--secondary-color);
    font-size: 20px;
    z-index: 2;
    background-color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover:not(:last-child)::after {
    transform: translateX(5px);
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid var(--secondary-color);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.step p {
    color: var(--gray-color);
}

/* Модальное окно для входа/регистрации */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    animation: modalSlideDown 0.4s ease;
}

@keyframes modalSlideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

.auth-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab.active {
    background-color: var(--primary-color);
    color: white;
}

.auth-forms {
    padding: 30px;
}

.auth-forms form {
    display: none;
}

.auth-forms form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--input-bg);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(10, 46, 82, 0.2);
}

/* Контакты */
#contact {
    padding: 80px 0;
    background-color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.2rem;
    margin-right: 15px;
    color: var(--secondary-color);
    margin-top: 4px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Футер */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 2;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #f1f1f1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Медиа-запросы */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .steps {
        flex-direction: column;
    }

    .step {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    nav ul.desktop-menu {
        display: none;
    }

    .mobile-menu-icon {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .service-card {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-container {
        flex-direction: column;
    }
}


     /* Дополнительные стили для страницы возможностей */
.features-header {
    background: linear-gradient(rgba(52, 80, 124, 0.9), rgba(40, 60, 95, 0.9)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1471') no-repeat center center/cover;
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.features-content {
    padding: 60px 0;
}

.feature-section {
    margin-bottom: 80px;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.feature-header {
    text-align: center;
    margin-bottom: 40px;
}

.feature-header h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.feature-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}
.documents-grid {
	margin-bottom: 50px;
}
.documents-grid ul {
	list-style: none;
	line-height: 2;
}
.documents-grid ul i {
	color: var(--secondary-color);
}
.documents-grid ul a {
    color: #34507c;
	text-decoration: none;
}
.documents-grid ul a:hover {
    text-decoration: underline;
}
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-details h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.feature-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.feature-cta {
    margin-top: 30px;
}

/* Стилизация для интеграции API секции */
.api-integration {
    background-color: var(--light-bg-color);
    padding: 60px 0;
    border-radius: var(--radius);
    margin: 70px 0;
    box-shadow: var(--shadow);
}

.api-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.api-icon {
    text-align: center;
    width: 120px;
    transition: var(--transition);
}

.api-icon:hover {
    transform: translateY(-5px);
}

.api-icon i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(52, 80, 124, 0.1);
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.api-icon:hover i {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.api-icon span {
    display: block;
    font-weight: 500;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid.reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .api-icons {
        gap: 20px;
    }

    .api-icon {
        width: 100px;
    }
}