/* =========================================================================
   INFOASIA E-OFFICE LANDING PAGE STYLES
   ========================================================================= */

:root {
    /* Colors */
    --color-primary: #0F52BA;
    /* Trust Blue */
    --color-primary-light: #EBF2FF;
    --color-primary-dark: #003380;
    --color-accent: #FF6B00;
    /* Action Orange */
    --color-accent-hover: #E65C00;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F4F7FB;
    --color-danger: #D32F2F;
    --color-success: #2E7D32;
    --color-warning: #F57C00;

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1140px;
    --section-padding: 80px 0;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 10, 50, 0.1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

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

/* =========================================================================
   GLOBAL RESET & BASICS
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip !important;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: clip !important;
    width: 100%;
    max-width: 100%;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4 {
    color: var(--color-primary-dark);
    line-height: 1.3;
    font-weight: 700;
}

.text-blue {
    color: var(--color-primary);
}

.text-orange {
    color: var(--color-accent);
}

.text-danger {
    color: var(--color-danger);
}

.text-success {
    color: var(--color-success);
}

.bg-blue-light {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.bg-orange-light {
    background-color: #FFF2E6;
    color: var(--color-accent);
}

/* =========================================================================
   LAYOUT CLASSES
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-container {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

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

.center {
    text-align: center;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--trans-normal);
    box-sizing: border-box;
}

.btn i {
    margin-left: 8px;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
    color: #fff;
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-sm);
}

.btn-block {
    width: 100%;
}

/* =========================================================================
   BLOCK 1: HEADER
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--trans-normal);
    height: 80px;
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
}

/* Language Switcher Dropdown */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--trans-fast);
    -webkit-appearance: none;
    appearance: none;
}

.lang-btn:focus {
    outline: none;
}

.lang-btn img.flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.1);
    vertical-align: middle;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 8px;
    background: #fff;
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--trans-fast);
    z-index: 1001;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
    transition: var(--trans-fast);
}

.lang-dropdown a img.flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.1);
}

.lang-dropdown a:hover {
    background: rgba(0,0,0,0.05);
    color: var(--color-primary);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--trans-normal);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-hotline {
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.btn-hotline i {
    margin-right: 6px;
    font-size: 1.3rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary-dark);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-md);
    padding: 20px;
    transform: translateY(-150%);
    transition: transform var(--trans-normal);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* =========================================================================
   BLOCK 2: HERO SECTION
   ========================================================================= */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 82, 186, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-content, .hero-visual {
    min-width: 0;
}

.tagline {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-headline {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================================================
   BLOCK 3: COMPARISON
   ========================================================================= */
.comparison {
    background-color: var(--color-bg);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.comparison-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.comparison-card.before {
    border-top: 5px solid var(--color-warning);
    background: linear-gradient(to bottom, #fffcf5, #fff);
}

.comparison-card.after {
    border-top: 5px solid var(--color-success);
    background: linear-gradient(to bottom, #f5fff6, #fff);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.icon-wrap.warning {
    background-color: #FFF3E0;
    color: var(--color-warning);
}

.icon-wrap.success {
    background-color: #E8F5E9;
    color: var(--color-success);
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.comparison-list i {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
}

.vs-divider {
    display: flex;
    justify-content: center;
    align-items: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    background-color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    box-shadow: var(--shadow-sm);
    border: 2px solid #eaeaea;
}

/* =========================================================================
   BLOCK 4: FEATURES
   ========================================================================= */
.features {
    background-color: var(--color-bg-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.feature-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.feature-image {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, z-index 0s 0.4s;
    position: relative;
    cursor: zoom-in;
    z-index: 1;
}

.feature-image:hover {
    transform: scale(1.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 50;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, z-index 0s 0s;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 15px;
}

.feature-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 700;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* =========================================================================
   BLOCK 5: BENEFITS SECTION
   ========================================================================= */
.benefits-section {
    background-color: var(--color-bg);
    padding: 60px 0;
}

.benefits-list-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: var(--color-bg-alt);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--trans-fast);
    border-left: 4px solid transparent;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-success);
}

.benefit-icon {
    width: 30px;
    height: 30px;
    background-color: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.benefit-text {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* =========================================================================
   BLOCK 5b: TRUST SIGNALS
   ========================================================================= */
.trust {
    background-color: var(--color-primary-dark);
    color: #fff;
    padding: 80px 0;
    overflow-x: hidden;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.stat-number {
    font-size: 3.5rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

.brands-title {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.brands-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brands-marquee::before,
.brands-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.brands-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-primary-dark), transparent);
}

.brands-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-primary-dark), transparent);
}

.brands-track {
    display: flex;
    width: calc(200px * 12);
    animation: scroll 30s linear infinite;
}

.brand-item {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--trans-fast);
}

.brand-item:hover {
    color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 6));
    }
}

/* =========================================================================
   BLOCK 6: FORM
   ========================================================================= */
.cta-form {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 100%);
    overflow-x: hidden;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.contact-info i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-primary);
}

