/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --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);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-course {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin-top: 15px;
}

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

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(6, 182, 212, 0.8));
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff, #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

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

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 核心优势 */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 精品课程 */
.courses {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.course-link {
    display: block;
}

.course-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.course-tag.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.course-tag.new {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.course-tag.recommend {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.course-info {
    padding: 20px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.course-category {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.course-duration {
    color: var(--text-light);
    font-size: 0.85rem;
}

.course-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.course-title:hover {
    color: var(--primary-color);
}

.course-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--danger-color);
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.rating-num {
    font-weight: 600;
    color: var(--text-dark);
}

/* 学员评价 */
.reviews {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
}

.review-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

.review-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-rating {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.review-content {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 联系我们 */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links a,
.footer-links p {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* AI聊天窗口 */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.chat-icon {
    width: 24px;
    height: 24px;
}

.chat-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    display: none;
}

.chat-window.active {
    display: block;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header span {
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chat-body {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
    background: var(--bg-light);
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message.bot p {
    background: white;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    border-bottom-left-radius: 4px;
    display: inline-block;
    max-width: 85%;
    box-shadow: var(--shadow-sm);
}

.chat-message.user {
    text-align: right;
}

.chat-message.user p {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    border-bottom-right-radius: 4px;
    display: inline-block;
    max-width: 85%;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--border-color);
    background: white;
}

.chat-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    font-size: 0.95rem;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-input button {
    margin-left: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .courses-grid,
    .reviews-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .chat-window {
        width: 300px;
        right: -10px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 90px;
    }
    
    .ai-chat-widget {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .chat-label {
        display: none;
    }
    
    .chat-toggle {
        padding: 12px;
        border-radius: 50%;
    }
}

/* 订单页面样式 */
.order-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-light);
}

.order-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.order-header {
    text-align: center;
    margin-bottom: 40px;
}

.order-header h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.order-header p {
    color: var(--text-light);
}

.order-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.order-course-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    display: flex;
    gap: 20px;
}

.order-course-img {
    width: 150px;
    height: 100px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.order-course-details h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.order-course-details p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.order-course-price {
    margin-top: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.order-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.payment-method img {
    height: 30px;
    margin-bottom: 10px;
}

.payment-method span {
    display: block;
    font-weight: 500;
}

.order-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.25rem;
}

.order-summary-row.total .price {
    color: var(--danger-color);
}

.submit-order {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.order-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fef3c7;
    border-radius: var(--radius-md);
    color: #92400e;
    font-size: 0.9rem;
}

/* 课程详情页样式 */
.course-detail-page {
    padding-top: 80px;
}

.course-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 60px 0;
}

.course-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.course-hero-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.course-hero-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.course-hero-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.meta-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.course-hero-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.course-hero-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-hero-card-body {
    padding: 25px;
}

.course-hero-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--danger-color);
}

.original-price {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.course-detail-sections {
    padding: 60px 0;
}

.course-section {
    margin-bottom: 50px;
}

.course-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.curriculum-list {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.curriculum-item {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.curriculum-item:last-child {
    border-bottom: none;
}

.curriculum-item:hover {
    background: var(--bg-light);
}

.curriculum-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.curriculum-num {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.instructor-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.instructor-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.instructor-bio {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .course-hero-content {
        grid-template-columns: 1fr;
    }
    
    .course-hero-info h1 {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .order-course-info {
        flex-direction: column;
        text-align: center;
    }
    
    .order-course-img {
        width: 100%;
        height: 150px;
    }
}
