:root {
    --primary: #2563EB; /* Fintech Blue */
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    --secondary: #1E293B;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #EF4444;
    --background: #F8FAFC; /* Light premium grey */
    --surface: #FFFFFF;
    --text-main: #111827; /* Modern dark */
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #EEF2F7;
    --shadow-soft: 0 4px 16px rgba(15, 23, 42, 0.04);
    --shadow-premium: 0 12px 30px rgba(37, 99, 235, 0.08);
    --radius: 20px;
    --radius-lg: 24px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Premium Navbar Refinement - Pro SaaS */
.navbar-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    height: 78px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.logo-sub {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.65;
    letter-spacing: 1.2px;
}

.trust-signal {
    border-color: rgba(0,0,0,0.05) !important;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #334155 !important;
    padding: 0.6rem 1.1rem !important;
    border-radius: 12px;
    transition: all 0.2s ease;
    margin: 0 2px;
}

.nav-link:hover {
    color: #2563EB !important;
    background-color: #EEF4FF;
}

.nav-link.active {
    color: #2563EB !important;
    background-color: #EEF4FF;
    font-weight: 700;
}

.dropdown-chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu-premium {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.95) !important;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.dropdown-item {
    border-radius: 10px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #F8FAFC;
    color: #2563EB;
    transform: translateX(4px);
}


/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

@keyframes pulse-primary {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Hero Description Fintech Style */
.hero-description {
    max-width: 700px;
    line-height: 1.8;
    color: #475569 !important;
}

/* Sidebar Quick Tool Premium */
.quick-tool-sidebar-card {
    transition: all 0.3s ease;
    border: 1px solid #EEF2FF !important;
}

.quick-tool-sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.12) !important;
}

/* Hero Section "Premium" */
.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.glow-element {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.banner-container {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15);
    border: 8px solid white;
    transition: all 0.5s ease;
}

.banner-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px -15px rgba(0,0,0,0.2);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: left;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.search-container {
    max-width: 800px;
    margin: 3rem 0;
    position: relative;
    padding: 0;
}

.search-input {
    width: 100%;
    padding: 1.5rem 2rem;
    padding-left: 4rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    font-size: 1.2rem;
    transition: all 0.4s;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.15);
    outline: none;
    transform: translateY(-2px);
}

/* Custom Cards SaaS Style */
.card-custom {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all 0.25s ease;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-light);
}

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

/* Tool Specific Refinement */
.tool-card {
    border-radius: 24px !important;
    padding: 24px !important;
    background: #fff;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-soft) !important;
    transition: 0.25s ease;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium) !important;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 18px; /* Square with large radius like iOS */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

/* Badge / Tag Pill Modern */
.tag-pill {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.tag-pill:hover {
    background: var(--primary);
    color: white;
}

/* Buttons SaaS Style */
.btn-premium {
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.btn-premium-primary {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
    border-radius: 14px !important;
    color: white;
    border: none;
}

.btn-premium-primary:hover {
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
    color: white;
}

/* FAQ Accordion */
.accordion-custom .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-custom .accordion-button {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    background: var(--surface);
    border: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: none;
}

.accordion-custom .accordion-button::after {
    background-size: 1rem;
}

/* MST Result Card */
.result-card {
    background: var(--surface);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    animation: fadeInUp 0.5s ease-out;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active { background: #d1fae5; color: #065f46; }

/* Footer Refinement */
.footer-custom {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 4rem 0 2rem 0;
    color: var(--text-main);
}

.footer-title {
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-title-sm {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.footer-divider {
    border-color: #e2e8f0;
    opacity: 1;
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer Premium Styles - Nâng cấp Fintech */
.footer-premium { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    background: linear-gradient(180deg, #081225 0%, #0F172A 100%) !important;
}
.text-footer { color: #94A3B8; transition: all 0.2s ease; text-decoration: none; }
.hover-white:hover { color: #FFFFFF !important; transform: translateX(3px); }
.social-link-dark {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.06);
    color: #CBD5E1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link-dark:hover { background: #2563EB; transform: translateY(-3px); color: white; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }
.footer-seo-link { color: #64748B; font-size: 0.75rem; text-decoration: none; transition: color 0.2s; }
.footer-seo-link:hover { color: #3B82F6; }
.divider-glow { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent); }
.bg-primary-light { background-color: #eff6ff; }
.bg-success-light { background-color: #f0fdf4; }
.bg-info-light { background-color: #f0f9ff; }
.x-small { font-size: 0.75rem; }
.italic { font-style: italic; }
.fw-black { font-weight: 900; }
.cta-premium-block { box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2); }
.hover-lift { transition: all 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); }

.social-link-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link-custom:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hover-primary:hover {
    color: var(--primary) !important;
}

/* Static Page Styles */
.static-content {
    background: white;
    padding: 4rem 0;
}

.static-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-section p, .legal-section li {
    color: #334155;
    line-height: 1.8;
}
/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.zalo-btn {
    background: #0068ff;
    padding: 10px;
}

.zalo-btn img {
    width: 100%;
    height: 100%;
}

.phone-btn {
    background: #ff4d4d;
    color: white;
    font-size: 1.5rem;
    animation: pulse-red 2s infinite;
}

.chat-ai-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 1.6rem;
    animation: pulse-orange 2s infinite 1s;
}

.messenger-btn {
    background: #0084ff;
    color: white;
    font-size: 1.6rem;
    animation: pulse-blue 2s infinite 0.5s;
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 77, 77, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

@keyframes pulse-orange {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulse-blue {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 132, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); }
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
    }
}

