/* ============================================
   Pages - Sub-page specific styles
   ============================================ */

/* Page Banner */
.page-banner {
    padding: 120px 0 80px;
    color: #fff;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}
.page-banner .container { position: relative; z-index: 5; }

/* Video background for banners */
.banner-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.banner-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}
/* Dark overlay on top of video */
.banner-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,22,41,0.85) 0%, rgba(26,26,46,0.7) 50%, rgba(15,22,41,0.85) 100%);
    z-index: 2;
}

/* Animated grid lines (chart-like) */
.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 40px;
    animation: gridMove 20s linear infinite;
    z-index: 3;
    pointer-events: none;
}
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 40px); }
}

/* Banner animated decorations container */
.banner-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}

/* Floating candlestick bars */
.banner-particles .candle {
    position: absolute;
    width: 3px;
    border-radius: 2px;
    opacity: 0.2;
    animation: candleFloat 8s ease-in-out infinite;
}
.banner-particles .candle::before,
.banner-particles .candle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: inherit;
}
.banner-particles .candle::before { top: -8px; }
.banner-particles .candle::after { bottom: -8px; }
.banner-particles .candle:nth-child(1) { left: 8%; height: 40px; background: #22c55e; top: 30%; animation-delay: 0s; }
.banner-particles .candle:nth-child(2) { left: 15%; height: 25px; background: #ef4444; top: 50%; animation-delay: 1s; }
.banner-particles .candle:nth-child(3) { left: 22%; height: 55px; background: #22c55e; top: 20%; animation-delay: 2s; }
.banner-particles .candle:nth-child(4) { left: 30%; height: 30px; background: #ef4444; top: 45%; animation-delay: 0.5s; }
.banner-particles .candle:nth-child(5) { left: 70%; height: 45px; background: #22c55e; top: 25%; animation-delay: 3s; }
.banner-particles .candle:nth-child(6) { left: 78%; height: 20px; background: #ef4444; top: 55%; animation-delay: 1.5s; }
.banner-particles .candle:nth-child(7) { left: 85%; height: 35px; background: #22c55e; top: 35%; animation-delay: 2.5s; }
.banner-particles .candle:nth-child(8) { left: 92%; height: 50px; background: #22c55e; top: 15%; animation-delay: 4s; }

@keyframes candleFloat {
    0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.2; }
    25% { transform: translateY(-10px) scaleY(1.2); opacity: 0.35; }
    50% { transform: translateY(5px) scaleY(0.8); opacity: 0.15; }
    75% { transform: translateY(-5px) scaleY(1.1); opacity: 0.3; }
}

/* Floating price numbers */
.banner-particles .price-float {
    position: absolute;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    animation: priceRise 6s ease-in-out infinite;
}
.banner-particles .price-float:nth-child(9) { left: 5%; top: 70%; color: #22c55e; animation-delay: 0s; }
.banner-particles .price-float:nth-child(10) { left: 25%; top: 80%; color: #ef4444; animation-delay: 1.5s; }
.banner-particles .price-float:nth-child(11) { left: 45%; top: 75%; color: #22c55e; animation-delay: 3s; }
.banner-particles .price-float:nth-child(12) { left: 65%; top: 85%; color: #fbbf24; animation-delay: 4.5s; }
.banner-particles .price-float:nth-child(13) { left: 82%; top: 70%; color: #22c55e; animation-delay: 2s; }
.banner-particles .price-float:nth-child(14) { left: 93%; top: 80%; color: #ef4444; animation-delay: 5s; }

@keyframes priceRise {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 0.5; }
    80% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-40px); }
}

/* Animated chart line at bottom */
.banner-chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
}
.banner-chart-line svg {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    animation: chartScroll 12s linear infinite;
}
@keyframes chartScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.banner-text { max-width: 600px; position: relative; }
.banner-text h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.banner-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

/* Platform Detail Cards */
.platform-cards { display: flex; flex-direction: column; gap: 60px; }
.platform-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.platform-detail-card.reverse { direction: rtl; }
.platform-detail-card.reverse > * { direction: ltr; }
.platform-card-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.platform-card-content h3 { font-size: 24px; margin-bottom: 12px; }
.platform-card-content > p { color: var(--text-light); margin-bottom: 20px; line-height: 1.7; }
.platform-features { margin-bottom: 24px; }
.platform-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: 14px;
}
.platform-features li i { color: #22c55e; }
.platform-download { display: flex; gap: 12px; }

/* Table highlight */
.product-table .highlight { background: #fef2f2; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.faq-question:hover { background: #fafafa; }
.faq-question i { transition: var(--transition); color: var(--text-muted); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 20px 16px; color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* Promo Detail */
.promo-detail-grid { display: flex; flex-direction: column; gap: 60px; }
.promo-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.promo-detail-card:nth-child(even) { direction: rtl; }
.promo-detail-card:nth-child(even) > * { direction: ltr; }
.promo-detail-image { position: relative; height: 100%; min-height: 300px; }
.promo-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.promo-label {
    position: absolute; top: 16px; left: 16px;
    background: var(--accent); color: #fff;
    padding: 4px 12px; border-radius: 4px;
    font-size: 12px; font-weight: 600;
}
.promo-detail-content { padding: 30px; }
.promo-detail-content h2 { font-size: 24px; margin-bottom: 12px; }
.promo-detail-content > p { color: var(--text-light); margin-bottom: 20px; line-height: 1.7; }
.promo-benefits { margin-bottom: 24px; }
.promo-benefits li {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: 14px;
}
.promo-benefits li i { color: #22c55e; }

/* Research Page */
.research-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.research-tool-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
    color: var(--text);
}
.research-tool-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: var(--text);
}
.research-tool-card i { font-size: 36px; color: var(--primary); margin-bottom: 16px; display: block; }
.research-tool-card h3 { font-size: 16px; margin-bottom: 8px; }
.research-tool-card p { font-size: 13px; color: var(--text-light); }

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-image { height: 180px; overflow: hidden; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-image img { transform: scale(1.05); }
.news-content { padding: 20px; }
.news-date { font-size: 12px; color: var(--text-muted); }
.news-content h3 { font-size: 15px; margin: 8px 0; line-height: 1.5; }
.news-content p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.6; }
.news-content a { font-size: 13px; font-weight: 600; }

/* Education Page */
.learning-path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.path-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
}
.path-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.path-level {
    display: inline-block;
    background: #fef2f2;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.path-card h3 { font-size: 20px; margin-bottom: 10px; }
.path-card > p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.path-card ul { margin-bottom: 20px; }
.path-card ul li { padding: 6px 0; font-size: 14px; color: var(--text-light); padding-left: 16px; position: relative; }
.path-card ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.video-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.video-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(226, 0, 26, 0.9);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    transition: var(--transition);
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-duration {
    position: absolute; bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.7); color: #fff;
    padding: 2px 8px; border-radius: 4px; font-size: 12px;
}
.video-card h4 { padding: 16px 16px 4px; font-size: 15px; }
.video-card p { padding: 0 16px 16px; font-size: 13px; color: var(--text-light); }

/* Ebook Grid */
.ebook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ebook-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}
.ebook-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.ebook-icon { margin-bottom: 16px; }
.ebook-icon i { font-size: 40px; color: var(--primary); }
.ebook-card h4 { font-size: 16px; margin-bottom: 10px; }
.ebook-card p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }

/* ============================================
   Auth Pages (Login & Register)
   ============================================ */
.auth-section {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}
.auth-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}
.login-wrapper {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}
.auth-form-container h1 { font-size: 28px; margin-bottom: 8px; }
.auth-subtitle { color: var(--text-light); margin-bottom: 30px; }

/* Progress Steps */
.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}
.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}
.progress-step.active .step-circle {
    background: var(--primary);
    color: #fff;
}
.step-text { font-size: 13px; color: var(--text-light); }
.progress-step.active .step-text { color: var(--primary); font-weight: 500; }
.progress-line {
    width: 60px; height: 2px;
    background: var(--border);
    margin: 0 12px;
}

/* Form Styles */
.auth-form { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.align-center { align-items: center; justify-content: space-between; display: flex; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    background: #fff;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226,0,26,0.1);
}
.checkbox-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: auto; }
.checkbox-inline { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.checkbox-inline input { width: auto; }
.forgot-link { font-size: 13px; }
.password-input { position: relative; }
.password-input input { padding-right: 44px; }
.toggle-password {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer; color: var(--text-muted);
}

/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--border);
}
.auth-divider span {
    background: #fff;
    padding: 0 16px;
    position: relative;
    color: var(--text-muted);
    font-size: 13px;
}

/* Social Login */
.social-login { display: flex; flex-direction: column; gap: 12px; }
.social-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}
.social-btn:hover { background: #f5f5f5; }
.social-btn.google i { color: #ea4335; }
.social-btn.facebook i { color: #1877f2; }

.auth-footer { text-align: center; margin-top: 24px; }
.auth-footer p { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }

/* Auth Benefits */
.auth-benefits {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.auth-benefits h3 { font-size: 18px; margin-bottom: 24px; }
.benefit-item {
    display: flex; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.benefit-item:last-child { border-bottom: none; }
.benefit-item i {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 16px;
    flex-shrink: 0;
}
.benefit-item h4 { font-size: 14px; margin-bottom: 4px; }
.benefit-item p { font-size: 13px; color: var(--text-light); }

/* ============================================
   Responsive for sub-pages
   ============================================ */
@media (max-width: 1024px) {
    .research-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .learning-path { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-detail-card { grid-template-columns: 1fr; }
    .platform-detail-card.reverse { direction: ltr; }
    .promo-detail-card { grid-template-columns: 1fr; }
    .promo-detail-card:nth-child(even) { direction: ltr; }
    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-benefits { display: none; }
}

@media (max-width: 768px) {
    .research-tools-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .ebook-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .page-banner { padding: 50px 0 40px; }
    .page-banner h1 { font-size: 28px; }
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px; top: 4px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    min-width: 50px;
}
.timeline-content h4 { font-size: 16px; margin-bottom: 4px; }
.timeline-content p { font-size: 14px; color: var(--text-light); }

/* ============================================
   Video Modal
   ============================================ */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.3s ease;
}
.video-modal.active { display: flex; }
.video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.video-modal-inner video {
    width: 100%;
    display: block;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.video-modal-close:hover { background: var(--primary); border-color: var(--primary); }

/* Make video cards clickable */
.video-card { cursor: pointer; }
.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: rgba(226, 0, 26, 1);
}

/* ============================================
   Download Modal / Toast
   ============================================ */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 28px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--success);
    max-width: 380px;
}
.toast-notification.show { transform: translateX(0); }
.toast-notification .toast-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.toast-notification .toast-icon i { color: var(--success); font-size: 18px; }
.toast-notification .toast-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.toast-notification .toast-text p { font-size: 12px; color: var(--text-light); }

/* ============================================
   Enhanced Content Grid for Product Pages
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.content-text > p { color: var(--text-light); line-height: 1.8; margin-bottom: 24px; font-size: 15px; }
.feature-list { margin-bottom: 28px; }
.feature-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; font-size: 15px; color: var(--text);
}
.feature-list li i { color: var(--success); font-size: 16px; width: 20px; }
.content-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.content-image img { width: 100%; height: auto; display: block; }

/* Advantages Row */
.advantages-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.advantage-item {
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}
.advantage-item:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-4px); }
.advantage-item .adv-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--primary-glow);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.advantage-item .adv-icon i { font-size: 22px; color: var(--primary); }
.advantage-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.advantage-item p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* Ebook cards enhanced */
.ebook-card {
    position: relative;
    overflow: hidden;
}
.ebook-card .ebook-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
}
.ebook-card .ebook-meta span { display: flex; align-items: center; gap: 4px; }

@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; gap: 30px; }
    .content-grid.reverse { direction: ltr; }
    .advantages-row { grid-template-columns: repeat(2, 1fr); }
    .video-modal { padding: 20px; }
}
@media (max-width: 480px) {
    .advantages-row { grid-template-columns: 1fr; }
}