.form-box {
    background: var(--color-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #dce1e6;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--trans-fast);
    background-color: #fafbfc;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    pointer-events: none;
}

.success-message {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    z-index: 10;
}

.success-message.show {
    display: flex;
}

.success-message i {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
    overflow-x: hidden;
}

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

.footer-col .logo-text {
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* =========================================================================
   WIDGETS
   ========================================================================= */
/* Zalo Widget */
.widget-zalo {
    position: fixed;
    bottom: 30px;
    left: 15px;
    width: 60px;
    height: 60px;
    background-color: #0068FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transition: transform var(--trans-fast);
}

.widget-zalo img {
    width: 35px;
}

.pulse-effect {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 104, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
    }
}

/* Call Widget */
.widget-call-wrapper {
    position: fixed;
    bottom: 110px;
    left: 15px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    z-index: 999;
}

.widget-call {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.call-number {
    background-color: var(--color-bg);
    color: var(--color-accent);
    font-weight: 700;
    padding: 10px 15px 10px 20px;
    border-radius: 0 30px 30px 0;
    box-shadow: var(--shadow-sm);
    transform: translateX(-20px);
    transition: transform 0.3s;
    border: 1px solid #eaeaea;
    border-left: none;
    z-index: 1;
}

.widget-call-wrapper:hover .call-number {
    transform: translateX(-5px);
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 33, 71, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.exit-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup-dialog {
    background-color: var(--color-bg);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
}

.exit-popup-overlay.show .exit-popup-dialog {
    transform: translateY(0) scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--trans-fast);
}

.close-popup:hover {
    color: var(--color-danger);
    transform: rotate(90deg);
}

.popup-img {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.popup-body h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.popup-body p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1400px) {
    .widget-call-wrapper .call-number {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hero-headline {
        font-size: 2.5rem;
    }

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

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vs-divider {
        display: none;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        display: flex;
        justify-content: center;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .widget-call-wrapper {
        left: 10px;
    }

    .widget-zalo {
        left: 10px;
    }
}

@media (max-width: 768px) {

    .header-right .btn,
    .nav-menu {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 120px 0 30px;
        overflow-x: hidden;
    }

    .hero-bg-shapes {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        min-width: 0;
    }

    .hero-content, .hero-visual {
        min-width: 0;
        width: 100%;
        max-width: 100vw;
    }

    .hero-headline {
        font-size: 1.5rem !important;
        line-height: 1.4;
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
    }

    .hero-actions {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-actions .btn {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100%;
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center;
        padding: 12px 20px !important;
        line-height: 1.5;
        box-sizing: border-box;
    }

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

    .trust-stats {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .widget-call-wrapper {
        bottom: 80px;
        left: 5px;
    }

    .widget-call {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .widget-call-wrapper .call-number {
        display: none;
    }

    /* Fix Exit Popup overflowing screen height on mobile */
    .exit-popup-dialog {
        padding: 25px 20px;
        max-height: 85vh;
        overflow-y: auto;
    }

    .popup-img {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .popup-body h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .popup-body p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 5px;
    }

    .hero-headline {
        font-size: 1.6rem !important;
        line-height: 1.4;
    }

    .section-title {
        font-size: 1.6rem;
        padding: 0 10px;
        word-wrap: break-word;
        text-align: center !important;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
        text-align: center !important;
    }

    .comparison-card {
        padding: 30px 20px;
    }

    .form-box {
        padding: 30px 20px;
    }
}

/* =========================================================================
   TOAST NOTIFICATION (Recent Signups)
   ========================================================================= */
.toast-notification {
    position: fixed;
    bottom: 110px;
    right: 30px;
    /* offset to avoid Tawk.to widget */
    background: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 15px 20px;
    z-index: 998;
    transform: translateY(150%) scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--color-accent);
    max-width: 320px;
}

.toast-notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.toast-icon {
    background: rgba(255, 107, 0, 0.1);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.toast-text p {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

.toast-text p strong {
    color: var(--color-primary-dark);
}

.toast-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.toast-close {
    position: absolute;
    top: -5px;
    right: -10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #aaa;
    cursor: pointer;
    transition: var(--trans-fast);
}

.toast-close:hover {
    color: var(--color-danger);
}

@media (max-width: 768px) {
    .toast-notification {
        left: 20px;
        right: 20px;
        top: 90px;
        bottom: auto;
        max-width: calc(100% - 40px);
        transform: translateY(-150%) scale(0.9);
    }

    .widget-zalo {
        bottom: 20px;
        left: 5px;
        width: 50px;
        height: 50px;
    }

    .widget-zalo img {
        width: 25px;
    }

    /* Disable hover scaling on touch devices to avoid accidental screen overflow */
    .feature-image:hover {
        transform: none !important;
        box-shadow: var(--shadow-sm) !important;
        z-index: 1 !important;
    }
}