/* public/css/auto-trac-nghiem-okvip.css - Auto Trắc Nghiệm OK VIP page styles */

/* Main Layout */
.trac-nghiem-main {
    padding-top: 100px;
}

/* Hero Section */
.trac-nghiem-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.trac-nghiem-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.trac-nghiem-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-highlight i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 12px;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary-hero,
.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    border: 2px solid transparent;
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-outline-hero {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-trust {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-item i {
    color: #22c55e;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extension-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotate(3deg);
    transition: all 0.3s ease;
}

.extension-preview:hover {
    transform: rotate(0deg) scale(1.05);
}

.extension-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.extension-preview:hover .preview-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.speed-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.speed-text {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.speed-label {
    font-size: 11px;
    opacity: 0.9;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    overflow: hidden;
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-primary);
}

.video-modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.close-video {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-card);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-title i {
    color: #3b82f6;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.speed::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(249, 115, 22, 0.05));
}

.feature-card.database::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
}

.feature-card.platform::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
}

.feature-card.device::before {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(139, 92, 246, 0.05));
}

.feature-card.update::before {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(14, 165, 233, 0.05));
}

.feature-card.security::before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(220, 38, 127, 0.05));
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 28px;
    position: relative;
    z-index: 1;
}

.feature-card.speed .feature-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.feature-card.database .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
}

.feature-card.platform .feature-icon {
    background: linear-gradient(135deg, #22c55e, #10b981);
}

.feature-card.device .feature-icon {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

.feature-card.update .feature-icon {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.feature-card.security .feature-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-detail {
    position: relative;
    z-index: 1;
}

.detail-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
}

.speed-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.database-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}

.platform-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.device-badge {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.3);
}

.update-badge {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.3);
}

.security-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-primary);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: #3b82f6;
    transform: scale(1.05);
}

.pricing-card.lifetime {
    border-color: #22c55e;
}

.popular-badge,
.lifetime-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.popular-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.lifetime-badge {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
}

.pricing-card.lifetime .price-amount {
    color: #22c55e;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

.price-save {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
}

.pricing-features {
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-item i {
    color: #22c55e;
    width: 16px;
}

.feature-item span {
    color: var(--text-secondary);
}

.pricing-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trial-btn {
    background: var(--primary-color);
    color: white;
}

.trial-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.popular-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.popular-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
}

.lifetime-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.lifetime-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
}

/* Comparison Table */
.comparison-table {
    margin-top: 60px;
}

.comparison-table h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.table-container {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.text-success {
    color: #22c55e;
}

/* Payment Section */
.payment-section {
    padding: 80px 0;
    background: var(--bg-card);
}

.payment-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #22c55e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-content code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #3b82f6;
    font-weight: 600;
}

.payment-guarantee {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
}

.guarantee-item i {
    color: #22c55e;
    font-size: 18px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #3b82f6;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.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: 300px;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 8px;
}

.cta-stat .stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-outline-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.btn-primary-large {
    background: linear-gradient(135deg, #22c55e, #3b82f6);
    color: white;
    border: 2px solid transparent;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn-outline-large {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-large:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trac-nghiem-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-trust {
        gap: 20px;
    }

    .extension-preview {
        transform: none;
    }

    .extension-preview:hover {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-hero,
    .btn-outline-hero {
        width: 100%;
        max-width: 300px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .payment-steps {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .payment-guarantee {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 8px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-stats {
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .feature-highlight {
        padding: 12px;
    }

    .feature-highlight i {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .feature-text strong {
        font-size: 13px;
    }

    .feature-text span {
        font-size: 11px;
    }

    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-stat .stat-number {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 24px 20px;
    }

    .price-amount {
        font-size: 2rem;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-answer p {
        padding: 0 20px 16px 20px;
    }
}

/* Print Styles */
@media print {
    .trac-nghiem-hero::before,
    .cta-section,
    .video-modal {
        display: none;
    }
    
    .pricing-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .faq-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}