/* ========================================
   Chess VIP Pro - Premium Styles
   ======================================== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --accent: #a855f7;
    --gold: #f59e0b;
    --dark: #ffffff;
    --dark-light: #f8fafc;
    --dark-lighter: #f1f5f9;
    --text: #0f172a;
    --text-muted: #475569;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.08);
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Animated Background
   ======================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.chess-piece {
    position: absolute;
    font-size: 60px;
    opacity: 0.08;
    color: #94a3b8;
    animation: float 20s infinite ease-in-out;
}

.piece-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.piece-2 {
    top: 20%;
    right: 15%;
    animation-delay: -4s;
}

.piece-3 {
    top: 60%;
    left: 5%;
    animation-delay: -8s;
}

.piece-4 {
    top: 70%;
    right: 10%;
    animation-delay: -12s;
}

.piece-5 {
    top: 40%;
    left: 50%;
    animation-delay: -16s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid #e2e8f0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--primary));
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 150px 0 100px;
    position: relative;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #0f172a;
    color: white;
    box-shadow: none;
}

.btn-primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-secondary {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f1f5f9;
}

.btn-outline {
    background: transparent;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-chess-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 40px 80px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-chess-img:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2),
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 50px 100px rgba(0, 0, 0, 0.25);
}

.chessboard-preview {
    position: relative;
    width: 400px;
    height: 400px;
}

.board-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(60px);
    animation: glow 4s infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    100% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

.mini-board {
    position: relative;
    width: 100%;
    height: 100%;
    background:
        repeating-conic-gradient(var(--dark-lighter) 0% 25%,
            var(--dark-light) 0% 50%) 50% / 50px 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--glass-border);
    overflow: hidden;
}

.arrow-demo {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    transform: translateY(-50%) rotate(-20deg);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    animation: arrow-pulse 2s infinite;
}

.arrow-demo::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left: 15px solid #4ade80;
}

@keyframes arrow-pulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.8);
    }
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.features-box {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.features-box h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #0f172a;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.features-list li {
    font-size: 1.1rem;
    color: #1e293b;
    padding: 8px 0;
    line-height: 1.6;
}

.features-note {
    color: #475569;
    font-size: 1rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* ========================================
   Demo Showcase Section
   ======================================== */
.demo {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: #f1f5f9;
}

.demo-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.demo-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--glass-border);
}

.demo-slides {
    position: relative;
    width: 100%;
    height: 550px;
}

.demo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
    pointer-events: none;
}

.demo-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.demo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.95));
    padding: 40px 30px 25px;
    text-align: center;
}

.slide-caption h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text);
}

.slide-caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Demo Dots */
.demo-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--dark-lighter);
    cursor: pointer;
    transition: all 0.3s;
}

.demo-dot:hover {
    background: var(--primary-light);
}

.demo-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Demo Features Legend */
.demo-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.demo-feature:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.demo-feature-icon {
    font-size: 1.25rem;
}

/* ========================================
   Keyboard Shortcuts Section
   ======================================== */
.shortcuts-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.shortcuts-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: var(--text);
}

.shortcuts-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.shortcut-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.shortcut-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.key-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    flex-shrink: 0;
}

.shortcut-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text);
}

.shortcut-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }

    .shortcuts-section {
        padding: 25px;
    }
}

.shortcuts-note {
    text-align: center;
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.shortcuts-note strong {
    color: var(--gold);
}

.key-inline {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 6px;
    font-weight: 600;
    color: white;
    font-size: 0.85rem;
}

/* ========================================
   Video Demo Section
   ======================================== */
.video-demo-section {
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-header {
    text-align: center;
    margin-bottom: 30px;
}

.video-header h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--glass-border);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: var(--dark);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
}

.video-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.video-overlay:hover {
    background: rgba(15, 23, 42, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.5);
    transition: all 0.3s;
}

.video-overlay:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6);
}

.play-button span {
    font-size: 2rem;
    margin-left: 5px;
}

.video-overlay p {
    color: var(--text);
    font-weight: 500;
}

.video-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.video-feature:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.vf-icon {
    font-size: 1.1rem;
}

