* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro Hero Section */
.intro-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.intro-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.intro-hero-text {
    flex: 1;
}

.intro-hero-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.intro-hero-features {
    list-style: none;
}

.intro-hero-features li {
    color: white;
    font-size: 1.3rem;
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.intro-hero-features i {
    color: #90EE90;
    font-size: 1.5rem;
}

.intro-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-hero-image img {
    width: 100%;
    max-width: 500px;
    height: 700px;
    object-fit: cover;
    border-radius: 20px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
}

.hero-title {
    text-align: center;
    color: white;
    font-size: 3rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.subject-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.subject-card:hover {
    transform: translateY(-5px);
}

.subject-card h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subject-card ul {
    list-style: none;
}

.subject-card li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.subject-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.hero-subtitle {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px;
}

/* About Section */
.about {
    background: #f8f9ff;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.info-bubbles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.bubble {
    background: white;
    border: 3px solid #667eea;
    border-radius: 30px;
    padding: 25px 35px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bubble:before {
    content: "";
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #667eea;
}

.bubble h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.bubble p {
    color: #555;
    font-size: 1rem;
}

.bubble.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.bubble.highlight h3,
.bubble.highlight p {
    color: white;
}

/* CTA Buttons */
.cta-buttons {
    background: white;
    padding: 50px 0;
    text-align: center;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-large {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    font-size: 1.5rem;
    padding: 20px 60px;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 87, 108, 0.6);
}

/* Reviews Section */
.reviews {
    background: #f8f9ff;
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.review-header h4 {
    color: #667eea;
    font-size: 1.2rem;
}

.review-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Main */
.cta-main {
    background: white;
    padding: 80px 0;
    text-align: center;
}

/* FAQ Section */
.faq {
    background: #f8f9ff;
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #667eea;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f0f3ff;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 40px 0 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link.vk:hover {
    background: #4a76a8;
    transform: translateY(-3px);
}

.social-link.telegram:hover {
    background: #0088cc;
    transform: translateY(-3px);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    transform: translateY(-3px);
}

.social-link.max:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: #a0aec0;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
}

/* Responsive */
@media (max-width: 968px) {
    .intro-hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .intro-hero-features {
        display: inline-block;
        text-align: left;
    }
    
    .intro-hero-title {
        font-size: 2.2rem;
    }
    
    .intro-hero-features li {
        font-size: 1.1rem;
    }
    
    .intro-hero-image img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .subjects-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    .intro-hero-image img {
        height: 400px;
    }
}