/* ============================================
   Mobile Deep Optimization - Sub Pages
   ============================================ */
@media (max-width: 768px) {
    .page-banner { padding: 80px 0 50px; min-height: 220px; }
    .banner-text h1 { font-size: 26px; }
    .banner-text p { font-size: 14px; }

    .content-grid { grid-template-columns: 1fr; gap: 24px; }
    .content-grid.reverse { direction: ltr; }
    .content-text h2 { font-size: 22px; }
    .content-text > p { font-size: 14px; }
    .feature-list li { font-size: 13px; padding: 8px 0; }

    .advantages-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .advantage-item { padding: 20px 12px; }
    .advantage-item .adv-icon { width: 44px; height: 44px; }
    .advantage-item h4 { font-size: 15px; }
    .advantage-item p { font-size: 12px; }

    .platform-detail-card { grid-template-columns: 1fr; }
    .platform-detail-card.reverse { direction: ltr; }
    .platform-download { flex-direction: column; gap: 8px; }
    .platform-download .btn { width: 100%; text-align: center; }

    .promo-detail-card { grid-template-columns: 1fr; }
    .promo-detail-card:nth-child(even) { direction: ltr; }
    .promo-detail-image { min-height: 200px; }
    .promo-detail-content { padding: 24px; }
    .promo-detail-content h2 { font-size: 20px; }

    .learning-path { grid-template-columns: 1fr; gap: 16px; }
    .path-card { padding: 24px; }
    .video-grid { grid-template-columns: 1fr; gap: 16px; }
    .video-thumb { height: 180px; }
    .ebook-grid { grid-template-columns: 1fr; gap: 16px; }

    .research-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .research-tool-card { padding: 20px 12px; }
    .research-tool-card i { font-size: 28px; }
    .research-tool-card h3 { font-size: 14px; }
    .news-grid { grid-template-columns: 1fr; gap: 16px; }

    .faq-question { padding: 14px 16px; font-size: 14px; }

    /* Auth pages */
    .auth-section { padding: 30px 0; }
    .auth-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .auth-form-container h1 { font-size: 22px; }
    .progress-steps { flex-wrap: wrap; justify-content: center; }
    .progress-line { width: 30px; }
    .form-row { grid-template-columns: 1fr; }

    /* Video modal */
    .video-modal { padding: 16px; }

    /* Toast */
    .toast-notification { right: 16px; left: 16px; max-width: none; }
}

@media (max-width: 480px) {
    .page-banner { padding: 70px 0 40px; min-height: 180px; }
    .banner-text h1 { font-size: 22px; }
    .advantages-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .research-tools-grid { grid-template-columns: 1fr; }
}
