/* ===========================
   Header & Navigation
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: var(--space-4) 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}

.logo i {
    font-size: var(--text-2xl);
    color: var(--primary);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-base);
    position: relative;
}

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

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

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

.nav-actions {
    display: none;
    align-items: center;
    gap: var(--space-3);
}

@media (min-width: 768px) {
    .nav-actions {
        display: flex;
    }
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }
}

/* ===========================
   Background Sections Setup
   =========================== */

.section-with-bg {
    position: relative;
    overflow: hidden;
}

.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-layer .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.background-layer .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .content-layer {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(80vh - 80px - var(--space-20) * 2);
}

/* Particles Container - IMPORTANT */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through */
}

/* Canvas inside particles container */
.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Ensure sections have proper positioning */
.features,
.pricing,
.faq {
    position: relative;
    overflow: hidden;
}

/* Content Layer */
.content-layer {
    position: relative;
    z-index: 2;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    padding-top: calc(80px + var(--space-20));
    padding-bottom: var(--space-20);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .background-layer .bg-overlay {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.4) 0%, 
        rgba(30, 41, 59, 0.4) 50%, 
        rgba(51, 65, 85, 0.3) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-shape-1 {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    line-height: 1.1;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.hero .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 500px;
    margin: 0 auto;
}

.hero .btn-primary {
    background: var(--gradient-2);
    color: var(--white);
    border: none;
}

.hero .btn-primary:hover {
    background: var(--gradient-2);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

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

.stat-number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   Features Section
   =========================== */

.features {
    padding: var(--space-20) 0;
    position: relative;
    background: #2d1b69; /* Dark purple background */
}

.features .background-layer {
    background: transparent;
}

.features .background-layer .bg-overlay {
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--white); /* White text for dark background */
}

.section-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8); /* Light text for dark background */
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-5);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Thay thế phần .feature-card hiện tại */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Thêm pseudo-element cho gradient border */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, 
        #667eea, #764ba2, #f093fb, #4facfe, 
        #43e97b, #38f9d7, #667eea);
    background-size: 300% 300%;
    animation: gradient-border 4s ease infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Animation cho gradient border */
@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Thay thế phần .feature-card:hover hiện tại */
.feature-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(5deg) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Thêm hiệu ứng shine khi hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        transparent 100%);
    transition: height 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.feature-card:hover::after {
    height: 100%;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    color: var(--white);
    font-size: var(--text-2xl);
    border-radius: var(--radius-xl);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
    color: var(--white);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Force first feature item to stay on one line */
.pricing-features li:first-child {
    white-space: nowrap;
}

/* Or more specific */
.pricing-features li i.fa-globe + span {
    white-space: nowrap;
}

/* ===========================
   Pricing Section
   =========================== */
.pricing .container {
    max-width: 2000px; /* Tăng max-width cho phù hợp với 5 cột */
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--space-5); /* Giảm padding để fit content */
    transition: all var(--transition-base);
    min-width: 0; /* Prevent overflow */
}

.pricing {
    padding: var(--space-20) 0;
    position: relative;
    background: #1a0f3a; /* Darker purple background */
}

.pricing .background-layer {
    background: transparent;
}

.pricing .background-layer .bg-overlay {
    background: transparent;
}

.pricing .section-title {
    color: var(--white);
}

