/* Non-critical CSS - Loaded asynchronously - Minified for performance */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #1a1a2e;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --gold-color: #fbbf24;
    --success-color: #10b981;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-display: swap;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

/* Button Enhancements */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

/* Hero Enhancements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0.3;
    z-index: 1;
}

.hero-content .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* Why AI Section */
.why-ai {
    background: var(--light-color);
    position: relative;
}

.why-ai-box {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s ease;
}

.why-ai-box:hover {
    transform: translateY(-5px);
}

.why-ai-box .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.why-ai-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.why-ai-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Objectives Section */
.objectives {
    background: #fff;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.objective-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.objective-card .icon {
    font-size: 2rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: var(--primary-color);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.objective-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* Who Should Join Section */
.who-join {
    background: var(--light-color);
}

.who-join ul {
    list-style: none;
    max-width: 900px;
    margin: 3rem auto 0;
}

.who-join li {
    background: #fff;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.who-join li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.who-join li .icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

/* Investment & Perks Section */
.investment {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.investment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.investment .container {
    position: relative;
    z-index: 2;
}

.investment h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.investment-price {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Price Container with Coupon Support */
.price-container {
    position: relative;
    margin: 2rem 0;
}

.coupon-discount-display {
    margin-top: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    border: 2px solid #34d399;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
    animation: slideInUp 0.5s ease-out;
}

.original-price-crossed {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.discounted-price {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.discount-badge {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.investment-value {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.investment h3 {
    color: var(--gold-color);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin: 3rem 0 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.perk-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: left;
}

.perk-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-xl);
}

.perk-card h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.perk-card p {
    line-height: 1.7;
    opacity: 0.9;
}

.perk-card .value {
    display: block;
    color: var(--gold-color);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

/* Instructors Section */
.instructors {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
}

.instructors-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.instructor-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.instructor-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: all 0.4s ease;
    display: flex;
    min-height: 420px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.instructor-image {
    flex: 0 0 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.05);
}

.instructor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 4rem;
}

.instructor-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.instructor-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.instructor-role {
    color: var(--gold-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.instructor-experience,
.instructor-specialization {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.instructor-description {
    color: var(--text-color);
    line-height: 1.6;
    margin: 1rem 0;
    font-size: 0.9rem;
    text-align: left;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.instructor-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0077b5;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    padding: 0.5rem 1rem;
    border: 2px solid #0077b5;
    border-radius: 8px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.instructor-linkedin:hover {
    background: #0077b5;
    color: #fff;
    transform: translateY(-2px);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.prev-btn {
    margin-left: -25px;
}

.next-btn {
    margin-right: -25px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Modern Instructors Grid */
.instructors-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.instructor-modern-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

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

.instructor-modern-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.instructor-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instructor-modern-card:hover .instructor-modern-image img {
    transform: scale(1.05);
}

.instructor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102,126,234,0.8) 0%, rgba(118,75,162,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instructor-modern-card:hover .instructor-overlay {
    opacity: 1;
}

.instructor-social-btn {
    background: rgba(255,255,255,0.9);
    color: #667eea;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.instructor-social-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.instructor-modern-content {
    padding: 2rem;
    text-align: center;
}

.instructor-modern-content h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instructor-modern-role {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.instructor-badge {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.instructor-badge.experience {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.instructor-badge.specialization {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: #3b82f6;
}

.instructor-modern-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
}

/* Instructors Grid (fallback) */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .instructors-modern-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    .instructor-modern-card {
        border-radius: 20px;
        margin: 0 0.5rem;
    }

    .instructor-modern-image {
        height: 250px;
    }

    .instructor-modern-content {
        padding: 1.5rem;
    }

    .instructor-modern-content h3 {
        font-size: 1.4rem;
    }

    .instructor-modern-role {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .instructor-badges {
        margin-bottom: 1rem;
    }

    .instructor-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .instructor-modern-description {
        font-size: 0.9rem;
    }

    /* Legacy instructor styles for fallback */
    .instructor-card {
        flex-direction: column;
        min-height: auto;
        margin: 0 1rem;
        border-radius: 20px;
    }

    .instructor-image {
        flex: 0 0 280px;
        border-radius: 20px 20px 0 0;
    }

    .instructor-content {
        padding: 2rem 1.5rem;
        border-radius: 0 0 20px 20px;
    }

    .instructor-content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        color: #1e293b;
    }

    .instructor-role {
        font-size: 1rem;
        color: #667eea;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .instructor-experience,
    .instructor-specialization {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        color: #64748b;
    }

    .instructor-description {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #475569;
        margin-bottom: 1rem;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .slider-nav {
        display: none;
    }

    .instructors-slider {
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
    }

    .slider-dots {
        margin-top: 2rem;
        text-align: center;
    }

    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #cbd5e1;
        border: none;
        margin: 0 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot.active {
        background: #667eea;
        transform: scale(1.2);
    }
}

/* Extra small mobile */
@media (max-width: 480px) {
    .instructors-modern-grid {
        padding: 0 0.25rem;
    }

    .instructor-modern-card {
        margin: 0 0.25rem;
        border-radius: 16px;
    }

    .instructor-modern-image {
        height: 220px;
    }

    .instructor-modern-content {
        padding: 1.25rem;
    }

    .instructor-modern-content h3 {
        font-size: 1.3rem;
    }

    .instructor-badges {
        flex-direction: column;
        align-items: center;
    }

    .instructor-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

    .register-header h2 {
        font-size: 2rem;
    }

    .register-subtitle {
        font-size: 1.1rem;
    }
}

/* Register Section */
.register {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.register::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.register-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.register-header h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.register-subtitle {
    color: #1a1a1a;
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 auto 2rem;
    text-align: center;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: none;
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

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

.footer-contact {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-label {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-right: 0.5rem;
}

.contact-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #f59e0b;
    text-shadow: 0 0 8px rgba(251,191,36,0.5);
}

.footer-copyright {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-copyright p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .contact-item {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-copyright p {
        font-size: 0.9rem;
    }
}
