* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0c12;
    --bg-card: #11131c;
    --bg-elevated: #1a1d2b;
    --border-light: rgba(255, 255, 255, 0.08);
    --accent-primary: #6c63ff;
    --accent-secondary: #ff6584;
    --accent-glow: rgba(108, 99, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a1a5b0;
    --gradient-1: linear-gradient(135deg, #6c63ff 0%, #ff6584 100%);
    --gradient-bg: radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.15) 0%, rgba(10, 12, 18, 0) 70%);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Эффекты фона */
.blur-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--gradient-bg);
}

.blur-bg::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.blur-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(255, 101, 132, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Стеклянная навигация */
.glass-nav {
    position: sticky;
    top: 0;
    backdrop-filter: blur(16px);
    background: rgba(10, 12, 18, 0.8);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    padding: 16px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo-icon {
    font-size: 1.8rem;
    background: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.1);
}

/* Hero секция */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 99, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    margin-bottom: 32px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px #6c63ff; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-gradient-text {
    display: block;
    font-size: 3rem;
    background: linear-gradient(135deg, #a5b4fc, #fda4af);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Общие секции */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 32px;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-secondary);
}

/* Проекты */
.projects {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 28px;
    transition: all 0.3s;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(108, 99, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-card:hover .card-glow {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.project-icon {
    font-size: 2.8rem;
}

.project-badge {
    background: rgba(108, 99, 255, 0.2);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.project-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.project-card h3 span {
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.card-features span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
}

.card-link:hover {
    gap: 12px;
}

/* Синергия */
.synergy {
    padding: 80px 0;
}

.synergy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background: var(--bg-elevated);
    border-radius: 48px;
    padding: 48px;
    border: 1px solid var(--border-light);
}

.synergy-text h2 {
    font-size: 2rem;
    margin: 16px 0 20px;
}

.synergy-text p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.synergy-list {
    list-style: none;
}

.synergy-list li {
    margin-bottom: 16px;
    font-size: 1rem;
}

.synergy-illustration {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.node-circle {
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: 50%;
    animation: float 4s infinite;
    box-shadow: 0 0 40px rgba(108, 99, 255, 0.5);
}

.node-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px dashed rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.node-dots {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, transparent 60%, rgba(108, 99, 255, 0.1) 100%);
    border-radius: 50%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--border-light);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.logo-footer {
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Адаптивность */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-gradient-text {
        font-size: 2rem;
    }
    .synergy-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px;
    }
    .nav-links {
        display: none;
    }
    .container {
        padding: 0 20px;
    }
    .hero-stats {
        gap: 24px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 80%;
    }
}