:root {
    --primary: #0CAF60;
    --primary-dark: #099b52;
    --primary-light: rgba(12, 175, 96, 0.1);
    --dark: #0f1923;
    --dark-2: #162a3a;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, .12);
    --radius: 16px;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== NAVBAR ========== */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s ease;
    background: transparent;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.7rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.logo img {
    height: 38px;
    transition: all 0.3s;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.btn-login):not(.btn-register):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-login):not(.btn-register)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:not(.btn-login):not(.btn-register):hover::after {
    width: 100%;
}

.btn-login {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 0.55rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
}

.btn-login:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(12, 175, 96, 0.25);
}

.btn-register {
    color: var(--primary) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1.5px solid var(--primary);
    transition: all 0.3s;
}

.btn-register:hover {
    background: var(--primary-light);
}

.menu-toggle {
    display: none;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 9rem 0 5rem;
    background: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(12, 175, 96, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(12, 175, 96, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(12, 175, 96, 0.12);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(12, 175, 96, 0.15);
}

.hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--dark);
    animation: heroFadeInUp 0.8s ease both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content>p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 0 2rem;
    line-height: 1.7;
    animation: heroFadeInUp 0.8s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: heroFadeInUp 0.8s ease 0.4s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: heroFadeInUp 0.8s ease 0.3s both;
}


.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content>p {
        margin: 0 auto 2rem;
    }

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

    .hero-image {
        margin-top: 2rem;
    }

    .hero-image img {
        max-width: 80%;
    }
}

.btn-main {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-main.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-main.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 175, 96, 0.35);
}

.btn-main.btn-outline {
    border: 2px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.btn-main.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(12, 175, 96, 0.03);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(12, 175, 96, 0.15);
}

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

.hero-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== FEATURES ========== */
.features {
    padding: 0rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title .badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #34d399);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: rgba(12, 175, 96, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    background: var(--primary-light);
    color: var(--primary);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #34d399, var(--primary));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #fff;
    box-shadow: 0 8px 20px rgba(12, 175, 96, 0.25);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== PRICING ========== */
.pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem;
    width: 340px;
    border: 1px solid var(--border);
    transition: all 0.35s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 40px rgba(12, 175, 96, 0.12);
}

.pricing-card.featured::after {
    content: '⭐ Phổ biến nhất';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #059669);
    color: #fff;
    padding: 0.35rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.price h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.price .cycle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.92rem;
}

.pricing-features i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pricing-banks {
    margin-top: 0.5rem;
}

.pricing-btn {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.85rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 2px solid var(--border);
    color: var(--text);
}

.pricing-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.pricing-card.featured .pricing-btn {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pricing-card.featured .pricing-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(12, 175, 96, 0.25);
}

/* ========== BANKS ========== */
.banks {
    padding: 5rem 0;
    background: var(--bg-light);
}

.banks-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.bank-logo-item {
    width: 80px;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #fff;
    transition: all 0.3s;
}

.bank-logo-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.bank-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: all 0.3s;
}

.bank-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========== STATS ========== */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
}

.stat-item h3 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #4ade80, #22c55e, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    font-weight: 500;
}

/* ========== CTA ========== */
.cta {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(12, 175, 96, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-box .btn-main.btn-primary {
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
    position: relative;
}

/* ========== FOOTER ========== */
footer {
    padding: 4rem 0 2rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero>.container>p {
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .hero-stat strong {
        font-size: 1.4rem;
    }

    .btn-main {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-btns {
        flex-direction: column;
        padding: 0 1rem;
    }

    .hero-btns .btn-main {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: none;
        background: rgba(0, 0, 0, 0.04);
        border-radius: 10px;
        cursor: pointer;
        font-size: 1.4rem;
        color: var(--text);
        transition: background 0.3s;
    }

    .menu-toggle:hover {
        background: rgba(0, 0, 0, 0.08);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1rem;
    }

    .btn-login {
        text-align: center;
        width: 100%;
        display: block;
    }

    .btn-register {
        text-align: center;
        width: 100%;
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .steps-grid::before {
        display: none;
    }

    .pricing-card {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
    }

    .banks-logos {
        gap: 1rem;
    }

    .bank-logo-item {
        width: 64px;
        height: 44px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat strong {
        font-size: 1.2rem;
    }

    .hero-stat span {
        font-size: 0.75rem;
    }
}