:root {
    --bg-main: #F8F9FB;
    --bg-section: #FFFFFF;
    --bg-section-alt: #EEF2F7;
    --bg-card: #FFFFFF;
    --bg-dark: #1A2744;
    --bg-dark2: #111E38;

    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-light: #DBEAFE;
    --accent2: #059669;
    --accent2-light: #D1FAE5;

    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #CBD5E1;
    --text-on-dark: #FFFFFF;
    --text-on-dark-muted: #94A3B8;

    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.10);
    --shadow-lg: 0 10px 40px rgba(37, 99, 235, 0.15);

    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

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

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

html { scroll-behavior: smooth; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main);
}

p { margin-bottom: 15px; color: var(--text-muted); }

.highlight {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.center { text-align: center; }
.bg-darker { background-color: var(--bg-section-alt); }
.grid { display: grid; gap: 30px; }

/* Buttons */
.btn {
    font-family: var(--font-heading);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.btn-large { padding: 18px 40px; font-size: 1.05rem; width: 100%; border-radius: 10px; }
.btn-small { padding: 10px 20px; font-size: 0.85rem; border-radius: 8px; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 14px 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 40px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 14px; right: 14px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover { color: var(--accent); background-color: var(--accent-light); }
.nav-link:hover::after { transform: scaleX(1); }

/* Sections */
.section { padding: 80px 0; background-color: var(--bg-section); }
.section.bg-darker { background-color: var(--bg-section-alt); }

.section-title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-main);
    padding: 0 10px;
}

.section-subtitle { text-align: center; font-size: 1.05rem; margin-bottom: 50px; color: var(--text-muted); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 20px 60px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0f4c8a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(5,150,105,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content { flex: 1; max-width: 600px; text-align: left; }
.hero-image-wrapper { flex: 1; display: flex; justify-content: center; }

.hero-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255,255,255,0.1);
}

.hero-subtitle {
    color: #7DD3FC;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    font-weight: 700;
    display: inline-block;
    background: rgba(125, 211, 252, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(125, 211, 252, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-wrap: balance;
    color: #FFFFFF;
}

.hero-description { font-size: 1.05rem; margin-bottom: 30px; color: #CBD5E1; line-height: 1.7; }

/* Pain Points */
.pain-points { background-color: var(--bg-section-alt); }

.fear-list { display: flex; flex-direction: column; gap: 30px; margin-top: 40px; }

.fear-row {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--bg-card);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.fear-row:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.fear-row.reverse { flex-direction: row-reverse; }

.fear-img-wrapper { flex: 1; max-width: 380px; }

.fear-img { width: 100%; border-radius: 12px; object-fit: cover; border: 2px solid var(--border); }

.fear-content { flex: 1.5; }
.fear-content h3 { font-size: 1.4rem; color: var(--accent); margin-bottom: 12px; }
.fear-content p { font-size: 1rem; line-height: 1.8; color: var(--text-muted); }

/* Solution Section */
.hongdou-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0FDF4 100%);
    padding: 45px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.hongdou-img-wrapper { flex: 1; display: flex; justify-content: center; }

.hongdou-img {
    width: 100%; max-width: 320px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hongdou-img:hover { transform: rotate(0deg) scale(1.02); }

.hongdou-content { flex: 1.5; }
.hongdou-content .highlight-text { font-size: 1.05rem; color: var(--accent); margin-bottom: 20px; line-height: 1.7; font-weight: 500; }

.solution-content {
    max-width: 800px; margin: 0 auto;
    background-color: var(--bg-card);
    padding: 45px;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

.check-list { list-style: none; margin-top: 20px; }

.check-list li {
    margin-bottom: 14px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
}

.check-list span { color: var(--accent2); font-weight: bold; flex-shrink: 0; font-size: 1.1rem; }

/* Benefits */
.benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 40px; }

.benefit-item {
    display: flex; align-items: flex-start; gap: 18px;
    background: var(--bg-card);
    padding: 24px; border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-icon { font-size: 2.5rem; line-height: 1; flex-shrink: 0; }
.benefit-item h4 { font-size: 1.1rem; color: var(--accent); margin-bottom: 5px; }
.benefit-item p { font-size: 0.92rem; margin-bottom: 0; }

/* Stats */
.proof { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.proof .section-title { color: #FFFFFF; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 50px; }

.proof .stat-box {
    padding: 35px 25px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    text-align: center;
}

.stat-num { font-size: 3rem; color: #7DD3FC; font-weight: 800; margin-bottom: 8px; }
.proof .stat-box p { color: #CBD5E1; margin-bottom: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; align-items: center; }

.pricing-card {
    background-color: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 35px 28px;
    display: flex; flex-direction: column; gap: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-md); }

.pricing-featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    position: relative;
    background: linear-gradient(160deg, #EFF6FF 0%, #fff 100%);
}

.pricing-featured:hover { transform: scale(1.05) translateY(-5px); }

.pricing-badge {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800; font-size: 0.8rem;
    padding: 6px 18px; border-radius: 50px;
    white-space: nowrap; letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.pricing-header { text-align: center; }
.pricing-name { font-size: 1.3rem; margin-bottom: 4px; color: var(--text-main); }
.pricing-name.highlight { color: var(--accent); text-decoration: none; }

.pricing-level {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    background: var(--accent-light);
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
}

.pricing-price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 4px;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1;
}

.pricing-currency {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pricing-original {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.pricing-original s {
    color: #ef4444;
    font-weight: 500;
}

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-features li { color: var(--text-muted); font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.check-icon { color: var(--accent2); font-weight: 800; flex-shrink: 0; }

.btn-outline-pricing {
    font-family: var(--font-heading);
    display: inline-block;
    padding: 13px 20px; border-radius: 10px;
    font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; text-decoration: none; text-align: center;
    transition: all 0.25s ease; cursor: pointer;
    border: 2px solid var(--accent);
    color: var(--accent); background: transparent;
    letter-spacing: 0.5px;
}

.btn-outline-pricing:hover { background-color: var(--accent); color: #fff; box-shadow: var(--shadow-md); }

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.final-cta .cta-heading,
.final-cta .section-title { color: #FFFFFF; }

.cta-heading { font-size: 2.4rem; color: #FFFFFF; }

.offer-box {
    background-color: rgba(255,255,255,0.07);
    border: 1px solid rgba(125, 211, 252, 0.3);
    padding: 25px 30px; border-radius: 16px;
    max-width: 620px; margin: 28px auto;
    backdrop-filter: blur(8px);
}

.urgency { color: #7DD3FC; line-height: 1.5; font-size: 1.15rem; }
.urgency strong { color: #FFFFFF; }

.countdown-timer { display: flex; justify-content: center; gap: 15px; margin-top: 18px; }

.time-box {
    background-color: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(125, 211, 252, 0.35);
    border-radius: 10px; padding: 12px 18px;
    display: flex; flex-direction: column; align-items: center;
    min-width: 80px; backdrop-filter: blur(4px);
}

.time-box span { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: #FFFFFF; line-height: 1; }
.time-box small { font-size: 0.78rem; text-transform: uppercase; color: #94A3B8; margin-top: 4px; font-weight: 600; letter-spacing: 0.5px; }

.lead-form { max-width: 500px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 14px; }

.lead-form input,
.lead-form select {
    padding: 16px 20px; border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.09);
    color: #FFF;
    font-family: var(--font-primary); font-size: 1rem;
    backdrop-filter: blur(4px);
    transition: border-color 0.2s ease;
}

.lead-form input::placeholder { color: #94A3B8; }
.lead-form select option { background-color: #1A2744; color: #fff; }
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: #7DD3FC; background-color: rgba(255,255,255,0.14); }

footer { text-align: center; padding: 28px 20px; background-color: var(--bg-dark2); font-size: 0.9rem; }
footer p { color: var(--text-on-dark-muted); margin: 0; }

/* Founder */
.founder-grid { display: flex; align-items: center; gap: 50px; }
.founder-img-wrapper { flex: 1; }
.founder-img { width: 100%; border-radius: 20px; object-fit: cover; max-height: 500px; border: 3px solid var(--border); box-shadow: var(--shadow-md); }
.founder-info { flex: 1.5; }
.founder-info .section-title { color: var(--text-main); }

.founder-subtitle {
    color: var(--accent);
    font-weight: 600; margin-bottom: 18px; font-size: 0.95rem;
    background: var(--accent-light);
    display: inline-block; padding: 5px 14px; border-radius: 6px;
}

/* Map */
.map-wrapper { width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-wrapper iframe { display: block; filter: none; }

/* Animations */
/* Mid-page CTA Bar */
.mid-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 1.5px solid var(--accent-light);
    border-left: 5px solid var(--accent);
    padding: 22px 30px;
    border-radius: 14px;
    margin-top: 50px;
    box-shadow: var(--shadow-sm);
}

.mid-cta-bar p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0;
}

.mid-cta-bar .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-section-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 10px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.testimonial-stars {
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-style: italic;
    flex: 1;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37,99,235,0.25);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Floating Hanzi Background */
.hanzi-float-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hanzi {
    position: absolute;
    top: -10%;
    left: var(--x);
    font-size: var(--size);
    color: #DBEAFE; /* Light blue/white so it shows up beautifully on navy background */
    opacity: var(--opacity);
    animation: fallDown var(--dur) linear infinite;
    animation-delay: var(--delay);
    font-weight: 500;
    font-family: "KaiTi", "Kaiti TC", serif; /* Thư pháp style */
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

@keyframes fallDown {
    0% {
        transform: translateY(0) rotate(-15deg);
        opacity: 0;
    }
    10% {
        opacity: var(--opacity);
    }
    90% {
        opacity: var(--opacity);
    }
    100% {
        transform: translateY(120vh) rotate(15deg);
        opacity: 0;
    }
}

/* Watermark Thư Pháp Thủy Mặc */
.hero-watermark {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    font-size: 45vw; /* Rất lớn */
    font-family: "KaiTi", "Kaiti TC", serif;
    color: rgba(255, 255, 255, 0.03); /* Faint white */
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
}

/* Floating Zalo Button */
.zalo-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0068FF;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zalo-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.6);
    color: white;
}

.zalo-float svg {
    border-radius: 10px;
}

/* Fade-in & Animations */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .founder-grid, .fear-row, .fear-row.reverse, .hongdou-grid { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .founder-info .section-title { text-align: center !important; }
    .nav-links { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .mid-cta-bar { flex-direction: column; text-align: center; }
    .mid-cta-bar .btn { width: 100%; }
}

@media (max-width: 768px) {
    .section { padding: 55px 0; }
    .hero { padding: 90px 15px 40px; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .fear-img-wrapper { margin: 0 auto; max-width: 260px; }
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-featured { transform: scale(1); order: -1; }
    .pricing-featured:hover { transform: translateY(-4px); }
    .hongdou-grid, .solution-content { padding: 22px 16px; }
    .cta-heading { font-size: 1.8rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
}