/* Video Glow Animation */
.video-container::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--primary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    animation: videoGlow 3s ease-in-out infinite;
}

@keyframes videoGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Responsive Video */
@media (max-width: 768px) {
    .video-features {
        flex-direction: column;
        align-items: center;
    }

    .video-header h3 {
        font-size: 1.4rem;
    }
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), #ffffff);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.lifetime {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.1), var(--glass));
}

.popular-badge,
.lifetime-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.popular-badge {
    background: var(--gradient-primary);
    color: white;
}

.lifetime-badge {
    background: var(--gradient-gold);
    color: var(--dark);
}

.pricing-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
}

.duration {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
}

/* ========================================
   Payment Section
   ======================================== */
.payment {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.payment-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px;
}

.payment-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.selected-plan-info {
    background: var(--dark-light);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-plan-info .hint {
    color: var(--text-muted);
}

.selected-plan-info .plan-details {
    width: 100%;
}

.selected-plan-info .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

.selected-plan-info .plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.payment-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.payment-qr {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-card {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    border: 1px solid #e2e8f0;
}

.qr-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.qr-image {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    display: inline-block;
}

.qr-image img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.bank-info {
    text-align: left;
    background: var(--glass);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.bank-info p {
    margin-bottom: 8px;
}

.transfer-content {
    color: var(--secondary);
    font-weight: 600;
}

.contact-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-info a {
    color: var(--primary-light);
    text-decoration: none;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--glass-border);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.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 25px 20px;
    color: var(--text-muted);
}

/* ========================================
   Installation Guide Section
   ======================================== */
.guide {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: #f8fafc;
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.contact-banner-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-icon {
    font-size: 3rem;
}

.contact-text {
    flex: 1;
}

.contact-text h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.contact-text p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.zalo-icon {
    font-size: 1.5rem;
}

/* Download Card */
.download-card {
    position: relative;
    background: #0f172a;
    border: 1px solid #1e293b;
    padding: 0;
    margin-bottom: 40px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.download-card:hover {
    border-color: #475569;
    transform: translateY(-3px) scale(1.005);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(99, 102, 241, 0.08);
}

/* Version Badge */
.download-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 2;
}

/* Glow Effect */
.download-card-glow {
    position: absolute;
    top: -60%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.download-card:hover .download-card-glow {
    opacity: 1.5;
}

.download-card-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 44px 40px 36px;
}

.download-icon-wrap {
    position: relative;
    flex-shrink: 0;
}

.download-icon {
    width: 88px;
    height: 88px;
    border: 1px solid #334155;
    display: block;
    position: relative;
    z-index: 1;
    transition: border-color 0.4s ease;
}

.download-card:hover .download-icon {
    border-color: #475569;
}

.download-icon-ring {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    opacity: 0;
    transition: all 0.5s ease;
}

.download-card:hover .download-icon-ring {
    opacity: 1;
    inset: -10px;
}

.download-info {
    flex: 1;
}

.download-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.download-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Download Button with Shimmer */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.download-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.download-btn:active {
    transform: translateY(0) scale(0.98);
}

.download-btn svg {
    transition: transform 0.3s ease;
}

.download-btn:hover svg {
    transform: translateY(2px);
}

.download-notes {
    padding: 14px 40px 18px;
    border-top: 1px solid rgba(30, 41, 59, 0.8);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.download-note {
    color: #475569;
    font-size: 0.78rem;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.download-warning {
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0;
}

/* Download Card Responsive */
@media (max-width: 768px) {
    .download-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px 28px;
        gap: 20px;
    }

    .download-badge {
        top: 12px;
        right: 12px;
    }

    .download-notes {
        flex-direction: column;
        padding: 14px 24px 18px;
        gap: 8px;
        text-align: center;
    }
}


/* Guide Steps */
.guide-steps {
    max-width: 900px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.guide-step:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.2);
}

.guide-step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.guide-step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text);
}

.guide-step-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.guide-step-content a {
    color: var(--primary-light);
    text-decoration: none;
}

.guide-step-content a:hover {
    text-decoration: underline;
}

/* Code Block */
.code-block {
    background: var(--dark);
    padding: 15px 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--secondary);
    border: 1px solid var(--glass-border);
    margin: 15px 0;
    user-select: all;
}

