:root {
    --primary-color: #6c5ce7;
    --secondary-color: #2d3436;
    --accent-color: #00b894;
    --text-color: #2d3436;
    --light-gray: #f5f6fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-dark: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    --shadow-sm: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 15px 30px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
}

/* Particles Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: width 0.4s ease-out, height 0.4s ease-out, top 0.4s ease-out, left 0.4s ease-out;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
}

.btn i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.btn-login {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-login:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.btn-register {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-register:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: rgba(255,255,255,0.05);
    filter: blur(20px);
    z-index: -2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
    text-shadow: var(--shadow-sm);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.hero-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.stat {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Удаляем неиспользуемые стили */
.hero-image,
.image-container,
.floating-card,
.card-1,
.card-2 {
    display: none;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.8rem;
    color: var(--secondary-color);
    text-shadow: var(--shadow-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    background-color: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 1rem;
    color: #666;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.feature-list i {
    color: var(--accent-color);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background-color: var(--light-gray);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.8rem;
    color: var(--secondary-color);
    text-shadow: var(--shadow-sm);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 2.5rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: bold;
    margin: 0 auto 1.8rem;
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.step-content p {
    font-size: 0.95rem;
    color: #666;
}

.step-icon {
    margin-top: 1.8rem;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
}

/* CTA Section */
.cta {
    padding: 7rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    animation: rotateCta 20s linear infinite;
}

@keyframes rotateCta {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    text-shadow: var(--shadow-sm);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 1.1rem 2.2rem;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.cta .btn-primary:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 5rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.footer-logo i {
    font-size: 1.7rem;
    color: var(--primary-color);
}

.footer-logo h3 {
    font-size: 1.7rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Обновляем медиа-запросы */
@media (max-width: 768px) {
    .hero {
        padding-top: 6rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .features h2,
    .how-it-works h2,
    .cta h2 {
        font-size: 2rem;
    }
    
    .feature-card, .step {
        padding: 2rem;
    }

    .feature-icon,
    .step-number {
        width: 55px;
        height: 55px;
    }

    .feature-icon i,
    .step-icon {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1.1rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }
} 