/* Landing Page Styles для MyAcademia - Премиум дизайн в стиле LinkedIn Learning */

:root {
    --primary: #667eea;
    --primary-dark: #764ba2;
    --accent: #f093fb;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body.landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* Секция-контейнеры */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 100px 0 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.hero-video {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.hero-benefits li {
    font-size: 17px;
    color: var(--text-medium);
    margin-bottom: 16px;
    padding-left: 8px;
}

.hero-benefits strong {
    color: var(--text-dark);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 15px;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 60px;
    margin-bottom: 24px;
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Experts Section */
.experts-section {
    background: var(--bg-light);
}

.experts-grid {
    display: grid;
    gap: 40px;
}

.expert-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.expert-photo {
    position: relative;
}

.expert-photo img {
    width: 280px;
    height: 280px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.expert-photo-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.expert-title {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.expert-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.credential-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.expert-bio {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonials-grid {
    display: grid;
    gap: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 48px;
    align-items: start;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.author-photo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.author-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-position {
    font-size: 15px;
    color: var(--text-medium);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-stats {
    display: flex;
    gap: 40px;
}

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

.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 14px;
    color: var(--text-light);
}

/* AI Section */
.ai-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.ai-section .section-title,
.ai-section .section-subtitle {
    color: white;
}

.ai-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-description {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.95;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ai-feature {
    display: flex;
    gap: 20px;
    align-items: start;
}

.ai-feature-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.ai-feature h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-feature p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.ai-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-illustration {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ai-icon-large {
    font-size: 120px;
    position: relative;
    z-index: 2;
}

.ai-stats-floating {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-stat {
    position: absolute;
    background: white;
    color: var(--primary);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.floating-stat:nth-child(1) {
    top: 20%;
    left: -20%;
}

.floating-stat:nth-child(2) {
    top: 50%;
    right: -30%;
}

.floating-stat:nth-child(3) {
    bottom: 20%;
    left: -10%;
}

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

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-medium);
    margin-top: 4px;
}

/* Tracks Section */
.tracks-section {
    background: var(--bg-light);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.track-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.track-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.track-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.track-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.track-description {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.5;
}

.track-meta {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.cta-subtitle {
    font-size: 22px;
    color: var(--text-medium);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
}

/* Footer */
.landing-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Quiz CTA Section */
.quiz-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.quiz-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.quiz-cta-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.quiz-cta-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

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

.quiz-cta-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.quiz-cta-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.6;
}

.quiz-cta-features {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-cta-features li {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 500;
    padding-left: 8px;
}

.btn-quiz {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-quiz:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.quiz-cta-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

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

    .hero-video {
        order: -1;
    }

    .expert-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .expert-photo img,
    .expert-photo-placeholder {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .testimonial-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ai-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-benefits li {
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .expert-card {
        padding: 24px;
    }

    .expert-name {
        font-size: 26px;
    }

    .expert-title {
        font-size: 18px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-stats {
        flex-direction: column;
        gap: 20px;
    }

    .ai-illustration {
        width: 200px;
        height: 200px;
    }

    .ai-icon-large {
        font-size: 80px;
    }

    .floating-stat {
        padding: 12px 16px;
    }

    .stat-number {
        font-size: 18px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-subtitle {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-features {
        flex-direction: column;
        gap: 16px;
    }

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

    .quiz-cta-card {
        padding: 40px 24px;
    }

    .quiz-cta-icon {
        font-size: 60px;
    }

    .quiz-cta-title {
        font-size: 28px;
    }

    .quiz-cta-subtitle {
        font-size: 18px;
    }

    .quiz-cta-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
