:root {
    --app-bg: #f8f9fa;          
    --text-main: #0f172a;       
    --text-sub: #64748b;        
    --accent-blue: #0066cc;
    --accent-green: #10b981;
    --border-color: #e2e8f0;
    --giahan-red: #e30613;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== REUSE & BASE STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--app-bg);
    color: var(--text-main);
    padding-bottom: 80px;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Notification Bar */
.nav-mimic {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.tagline-top {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    margin-bottom: 16px;
    background: #e6f0fa;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero .brand {
    background: linear-gradient(90deg, var(--accent-blue), var(--giahan-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.subhead {
    font-size: 20px;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
}

/* Trust Shield Strip */
.trust-shield-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 20px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.trust-item h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 13px;
    color: var(--text-sub);
}

.trust-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: inline-block;
}

/* Headings Main */
.section-main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-main-subtitle {
    text-align: center;
    color: var(--text-sub);
    font-size: 16px;
    margin-bottom: 40px;
}

/* ===== ADDONS: AI & DOCUMENTS ===== */
.grid-addons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 50px;
}

.addon-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.addon-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.addon-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bg-ai { background: #eef2ff; color: #4f46e5; }
.bg-doc { background: #fef3c7; color: #d97706; }

.addon-header h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.addon-header p {
    font-size: 13px;
    color: var(--text-sub);
}

/* AI Chat Mimic */
.ai-chat-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ai-message {
    font-size: 13px;
    background: #ffffff;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    color: #334155;
    display: inline-block;
    max-width: 90%;
}

.ai-input-mimic {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
}

.ai-send-btn {
    background: #4f46e5;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Document List Mimic */
.slide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.slide-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.slide-item-link:hover {
    background: #fffdf5;
    border-color: #fde68a;
    transform: translateX(4px);
}

.slide-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-title-text {
    font-size: 14px;
    font-weight: 600;
}

.slide-meta-text {
    font-size: 11px;
    color: var(--text-sub);
    display: block;
    margin-top: 1px;
}

.slide-arrow {
    color: var(--text-sub);
    font-size: 14px;
    font-weight: bold;
}

/* Income Referral Grid */
.income-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.income-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.income-item span {
    display: block;
    color: var(--text-sub);
    margin-bottom: 6px;
    font-size: 11px;
}

.income-item strong {
    color: var(--accent-green);
    font-size: 15px;
}

.profit-note {
    margin-top: 15px;
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}

/* ===== FEATURE SUITE ===== */
.feature-suite-section {
    margin: 80px 0;
}

.feature-suite-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.feature-suite-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #ea580c;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.feature-suite-header h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f2b5b;
    margin-bottom: 16px;
}

.feature-suite-header p {
    color: var(--text-sub);
    font-size: 18px;
    line-height: 1.7;
}

.feature-suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-suite-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    padding: 28px;
    transition: .25s;
}

.feature-suite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 43, 91, .08);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-suite-card h3 {
    font-size: 22px;
    color: #0f2b5b;
    margin-bottom: 15px;
}

.feature-suite-card ul {
    padding-left: 18px;
}

.feature-suite-card li {
    margin-bottom: 8px;
    color: #475569;
    line-height: 1.6;
}

/* ===== STRIPS & BOTTOM POLICIES ===== */
.core-features-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.strip-item {
    background: #fff;
    padding: 16px 12px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.strip-item h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.strip-item p {
    font-size: 11px;
    color: var(--text-sub);
    line-height: 1.3;
}

.policy-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
    text-align: center;
}

.policy-strip span {
    font-weight: 600;
    font-size: 13px;
    display: block;
    color: var(--text-main);
}

.policy-strip p {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 2px;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .feature-suite-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .grid-pricing {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        padding: 25px;
    }
    .pricing-card h2 {
        font-size: 26px;
    }
    .price-big {
        font-size: 42px;
    }
    .income-grid {
        grid-template-columns: 1fr;
    }
    .grid-addons, .core-features-strip, .policy-strip, .trust-shield-strip {
        grid-template-columns: 1fr;
    }
    .hero h1 { 
        font-size: 32px; 
    }
    .action-footer { 
        flex-direction: column; 
        text-align: center; 
        gap: 24px; 
        padding: 32px 20px; 
    }
    .footer-right { 
        text-align: center; 
        align-items: center; 
    }
    .addon-card { 
        padding: 32px 20px; 
    }
}

@media (max-width: 768px) {
    .feature-suite-header h2 {
        font-size: 32px;
    }
    .feature-suite-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRICING GRID ===== */
.grid-pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* quan trọng: tránh tràn layout */
    gap: 30px;
    margin: 70px 0;
    align-items: stretch; /* ép 2 cột cao bằng nhau */
}

/* ===== PRICING CARD ===== */
.pricing-card {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* giúp nội dung cân hơn */

    height: 100%;
    min-width: 0; /* quan trọng để không phá grid */
}

/* ===== BADGE ===== */
.pricing-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.badge-business {
    background: #f0fdf4;
    color: #16a34a;
}

/* ===== TITLE / TEXT ===== */
.pricing-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f2b5b;
    margin-bottom: 10px;
}

.pricing-desc {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ===== PRICE ===== */
.price-big {
    font-size: 54px;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}

.price-note {
    margin-top: 8px;
    color: #64748b;
    margin-bottom: 25px;
}

/* ===== TABLE ===== */
.table-responsive {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: unset; /* FIX lỗi làm lệch layout */
}

.pricing-table th {
    background: #f8fafc;
    padding: 14px;
    text-align: center;
}

.pricing-table td {
    padding: 14px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

/* ===== LIST ===== */
.section-title-small {
    font-size: 15px;
    font-weight: 700;
    color: #0f2b5b;
    margin-top: 25px;
    margin-bottom: 10px;
}

.pricing-list {
    padding-left: 18px;
}

.pricing-list li {
    margin-bottom: 10px;
    color: #475569;
}

/* ===== INCOME GRID ===== */
.income-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.income-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.income-item span {
    display: block;
    color: #64748b;
    margin-bottom: 6px;
}

.income-item strong {
    color: #16a34a;
}

/* ===== PROMO ===== */
.promo-box {
    margin-top: 20px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 15px;
    border-radius: 14px;
    color: #c2410c;
    font-weight: 600;
}

.profit-note {
    margin-top: 15px;
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .grid-pricing {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 25px;
    }

    .pricing-card h2 {
        font-size: 26px;
    }

    .price-big {
        font-size: 42px;
    }

    .income-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    margin-top: 60px;
    background-color: #ffffff;
}

/* container căn giữa */
.footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

/* text */
.footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* links */
.footer a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.footer a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* responsive */
@media (max-width: 600px) {
    .footer {
        padding: 30px 0;
    }

    .footer p {
        font-size: 13px;
    }
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* --- THANH ĐIỀU HƯỚNG --- */
.navigation-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    margin-bottom: 5px;
}

.nav-home-link {
    font-size: 14.5px;
    font-weight: 600;
    color: #0056b3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-home-link:hover {
    color: #0042cc;
    transform: translateY(-1px);
}

.nav-separator {
    color: #94a3b8;
    font-size: 14px;
    user-select: none;
}

.nav-current {
    font-size: 14.5px;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 576px) {
    .navigation-header {
        padding: 10px 15px;
        font-size: 13.5px;
    }
}