/* Guide Note */
.guide-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    margin-top: 15px;
}

.guide-note.success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--secondary);
}

.guide-note code {
    background: var(--dark);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
}

.note-icon {
    font-size: 1.25rem;
}

/* Guide Images */
.guide-image {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guide-image img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-images-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.guide-image.small {
    flex: 1;
    max-width: 50%;
}

/* Guide CTA */
.guide-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
}

.guide-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.guide-cta p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.guide-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.zalo-link {
    color: var(--secondary) !important;
    font-weight: 600;
    text-decoration: none;
}

.zalo-link:hover {
    text-decoration: underline;
}

/* Responsive Guide */
@media (max-width: 768px) {
    .contact-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .guide-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .guide-note {
        flex-direction: column;
        text-align: center;
    }

    .guide-images-row {
        flex-direction: column;
    }

    .guide-image.small {
        max-width: 100%;
    }

    .guide-cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Hamburger button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    border-color: #0f172a;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Lock body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile nav drawer */
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0 !important;
        padding: 20px;
        z-index: 1001;
        overflow-y: auto;
        border-top: 1px solid #e2e8f0;
        animation: slideDown 0.3s ease;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        padding: 14px 16px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #0f172a !important;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0 !important;
        text-decoration: none;
    }

    .nav-links a:hover {
        background: #f8fafc !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .nav-links a::before,
    .nav-links a::after {
        display: none !important;
    }

    /* Theme toggle on mobile */
    .nav-links .theme-toggle {
        align-self: flex-start;
        margin: 10px 16px;
    }

    /* Products dropdown on mobile */
    .nav-products-dropdown {
        width: 100%;
    }

    .nav-products-trigger {
        width: 100%;
        text-align: left;
        padding: 14px 16px !important;
        font-size: 15px !important;
        border-bottom: 1px solid #f1f5f9;
    }

    .products-dropdown-panel {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        background: #f8fafc !important;
    }

    /* Lab button on mobile */
    .nav-lab-btn {
        padding: 14px 16px !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-radius: 0 !important;
        background: none !important;
        font-size: 15px !important;
        color: #a78bfa !important;
    }

    /* Lang switcher on mobile */
    .lang-switcher {
        padding: 14px 16px;
        border-bottom: 1px solid #f1f5f9;
    }

    /* Login button on mobile */
    .nav-login-btn {
        margin-top: 10px;
        text-align: center;
        display: block;
        padding: 14px 16px !important;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .payment-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Dark mode mobile menu */
html.dark .nav-links.mobile-active {
    background: #1e293b;
    border-top-color: #334155;
}

html.dark .nav-links a {
    color: #e2e8f0 !important;
    border-bottom-color: #334155;
}

html.dark .nav-links a:hover {
    background: #334155 !important;
}

html.dark .mobile-menu-toggle {
    border-color: #475569;
}

html.dark .hamburger-line {
    background: #e2e8f0;
}

html.dark .nav-login-btn {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* ========================================
   Important Note Section
   ======================================== */
.guide-important-note {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(251, 191, 36, 0.1));
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 20px;
}

.important-note-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.important-icon {
    font-size: 2rem;
}

.important-note-header h3 {
    font-size: 1.5rem;
    color: #ef4444;
    margin: 0;
}

.important-note-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.note-item {
    padding: 25px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.note-item.warning {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.note-item.info {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.05);
}

.note-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}

.note-item p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.note-image {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.note-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .important-note-content {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

/* ========================================
   Zalo Chat Widget
   ======================================== */
.zalo-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.zalo-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #0068ff, #0052cc);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(0, 104, 255, 0.35);
    transition: all 0.3s ease;
    animation: pulse-zalo 2s infinite;
}

.zalo-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 104, 255, 0.5);
}

.zalo-icon {
    font-size: 1.1rem;
}

.zalo-text {
    font-size: 0.8rem;
}

@keyframes pulse-zalo {

    0%,
    100% {
        box-shadow: 0 5px 25px rgba(0, 104, 255, 0.4);
    }

    50% {
        box-shadow: 0 5px 35px rgba(0, 104, 255, 0.6), 0 0 0 10px rgba(0, 104, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .zalo-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .zalo-text {
        display: none;
    }

    .zalo-btn {
        padding: 15px;
        border-radius: 50%;
    }
}

/* ========================================
   Navigation Login Button
   ======================================== */
.nav-login-btn {
    background: #0f172a !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.nav-login-btn:hover {
    background: #1e293b !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

/* ========================================
   Global Style Overrides - Square Corners
   ======================================== */
/* Remove all rounded corners */
.pricing-card,
.pricing-header,
.faq-item,
.faq-question,
.faq-answer,
.feature-card,
.guide-step,
.guide-step-number,
.guide-note,
.guide-image,
.demo-slider,
.demo-feature,
.shortcuts-section,
.shortcut-card,
.key-badge,
.video-container,
.video-wrapper,
.qr-card,
.payment-box,
.features-box,
.code-block {
    border-radius: 0 !important;
}

/* Change purple/gradient colors to black */
.stat-number,
.pricing-card .price .amount,
.section-header h2,
.video-header h3 {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    background-clip: unset !important;
    color: #0f172a !important;
}

/* ========================================
   COMPREHENSIVE STYLE OVERRIDES
   Black/White Theme + Square Corners
   ======================================== */

/* Fix navigation spacing */
.logo {
    margin-right: 20px !important;
}

.nav-links {
    gap: 2px !important;
}

/* All buttons - BLACK with WHITE text */
.btn,
.btn-primary,
.btn-gold,
.deposit-btn,
.buy-btn {
    background: #0f172a !important;
    color: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.btn:hover,
.btn-primary:hover,
.btn-gold:hover,
.deposit-btn:hover,
.buy-btn:hover {
    background: #1e293b !important;
}

.btn-secondary,
.btn-outline {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #0f172a !important;
    border-radius: 0 !important;
}

.btn-secondary:hover,
.btn-outline:hover {
    background: #f1f5f9 !important;
}

/* All cards and boxes - WHITE bg, BLACK border, SQUARE corners */
.card,
.pricing-card,
.feature-card,
.shortcut-card,
.faq-item,
.guide-step,
.demo-feature,
.payment-box,
.qr-card,
.features-box,
.package-card,
.modal-content,
.bank-info,
.notes-box,
.success-key {
    background: #fff !important;
    border: 1px solid #0f172a !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Key badges - BLACK bg, WHITE text */
.key-badge,
.guide-step-number {
    background: #0f172a !important;
    color: #fff !important;
    border-radius: 0 !important;
}

/* Remove all purple/gradient colors */
.logo-text .highlight,
.stat-number,
.pricing-card .price .amount,
.package-price,
.balance-amount {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    background-clip: unset !important;
    color: #0f172a !important;
}

/* Navigation login button */
.nav-login-btn {
    background: #0f172a !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 8px 14px !important;
}

/* Demo slider and other containers */
.demo-slider,
.video-container,
.shortcuts-section {
    border-radius: 0 !important;
    border: 1px solid #0f172a !important;
}

/* Popular badge */
.popular-badge {
    background: #0f172a !important;
    border-radius: 0 !important;
}

/* Amount buttons */
.amount-btn {
    border-radius: 0 !important;
    border: 1px solid #0f172a !important;
}

.amount-btn:hover,
.amount-btn.selected {
    background: #0f172a !important;
    color: #fff !important;
}

/* Package cards in account page */
.package-card.selected {
    border: 2px solid #0f172a !important;
    background: #f8fafc !important;
}

.package-card.pro {
    border-color: #0f172a !important;
    background: #fff !important;
}

/* Deposit code section */
.deposit-code-section {
    background: #0f172a !important;
    color: #fff !important;
}

/* User avatar */
.user-avatar {
    background: #0f172a !important;
    border-radius: 0 !important;
}

/* Fix text colors */
.card-title,
.package-name,
.shortcut-info h4,
.faq-question {
    color: #0f172a !important;
}

/* Toast notification */
.toast {
    background: #0f172a !important;
    border-radius: 0 !important;
}

/* Zalo chat button */
.zalo-btn {
    border-radius: 0 !important;
}