html, body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* --- ANIMATIONS --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes blob-bounce {
    0% { transform: scale(1) translate(0, 0); }
    33% { transform: scale(1.1) translate(30px, -50px); }
    66% { transform: scale(0.9) translate(-20px, 20px); }
    100% { transform: scale(1) translate(0, 0); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.text-brand-red { color: #e5283c; }
.text-brand-blue { color: #1E3A8A; }

/* --- HEADER & NAVIGATION --- */
.main-header-two {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.main-menu-two__top {
    background-color: #1E3A8A;
    padding: 8px 0;
}

.main-menu-two__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-menu-two__contact-list {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-menu-two__contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-menu-two__contact-list li a,
.main-menu-two__top-welcome-text {
    color: #ffffff;
    font-size: 13px;
    margin: 0;
    text-decoration: none;
}

.main-menu-two__wrapper-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.main-menu__list {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu__list li a {
    color: #1E3A8A !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: 0.3s;
}
.main-menu__list li a:hover { color: #e5283c !important; }

.mobile-nav__toggler {
    display: none;
    color: #1E3A8A;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* --- HERO SECTION --- */
.saas-hero {
    background: #1E3A8A;
    padding: 190px 0 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: blob-bounce 15s infinite alternate ease-in-out;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; max-width: 500px; max-height: 500px; background: #172a6b; }
.blob-2 { bottom: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 600px; max-height: 600px; background: #e5283c; animation-delay: 2s; opacity: 0.4;}

.saas-hero h1 {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.saas-hero p {
    color: #e2e8f0;
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.saas-btn-primary {
    background: #e5283c;
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px; 
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: 2px solid #e5283c;
    box-shadow: 0 10px 20px rgba(229, 40, 60, 0.3);
    text-decoration: none;
}
.saas-btn-primary:hover {
    background: #c71e2e;
    border-color: #c71e2e;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(229, 40, 60, 0.4);
    color: #fff;
}

.saas-btn-outline {
    background-color: transparent;
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    text-decoration: none;
}
.saas-btn-outline:hover {
    background-color: #fff;
    color: #1E3A8A !important;
    transform: translateY(-3px);
}

/* --- DASHBOARD MOCKUP --- */
.dashboard-mockup-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding: 0 15px;
}
.dashboard-mockup {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

/* --- FEATURE CARDS --- */
.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.08);
    transform: translateY(-5px);
    border-color: #1E3A8A;
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(229, 40, 60, 0.1);
    color: #e5283c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px auto;
    transition: 0.4s;
}
.feature-card:hover .feature-icon {
    background: #e5283c;
    color: #fff;
}
.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E3A8A;
}
.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
}
.form-control:focus, .form-select:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 0.25rem rgba(30, 58, 138, 0.1);
    background-color: #fff;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 991px) {
    .main-menu-two__top { display: none; }
    .main-menu__list { display: none; }
    .main-menu-two__right { display: none !important; }
    .mobile-nav__toggler { display: block; }
    
    .saas-hero { padding: 120px 0 60px 0; }
    .saas-hero h1 { font-size: 2.2rem; }
    .saas-hero p { font-size: 1rem; }
    .dashboard-mockup-wrapper { margin-top: -30px; }
    .dashboard-mockup { aspect-ratio: 4/3; }
    .saas-btn-primary, .saas-btn-outline { width: 100%; margin-bottom: 10px; }
}

/* ==========================================================================
   HERO & DASHBOARD MOCKUP MOBILE RESPONSIVE FIX
   ========================================================================== */

/* 1. Ensure the Mockup card holds images cleanly without vertical cut-off */
.dashboard-mockup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    max-width: 1020px;
    margin: 0 auto;
    overflow: hidden;
    height: auto !important;
    aspect-ratio: auto !important; /* Disables fixed ratio so image dictates natural height */
    padding: 0 !important;
    display: block !important;
}

/* 2. Scale image smoothly to fit container width */
.dashboard-mockup img {
    width: 100% !important;
    height: auto !important;
    max-height: 580px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* 3. Mobile Screens (< 992px) */
@media (max-width: 991.98px) {
    .saas-hero {
        padding: 110px 0 45px 0 !important; /* Removes huge dead space pushing content off-screen */
    }

    .saas-hero h1 {
        font-size: 2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
    }

    .saas-hero p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
        padding: 0 10px;
    }

    .dashboard-mockup-wrapper {
        margin-top: -25px !important; /* Smooth overlap */
        padding: 0 12px !important;
    }

    .dashboard-mockup {
        border-radius: 8px !important;
    }

    .dashboard-mockup img {
        max-height: 320px; /* Clean mobile height without stretching */
    }
}

/* 4. Small phones (< 576px) */
@media (max-width: 575.98px) {
    .saas-hero {
        padding: 95px 0 35px 0 !important;
    }

    .saas-hero h1 {
        font-size: 1.75rem !important;
    }

    .saas-btn-primary, .saas-btn-outline {
        width: 100% !important;
        padding: 11px 20px !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   GOOGLE PLAY DIRECT DOWNLOAD BUTTON & RESPONSIVE FIXES
   ========================================================================== */

/* Authentic Play Store Style Button */
.playstore-direct-btn {
    background: #000000;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.playstore-direct-btn:hover {
    background: #111827;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    color: #ffffff !important;
}

.playstore-icon-wrap {
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
}

.playstore-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
}

.playstore-btn-text .sub-txt {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #94a3b8;
    text-transform: uppercase;
}

.playstore-btn-text .main-txt {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

/* Fix Mockup Card Height and Ratio on Mobile */
.dashboard-mockup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    height: auto !important;
    aspect-ratio: auto !important;
    display: block !important;
    padding: 0 !important;
}

.dashboard-mockup img {
    width: 100% !important;
    height: auto !important;
    max-height: 560px;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* CA Report Card Fix */
#caready .card img {
    width: 100% !important;
    height: auto !important;
    max-height: 480px;
    object-fit: contain;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991.98px) {
    .saas-hero {
        padding: 110px 0 45px 0 !important;
    }

    .saas-hero h1 {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }

    .dashboard-mockup-wrapper {
        margin-top: -20px !important;
        padding: 0 12px !important;
    }

    .dashboard-mockup img {
        max-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .saas-hero {
        padding: 95px 0 35px 0 !important;
    }

    .saas-hero h1 {
        font-size: 1.75rem !important;
    }

    .playstore-direct-btn,
    .saas-btn-outline {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }

    .dashboard-mockup img {
        max-height: 240px;
    }
}