@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
/* Добавляем Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

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

:root {
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --secondary: #00D4FF;
    --success: #00C896;
    --warning: #FFB800;
    --text: #1A1A1A;
    --text-light: #6B7280;
    --bg: #FFFFFF;
    --bg-light: #F9FAFB;
    --border: #E5E7EB;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.logo-mascot {
    width: 50px;
    height: 50px;
    position: relative;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-cta {
    background: var(--primary);
    color: white!important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.header-cta::after {
    display: none;
}

.header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* Уменьшаем расстояние между кнопками "Войти" и "Регистрация" */
.nav-links li:nth-last-child(2) {
    margin-right: -1.5rem;
}

/* Hero Section */
.hero {
    padding: 140px 2rem 40px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.stat-text {
    font-weight: 600;
    color: var(--text);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary i {
    margin-left: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--border);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
}

/* Технологическая визуализация */
.tech-visualization {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem 0;
    min-height: 400px;
}

/* Центральная иконка AI */
.ai-core {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-icon-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #C926FF 0%, #4A26FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(201, 38, 255, 0.3);
    z-index: 2;
}

.alice-icon-img {
    width: 120px;
    height: 120px;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Пульсирующий эффект вокруг AI */
.ai-pulse {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #C926FF;
    animation: pulse-ring 2s ease-out infinite;
    opacity: 0.6;
}

.ai-pulse::before,
.ai-pulse::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid #C926FF;
    top: -3px;
    left: -3px;
}

.ai-pulse::before {
    animation: pulse-ring 2s ease-out infinite 0.5s;
}

.ai-pulse::after {
    animation: pulse-ring 2s ease-out infinite 1s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Информационный блок */
.tech-info {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid #C926FF;
    box-shadow: 0 4px 20px rgba(201, 38, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.08);
    margin-top: 1rem;
}

.info-icon {
    color: #C926FF;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.info-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.tech-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.tech-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tech-stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #C926FF 0%, #4A26FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Плавающие бейджи - вокруг AI */
.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}

.badge-icon {
    color: #0066FF;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.badge-text {
    color: #333;
}

/* Анимация плавания */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* Для badge-2 сохраняем центрирование */
.badge-2 {
    animation: float-centered 3s ease-in-out infinite;
}

@keyframes float-centered {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(calc(-50% - 12px));
    }
}

/* Адаптив для планшетов */
@media (max-width: 992px) {
    .tech-visualization {
        max-width: 400px;
    }

    .ai-icon-wrapper {
        width: 150px;
        height: 150px;
    }

    .alice-icon-img {
        width: 100px;
        height: 100px;
    }

    .floating-badge {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .tech-visualization {
        max-width: 100%;
        padding: 1rem 15px;
        min-height: 350px;
    }

    .ai-core {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
    }

    .ai-icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .alice-icon-img {
        width: 80px;
        height: 80px;
    }

    .tech-info {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .info-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .floating-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .badge-1 {
        top: 5%;
        left: 5px;
    }

    .badge-2 {
        top: 15%;
        right: 5px;
    }

    .badge-3 {
        bottom: 40%;
        left: 5px;
    }

    .badge-4 {
        bottom: 30%;
        right: 5px;
    }

    .tech-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .tech-stat-number {
        font-size: 1.5rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .floating-badge {
        font-size: 10px;
        padding: 5px 10px;
        gap: 6px;
    }

    .badge-icon {
        font-size: 14px;
    }
}


@keyframes floatMascot {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.floating-badge {
    position: absolute;
    background: #ffffff82;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: floatBadge 3s ease-in-out infinite;
    font-size: 0.9rem;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.badge-1 {
    top: 10%;
    left: -8%;
    animation-delay: 0s;
}

.badge-2 {
    top: 7%;
    right: -9%;
    animation-delay: 1s;
}

.badge-3 {
    bottom: 52%;
    left: -9%;
    animation-delay: 4s;
}

.badge-4 {
    bottom: 53%;
    right: -10px;
    animation-delay: 2.1s;
}

.badge-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.badge-text {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

/* Trust Section */
.trust-section {
    padding: 3rem 2rem;
    background: white;
    border-bottom: 1px solid var(--border);
}

.trust-content {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.trust-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.trust-stat {
    text-align: center;
}

.trust-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.trust-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.features-content {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge i {
    margin-right: 5px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* How it works */
.how-it-works {
    padding: 6rem 2rem;
    background: white;
}

.how-content {
    max-width: 1280px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 2rem;
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px dashed var(--primary);
    opacity: 0.3;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Pricing */
.pricing {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.pricing-content {
    max-width: 1280px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid var(--border);
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card.featured .plan-name {
    color: white;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-card.featured .plan-price {
    color: white;
}

.plan-period {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-card.featured .plan-period {
    color: rgba(255, 255, 255, 0.8);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.pricing-card.featured .plan-features li {
    color: white;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.pricing-card.featured .check-icon {
    background: white;
    color: var(--primary);
}

.plan-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.pricing-card.featured .plan-button {
    background: white;
    color: var(--primary);
}

.pricing-card.featured .plan-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Services */
.services {
    padding: 6rem 2rem;
    background: white;
}

.services-content {
    max-width: 1280px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary); /* Добавляем цвет для иконок */
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.service-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.btn-white i {
    margin-left: 8px; /* Добавляем отступ для иконок в белых кнопках */
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: #0F172A;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li i {
    color: var(--primary); /* Цвет для иконок в футере */
    width: 16px; /* Фиксированная ширина для выравнивания */
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom i.fa-heart {
    color: #ff4757; /* Красный цвет для сердечка */
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

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

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

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

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

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .pricing-grid,
    .services-grid,
    .trust-stats {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .steps-container::before {
        display: none;
    }

    .nav-links {
        display: none;
    }
    
    /* Hero контент - меняем порядок элементов */
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    /* Показываем технологическую визуализацию на мобильных */
    .hero-visual {
        display: block !important;
        max-width: 100%;
        margin: 2rem auto 0 !important;
        position: static !important;
        transform: none !important;
    }
    
    .tech-visualization {
        max-width: 100%;
        padding: 1rem;
        position: static !important;
        transform: none !important;
    }
    
    /* Показываем плавающие бейджи на мобильных, но меньше */
    .floating-badge {
        display: flex;
    }
    
    /* Кнопки компактнее на мобильных */
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Feature cards - иконки inline с заголовком */
    .feature-card {
        padding: 1.2rem;
        text-align: left;
    }
    
    .feature-icon {
        width: auto;
        height: auto;
        font-size: 1.2rem;
        margin-bottom: 0;
        margin-right: 0.5rem;
        display: inline-block;
        background: transparent;
        border-radius: 0;
        color: var(--primary);
        vertical-align: middle;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
        display: inline-block;
        vertical-align: middle;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-top: 0.5rem;
    }
    
    /* Step numbers меньше на мобильных */
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    /* CTA секция - текст меньше */
    .cta-content h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-white {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    overflow-y: auto;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text);
}

.modal-header {
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.modal-header p {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--text-light);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
}

.form-submit {
    background: var(--primary);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    width: 100%;
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.form-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-success {
    background: rgb(0 200 150 / 22%);
    color: #018261;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #018261;
    text-align: center;
    margin-bottom: 1.5rem;
    display: none;
}

.form-loading {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

.form-loading i {
    animation: spin 1s linear infinite;
    font-size: 1.5rem;
    color: var(--primary);
}

.form-redirect {
    text-align: center;
    padding: 20px;
}

.form-redirect .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.form-error-message {
    background: rgb(220 53 69 / 10%);
    color: #dc3545;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #dc3545;
    text-align: center;
    margin-bottom: 1.5rem;
    display: none;
}

.form-error-message .error-content {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-error-message .btn-login-link {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.form-error-message .btn-login-link:hover {
    background-color: var(--primary-dark);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Анимация для полей формы */
.modal-form .form-group {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.modal.show .form-group:nth-child(1) {
    animation: fadeInUp 0.4s forwards 0.1s;
}

.modal.show .form-group:nth-child(2) {
    animation: fadeInUp 0.4s forwards 0.2s;
}

.modal.show .form-group:nth-child(3) {
    animation: fadeInUp 0.4s forwards 0.3s;
}

.modal.show .form-group:nth-child(4) {
    animation: fadeInUp 0.4s forwards 0.4s;
}

.modal.show .form-group:nth-child(5) {
    animation: fadeInUp 0.4s forwards 0.5s;
}

.modal.show .form-group:nth-child(6) {
    animation: fadeInUp 0.4s forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для модального окна разработчиков */
.developer-content {
    padding: 1rem 0;
}

.auth-required {
    text-align: center;
    padding: 2rem;
}

.auth-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.auth-required h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.auth-required p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.developer-tools {
    animation: fadeInUp 0.5s ease;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.tool-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.tool-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.tool-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tool-button {
    background: var(--twitter);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.tool-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.developer-footer {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: 2rem;
}

.support-info {
    text-align: center;
}

.support-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.support-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Стили для контентных модальных окон */
.auth-content {
    padding: 1rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.content-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.content-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.content-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.content-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Специфичные стили для разных типов контента */
.knowledge-content,
.blog-content,
.stories-content,
.documentation-content {
    animation: fadeInUp 0.5s ease;
}

/* Адаптивность для модального окна разработчиков */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .auth-button {
        width: 100%;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .content-icon {
        font-size: 2rem;
    }
}

/* Стили для нижней части футера */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(0, 102, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.2);
    white-space: nowrap;
}

.dev-link:hover {
    color: var(--primary);
    background: rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.dev-link i {
    font-size: 0.9rem;
}

.dev-link span {
    font-size: 0.8rem;
}

/* Адаптивность для нижней части футера */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .dev-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .dev-link span {
        font-size: 0.75rem;
    }
}

/* Dropdown навигации */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    display: none;
}

.nav-dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid #f7fafc;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item:hover {
    background: #f7fafc;
    color: #667eea;
}

.nav-dropdown-item i {
    width: 20px;
    text-align: center;
    color: #667eea;
}

.nav-dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 5px 0;
}

/* Мобильная версия dropdown */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 10px;
        display: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
}