:root {
    /* Colors - Kim Element (Gold/Silver/White) */
    --color-bg-primary: #1a1410;
    --color-bg-secondary: #2a2218;
    --color-bg-tertiary: #3a3028;
    --color-accent-primary: #FFB800;
    --color-accent-secondary: #FFA000;
    --color-accent-gold: #FFD700;
    --color-accent-silver: #C0C0C0;
    --color-text-primary: #ffffff;
    --color-text-secondary: #e8d4b8;
    --color-text-muted: #b8a090;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFB800 100%);
    --gradient-secondary: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 100%);
    --gradient-bg: linear-gradient(180deg, #1a1410 0%, #2a2218 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 215, 0, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--gradient-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 20, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-md);
}

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

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 4rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-accent-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-accent-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: var(--font-size-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-accent-primary);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(192, 192, 192, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: var(--font-size-lg);
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(255, 215, 0, 0.3));
}

.floating-card {
    position: absolute;
    background: rgba(42, 34, 24, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.card-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0.2s;
}

.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: 0.4s;
}

.card-3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-icon {
    font-size: 1.5rem;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.card-value {
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

/* Features Section */
.features {
    padding: var(--spacing-3xl) 0;
    background: rgba(42, 34, 24, 0.3);
}

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

.feature-card {
    background: rgba(42, 34, 24, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 215, 0, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    padding: var(--spacing-3xl) 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    gap: var(--spacing-md);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--color-bg-primary);
}

.benefit-content h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-xs);
}

.benefit-content p {
    color: var(--color-text-secondary);
}

.benefits-stats {
    display: grid;
    gap: var(--spacing-lg);
}

.stat-card {
    background: rgba(42, 34, 24, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--color-accent-primary);
    transform: scale(1.05);
}

.stat-number {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--color-text-secondary);
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-3xl) 0;
    background: rgba(42, 34, 24, 0.3);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.step {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-bg-primary);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.step-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-description {
    color: var(--color-text-secondary);
    flex: 1;
}

.step-connector {
    position: relative;
    flex-shrink: 0;
    margin-top: 40px;
    align-self: flex-start;
    width: auto;
}

.step-connector::after {
    content: '→';
    color: var(--color-accent-primary);
    font-size: 2rem;
}

/* Testimonial Section */
.testimonial {
    padding: var(--spacing-3xl) 0;
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(42, 34, 24, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent-primary);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.author-name {
    font-weight: 700;
    font-size: var(--font-size-md);
}

.author-role {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

/* CTA Section */
.cta {
    padding: var(--spacing-3xl) 0;
    background: rgba(42, 34, 24, 0.3);
    text-align: center;
}

.cta-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-size: var(--font-size-lg);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-img {
    height: 9rem;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: var(--color-accent-primary);
    font-style: italic;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.footer-title {
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-primary);
}

.footer-links li:not(:has(a)) {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--color-accent-primary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(26, 20, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px var(--spacing-xl) var(--spacing-xl);
        gap: var(--spacing-lg);
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: var(--spacing-sm) 0;
        font-size: var(--font-size-lg);
    }

    .nav-cta {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .benefits-content {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .step-connector {
        display: none;
    }

    .logo-img {
        height: 3rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .navbar {
        padding: var(--spacing-sm) 0;
    }

    .logo-img {
        height: 2.5rem;
    }

    .hero {
        padding-top: 60px;
        min-height: auto;
        padding-bottom: var(--spacing-xl);
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-slogan {
        font-size: var(--font-size-md);
    }

    .hero-description {
        font-size: var(--font-size-sm);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: var(--font-size-md);
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
    }

    .features {
        padding: var(--spacing-xl) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-lg);
    }

    .benefits {
        padding: var(--spacing-xl) 0;
    }

    .how-it-works {
        padding: var(--spacing-xl) 0;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-lg);
    }

    .step-title {
        font-size: var(--font-size-md);
    }

    .step-description {
        font-size: var(--font-size-sm);
    }

    .testimonial {
        padding: var(--spacing-xl) 0;
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }

    .quote-icon {
        font-size: 4rem;
    }

    .testimonial-text {
        font-size: var(--font-size-md);
        line-height: 1.7;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }

    .cta {
        padding: var(--spacing-xl) 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: var(--font-size-sm);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-md);
    }

    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .footer-logo-img {
        height: 6rem;
    }

    .footer-content {
        gap: var(--spacing-lg);
    }

    /* Điều chỉnh floating cards cho mobile - vẫn overlay trên ảnh */
    .floating-card {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
    }

    .card-icon {
        font-size: 1rem;
        animation: bounce 2s ease-in-out infinite;
    }

    .card-label {
        font-size: 0.65rem;
    }

    .card-value {
        font-size: 0.7rem;
        font-weight: 600;
    }

    /* Điều chỉnh vị trí các cards cho mobile - không bị tràn */
    .card-1 {
        top: 10%;
        left: 5%;
        animation-delay: 0.2s;
    }

    .card-2 {
        top: 45%;
        right: 5%;
        animation-delay: 0.4s;
    }

    .card-3 {
        bottom: 15%;
        left: 8%;
        animation-delay: 0.6s;
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .benefit-content h3 {
        font-size: var(--font-size-sm);
    }

    .benefit-content p {
        font-size: var(--font-size-xs);
    }
}