/* CSS Variables - Design Tokens */
:root {
    --primary-color: #7209b7;
    --primary-light: #9d4edd;
    --primary-dark: #3a0ca3;
    --accent-color: #f72585;
    --accent-light: #ff70a6;
    --secondary-color: #4cc9f0;
    
    --bg-dark: #130722; /* Tím đậm bí ẩn, không quá đen */
    --bg-card: rgba(45, 22, 79, 0.3); /* Hộp kính mờ sắc tím trong suốt */
    --bg-card-hover: rgba(66, 32, 114, 0.55);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-glass-hover: rgba(157, 78, 221, 0.4);
    
    --text-main: #f3eff5;
    --text-muted: #b5aebf; /* Làm chữ xám sáng hơn để dễ đọc */
    --text-dark: #0d0614;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    --gradient-neon: linear-gradient(90deg, var(--accent-color), var(--primary-light), var(--secondary-color));
    --gradient-dark: radial-gradient(circle at 50% 0%, #361765 0%, #110520 100%); /* Hiệu ứng ánh sáng tỏa ra từ đỉnh trang web */
    
    --shadow-glow: 0 8px 32px 0 rgba(114, 9, 183, 0.25);
    --shadow-glow-accent: 0 8px 32px 0 rgba(247, 37, 133, 0.35);
    --shadow-strong: 0 15px 35px rgba(0, 0, 0, 0.5);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--gradient-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.opacity-muted {
    opacity: 0.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition-bounce);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(247, 37, 133, 0.45);
    background: linear-gradient(135deg, var(--accent-light), var(--primary-light));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.02);
    cursor: not-allowed;
}

