/* ==========================================================================
   MCViet Cloud Hosting - Custom Styles
   ========================================================================== */

:root {
    --primary-color: #dc3545;
    --secondary-color: #c82333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* ==========================================================================
   Header & Navigation Styles
   ========================================================================== */

.navbar {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(30px);
    padding: 10px 0;
    top: 20px;
    left: 25%;
    right: 25%;
    width: 50%;
    border-radius: 25px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(220, 53, 69, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: white !important;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
}

.navbar.scrolled .navbar-brand {
    font-size: 1.2rem;
}

.navbar-brand i {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
    padding: 8px 16px !important;
    border-radius: 8px;
    position: relative;
    margin: 0 2px;
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    padding: 6px 12px !important;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ==========================================================================
   Dropdown Styles
   ========================================================================== */

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    margin-left: 6px;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    position: absolute;
    top: 100%;
    left: 0;
}

.dropdown.show .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 16px;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 2px 8px;
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    color: white !important;
    background: rgba(103, 132, 234, 0.15);
    transform: translateX(2px);
}

.dropdown-item:first-child {
    color: #667eea !important;
    font-weight: 500;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: 6px 8px;
}

/* ==========================================================================
   Social Buttons
   ========================================================================== */

.social-buttons {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-btn.messenger {
    background: linear-gradient(45deg, #00B2FF, #006AFF);
}

.social-btn.discord {
    background: linear-gradient(45deg, #5865F2, #4752C4);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: white;
}

.social-btn:hover.messenger {
    box-shadow: 0 10px 30px rgba(0, 178, 255, 0.4);
}

.social-btn:hover.discord {
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Cart & Login Buttons
   ========================================================================== */

.cart-icon {
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(45deg, #dc3545, #fd7e14);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-login {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white !important;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 8px;
    font-size: 0.9rem;
}

.navbar.scrolled .btn-login {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(103, 132, 234, 0.4);
    color: white !important;
}

/* ==========================================================================
   Support Status Dot
   ========================================================================== */

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    margin-left: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-right: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-hero:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Floating Cubes Animation
   ========================================================================== */

.floating-cubes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cube {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    animation: float 8s ease-in-out infinite;
}

.cube-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 15%;
    background: rgba(103, 132, 234, 0.3);
    animation-delay: 0s;
}

.cube-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 20%;
    background: rgba(118, 75, 162, 0.3);
    animation-delay: 2s;
}

.cube-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 60%;
    background: rgba(103, 132, 234, 0.2);
    animation-delay: 4s;
}

.cube-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 10%;
    background: rgba(118, 75, 162, 0.2);
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

/* ==========================================================================
   Features Intro Section
   ========================================================================== */

.features-intro-section {
    padding: 100px 0;
    background: #0f172a;
}

.feature-intro-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-intro-card:hover::before {
    opacity: 1;
}

.feature-intro-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-intro-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.feature-intro-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-intro-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stats-section {
    padding: 80px 0;
    background: var(--light-color);
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
    margin-bottom: 30px;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "🔥 PHỔ BIẾN NHẤT";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
}

.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.plan-price .currency {
    font-size: 1.2rem;
    color: #666;
    vertical-align: top;
}

.plan-price .period {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--success-color);
    margin-right: 15px;
    width: 20px;
    font-size: 16px;
}

.btn-plan {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    padding: 100px 0;
    background: var(--light-color);
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991px) {
    .navbar.scrolled {
        left: 5%;
        right: 5%;
        width: 90%;
    }
    
    .social-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

/* ==== Pricing: badge + featured glow ==== */
.pricing-card {
  position: relative;
  border: 2px solid transparent;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 60px rgba(0,0,0,.15);
}
.pricing-card.featured {
  border-color: #dc3545; /* primary đỏ kiểu Asaka */
  box-shadow: 0 12px 50px rgba(220,53,69,.25);
}

/* Pill badge ở đỉnh card */
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  user-select: none;
}
.badge-bestseller   { background: linear-gradient(135deg,#ff7a18,#ff3d54); }
.badge-performance  { background: linear-gradient(135deg,#22c55e,#16a34a); }
.badge-exclusive    { background: linear-gradient(135deg,#0891b2,#0ea5e9); }

/* Nội dung card khớp Asaka */
.plan-header { text-align: center; margin-bottom: 10px; }
.plan-name { font-size: 1.15rem; font-weight: 800; margin: 0; color: #222; }
.plan-subtitle { font-size: .9rem; color: #666; margin: 2px 0 0; }

.plan-features { list-style: none; padding: 0; margin: 14px 0 16px; color: #444; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid #f1f1f1; }
.plan-features li:last-child { border-bottom: none; }
.plan-features i { color: #22c55e; margin-right: 8px; }

.plan-price { text-align: center; margin-bottom: 12px; }
.plan-price .amount { font-size: 1.7rem; font-weight: 900; color: #dc3545; }
.plan-price .currency { margin-left: 2px; font-weight: 700; color: #dc3545; }
.plan-price .period { margin-left: 4px; color: #666; font-size: .95rem; }

.btn-plan {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: #dc3545;
  color: #fff;
  border: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-plan:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(220,53,69,.35); transform: translateY(-2px); }

/* ==== Lưới 5 cột kiểu Asaka ==== */
#pricing-container.pricing-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1400px) {
  #pricing-container.pricing-grid-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1200px) {
  #pricing-container.pricing-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  #pricing-container.pricing-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  #pricing-container.pricing-grid-5 { grid-template-columns: 1fr; }
}

/* ==== CTA/Footer polish nhẹ ==== */
.cta-section {
  background: linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f172a 100%);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer {
  background: #0f172a;
  color: #cbd5e1;
}
.footer h5 { color: #e2e8f0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer a { color: #93c5fd; }
.footer a:hover { color: #bfdbfe; }

.pricing-card.featured .btn-plan {
  background: linear-gradient(135deg,#ff7a18,#ff3d54);
  box-shadow: 0 10px 30px rgba(255,61,84,.35);
}
.pricing-card.featured .amount,
.pricing-card.featured .currency {
  color: #ff3d54;
}

/* === NAVBAR: floating + blur mạnh khi scroll === */
.navbar {
  transition: all .35s cubic-bezier(.4,0,.2,1);
  background: rgba(3, 7, 18, .35) !important; /* hơi tối hơn */
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar.scrolled {
  background: rgba(2,6,23,.85) !important; /* đậm, ít trong suốt hơn */
  backdrop-filter: blur(18px);
  left: 22%;
  right: 22%;
  width: 56%;
  top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(220,53,69,.22);
  box-shadow: 0 10px 45px rgba(0,0,0,.55), 0 0 0 1px rgba(220,53,69,.08) inset;
}

/* Dropdown mở mượt (dùng chung cho hover + JS .show) */
.navbar .dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(.98);
  transform-origin: top center;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  background: rgba(10, 16, 32, .96);
  border: 1px solid rgba(255,255,255,.08);
}
.navbar .dropdown.show .dropdown-menu,
.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Link ở menu xổ xuống */
.dropdown-item i { width: 16px; margin-right: 8px; opacity: .85; }

/* === HERO: gradient text + orb glow + grid rõ hơn === */
.text-gradient-red {
  background: linear-gradient(90deg, #ff7a18, #ff3d54 55%, #ff1f8f);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(220,53,69,.18), transparent 60%),
              radial-gradient(900px 600px at 100% 10%, rgba(103,132,234,.15), transparent 60%),
              linear-gradient(135deg,#0f172a 0%, #0b1020 50%, #090f1a 100%);
}
.hero::before { /* grid đậm hơn chút */
  opacity: .4;
}
.hero::after { /* orb sáng ở góc */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 220px at 85% 20%, rgba(220,53,69,.18), transparent 70%);
  pointer-events: none;
}

/* Parallax nhẹ cho cubes khi rê chuột */
.cube { will-change: transform; transition: transform .06s linear; }

/* Nút CTA hero hơi “dày” hơn */
.btn-hero { border-radius: 12px; font-weight: 600; }
.btn-hero-secondary { border-radius: 12px; }

/* Giữ responsive cho floating navbar */
@media (max-width: 991px) {
  .navbar.scrolled { left: 5%; right: 5%; width: 90%; top: 12px; border-radius: 14px; }
}

/* === TRUST BAR (ngay dưới hero) === */
.trustbar {
  background: rgba(10,16,32,.85);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  padding: 16px 0;
}
.trustbar .trust-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: center;
}
.trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  color: #e5e7eb;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
  border-color: rgba(220,53,69,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.trust-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: radial-gradient(80% 80% at 50% 50%, rgba(220,53,69,.35), rgba(220,53,69,.08));
  border: 1px solid rgba(220,53,69,.25);
}
.trust-icon i { color: #fff; font-size: 16px; }
.trust-text { line-height: 1.15; }
.trust-text .t-title { font-weight: 800; font-size: .95rem; color: #fff; }
.trust-text .t-sub { font-size: .8rem; color: #93a4b8; }

/* responsive trust bar */
@media (max-width: 1200px) { .trustbar .trust-wrap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px)  { .trustbar .trust-wrap { grid-template-columns: 1fr; } }

/* === QUICK FEATURES (3 cột nhỏ) === */
.quick-features {
  background: #0f172a;
  padding: 36px 0 10px;
}
.qf-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.qf-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 18px;
  display: flex; align-items: center; gap: 12px;
  color: #e5e7eb;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.qf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(103,132,234,.25);
  box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.qf-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(80% 80% at 50% 50%, rgba(103,132,234,.35), rgba(103,132,234,.08));
  border: 1px solid rgba(103,132,234,.25);
}
.qf-icon i { color: #fff; font-size: 18px; }
.qf-title { font-weight: 800; font-size: 1rem; margin: 0; color: #fff; }
.qf-sub   { margin: 2px 0 0; color: #93a4b8; font-size: .9rem; }

/* responsive quick features */
@media (max-width: 992px) { .qf-grid { grid-template-columns: 1fr; } }

/* === PROMO BAR (flash sale, fixed top) === */
.promo-bar {
  position: fixed; inset: 0 0 auto 0; height: 46px; z-index: 1100;
  display: flex; align-items: center;
  background: linear-gradient(90deg, #0f172a, #1a1f35 55%, #0f172a);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #e5e7eb; font-size: 14px;
}
.promo-bar .container { display: flex; align-items: center; gap: 14px; }
.promo-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px; font-weight: 800; letter-spacing: .2px;
  background: linear-gradient(135deg,#ff7a18,#ff3d54);
  color: #fff; box-shadow: 0 6px 16px rgba(255,61,84,.25);
}
.promo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #cbd5e1; }

.promo-timer {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
}
.promo-box {
  min-width: 42px; height: 30px; border-radius: 10px; padding: 0 8px;
  display: grid; place-items: center; font-weight: 800;
  background: #111827; border: 1px solid rgba(255,255,255,.08); color: #fff;
}
.promo-sep { opacity: .5; }

.promo-cta {
  margin-left: 8px; padding: 6px 12px; border-radius: 10px; font-weight: 700;
  background: #dc3545; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.08);
}
.promo-cta:hover { filter: brightness(1.05); }

.promo-close {
  margin-left: 8px; width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1);
  background: #0b1324; color: #cbd5e1; display: grid; place-items: center; cursor: pointer;
}
.promo-close:hover { background: #0f1930; }

@media (max-width: 768px) {
  .promo-bar { height: 56px; }
  .promo-text { display: none; } /* gọn trên mobile */
}

/* Khi có promo, đẩy navbar xuống để không đè lên nhau */
body.promo-on .navbar       { top: 46px; }
body.promo-on .navbar.scrolled { top: calc(18px + 46px); }
@media (max-width: 768px) {
  body.promo-on .navbar       { top: 56px; }
  body.promo-on .navbar.scrolled { top: calc(12px + 56px); }
}

/* ===== Pricing DARK theme (như ảnh 2) ===== */
.pricing-section.pricing--dark {
  background: #0b0f1a;
  padding: 90px 0;
}
.pricing-head {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom: 20px;
}
.pricing-section.pricing--dark .section-title {
  margin: 0;
  color: #e5e7eb;
  letter-spacing: .3px;
}

/* viewport + track để trượt ngang */
.pricing-viewport {
  position: relative;
  overflow: hidden; /* ẩn scrollbar */
}
.pricing-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 12px 6px 4px;
  scrollbar-width: none; /* Firefox */
}
.pricing-track::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Mũi tên điều hướng */
.p-nav {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(14,18,28,.85); color: #e5e7eb;
  display:grid; place-items:center; cursor:pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.p-nav:hover { transform: translateY(-1px); background:#0f172a; box-shadow:0 8px 22px rgba(0,0,0,.35); }

/* bóng mờ 2 bên để gợi ý còn nội dung */
.scroll-shadow {
  position:absolute; top:0; bottom:0; width:80px; pointer-events:none;
}
.scroll-shadow.left  { left:0;  background:linear-gradient(90deg, #0b0f1a 0%, transparent 100%); }
.scroll-shadow.right { right:0; background:linear-gradient(270deg, #0b0f1a 0%, transparent 100%); }

/* Card tối & viền nhẹ giống Asaka */
.pricing-card {
  position: relative;
  min-width: 320px; /* chiều ngang mỗi card khi cuộn */
  max-width: 360px;
  scroll-snap-align: start;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  color: #cbd5e1;
  padding: 20px 18px;
}
.pricing-card .plan-name      { color:#f1f5f9; }
.pricing-card .plan-subtitle  { color:#94a3b8; }
.pricing-card .plan-features  { color:#d1d5db; }
.pricing-card .plan-features i{ color:#60a5fa; } /* chấm xanh dương */
.pricing-card .plan-price .amount,
.pricing-card .plan-price .currency { color:#25a244; } /* giá xanh lá như ảnh 2 */

.pricing-card.featured {
  border-color: rgba(220,53,69,.35);
  box-shadow: 0 10px 40px rgba(220,53,69,.25);
}

/* badge tròn */
.plan-badge {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  padding:6px 14px; border-radius:999px; font-weight:800; color:#fff; font-size:.78rem;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.badge-bestseller  { background: linear-gradient(135deg,#22c55e,#16a34a); }     /* BEST SELLER xanh lá */
.badge-performance { background: linear-gradient(135deg,#60a5fa,#818cf8); }     /* HIGH PERFORMANCE xanh */
.badge-exclusive   { background: linear-gradient(135deg,#f59e0b,#f97316); }     /* TÀI NGUYÊN ĐỘC LẬP cam */

/* nút đặt */
.btn-plan {
  background: linear-gradient(135deg,#ef4444,#f97316);
  border: none; color:#fff; font-weight:800; border-radius:12px; padding:11px 14px; width:100%;
}

/* Responsive: khi màn nhỏ vẫn cuộn ngang, không vỡ */
@media (max-width: 480px) {
  .pricing-card { min-width: 85vw; }
}

/* ==== PRICING (DARK) – fully scoped để đè được style sáng cũ ==== */
.pricing-section.pricing--dark { background:#0b0f1a; padding:90px 0; }
.pricing--dark .pricing-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.pricing--dark .section-title { margin:0; color:#e5e7eb; letter-spacing:.3px; }

/* viewport + track trượt ngang */
.pricing--dark .pricing-viewport { position:relative; overflow:hidden; }
.pricing--dark .pricing-track {
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch; padding:12px 6px 4px; scrollbar-width:none;
}
.pricing--dark .pricing-track::-webkit-scrollbar{ display:none; }

/* card */
.pricing--dark .pricing-card{
  position:relative; min-width:320px; max-width:360px; scroll-snap-align:start;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08); box-shadow:0 10px 30px rgba(0,0,0,.35);
  color:#cbd5e1; padding:20px 18px;
}
.pricing--dark .pricing-card.featured{ border-color:rgba(220,53,69,.35); box-shadow:0 10px 40px rgba(220,53,69,.25); }
.pricing--dark .plan-header{ text-align:left; margin-bottom:10px; }
.pricing--dark .plan-name{ color:#f1f5f9; font-weight:800; }
.pricing--dark .plan-subtitle{ color:#94a3b8; }
.pricing--dark .plan-features{ color:#e2e8f0; }
.pricing--dark .plan-features i{ color:#60a5fa; margin-right:8px; }
.pricing--dark .plan-price .amount,
.pricing--dark .plan-price .currency{ color:#22c55e; }
.pricing--dark .btn-plan{
  background:linear-gradient(135deg,#ef4444,#f97316);
  border:none; color:#fff; font-weight:800; border-radius:12px; padding:11px 14px; width:100%;
}

/* badge */
.pricing--dark .plan-badge{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  padding:6px 14px; border-radius:999px; font-weight:800; color:#fff; font-size:.78rem;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.pricing--dark .badge-bestseller{background:linear-gradient(135deg,#22c55e,#16a34a);}
.pricing--dark .badge-performance{background:linear-gradient(135deg,#60a5fa,#818cf8);}
.pricing--dark .badge-exclusive{background:linear-gradient(135deg,#f59e0b,#f97316);}

/* mũi tên & bóng 2 mép */
.pricing--dark .p-nav{
  width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.12);
  background:rgba(14,18,28,.85);color:#e5e7eb;display:grid;place-items:center;cursor:pointer;
  transition:transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.pricing--dark .p-nav:hover{ transform:translateY(-1px); background:#0f172a; box-shadow:0 8px 22px rgba(0,0,0,.35); }

.pricing--dark .scroll-shadow{ position:absolute; top:0; bottom:0; width:80px; pointer-events:none; transition:opacity .2s; }
.pricing--dark .scroll-shadow.left{ left:0; background:linear-gradient(90deg,rgba(11,15,26,1) 0%, rgba(11,15,26,0) 100%); opacity:0; }
.pricing--dark .scroll-shadow.right{ right:0; background:linear-gradient(270deg,rgba(11,15,26,1) 0%, rgba(11,15,26,0) 100%); opacity:0; }

/* trong lúc kéo: tắt pointer-events con để kéo mượt */
.pricing--dark .pricing-track.dragging{ cursor:grabbing; user-select:none; }
.pricing--dark .pricing-track.dragging *{ pointer-events:none; }

/* phòng khi vẫn còn class lưới cũ; vô hiệu hoá */
#pricing-container.pricing-grid-5{ display:contents !important; }

/* === PATCH A: DARK PALETTE + BACKGROUND SYNC === */
:root{
  --bg-0:#0b0f1a;   /* nền chính toàn site */
  --bg-1:#0f172a;   /* nền card/panel */
  --border-1:rgba(255,255,255,.08);
  --text-1:#e5e7eb;
  --muted-1:#94a3b8;
}
body{ background:var(--bg-0); color:var(--text-1); }

/* Ép các section về cùng nền tối để không loang màu */
.hero,
.trustbar,
.quick-features,
.features-intro-section,
.pricing-section,
.features-section,
.cta-section,
.footer{
  background:var(--bg-0) !important;
  color:var(--text-1);
}

/* Card intro/feature về cùng tông tối */
.feature-intro-card,
.feature-card{
  background:var(--bg-1) !important;
  border:1px solid var(--border-1) !important;
  color:var(--text-1) !important;
}

/* === PATCH B: PRICING DARK TUNING === */
.pricing--dark .pricing-card{
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.03)) !important;
  border:1px solid var(--border-1) !important;
  color:#cbd5e1 !important;
}

/* List spec bớt gắt – viền mảnh và màu dịu */
.pricing--dark .plan-features li{
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}
.pricing--dark .plan-features li:last-child{ border-bottom:none !important; }

/* Bullet nhỏ gọn, xanh dương */
.pricing--dark .plan-features .fa-circle{ font-size:8px; color:#60a5fa !important; }

/* Giá xanh lá dịu */
.pricing--dark .plan-price .amount,
.pricing--dark .plan-price .currency{
  color:#22c55e !important;
}

/* Badge: không wrap & nhấc cao để không dính viền */
.pricing--dark .plan-badge{
  white-space:nowrap; line-height:1; top:-18px !important; z-index:2;
}

/* === PATCH C: SLIDER POLISH === */
/* Nếu còn class grid 5-cột thì vô hiệu để không phá slider */
#pricing-container.pricing-grid-5{ display:contents !important; }

/* Bóng mép dịu – không lố như ảnh bạn chụp */
.pricing--dark .scroll-shadow{ transition:opacity .2s; }
.pricing--dark .scroll-shadow.left{
  background:linear-gradient(90deg, rgba(11,15,26,1) 0%, rgba(11,15,26,0) 100%);
  opacity:0;
}
.pricing--dark .scroll-shadow.right{
  background:linear-gradient(270deg, rgba(11,15,26,1) 0%, rgba(11,15,26,0) 100%);
  opacity:0;
}

/* Kéo mượt: khi đang kéo, tắt pointer-events con để không “dính” nút */
.pricing--dark .pricing-track.dragging{ cursor:grabbing; user-select:none; }
.pricing--dark .pricing-track.dragging *{ pointer-events:none; }

/* ===== Features: layout 2 cột (trái 4 thẻ, phải ảnh) ===== */
.features-2col { padding: 80px 0; background: var(--bg-0, #0b0f1a); }
.features-2col .section-title { color:#f1f5f9; font-weight:800; letter-spacing:.2px; }
.features-2col .section-subtitle { color:#9aa4b2; margin-bottom: 22px; }

/* Grid 4 card bên trái */
.feat-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 992px){ .feat-grid { grid-template-columns: 1fr; } }

/* Card tối + chữ xám-trắng */
.f-card{
  display:flex; gap:12px; align-items:flex-start;
  padding:18px; border-radius:16px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  color:#e5e7eb; /* chữ sáng hơn trong box */
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
  height:100%;
}
.f-card h4{ color:#f8fafc; font-weight:800; margin:2px 0 6px; }
.f-card p { color:#cbd5e1; margin:0; } /* xám-trắng (dễ đọc) */

.f-icon{
  width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
  color:#fff; font-size:18px; flex:0 0 auto;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

/* Accent màu viền/icon cho từng card */
.f-card{ --acc:#5b74f1; }
.f-card.accent-blue   { --acc:#5b74f1; }
.f-card.accent-green  { --acc:#22c55e; }
.f-card.accent-purple { --acc:#a78bfa; }
.f-card.accent-orange { --acc:#fb923c; }

.f-card{ border-color: color-mix(in srgb, var(--acc) 35%, rgba(255,255,255,.08)); }
.f-card .f-icon{
  background: radial-gradient(80% 80% at 50% 50%, color-mix(in srgb, var(--acc) 45%, transparent), rgba(255,255,255,.05));
  border-color: color-mix(in srgb, var(--acc) 55%, rgba(255,255,255,.12));
}
.f-card:hover{
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--acc) 70%, rgba(255,255,255,.15));
  box-shadow: 0 16px 40px color-mix(in srgb, var(--acc) 25%, rgba(0,0,0,.45));
}

/* Ảnh bên phải */
.photo-stack { display: grid; gap: 16px; }
.photo-card{
  position: relative; overflow: hidden; border-radius: 18px;
  background: #0f172a; border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.photo-card img{ width:100%; height: 280px; object-fit: cover; display:block; }
@media (min-width: 1200px){ .photo-card:first-child img{ height: 300px; } }

/* Chip ở góc trái trên */
.photo-chip{
  position:absolute; left:12px; top:12px;
  padding:6px 12px; border-radius: 999px; font-weight:800; font-size:.78rem;
  color:#fff; background: rgba(96,165,250,.9);  /* xanh nhạt */
  border:1px solid rgba(255,255,255,.15);
  display:inline-flex; gap:6px; align-items:center;
}

/* Stats bar dưới ảnh */
.photo-stats{
  position:absolute; left:14px; right:14px; bottom:14px;
  display:flex; gap:14px; justify-content:space-between;
  background: rgba(15,23,42,.75); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 10px 14px;
}
.ps-item{ text-align:center; color:#cbd5e1; min-width: 90px; }
.ps-item strong{ color:#22c55e; display:block; font-size:1rem; line-height:1.1; }
.ps-item span{ color:#9aa4b2; font-size:.88rem; }

/* ===== Long feature box (dưới 4 thẻ trái) ===== */
.f-long{
  margin-top:16px;
  padding:18px 20px;
  border-radius:16px;
  background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(139,92,246,.10));
  border:1px solid rgba(96,165,250,.35);
  box-shadow: 0 10px 28px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04);
}
.f-long h5{
  margin:0 0 10px 0;
  font-weight:800;
  color:#f1f5f9;              /* tiêu đề sáng hơn */
}
.f-list{
  list-style:none; margin:0; padding:0;
  display:grid; gap:10px 24px;
  grid-template-columns: repeat(2, 1fr);   /* 2 cột */
}
@media (max-width: 992px){
  .f-list{ grid-template-columns: 1fr; }   /* mobile 1 cột */
}
.f-list li{
  position:relative; padding-left:16px;
  color:#cbd5e1;                           /* chữ xám–trắng dễ đọc */
}
.f-list li::before{
  content:""; width:6px; height:6px; border-radius:50%;
  background:#60a5fa;                      /* chấm xanh */
  position:absolute; left:0; top:.6em;
  box-shadow:0 0 0 4px rgba(96,165,250,.18);
}

/* ==== Footer boxed (gom tất cả vào 1 box) ==== */
.footer {
  background: var(--bg-0, #0b0f1a);
  padding: 60px 0 36px;
  color: #e5e7eb;
}

.footer-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.03);
  padding: 22px 22px 12px;
}

/* lưới 4 cột trong box */
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 992px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* heading & màu nhấn */
.footer .brand h5{ color:#f8fafc; font-weight:900; margin-bottom: 8px; }
.footer .muted{ color:#9aa4b2; margin:0; }

.ft-title{
  color:#f1f5f9;
  font-weight:800;
  margin: 6px 0 10px;
  position: relative;
}
.ft-title::after{
  content:"";
  display:block;
  width:42px; height:2px;
  margin-top:6px;
  background: linear-gradient(90deg, #5b74f1, #22c55e);
  border-radius: 2px;
}

/* list link */
.ft-list{ list-style:none; padding:0; margin:0; }
.ft-list li{ margin: 10px 0; }
.ft-list a{
  color:#cbd5e1; text-decoration:none;
  transition: color .15s ease, transform .15s ease;
}
.ft-list a:hover{ color:#93c5fd; transform: translateX(2px); }

/* contact list với icon */
.ft-contact{ list-style:none; padding:0; margin:0; }
.ft-contact li{
  display:flex; align-items:center; gap:10px;
  margin: 10px 0; color:#cbd5e1;
}
.ft-contact i{
  width:28px; height:28px; border-radius:8px;
  display:grid; place-items:center;
  background: rgba(96,165,250,.12);
  color:#93c5fd;
  border: 1px solid rgba(96,165,250,.25);
}
.ft-contact a{ color:#cbd5e1; text-decoration:none; }
.ft-contact a:hover{ color:#93c5fd; }

/* meta line dưới cùng */
.footer-meta{
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
  text-align: center;
  color:#9aa4b2;
}

/* ===== PAGE: /hosting — Performance Hero ===== */
.page-hosting{ background: var(--bg-0, #0b0f1a); }

.perf-hosting{
  padding: 90px 0;
  background:
    radial-gradient(1000px 500px at 0% 0%, rgba(96,165,250,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(168,85,247,.10), transparent 60%),
    var(--bg-0, #0b0f1a);
  color:#e5e7eb;
}
.perf-hosting .ph-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 12px; border-radius:999px; font-weight:800; font-size:.8rem;
  color:#dbeafe; background: rgba(59,130,246,.18); border:1px solid rgba(59,130,246,.3);
}
.perf-hosting .ph-title{
  margin:12px 0 6px;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900; line-height:1.05; color:#f8fafc;
}
.perf-hosting .ph-title .accent{
  background: linear-gradient(90deg,#8ab4ff,#7c3aed);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.perf-hosting .ph-sub{ color:#9aa4b2; max-width: 56ch; }

/* 4 ô tính năng */
.ph-grid{
  display:grid; gap:14px; grid-template-columns: 1fr 1fr; margin:18px 0 14px;
}
@media (max-width: 576px){ .ph-grid{ grid-template-columns: 1fr; } }

.ph-card{
  display:flex; gap:12px; align-items:center;
  padding:14px; border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.ph-icon{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  color:#fff; background: radial-gradient(80% 80%, rgba(96,165,250,.45), rgba(96,165,250,.08));
  border:1px solid rgba(96,165,250,.35);
}
.ph-card h5{ margin:0; color:#f1f5f9; font-weight:800; }
.ph-card small{ color:#9aa4b2; }

/* CTA */
.ph-actions{ display:flex; gap:10px; margin-top:6px; }
.ph-btn{
  border-radius:12px; padding:10px 14px; font-weight:800; border:1px solid transparent;
}
.ph-primary{ background: linear-gradient(135deg,#6366f1,#7c3aed); color:#fff; }
.ph-ghost{ background: transparent; color:#e5e7eb; border-color: rgba(255,255,255,.18); }
.ph-btn:hover{ filter: brightness(1.05); }

/* Media panel bên phải */
.ph-media{
  position:relative; overflow:hidden; border-radius:22px;
  background:#0f172a; border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 55px rgba(0,0,0,.5);
}
.ph-media img, .ph-media video{ width:100%; height: 360px; object-fit: cover; display:block; }
@media (min-width: 1200px){ .ph-media img, .ph-media video{ height: 420px; } }

/* ===== Skin BASIC cho section perf-hosting ===== */
.perf-hosting.is-basic{
  /* nền hero: chuyển accent sang đỏ-cam như trang chính */
  background:
    radial-gradient(1000px 500px at 0% 0%, rgba(239,68,68,.12), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(249,115,22,.12), transparent 60%),
    var(--bg-0, #0b0f1a);
}

.perf-hosting.is-basic .ph-title .accent{
  background: linear-gradient(90deg,#ef4444,#f97316);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}

.perf-hosting.is-basic .ph-chip{
  color:#ffe4e6;
  background: rgba(239,68,68,.18);
  border:1px solid rgba(239,68,68,.35);
}

.perf-hosting.is-basic .ph-icon{
  background: radial-gradient(80% 80% at 50% 50%, rgba(239,68,68,.45), rgba(239,68,68,.08));
  border:1px solid rgba(239,68,68,.35);
}

.perf-hosting.is-basic .ph-btn.ph-primary{
  background: linear-gradient(135deg,#ef4444,#f97316);
  color:#fff;
}

/* ===== BASIC plans (giống layout Dedicated, accent đỏ) ===== */
.plans-basic{ padding: 60px 0 90px; background: var(--bg-0,#0b0f1a); }
.pb-head{ text-align:center; margin-bottom: 18px; }
.pb-title{ color:#f8fafc; font-weight:900; letter-spacing:.2px; }
.pb-sub{ color:#9aa4b2; }

.pb-grid{
  display:grid; gap:18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px){ .pb-grid{ grid-template-columns: 1fr; } }

.pb-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  color:#e5e7eb;
  padding: 20px;
}
.pb-card.red-accent{
  border-color: rgba(239,68,68,.28);
  box-shadow: 0 12px 34px rgba(239,68,68,.15);
}

.pb-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.pb-name{ margin:0; color:#f1f5f9; font-weight:900; }
.pb-badge{
  padding:6px 12px; border-radius:999px; font-weight:800; font-size:.78rem; color:#fff;
  background: linear-gradient(135deg,#ef4444,#f97316);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 16px rgba(249,115,22,.28);
}

.pb-loc{ color:#9aa4b2; margin-bottom:8px; }
.pb-loc i{ color:#93c5fd; margin-right:6px; }

.pb-spec{ list-style:none; padding:0; margin:0; }
.pb-spec li{
  padding:8px 0; border-bottom:1px solid rgba(255,255,255,.08);
  color:#dbeafe; display:flex; gap:10px; align-items:flex-start;
}
.pb-spec li:last-child{ border-bottom:none; }
.pb-spec i{ color:#22c55e; margin-top:2px; }

.pb-sep{ height:1px; background:rgba(255,255,255,.08); margin:10px 0; }

.pb-foot{ display:flex; align-items:center; gap:14px; }
.pb-price strong{ font-size:1.8rem; color:#22c55e; }
.pb-price span{ color:#9aa4b2; }
.pb-btn{
  margin-left:auto; padding:10px 14px; border-radius:12px; border:none; font-weight:800; color:#fff; cursor:pointer;
  background: linear-gradient(135deg,#ef4444,#f97316);
  box-shadow:0 10px 24px rgba(249,115,22,.30);
}
.pb-btn:hover{ filter: brightness(1.06); }

/* ==== PRICING: Split row (switcher + featured) ==== */
.pricing-section .pricing-split{ margin-bottom: 14px; }

/* switcher (trái) */
.switch-grid{ display:grid; gap:12px; }
.switch-card{
  --ring: rgba(239,68,68,.30);
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:14px 16px; border-radius:16px; text-decoration:none;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  color:#e5e7eb; transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.switch-card .left{ display:flex; align-items:center; gap:12px; }
.switch-card .icon{
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:#fff;
  background: radial-gradient(80% 80% at 50% 50%, rgba(239,68,68,.5), rgba(239,68,68,.08));
  border:1px solid rgba(239,68,68,.35);
}
.switch-card .title{ color:#f8fafc; font-weight:800; line-height:1; }
.switch-card .sub{ color:#9aa4b2; font-size:.92rem; }
.switch-card .arrow{ color:#cbd5e1; }

/* trạng thái */
.switch-card.primary{
  background: linear-gradient(135deg,#ef4444,#f97316);
  border-color: transparent; color:#fff; box-shadow:0 12px 28px rgba(249,115,22,.28);
}
.switch-card.primary .title,.switch-card.primary .sub,.switch-card.primary .arrow{ color:#fff; }
.switch-card:hover{ transform: translateY(-2px); border-color: var(--ring); box-shadow:0 12px 30px rgba(239,68,68,.18); }

/* featured (phải) */
.featured-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:18px; color:#e5e7eb;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); position:relative;
}
.featured-card.red-accent{ border-color: rgba(239,68,68,.28); box-shadow:0 12px 34px rgba(239,68,68,.15); }

.fc-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.fc-name{ margin:0; color:#f1f5f9; font-weight:900; }
.fc-badge{
  padding:6px 12px; border-radius:999px; font-weight:800; font-size:.78rem; color:#fff;
  background: linear-gradient(135deg,#ef4444,#f97316); border:1px solid rgba(255,255,255,.15);
  box-shadow:0 6px 16px rgba(249,115,22,.28);
}
.fc-loc{ color:#9aa4b2; margin-bottom:8px; }
.fc-loc i{ color:#93c5fd; margin-right:6px; }

.fc-spec{ list-style:none; margin:0; padding:0; }
.fc-spec li{
  display:flex; gap:10px; align-items:flex-start; padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08); color:#dbeafe;
}
.fc-spec li:last-child{ border-bottom:none; }
.fc-spec i{ color:#22c55e; margin-top:2px; }

.fc-sep{ height:1px; background:rgba(255,255,255,.08); margin:10px 0; }
.fc-foot{ display:flex; align-items:center; gap:12px; }
.fc-price strong{ color:#22c55e; font-size:1.8rem; }
.fc-price span{ color:#9aa4b2; }

.fc-btn{
  margin-left:auto; border:none; border-radius:12px; padding:10px 14px; font-weight:800; color:#fff; cursor:pointer;
  background: linear-gradient(135deg,#ef4444,#f97316);
  box-shadow:0 12px 24px rgba(249,115,22,.30);
}
.fc-btn:hover{ filter:brightness(1.05); }

/* 2 featured cards on the right */
.featured-grid{
  display:grid; gap:12px; grid-template-columns: 1fr 1fr;
}
@media (max-width: 992px){
  .featured-grid{ grid-template-columns: 1fr; }
}

/* left switch boxes: bớt cao, cân gọn */
.switch-grid{ grid-auto-rows: 1fr; }
.switch-card{ padding: 12px 14px; min-height: 84px; }


/* Hide slider block under pricing */
.pricing-section .pricing-viewport{ display:none !important; }

/* === Features Intro (neo style, vibe Asaka nhưng hiện đại hơn) === */
.features-intro--neo{
  padding: 80px 0;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(96,165,250,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(168,85,247,.10), transparent 60%),
    var(--bg-0,#0b0f1a);
}
.features-intro--neo .section-title{
  color:#f8fafc; font-weight:900; letter-spacing:.2px;
}
.features-intro--neo .section-subtitle{ color:#9aa4b2; }

/* Card */
.feature-intro-card{
  --acc:#5b74f1; /* mặc định xanh dương */
  position:relative; height:100%;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px 18px 16px;
  color:#e5e7eb;
  box-shadow: 0 12px 32px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.02);
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-intro-card h4{ margin:10px 0 6px; color:#f1f5f9; font-weight:800; }
.feature-intro-card p{ color:#cbd5e1; margin:0; }

/* Icon ô vuông theo accent */
.feature-intro-icon{
  width:48px; height:48px; border-radius:14px; display:grid; place-items:center;
  color:#fff; font-size:18px; flex:0 0 auto;
  background: radial-gradient(80% 80% at 50% 50%, color-mix(in srgb,var(--acc) 55%, transparent), rgba(255,255,255,.06));
  border:1px solid color-mix(in srgb,var(--acc) 55%, rgba(255,255,255,.12));
  box-shadow: 0 8px 18px color-mix(in srgb,var(--acc) 25%, transparent);
}

/* Hover glow nhẹ + nâng */
.feature-intro-card:hover{
  transform: translateY(-4px);
  border-color: color-mix(in srgb,var(--acc) 55%, rgba(255,255,255,.15));
  box-shadow: 0 18px 40px color-mix(in srgb,var(--acc) 25%, rgba(0,0,0,.55)), inset 0 0 0 1px rgba(255,255,255,.04);
}

/* Accents cho từng thẻ */
.feature-intro-card.accent-blue  { --acc:#60a5fa; }
.feature-intro-card.accent-cyan  { --acc:#22d3ee; }
.feature-intro-card.accent-green { --acc:#22c55e; }
.feature-intro-card.accent-purple{ --acc:#a78bfa; }
.feature-intro-card.accent-amber { --acc:#f59e0b; }
.feature-intro-card.accent-rose  { --acc:#f472b6; }

/* Mobile spacing tinh gọn */
@media (max-width: 576px){
  .features-intro--neo{ padding: 60px 0; }
  .feature-intro-card{ padding:16px; }
}

/* === HERO skin cho Premium (xanh-tím) === */
.perf-hosting.is-premium{
  background:
    radial-gradient(1000px 500px at 0% 0%, rgba(99,102,241,.12), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(34,211,238,.12), transparent 60%),
    var(--bg-0,#0b0f1a);
}
.perf-hosting.is-premium .ph-title .accent{
  background: linear-gradient(90deg,#6366f1,#22d3ee);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.perf-hosting.is-premium .ph-chip{
  color:#e0e7ff; background:rgba(99,102,241,.18); border:1px solid rgba(99,102,241,.35);
}
.perf-hosting.is-premium .ph-icon{
  background: radial-gradient(80% 80%, rgba(99,102,241,.45), rgba(99,102,241,.08));
  border:1px solid rgba(99,102,241,.35);
}
.perf-hosting.is-premium .ph-btn.ph-primary{
  background: linear-gradient(135deg,#6366f1,#22d3ee); color:#fff;
}

/* === Pricing Premium (accent xanh-tím) === */
.plans-premium{ padding:70px 0 90px; background:var(--bg-0,#0b0f1a); }
.plans-premium .pb-head{ text-align:center; margin-bottom:18px; }
.plans-premium .pb-title{ color:#f8fafc; font-weight:900; }
.plans-premium .pb-sub{ color:#9aa4b2; }
.plans-premium .pb-grid{ display:grid; gap:18px; grid-template-columns:repeat(3,1fr); }
@media (max-width:992px){ .plans-premium .pb-grid{ grid-template-columns:1fr; } }

.plans-premium .pb-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px; padding:20px; color:#e5e7eb;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.plans-premium .pb-card.blue-accent{
  border-color: rgba(99,102,241,.30);
  box-shadow: 0 12px 34px rgba(99,102,241,.18);
}
.plans-premium .pb-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.plans-premium .pb-name{ margin:0; color:#f1f5f9; font-weight:900; }
.plans-premium .pb-badge{
  padding:6px 12px; border-radius:999px; font-weight:800; font-size:.78rem; color:#fff;
  background: linear-gradient(135deg,#6366f1,#22d3ee);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 6px 16px rgba(34,211,238,.25);
}
.plans-premium .pb-loc{ color:#9aa4b2; margin-bottom:8px; }
.plans-premium .pb-loc i{ color:#93c5fd; margin-right:6px; }
.plans-premium .pb-spec{ list-style:none; padding:0; margin:0; }
.plans-premium .pb-spec li{ padding:8px 0; border-bottom:1px solid rgba(255,255,255,.08); color:#dbeafe; display:flex; gap:10px; }
.plans-premium .pb-spec li:last-child{ border-bottom:none; }
.plans-premium .pb-spec i{ color:#22c55e; margin-top:2px; }
.plans-premium .pb-sep{ height:1px; background:rgba(255,255,255,.08); margin:10px 0; }
.plans-premium .pb-foot{ display:flex; align-items:center; gap:14px; }
.plans-premium .pb-price strong{ font-size:1.8rem; color:#22c55e; }
.plans-premium .pb-price span{ color:#9aa4b2; }
.plans-premium .pb-btn{
  margin-left:auto; padding:10px 14px; border-radius:12px; border:none; font-weight:800; color:#fff; cursor:pointer;
  background: linear-gradient(135deg,#6366f1,#22d3ee);
  box-shadow:0 10px 24px rgba(34,211,238,.30);
}
.plans-premium .pb-btn:hover{ filter:brightness(1.06); }
