:root {
    /* Brand Colors */
    --brand-primary: #ee4d2d;
    --brand-secondary: #f59e0b;
    --brand-success: #10b981;
    --brand-info: #3b82f6;
    --brand-dark: #1a1a1a;
    --brand-light: #f8f9fa;

    /* Gradients */
    --brand-gradient: linear-gradient(135deg, #ee4d2d 0%, #f59e0b 100%);
    --brand-gradient-hover: linear-gradient(135deg, #d73211 0%, #e88e0a 100%);
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    padding: 8px 0;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(238, 77, 45, 0.2);
}

.logo-icon {
    width: 35px;
    height: 35px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-slogan {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    font-weight: 400;
}

/* Hero Section - Chợ Tốt Mua Sắm */
.hero-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Animated Background Pattern */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    clip-path: polygon(0 50%, 100% 80%, 100% 100%, 0 100%);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

/* Hero Container */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    text-align: center;
    color: white;
}

/* Hero Title */
.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.1);
    letter-spacing: -1px;
    line-height: 1.2;
    animation: slideDown 0.8s ease-out;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.1);
    animation: slideUp 0.8s ease-out 0.2s both;
}

/* Trust Badges Container */
.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.4s both;
}

/* Individual Badge */
.trust-badge {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: default;
    border: 2px solid transparent;
}

.trust-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: white;
    background: white;
}

/* Badge Icon */
.trust-badge-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* Badge Text */
.trust-badge span:not(.trust-badge-icon) {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* CTA Buttons Container */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 0.6s both;
}

/* Primary Button */
.btn-primary {
    background: white;
    color: #ff6b35;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,107,53,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .trust-badges {
        gap: 10px;
        margin-bottom: 30px;
    }

    .trust-badge {
        padding: 10px 16px;
        flex: 0 1 calc(50% - 10px);
    }

    .trust-badge-icon {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

    .trust-badge span:not(.trust-badge-icon) {
        font-size: 12px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .trust-badge {
        flex: 1 1 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .trust-badge {
        background: rgba(30,30,30,0.95);
    }

    .trust-badge span:not(.trust-badge-icon) {
        color: #f0f0f0;
    }

    .btn-primary {
        background: #333;
        color: #ff6b35;
        border-color: #333;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hero-section {
        background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
    }

    .trust-badge {
        border: 2px solid #333;
    }

    .btn-primary,
    .btn-secondary {
        font-weight: 800;
        border-width: 3px;
    }
}

/* Print styles */
@media print {
    .hero-section {
        background: white;
        color: black;
        padding: 20px 0;
    }

    .hero-section::before,
    .hero-section::after {
        display: none;
    }

    .hero-title,
    .hero-subtitle {
        color: black;
        text-shadow: none;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 16px;
    }

    .logo-slogan {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* Animation cho logo khi scroll */
.nav-scrolled .logo-text-wrapper {
    transition: all 0.3s ease;
}

.nav-scrolled .logo-slogan {
    opacity: 0;
    height: 0;
    margin: 0;
}