/* Text Gradient & Badges */
.text-gradient {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(157, 78, 221, 0.15);
    color: var(--primary-light);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(24px);
    background: rgba(26, 11, 48, 0.65); /* Tím mờ trung tính, nổi bật chữ */
    border-bottom: 1px solid rgba(157, 78, 221, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(114, 9, 183, 0.45);
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600; /* Tăng độ dày chữ */
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9); /* Trắng sáng */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nav-link:hover {
    color: var(--accent-light); /* Màu hồng tím phát sáng */
    text-shadow: 0 0 10px rgba(247, 37, 133, 0.6);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -100px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    max-width: 500px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Dashboard Mockup - Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 950px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.mockup-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-body.pos-layout {
    display: grid;
    grid-template-columns: 75px 1.25fr 1.15fr; /* 3 cột: Nhóm món, Lưới món, Giỏ hàng */
    height: 440px; /* Tăng chiều cao lên 440px để thấy rõ nút Lưu & Thanh Toán */
    background: #fdfdfd; /* Màu nền trắng xám chuẩn app POS gốc */
    color: #333333; /* Chữ tối màu dễ đọc */
}

/* Sidebar Categories */
.pos-sidebar {
    background: #f3f3f3;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.category-item {
    padding: 8px 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    color: #666666;
    cursor: pointer;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.2;
}

.category-item span {
    display: block;
    font-size: 0.7rem;
    color: #999999;
}

.category-item.active {
    background: #7209b7; /* Màu tím đặc trưng của CANPOS */
    color: #ffffff;
}

.category-item.active span {
    color: rgba(255, 255, 255, 0.7);
}

/* Middle: Products grid and search bar */
.pos-products {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    height: 100%;
    overflow: hidden;
}

.pos-search-bar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    gap: 8px;
    background: #ffffff;
}

.pos-search-bar .arrow-back {
    color: #555555;
    font-size: 0.85rem;
}

.search-input-wrapper {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper input {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    padding: 6px 30px;
    font-size: 0.7rem;
    background: #fbfbfb;
    outline: none;
}

.keyboard-icon {
    position: absolute;
    left: 10px;
    color: #7209b7;
    font-size: 0.75rem;
}

.barcode-scanner-icon {
    position: absolute;
    right: 10px;
    color: #448aff;
    font-size: 0.75rem;
}

.trash-icon {
    color: #ff5252;
    font-size: 0.85rem;
    cursor: pointer;
}

.add-icon {
    color: #4caf50;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
    align-content: start;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 7px;
    text-align: center;
    background: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.product-card .product-img {
    font-size: 1.5rem;
    margin-bottom: 5px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-card .product-img.bida {
    color: #ffffff;
    background: radial-gradient(circle, #7b2cbf 0%, #3c096c 100%);
    border-radius: 4px;
    font-size: 1rem;
}

.product-name {
    font-size: 0.58rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
    min-height: 14px;
    line-height: 1.1;
}

.product-price {
    font-size: 0.65rem;
    color: #ff5252;
    font-weight: 700;
    width: 100%;
    text-align: left;
    border-top: 1px dashed #eeeeee;
    padding-top: 4px;
}

.stock-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #e1f5fe;
    color: #03a9f4;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
}

.product-card.selected {
    border-color: #7209b7;
    box-shadow: 0 0 5px rgba(114, 9, 183, 0.2);
}

.selected-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #7209b7;
    color: #ffffff;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right Sidebar: Cart Panel */
.pos-cart {
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
}

.cart-header-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-btn {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
}

.cart-btn.customer {
    background: #7209b7;
}

.cart-btn.price-list {
    background: #f1f1f1;
    color: #555555;
    border: 1px solid #dcdcdc;
}

.cart-btn.table-num {
    background: #ff9100;
}

/* Cart Items Scroll list */
.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-box {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 8px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.item-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #222222;
}

.remove-item {
    color: #ff5252;
    font-size: 0.65rem;
    cursor: pointer;
}

.item-notes {
    font-size: 0.6rem;
    color: #ff9100;
    margin-bottom: 6px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-price {
    font-size: 0.6rem;
    color: #999999;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    padding: 2px 6px;
    font-size: 0.6rem;
    background: #f5f5f5;
    color: #555555;
    cursor: pointer;
    font-weight: 700;
}

.qty-val {
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #333333;
    background: #ffffff;
}

.item-total {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff5252;
}

.item-subtoppings {
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px dashed #f0f0f0;
    font-size: 0.58rem;
    color: #ffaa00;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Cart Summary Bottom */
.cart-summary {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 10px;
}

.note-input {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.note-icon {
    position: absolute;
    left: 8px;
    color: #999999;
    font-size: 0.65rem;
}

.note-input input {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 6px 6px 22px;
    font-size: 0.65rem;
    background: #fafafa;
    outline: none;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}

.total-price-red {
    font-size: 0.95rem;
    color: #ff5252;
    font-weight: 800;
}

.action-buttons {
    display: grid;
    grid-template-columns: 40px 1fr 1fr;
    gap: 6px;
}

.menu-btn {
    background: #f1f1f1;
    color: #555555;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
}

.save-btn {
    background: #1976d2;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
}

.pay-btn {
    background: #388e3c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 10px 0;
    cursor: pointer;
}

/* Features Section */
.features-section {
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 36px;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon.purple { background: linear-gradient(135deg, #7209b7, #3f37c9); }
.feature-icon.indigo { background: linear-gradient(135deg, #4895ef, #3f37c9); }
.feature-icon.pink { background: linear-gradient(135deg, #f72585, #b5179e); }
.feature-icon.cyan { background: linear-gradient(135deg, #4cc9f0, #4895ef); }
.feature-icon.blue { background: linear-gradient(135deg, #3a0ca3, #7209b7); }
.feature-icon.teal { background: linear-gradient(135deg, #00f5d4, #00bbf9); }

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Downloads Section */
.downloads-section {
    position: relative;
    overflow: hidden;
}

.downloads-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.download-platform {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.download-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
    min-height: 50px;
}

.download-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Pricing Section */
.pricing-section {
    position: relative;
}

.pricing-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    padding: 8px 20px;
    border-radius: 100px;
    margin-top: 24px;
}

.toggle-label {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.toggle-label.active {
    color: #ffffff;
}

.discount-badge {
    background: var(--accent-color);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    vertical-align: middle;
}

.pricing-toggle {
    width: 50px;
    height: 28px;
    border-radius: 100px;
    background: var(--primary-dark);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    position: relative;
    padding: 2px;
    transition: var(--transition-smooth);
}

.toggle-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    display: block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition-bounce);
    transform: translateX(0);
}

.pricing-toggle.active {
    background: var(--accent-color);
}

.pricing-toggle.active .toggle-circle {
    transform: translateX(22px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 32px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
    background: rgba(30, 14, 55, 0.6);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular:hover {
    background: rgba(43, 20, 78, 0.7);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-glow-accent);
}

.pricing-card.lifetime {
    border-color: rgba(76, 175, 80, 0.25);
}

.pricing-card.lifetime:hover {
    background: rgba(20, 50, 25, 0.4);
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 8px 32px 0 rgba(76, 175, 80, 0.3);
}

.pricing-card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    padding: 6px 18px;
    border-radius: 100px;
    white-space: nowrap;
    z-index: 2;
}

.pricing-card-badge.purple {
    background: var(--gradient-accent);
    box-shadow: var(--shadow-glow-accent);
}

.pricing-card-badge.blue {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 4px 15px rgba(76, 201, 240, 0.4);
}

.pricing-card-badge.green {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.pricing-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
    min-height: 40px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.price-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.price-value-text {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-left: 4px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li i {
    font-size: 0.9rem;
}

.plan-features li i.fa-check {
    color: var(--secondary-color);
}

.plan-features li i.fa-xmark {
    color: #ff5f56;
}

.plan-features li.disabled {
    color: var(--text-muted);
    opacity: 0.45;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

.stars {
    color: #ffd166;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 30px;
    font-style: italic;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.customer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.customer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.customer-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, rgba(22, 11, 38, 0.4), rgba(41, 15, 68, 0.2));
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 60px;
    backdrop-filter: blur(20px);
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    line-height: 1.25;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.05rem;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(76, 201, 240, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(76, 201, 240, 0.15);
}

.contact-card-info {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-glow);
}

.contact-form-container {
    background: rgba(15, 7, 28, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group label .required {
    color: var(--accent-color);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-light);
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.2);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f3eff5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

select.form-control option {
    background-color: var(--bg-dark);
    color: #ffffff;
}

/* Footer */
.footer {
    background: rgba(4, 1, 9, 0.95);
    border-top: 1px solid var(--border-glass);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-bounce);
}

.social-links a:hover {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-accent);
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links-group ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
}

/* Features Tabs styling */
.features-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-accent);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

/* Tab Content Show/Hide */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Video Section styling */
.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(58, 12, 163, 0.4), rgba(247, 37, 133, 0.25)), radial-gradient(circle, #31165a 0%, #130722 100%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-strong), var(--shadow-glow);
    transition: var(--transition-smooth);
    text-decoration: none;
    padding: 24px;
}

.video-placeholder-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-strong), var(--shadow-glow-accent);
}

.video-placeholder-card .play-btn-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(247, 37, 133, 0.5);
    transition: var(--transition-smooth);
    margin-bottom: 20px;
    animation: pulse-glow 2s infinite;
}

.video-placeholder-card:hover .play-btn-circle {
    transform: scale(1.15);
    box-shadow: 0 0 40px rgba(247, 37, 133, 0.8);
}

.video-placeholder-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.video-placeholder-subtext {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    line-height: 1.4;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(247, 37, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 37, 133, 0); }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu toggled by js */
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; /* height of navbar */
        left: 0;
        width: 100%;
        background: rgba(15, 7, 28, 0.98);
        border-bottom: 1px solid rgba(157, 78, 221, 0.25);
        padding: 16px 0;
        gap: 0;
        backdrop-filter: blur(24px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: slideDown 0.3s ease forwards;
    }
    
    .nav-menu.active .nav-link {
        width: 100%;
        padding: 14px 24px;
        text-align: center;
        display: block;
        font-size: 1.05rem;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        transition: all 0.2s ease;
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active .nav-link:hover {
        background: rgba(157, 78, 221, 0.15);
        color: var(--accent-light);
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.floating-btn .btn-label {
    position: absolute;
    right: 70px;
    background: rgba(15, 7, 28, 0.95);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.floating-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
    right: 66px;
}

.zalo-btn {
    background: #0068ff;
    animation: pulse-zalo 2s infinite;
}

.phone-btn {
    background: #4caf50;
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-zalo {
    0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 104, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 104, 255, 0); }
}

@keyframes pulse-phone {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Mobile viewport optimizations */
@media (max-width: 576px) {
    .pricing-card {
        padding: 24px 16px;
    }
    
    .contact-container {
        padding: 24px 16px;
    }
    
    .contact-card-info {
        padding: 24px 16px;
    }
    
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .video-placeholder-card {
        padding: 16px;
    }
    
    .video-placeholder-card .play-btn-circle {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .video-placeholder-text {
        font-size: 1.1rem;
    }
    
    .video-placeholder-subtext {
        font-size: 0.85rem;
        margin-top: 6px;
    }
}