.pricing .section-title i {
    color: #8b5cf6; /* Light purple icon */
    margin-right: var(--space-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
    max-width: 1400px; /* Giới hạn chiều rộng tối đa */
    margin-left: auto;  /* Căn giữa */
    margin-right: auto; /* Căn giữa */
    padding: 0 var(--space-4); /* Thêm padding hai bên */
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--space-4); /* Giảm gap trên màn hình lớn */
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 var(--space-3);
    }
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card.popular {
    border-color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.pricing-card.premium {
    border-color: #f6d365;
    background: rgba(246, 211, 101, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-3);
    color: var(--white);
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.pricing-header h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.server-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.server-badge.vip {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.server-badge.vip-pro {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: var(--white);
}

.pricing-price {
    text-align: center;
    margin-bottom: var(--space-6);
}

.price-label {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-1);
}

.price-amount {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: #a78bfa; /* Light purple for price */
    line-height: 1;
}

.price-period {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-1);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #a78bfa;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-features .text-primary {
    color: #c4b5fd !important;
}

.pricing-features .text-warning {
    color: #fbbf24 !important;
}

.pricing-quantity {
    margin-bottom: var(--space-6);
}

.quantity-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.9);
}

.quantity-badge.highlight {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.quantity-badge i {
    color: var(--warning);
}

.pricing-card .btn-primary {
    background: var(--gradient-2);
    color: var(--white);
    width: 100%;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* ===========================
   FAQ Section
   =========================== */

.faq {
    padding: var(--space-20) 0;
    position: relative;
    background: #2d1b69; /* Dark purple background */
}

.faq .background-layer {
    background: transparent;
}

.faq .background-layer .bg-overlay {
    background: transparent;
}

.faq .section-title {
    color: var(--white);
}

.faq .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    cursor: pointer;
    font-weight: 600;
    color: var(--white);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: #a78bfa;
}

.faq-question i:first-child {
    color: #a78bfa;
    margin-right: var(--space-3);
}

.faq-question i:last-child {
    transition: transform var(--transition-base);
    color: rgba(255, 255, 255, 0.6);
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ===========================
   CTA Section
   =========================== */

.cta {
    padding: var(--space-20) 0;
    background: var(--gradient-2);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    opacity: 0.9;
}

.cta .btn {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: var(--space-4);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    color: var(--gray-300);
    transition: color var(--transition-base);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-section ul li i {
    margin-right: var(--space-2);
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    color: var(--gray-300);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* ===========================
   Mobile Menu
   =========================== */

@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: var(--space-4);
        display: none;
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
        padding: var(--space-4);
        display: none;
        gap: var(--space-3);
        z-index: var(--z-sticky);
    }
    
    .nav-actions.active {
        display: flex;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ===========================
   Responsive Adjustments
   =========================== */

@media (max-width: 639px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .pricing-card {
        padding: var(--space-4);
    }
    
    .price-amount {
        font-size: var(--text-2xl);
    }
    
    .background-layer .bg-image {
        object-position: center center;
    }
}

/* Brand Name Effects */
.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(
        45deg,
        #667eea 0%,
        #764ba2 20%,
        #f093fb 40%,
        #4facfe 60%,
        #667eea 80%,
        #764ba2 100%
    );
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
    position: relative;
}

.brand-name::before {
    content: 'VTPROXY.NET';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: none;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0 0 20px rgba(102, 126, 234, 0.8),
        0 0 40px rgba(102, 126, 234, 0.6),
        0 0 60px rgba(102, 126, 234, 0.4);
    filter: blur(3px);
    animation: glow 2s ease-in-out infinite alternate;
}

.brand-dot {
    color: #f093fb;
    -webkit-text-fill-color: #f093fb;
    font-weight: 900;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes glow {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 0.8;
    }
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Hover effect */
.logo:hover .brand-name {
    animation-duration: 1s;
    filter: brightness(1.2);
}

.logo:hover .brand-name::before {
    animation-duration: 0.5s;
    text-shadow: 
        0 0 30px rgba(102, 126, 234, 1),
        0 0 50px rgba(102, 126, 234, 0.8),
        0 0 70px rgba(102, 126, 234, 0.6);
}

/* Dark background adjustment */
.header.scrolled .brand-name {
    filter: brightness(1.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .brand-name {
        font-size: 1.2rem;
    }
}
.brand-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00ffff 0%, #0080ff 25%, #8000ff 50%, #ff00ff 75%, #00ffff 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cyber-shimmer 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

/* Footer Brand Effects */
.footer-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00ffff 0%, #0080ff 25%, #8000ff 50%, #ff00ff 75%, #00ffff 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cyber-shimmer 3s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    margin-bottom: 1rem;
    display: inline-block; /* Thêm dòng này */
    padding-left: 5px; /* Thêm khoảng cách bên trái */
    position: relative; /* Đảm bảo positioning đúng */
}

/* Footer brand dot */
.footer-section .brand-dot,
.footer-bottom .brand-dot {
    color: #f093fb;
    -webkit-text-fill-color: #f093fb;
    font-weight: 900;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Footer specific adjustments */
.footer .footer-brand {
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
}

/* Hover effect cho footer brand */
.footer-brand:hover {
    animation-duration: 1s;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8)) brightness(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-brand {
        font-size: 1.4rem;
    }
}

@keyframes rainbow-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes cyber-shimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes fire-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pastel-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.nav-actions .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Login Button - Glassmorphism effect */
.nav-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: #6366f1;
    position: relative;
    z-index: 1;
}

.nav-actions .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.nav-actions .btn-outline:hover {
    border-color: #6366f1;
    color: #fff;
    background: rgba(99, 102, 241, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.nav-actions .btn-outline:hover::before {
    left: 100%;
}

/* Register Button - Gradient Animated */
.nav-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    border: none;
    color: #fff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.nav-actions .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
    z-index: -1;
}

.nav-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(118, 75, 162, 0.4);
}

.nav-actions .btn-primary:hover::before {
    opacity: 1;
}

/* Glow effect on hover */
.nav-actions .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-actions .btn-primary:hover::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Nút Phần mềm proxy - Màu giống Xem bảng giá */
.btn-special {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: 2px solid transparent;
    padding: 12px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-special:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
    color: #ffffff;
}

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

.btn-special i {
    margin-right: 8px;
    font-size: 18px;
}

/* Animation pulse cho nút */
@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.btn-special {
    animation: pulse-primary 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-special {
        width: 100%;
        text-align: center;
    }
}



/* Animation for gradient */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Icon animations */
.nav-actions .btn i {
    transition: transform 0.3s ease;
}

.nav-actions .btn:hover i {
    transform: rotate(360deg) scale(1.1);
}

/* Ripple effect on click */
.nav-actions .btn:active {
    transform: scale(0.95);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .nav-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* GB Packages Section */
.gb-packages {
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
}

.gb-packages .section-title {
    color: var(--white);
}

.gb-packages .section-title i {
    color: #10b981; /* Green icon cho GB packages */
    margin-right: var(--space-2);
}

/* GB Packages Cards - có thể có màu khác biệt nhẹ */
.gb-packages + .pricing-grid .pricing-card {
    border: 2px solid rgba(16, 185, 129, 0.3); /* Green border thay vì purple */
    background: rgba(16, 185, 129, 0.05);
}

.gb-packages + .pricing-grid .pricing-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.08);
}

.gb-packages + .pricing-grid .pricing-card.popular {
    border-color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.gb-packages + .pricing-grid .pricing-card .price-amount {
    color: #10b981; /* Green price cho GB packages */
}

/* Server badges cho GB */
.gb-packages + .pricing-grid .server-badge {
    background: rgba(16, 185, 129, 0.1);
    color: rgba(16, 185, 129, 0.9);
}

.gb-packages + .pricing-grid .server-badge.vip {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.gb-packages + .pricing-grid .server-badge.vip-pro {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: var(--white);
}

/* Smooth scroll cho section có nhiều cards */
.pricing {
    scroll-behavior: smooth;
}

/* Tối ưu performance cho nhiều cards */
.pricing-card {
    will-change: transform;
    backface-visibility: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px) translateZ(0); /* Thêm translateZ cho performance */
}

/* Loading state cho pricing cards */
.pricing-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.pricing-card.loading .price-amount {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

