/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #032C38;
    /* Brand Deep Teal/Navy */
    --primary-dark: #001f28;
    --secondary: #EB1C3C;
    /* Brand Coral/Red */
    --accent: #E37434;
    /* Supporting Vibrant Orange */
    --vibrant-yellow: #FFC312;
    /* Brand yellow-orange gradient start */
    --vibrant-green: #91C6BC;
    --text: #0f172a;
    --text-muted: #475569;
    --light-bg: #ffffff;
    --ice: #f8fafc;
    --dark: #032C38;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(3, 44, 56, 0.1);

    /* Luxury Tokens */
    --luxury-shadow: 0 25px 50px -12px rgba(3, 44, 56, 0.15), 0 10px 15px -3px rgba(3, 44, 56, 0.05);
    --shadow-sm: 0 1px 3px rgba(3, 44, 56, 0.12), 0 1px 2px rgba(3, 44, 56, 0.24);
    --shadow-md: 0 10px 15px -3px rgba(3, 44, 56, 0.12), 0 4px 6px -2px rgba(3, 44, 56, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(3, 44, 56, 0.12), 0 10px 10px -5px rgba(3, 44, 56, 0.04);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-large {
    max-width: 1380px;
}

/* Luxury Button System */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 16px 36px;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out-expo);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--secondary);
    box-shadow: var(--hard-shadow);
}

.btn-pill-sm {
    padding: 8px 18px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

/* Unified Header Design - Restored Original Palette with Gradient and Compact Sizing */
.top-announcement {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 60%, var(--secondary) 100%);
    color: white;
    padding: 6px 0;
    font-size: 0.8rem;
    font-weight: 600;
    height: 32px;
    display: flex;
    align-items: center;
}

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

.top-links a {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-left: 15px;
    transition: color 0.2s;
}

.top-links a:hover {
    color: var(--vibrant-yellow);
}

@media (max-width: 768px) {
    .top-announcement .top-links {
        display: none;
    }

    .announcement-flex {
        justify-content: center;
        text-align: center;
    }

    .top-announcement {
        height: 32px;
        padding: 4px 0;
        font-size: 0.72rem;
    }

    .navbar {
        top: 32px;
    }
}

/* Navbar with Premium Glassmorphism & Compact Sizing */
.navbar {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(3, 44, 56, 0.08);
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(3, 44, 56, 0.06);
    border-bottom-color: rgba(3, 44, 56, 0.12);
}

/* Original Link Color Persistence & Elegant Underline animation */
.nav-links li a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #475569;
    font-size: 0.88rem;
    letter-spacing: -0.01em;
    transition: all 0.3s;
    position: relative;
    padding: 6px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    transition: width 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

.navbar.nav-up {
    transform: translateY(-100%);
    top: 0;
}

.navbar.nav-down {
    transform: translateY(0);
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    align-items: center;
    margin-left: auto;
}

.dropdown-link {
    position: relative;
}

.dropdown-link>a i {
    font-size: 0.65rem;
    margin-left: 0.25rem;
    opacity: 0.6;
    transition: transform 0.3s;
}

.dropdown-link:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 260px;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.dropdown-link:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu.mega-menu {
    width: 840px;
    min-width: 840px;
    padding: 0;
    display: block;
    /* Ensure it stays block for flex children */
}

.mega-flex {
    display: flex;
    min-height: 480px;
}

.mega-main {
    flex: 2;
    padding: 2.25rem;
    background: #ffffff;
}

.mega-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fcfdfe;
    padding: 2.25rem 1.75rem;
    border-left: 1px solid #f1f5f9;
}

.mega-main .dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.dropdown-item-premium,
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 12px;
}

.dropdown-item-premium:hover,
.dropdown-item:hover {
    background: #ffffff;
    transform: translateX(5px);
}

.icon-box,
.dropdown-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- THE SLANTED TECH FOOTER (KEYBOARD MATRIX THEME) --- */
.footer-wrap {
    position: relative;
    background-color: #13151a; /* Sleek dark theme */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 24px 24px; /* Tech keyboard layout look */
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    margin-top: -60px;
    padding-top: 90px;
}

.footer-wave {
    display: none; /* Removed wavy divider to support the sharp slant layout */
}

.footer-wrap .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding-bottom: 30px;
}

.footer-wrap .footer-h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-wrap .footer-links ul li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-wrap .footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-wrap .footer-links a:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

.footer-wrap .footer-brand-side {
    padding-right: 12px;
}

.footer-wrap .logo {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.footer-wrap .footer-brand-side p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-wrap .support-hours {
    margin-top: 12px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.6;
}

.footer-wrap .support-hours i {
    color: var(--secondary);
}

.footer-wrap .footer-bottom-bar {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 30px;
}

.footer-wrap .footer-copyright {
    color: #64748b;
    font-size: 0.82rem;
}

.footer-wrap .footer-social-cluster {
    display: flex;
    gap: 10px;
}

.footer-wrap .footer-social-cluster a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-wrap .footer-social-cluster a:hover {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* CTA Row above footer */
.ready-box {
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--secondary) 0%, #b8122a 100%);
    padding: 36px 30px;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(235, 28, 60, 0.2);
}

.ready-box::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ready-box>* {
    position: relative;
    z-index: 1;
}

.ready-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.ready-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.98rem;
}

.btn-ready {
    display: inline-block;
    padding: 12px 28px;
    background: #ffffff;
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.ready-box-action {
    margin-top: 20px;
}

.btn-ready:hover {
    transform: translateY(-2px) scale(1.02);
    background: #f8fafc;
    color: #b8122a;
}

@media (max-width: 992px) {
    .footer-wrap .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 28px;
    }

    .ready-box {
        padding: 40px 20px;
    }

    .ready-box h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .footer-wrap .footer-grid {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .footer-wrap .footer-bottom-bar {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}

.dropdown-item div strong,
.text-box strong {
    display: block;
    font-size: 0.94rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.dropdown-item-premium:hover div strong,
.dropdown-item-premium:hover .text-box strong,
.dropdown-item:hover div strong,
.dropdown-item:hover .text-box strong {
    color: var(--secondary);
}

.dropdown-item div span,
.text-box span {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.3;
}

.mega-footer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mega-footer-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
    border-color: #bfdbfe;
}

.banner-tag {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-tag i {
    font-size: 1.4rem;
    color: #91C6BC;
}

.banner-tag span {
    font-weight: 700;
    color: #4B9DA9;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.btn-pill-sm {
    background: var(--secondary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(227, 116, 52, 0.22);
    flex-shrink: 0;
}

.btn-pill-sm:hover {
    background: var(--vibrant-yellow);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(246, 243, 194, 0.28);
}

.faq-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 600;
}

.faq-info i {
    font-size: 1.2rem;
}

.mega-sidebar h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.mega-sidebar ul li {
    margin-bottom: 1rem;
}

.mega-sidebar ul li a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}

.mega-sidebar ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.menu-toggle {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.2rem;
    color: var(--secondary);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .navbar {
        z-index: 10000;
    }

    .desktop-nav {
        display: none !important;
    }

    body.menu-open #mobile-toggle {
        display: none !important;
    }

    /* Standalone Sidebar */
    .mobile-sidebar .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: #ffffff;
        background-image:
            radial-gradient(at 0% 0%, rgba(75, 157, 169, 0.03) 0px, transparent 50%),
            radial-gradient(at 100% 0%, rgba(227, 116, 52, 0.03) 0px, transparent 50%);
        flex-direction: column;
        padding: 0;
        gap: 0;
        align-items: flex-start;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.1);
        z-index: 200000;
        /* ABOVE EVERYTHING */
        display: flex;
        overflow-y: auto;
        overflow-x: hidden;
        /* Prevent horizontal clipping */
        visibility: hidden;
        pointer-events: none;
    }

    .mobile-sidebar .nav-links.active {
        right: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .sidebar-header {
        position: sticky;
        top: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 10;
    }

    .sidebar-header img {
        height: 38px;
    }

    .sidebar-close {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        color: #64748b;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .sidebar-close:hover {
        background: #fee2e2;
        color: #ef4444;
        border-color: #fecaca;
    }

    .nav-links>li:not(.sidebar-header):not(.sidebar-footer) {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }

    .nav-links>li>a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 15px 24px !important;
        font-size: 0.95rem !important;
        /* Smaller text */
        color: #1e293b !important;
        font-weight: 700 !important;
        width: 100%;
        transition: all 0.3s;
    }

    /* --- Dropdown Toggle Arrow --- */
    .mobile-sidebar .dropdown-link>a i.fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .mobile-sidebar .dropdown-link.active>a i.fa-chevron-down {
        transform: rotate(180deg);
    }

    /* --- Dropdown Panel (collapsed by default) --- */
    .mobile-sidebar .dropdown-link .dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        transform: none !important;
    }

    .mobile-sidebar .dropdown-link.active .dropdown-menu {
        max-height: 800px;
    }

    /* --- Button Grid inside dropdown --- */
    .mobile-sidebar .dropdown-btn-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 24px 16px;
        background: #f8fafc;
        border-top: 1px solid #f1f5f9;
    }

    .mobile-sidebar .dropdown-btn {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        padding: 10px 14px !important;
        border-radius: 8px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center;
        white-space: nowrap;
        transition: all 0.25s ease;
    }

    .mobile-sidebar .dropdown-btn:hover,
    .mobile-sidebar .dropdown-btn:active {
        background: var(--primary);
        color: #fff !important;
        border-color: var(--primary);
    }

    .nav-links li[data-side="alt"] a::after {
        content: '\f105';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 0.8rem;
        opacity: 0.3;
    }

    /* Sidebar Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 150000;
        /* ABOVE top-announcement, BELOW Sidebar */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-actions {
        display: none;
    }

    .sidebar-footer {
        margin-top: auto;
        padding: 30px 24px 40px;
        background: #f8fafc;
        width: 100%;
        border-top: 1px solid #e2e8f0;
    }

    .sidebar-contact h4 {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: #94a3b8;
        font-weight: 800;
        letter-spacing: 0.1em;
        margin-bottom: 20px;
    }

    .sidebar-contact a {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 10px 0 !important;
        font-size: 0.95rem !important;
        color: #475569 !important;
        font-weight: 600 !important;
    }

    .sidebar-social {
        display: flex;
        gap: 12px;
        margin-top: 25px;
    }

    .sidebar-social a {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: white;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #64748b !important;
        border: 1px solid #e2e8f0;
    }

    .sidebar-tagline {
        margin-top: 25px;
        font-size: 0.8rem;
        color: #cbd5e1;
        font-weight: 700;
        text-align: center;
        border-top: 1px dotted #e2e8f0;
        padding-top: 15px;
    }
}

/* Desktop Navigation Styles */
@media (min-width: 993px) {

    .mobile-sidebar,
    .nav-overlay {
        display: none !important;
    }

    .desktop-nav {
        display: block;
        margin-left: auto;
    }

    .sidebar-header,
    .sidebar-footer {
        display: none !important;
    }
}


/* --- BREATHTAKING HERO (ELITE UPGRADE) --- */
.hero {
    padding: 110px 0 60px;
    background: #f8fafc;
    background-image:
        radial-gradient(circle at 10% 25%, rgba(235, 28, 60, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 90% 70%, rgba(145, 198, 188, 0.18) 0%, transparent 45%),
        radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 24px 24px;
    position: relative;
    overflow: hidden;
}

.hero-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Hero Badge */
.hero-badge {
    background: rgba(235, 28, 60, 0.08);
    border: 1px solid rgba(235, 28, 60, 0.15);
    padding: 6px 14px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(235, 28, 60, 0.04);
}

.hero-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Hero Content */
.hero-content h1 {
    font-size: 3.4rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: #032C38;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

/* Call to Action Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary) 0%, #d01430 100%);
    color: #ffffff !important;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 25px rgba(235, 28, 60, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d01430 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(235, 28, 60, 0.35);
}

.hero-btns-v2 {
    margin-bottom: 2rem;
}

/* Rating Panel (White Horizontal card) */
.rating-panel-white {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(75, 157, 169, 0.1);
    box-shadow: 0 12px 30px rgba(3, 44, 56, 0.04);
    max-width: 540px;
}

.rating-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #032C38;
}

.rating-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #eab308;
    font-size: 0.8rem;
    margin-top: 4px;
}

.rating-col-divider {
    width: 1px;
    height: 40px;
    background: #f1f5f9;
    margin: 0 1.5rem;
}

.rating-avatars {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.rating-avatars img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -6px;
}

.rating-avatars img:first-child {
    margin-left: 0;
}

.avatar-plus {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    margin-left: -6px;
}

.rating-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 4px 10px;
    border-radius: 100px;
    color: #16a34a;
    font-weight: 700;
    font-size: 0.75rem;
    margin-top: 4px;
    align-self: flex-start;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Right Container (3x2 Grid) */
.hero-right-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
    height: 520px;
}

/* 3x2 Static Features Grid */
.features-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    flex: 1;
    align-items: start;
}

.feature-static-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(75, 157, 169, 0.08);
    box-shadow: 0 15px 35px rgba(3, 44, 56, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-static-card:hover {
    border-color: var(--secondary) !important;
}

/* Stagger Layout Columns like Mockup */
.features-static-grid>div:nth-child(3n+1) {
    /* Column 1 */
    transform: translateY(25px);
}

.features-static-grid>div:nth-child(3n+2) {
    /* Column 2 */
    transform: translateY(-25px);
}

.features-static-grid>div:nth-child(3n) {
    /* Column 3 */
    transform: translateY(15px);
}

/* Hover transitions preserving staggered state */
.features-static-grid>div:nth-child(3n+1):hover {
    transform: translateY(15px);
    box-shadow: 0 25px 45px rgba(3, 44, 56, 0.08);
}

.features-static-grid>div:nth-child(3n+2):hover {
    transform: translateY(-35px);
    box-shadow: 0 25px 45px rgba(3, 44, 56, 0.08);
}

.features-static-grid>div:nth-child(3n):hover {
    transform: translateY(5px);
    box-shadow: 0 25px 45px rgba(3, 44, 56, 0.08);
}

.card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.card-icon-box img {
    width: 26px;
    height: 26px;
}

.feature-static-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #032C38;
}

.feature-static-card span {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

/* Background/Icon themes for 6 cards */
.bg-light-blue {
    background: #ffffff;
}

.bg-icon-blue {
    background: #eff6ff;
}

.bg-light-yellow {
    background: #ffffff;
}

.bg-icon-yellow {
    background: #fefce8;
}

.bg-light-green {
    background: #ffffff;
}

.bg-icon-green {
    background: #f0fdf4;
}

.bg-light-purple {
    background: #ffffff;
}

.bg-icon-purple {
    background: #faf5ff;
}

.bg-light-red {
    background: #ffffff;
}

.bg-icon-red {
    background: #fdf2f8;
}

.bg-light-orange {
    background: #ffffff;
}

.bg-icon-orange {
    background: #fff7ed;
}

.text-brand-red {
    color: var(--secondary) !important;
}

.btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    border: none !important;
    color: #ffffff !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(3, 44, 56, 0.18);
}

.btn-demo:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, #d01430 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(235, 28, 60, 0.3);
}

.btn-demo i {
    font-size: 1rem !important;
    color: #ffffff !important;
}

/* Stats Overview Section (Premium Horizontal Cards) */
.stats-overview {
    padding: 20px 0;
    background: transparent;
    position: relative;
    z-index: 20;
}

.stats-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card-v2 {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid rgba(75, 157, 169, 0.08);
    box-shadow: 0 10px 25px rgba(3, 44, 56, 0.02);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.stat-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(3, 44, 56, 0.08);
    border-color: var(--secondary) !important;
}

.stat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-box i {
    font-size: 1.4rem;
}

.stat-info-v2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-info-v2 h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #032C38;
}

.stat-info-v2 p {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.stat-avatars-row {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.stat-avatars-row img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    margin-left: -5px;
}

.stat-avatars-row img:first-child {
    margin-left: 0;
}

.stat-avatar-plus {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #334155;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    margin-left: -5px;
}

.stat-avatar-plus.blue {
    background: #3b82f6;
    color: #ffffff;
}

.google-play-badge {
    height: 24px;
    width: auto;
    margin-top: 4px;
    display: block;
}

.device-icons-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Colors for stats boxes */
.bg-stat-green {
    background: #f0fdf4;
    color: #16a34a;
}

.bg-stat-red {
    background: #fdf2f8;
    color: #db2777;
}

.bg-stat-yellow {
    background: #fefce8;
    color: #ca8a04;
}

.bg-stat-blue {
    background: #eff6ff;
    color: #2563eb;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-right-container {
        padding-left: 70px;
    }

    .stats-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 0 50px;
    }

    .hero-grid-v2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-right-container {
        padding-left: 0;
        justify-content: center;
        height: auto;
    }

    .receipt-mockup-wrapper {
        display: none;
    }

    .rating-panel-white {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .features-static-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .features-static-grid>div:nth-child(n) {
        transform: none !important;
        padding: 0.75rem 0.4rem;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .feature-static-card h4 {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .feature-static-card span {
        display: none;
    }

    .card-icon-box {
        width: 36px;
        height: 36px;
        margin-bottom: 2px;
    }

    .card-icon-box img {
        width: 20px;
        height: 20px;
    }

    .stats-overview {
        padding: 10px 0;
    }

    .stats-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card-v2 {
        padding: 1rem 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .stat-icon-box {
        width: 40px;
        height: 40px;
    }

    .stat-icon-box i {
        font-size: 1.1rem;
    }

    .stat-info-v2 {
        align-items: center;
    }

    .stat-info-v2 h3 {
        font-size: 1.1rem;
    }

    .stat-info-v2 p {
        font-size: 0.7rem;
    }

    .google-play-badge {
        height: 18px;
        margin: 4px auto 0;
    }

    .device-icons-row {
        justify-content: center;
    }

    .stat-avatars-row {
        justify-content: center;
    }

    .rating-panel-white {
        flex-direction: row;
        gap: 0.4rem;
        padding: 1rem 0.75rem;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
    }

    .rating-col-divider {
        width: 1px;
        height: 35px;
        background: #f1f5f9;
        margin: 0 0.25rem;
    }

    .rating-panel-white .rating-number {
        font-size: 1.15rem;
    }

    .rating-panel-white .rating-label {
        font-size: 0.68rem;
    }

    .rating-panel-white .rating-stars {
        font-size: 0.65rem;
    }

    .rating-panel-white .rating-avatars img,
    .rating-panel-white .avatar-plus {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
        margin-left: -4px;
    }

    .rating-panel-white .rating-live-badge {
        padding: 2px 6px;
        font-size: 0.65rem;
    }
}

/* --- THE MOMENTUM TICKER (SCROLLING FEATURES) --- */
.momentum-ticker {
    background: #ffffff;
    padding: 35px 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.ticker-track {
    display: flex;
    width: fit-content;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-momentum 40s linear infinite;
    will-change: transform;
}

.ticker-pill {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 28px;
    margin: 0 15px;
    border-radius: 100px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #f1f5f9;
}

.ticker-pill img {
    width: 32px;
    height: 32px;
}

.ticker-pill span {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
    white-space: nowrap;
}

/* Vibrant Variations */
.pill-blue {
    background: rgba(145, 198, 188, 0.35);
    border-color: rgba(145, 198, 188, 0.95);
}

.pill-green {
    background: rgba(227, 116, 52, 0.10);
    border-color: rgba(227, 116, 52, 0.28);
}

.pill-yellow {
    background: rgba(246, 243, 194, 0.18);
    border-color: rgba(246, 243, 194, 0.38);
}

.pill-red {
    background: rgba(75, 157, 169, 0.05);
    border-color: rgba(75, 157, 169, 0.14);
}

.pill-purple {
    background: rgba(227, 116, 52, 0.08);
    border-color: rgba(227, 116, 52, 0.2);
}

.pill-navy {
    background: rgba(75, 157, 169, 0.05);
    border-color: rgba(75, 157, 169, 0.12);
}

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

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .momentum-ticker {
        padding: 15px 0;
    }

    .ticker-pill {
        gap: 8px;
        padding: 8px 16px;
        margin: 0 8px;
    }

    .ticker-pill img {
        width: 20px;
        height: 20px;
    }

    .ticker-pill span {
        font-size: 0.85rem;
    }
}


@media (max-width: 1100px) {
    .plan-grid {
        grid-template-columns: repeat(3, 280px);
        padding-bottom: 40px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .plan-grid::-webkit-scrollbar {
        display: none;
    }

    .plan-card {
        scroll-snap-align: center;
        width: 280px;
        min-width: 280px;
        flex-shrink: 0;
    }

    .plan-card.is-popular {
        transform: scale(1);
        border: 2px solid var(--primary);
    }
}

@media (max-width: 768px) {
    .plan-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 80px;
    }

    .stat-card:nth-child(even) {
        transform: none;
    }

    .stat-card:nth-child(even):hover {
        transform: scale(1.05);
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 on mobile as requested */
        gap: 30px 15px;
        /* Tighter gap for mobile */
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-info h3 {
        font-size: 1.15rem;
    }

    .stat-info p {
        font-size: 0.85rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        top: -25px;
    }
}

/* Features */
.section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-title h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3.5rem;
    border-radius: 32px;
    background: white;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border-color: rgba(227, 116, 52, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(145, 198, 188, 0.35);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 6rem 0 3rem;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 0;
}

.footer-logo {
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.social-links i {
    font-size: 1.5rem;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Setup Process Section Overlay */
.setup-process {
    padding: 100px 0;
    background: #ffffff;
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.setup-card {
    padding: 2.8rem 2.2rem;
    border-radius: 24px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.setup-card:hover {
    transform: translateY(-8px);
}

.setup-icon {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.setup-card h3 {
    font-size: 1.35rem;
    font-weight: 850;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.setup-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

/* Soft Pastel Backgrounds from user reference image */
.setup-card.bg-soft-blue {
    background: rgba(145, 198, 188, 0.35);
}

.setup-card.bg-soft-blue i {
    color: var(--primary);
}

.setup-card.bg-soft-pink {
    background: rgba(227, 116, 52, 0.10);
}

.setup-card.bg-soft-pink i {
    color: var(--secondary);
}

.setup-card.bg-soft-green {
    background: rgba(246, 243, 194, 0.18);
}

.setup-card.bg-soft-green i {
    color: var(--vibrant-yellow);
}

.setup-card.bg-soft-gray {
    background: #ffffff;
    border: 1px solid rgba(75, 157, 169, 0.08);
}

.setup-card.bg-soft-gray i {
    color: var(--primary);
}

@media (max-width: 992px) {
    .setup-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .setup-grid {
        grid-template-columns: 1fr;
    }
}

/* Feature Discovery - Bento Grid System */
.feature-discovery {
    padding: 30px 0;
    background: #ffffff;
}

.badge-accent {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(75, 157, 169, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;
}

.bento-item {
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1);
}

.bento-big {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.bento-wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-icon {
    width: 54px;
    height: 54px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.bento-icon.color-pink {
    color: var(--secondary);
}

.bento-icon.color-green {
    color: var(--primary);
}

.bento-icon.color-yellow {
    color: var(--vibrant-yellow);
}

.bento-icon.color-purple {
    color: var(--secondary);
}

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

.bento-icon.bg-blue {
    background: var(--primary);
    color: white;
}

.bento-item h3 {
    font-size: 1.6rem;
    font-weight: 850;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    color: inherit;
    font-family: var(--font-heading);
}

.bento-item p {
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* UI Visual for Big Card */
.ui-mockup {
    margin-top: 3rem;
    background: #ffffff;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    padding: 2rem;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.ui-line {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ui-line.short {
    width: 60%;
}

.ui-total {
    margin-top: 1.5rem;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
}

.app-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
}

.app-badges img {
    height: 35px;
}

.app-badges span {
    font-weight: 700;
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-big,
    .bento-wide {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Brand Ticker (Updated - Brand Blue Theme) */
.brand-ticker {
    padding: 35px 0;
    background: #ffffff;
    border-top: 1px solid rgba(75, 157, 169, 0.08);
    border-bottom: 1px solid rgba(75, 157, 169, 0.08);
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: center;
}

.ticker-label {
    font-size: 0.88rem;
    font-weight: 850;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.ticker-logos {
    display: flex;
    align-items: center;
    gap: 4.5rem;
}

.ticker-logos img {
    height: 32px;
    opacity: 0.75;
    filter: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.ticker-logos img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.15);
}

@media (max-width: 992px) {
    .ticker-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .ticker-logos {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .brand-ticker {
        padding: 18px 0;
    }

    .ticker-wrapper {
        gap: 0.75rem;
    }

    .ticker-label {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .ticker-logos {
        gap: 1.25rem;
    }

    .ticker-logos img {
        height: 24px;
    }
}

/* Industry Solutions (Premium Grid) */
.industry-solutions {
    padding: 100px 0;
    background: #ffffff;
}

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

.industry-card {
    padding: 2.5rem;
    background: #fcfdfe;
    border: 1.5px solid #f1f5f9;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.industry-card:hover {
    background: #ffffff;
    border-color: #3677b8;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(54, 119, 184, 0.08);
}

.industry-icon {
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* Sophisticated Soft Backgrounds */
.bg-blue-soft {
    background: #ffffff;
    color: #91C6BC;
}

.bg-green-soft {
    background: #ecfdf5;
    color: #10b981;
}

.bg-pink-soft {
    background: #fff1f2;
    color: #f43f5e;
}

.bg-yellow-soft {
    background: #fffbeb;
    color: #f59e0b;
}

.bg-purple-soft {
    background: #f5f3ff;
    color: #8b5cf6;
}

.bg-indigo-soft {
    background: #eef2ff;
    color: #6366f1;
}

.industry-info h3 {
    font-size: 1.45rem;
    font-weight: 850;
    color: #1e293b;
    margin-bottom: 0.6rem;
}

.industry-info p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .industry-card {
        padding: 2rem;
    }
}

/* Aurora Industry Solutions (Elite Design with Contextual BG) */
.industry-solutions-aurora {
    padding: 30px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Background Atmospheric Glows */
.industry-solutions-aurora::before {
    content: none;
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(54, 119, 184, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.section-header-elite {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.badge-elite {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(145, 198, 188, 0.35);
    border: 1px solid rgba(75, 157, 169, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.section-header-elite h2 {
    font-size: 3rem;
    font-weight: 850;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header-elite h2 span {
    color: var(--secondary);
}

.section-header-elite p {
    color: #64748b;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

.aurora-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.aurora-card {
    position: relative;
    padding: 45px 35px;
    background: #ffffff;
    border: 1px solid rgba(75, 157, 169, 0.10);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.aurora-card:hover {
    background: #ffffff;
    border-color: var(--secondary) !important;
    transform: translateY(-10px) scale(1.02);
}

.aurora-num {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(75, 157, 169, 0.04);
    line-height: 1;
    z-index: 0;
    transition: all 0.5s ease;
}

.aurora-card:hover .aurora-num {
    color: rgba(75, 157, 169, 0.08);
    transform: scale(1.1);
}

.aurora-icon {
    width: 60px;
    height: 60px;
    background: rgba(145, 198, 188, 0.30);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.aurora-content {
    position: relative;
    z-index: 1;
}

.aurora-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.aurora-content p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.aurora-accent {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(75, 157, 169, 0.06);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Aurora Color Identity (Fixed for Premium Identity Match) */
.aurora-blue .aurora-icon {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.15);
}

.aurora-blue .aurora-accent {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
}

.aurora-green .aurora-icon {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.15);
}

.aurora-green .aurora-accent {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.06);
}

.aurora-pink .aurora-icon {
    color: #db2777;
    background: rgba(219, 39, 119, 0.1);
    border-color: rgba(219, 39, 119, 0.15);
}

.aurora-pink .aurora-accent {
    color: #db2777;
    background: rgba(219, 39, 119, 0.06);
}

.aurora-amber .aurora-icon {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.15);
}

.aurora-amber .aurora-accent {
    color: #d97706;
    background: rgba(217, 119, 6, 0.06);
}

.aurora-purple .aurora-icon {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.15);
}

.aurora-purple .aurora-accent {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.06);
}

.aurora-indigo .aurora-icon {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.15);
}

.aurora-indigo .aurora-accent {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.06);
}

@media (max-width: 1100px) {
    .aurora-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aurora-grid {
        grid-template-columns: 1fr;
    }

    .section-header-elite h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .aurora-grid {
        gap: 15px;
    }

    .aurora-card {
        padding: 24px;
        border-radius: 20px;
    }

    .aurora-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .aurora-content h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .aurora-content p {
        font-size: 0.88rem;
        margin-bottom: 15px;
    }
}


/* --- PRICING SECTION V4 (DUAL-TONE SPLIT) --- */
.plan-section {
    padding: 80px 0 120px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Split Background Canopy */
.plan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: linear-gradient(180deg, rgba(3, 44, 56, 0.05) 0%, rgba(145, 198, 188, 0.05) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.plan-header {
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.plan-header h2 {
    font-size: 3rem;
    font-weight: 850;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.plan-header p {
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.pricing-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(235, 28, 60, 0.08);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(235, 28, 60, 0.15);
}

.pricing-meta-note {
    margin: 10px 0 18px;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
}

.plan-card {
    border-radius: 32px;
    padding: 0;
    text-align: left;
    box-shadow: 0 15px 45px rgba(3, 44, 56, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Color theme mappings (Brand Secondary Red) */
.plan-card.theme-starter {
    --theme-color: var(--secondary);
    background: var(--secondary);
}

.plan-card.theme-pro {
    --theme-color: var(--secondary);
    background: var(--secondary);
}

.plan-card.theme-enterprise {
    --theme-color: var(--secondary);
    background: var(--secondary);
}

.plan-card-top {
    padding: 24px 20px 38px;
    position: relative;
    text-align: left;
    z-index: 2;
}

.card-back-arrow {
    position: absolute;
    top: 22px;
    right: 20px;
    left: auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.card-back-arrow:hover {
    color: #ffffff;
}

.plan-card-top .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-card-top .plan-price {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
}

.plan-card-top .plan-price span {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.card-wave-bg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: -1;
    pointer-events: none;
}

.card-wave-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card-wave-bg svg .wave-back {
    fill: rgba(255, 255, 255, 0.12);
}

.card-wave-bg svg .wave-front {
    fill: #ffffff;
}

.plan-card-bottom {
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    padding: 20px 20px 24px;
    position: relative;
    z-index: 3;
    margin-top: -30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-notch {
    width: 36px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 0 auto 15px;
}

.plan-sub-title {
    text-align: left;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--theme-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    border-top: none;
    padding-top: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 0.92rem;
    text-align: left;
}

.plan-features li i.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--theme-color);
    color: var(--theme-color);
    font-size: 0.65rem;
    flex-shrink: 0;
}

.plan-btn {
    width: 100%;
    padding: 13px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: capitalize;
    letter-spacing: normal;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
    margin-top: auto;
    background: var(--theme-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.plan-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: #ffffff;
}

/* Hover and Popular Animations */
.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(3, 44, 56, 0.08);
}

.plan-card.is-popular {
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 25px 55px rgba(235, 28, 60, 0.15);
}

.plan-card.is-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 15;
}

@media (max-width: 1100px) {
    .plan-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        gap: 20px !important;
        padding: 20px 20px 40px !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .plan-grid::-webkit-scrollbar {
        display: none !important;
    }

    .plan-card {
        min-width: 290px !important;
        width: 290px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: center !important;
        transform: none !important;
        margin: 0 !important;
        z-index: 1 !important;
    }

    .plan-card:hover {
        transform: none !important;
    }

    .plan-card.is-popular {
        transform: none !important;
    }

    .plan-card.is-popular:hover {
        transform: none !important;
    }

    .plan-header h2 {
        font-size: 2.2rem !important;
        letter-spacing: normal;
    }
}

@media (max-width: 768px) {
    .plan-header h2 {
        font-size: 1.8rem !important;
    }
}


.btn-starter {
    background: rgba(145, 198, 188, 0.15);
    color: var(--primary);
    border: 1px solid rgba(145, 198, 188, 0.3);
}

.btn-starter:hover {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(145, 198, 188, 0.2);
}

.btn-pro {
    background: linear-gradient(135deg, var(--secondary) 0%, #d9243f 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(235, 28, 60, 0.15);
}

.btn-pro:hover {
    background: linear-gradient(135deg, #d9243f 0%, var(--secondary) 100%);
    box-shadow: 0 15px 25px rgba(235, 28, 60, 0.25);
}

.btn-enterprise {
    background: var(--primary);
    color: white;
}

.btn-enterprise:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(3, 44, 56, 0.2);
}

.plan-btn:hover {
    transform: translateY(-3px);
}

/* --- FAQ SECTION V9 (THE BALANCED SIDEKICK) --- */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.faq-section {
    padding: 50px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.faq-balanced-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-balanced-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-balanced-header h2 {
    font-size: 3rem;
    font-weight: 850;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.faq-balanced-header h2 span {
    color: var(--secondary);
}

.faq-balanced-header p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

.faq-balanced-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.faq-balanced-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-balanced-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    border-left: 4px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(3, 44, 56, 0.01);
    overflow: hidden;
}

.faq-balanced-card:hover {
    border-color: #cbd5e1;
    border-left-color: var(--accent);
    box-shadow: 0 8px 20px rgba(3, 44, 56, 0.03);
}

.faq-balanced-card.is-open {
    border-color: #cbd5e1;
    border-left-color: var(--secondary);
    box-shadow: 0 12px 30px rgba(235, 28, 60, 0.06);
}

.faq-balanced-top {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

.faq-q-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-number {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary);
    background: rgba(235, 28, 60, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.faq-question-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-balanced-card.is-open .faq-question-text {
    color: var(--secondary);
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-balanced-card.is-open .faq-toggle-icon {
    background: var(--secondary);
    color: #ffffff;
    transform: rotate(135deg);
}

.faq-balanced-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s ease;
    color: #475569;
    line-height: 1.7;
    font-size: 0.98rem;
}

.faq-balanced-card.is-open .faq-balanced-answer {
    max-height: 300px;
    opacity: 1;
    padding: 0 28px 24px 62px;
}

@media (max-width: 1100px) {
    .faq-balanced-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .faq-balanced-header h2 {
        font-size: 2.4rem;
    }

    .faq-balanced-top {
        padding: 20px;
    }

    .faq-balanced-card.is-open .faq-balanced-answer {
        padding: 0 20px 20px 20px;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-number {
        padding: 2px 8px;
        font-size: 0.8rem;
    }
}

/* --- INVOICE PREVIEW SHOWCASE --- */
.invoice-preview-showcase {
    padding: 80px 0;
    background: linear-gradient(180deg, #fdf5f5 0%, #f8e9e9 100%);
    overflow: hidden;
}

.preview-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.preview-header h2 {
    font-size: 3.5rem;
    font-weight: 950;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 15px;
}

.preview-header h2 span {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-header p {
    color: #64748b;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Tabs */
.preview-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.preview-tab-btn {
    background: #ffffff;
    border: 1px solid rgba(3, 44, 56, 0.08);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(3, 44, 56, 0.03);
}

.preview-tab-btn i {
    font-size: 1.1rem;
    color: #64748b;
    transition: color 0.3s;
}

.preview-tab-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.preview-tab-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(235, 28, 60, 0.25);
}

.preview-tab-btn.active i {
    color: #ffffff;
}

/* Display */
.preview-display {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Mockup Papers container */
.preview-mockup-container {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid rgba(3, 44, 56, 0.08);
    box-shadow: 0 30px 60px rgba(3, 44, 56, 0.05);
    padding: 20px;
    height: 520px;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.preview-mockup-container img {
    max-height: 460px;
    width: auto !important;
    object-fit: contain;
}

/* Mockup base styling */
.mockup-paper {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    padding: 24px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    color: #334155;
    display: none;
    opacity: 0;
    transform: scale(0.96) translateY(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-paper.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Inner elements styling */
.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.mockup-header.compact {
    border-bottom: 1px dashed var(--secondary);
}

.brand-logo-mock {
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
}

.text-brand-red {
    color: var(--secondary) !important;
}

.invoice-title-mock {
    font-weight: 850;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.invoice-title-mock.font-small {
    font-size: 11px;
}

.mockup-meta {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #64748b;
    margin-bottom: 12px;
}

.mockup-meta.compact {
    margin-bottom: 8px;
}

.mockup-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}

.party-col {
    line-height: 1.4;
}

.party-label {
    display: block;
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 2px;
}

.mockup-table {
    margin-bottom: 15px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 0.5fr 1fr 1fr;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.table-row.table-head {
    background: #f8fafc;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}

.col-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
}

.mockup-footer.compact {
    grid-template-columns: 1fr;
    text-align: center;
}

.bank-details-mock {
    font-size: 8px;
    line-height: 1.4;
}

.totals-mock {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
}

.total-row.final-total {
    font-weight: 800;
    font-size: 10px;
    color: var(--secondary);
    border-top: 1px solid var(--secondary);
    padding-top: 4px;
}

/* Thermal Roll styles */
.thermal-roll {
    max-width: 280px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    background: #fafafa;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 9px;
    color: #111;
}

.thermal-header {
    text-align: center;
    line-height: 1.3;
    margin-bottom: 10px;
}

.thermal-header h3 {
    margin: 0 0 2px 0;
    font-size: 11px;
    font-weight: bold;
}

.thermal-header p {
    margin: 0;
}

.thermal-meta {
    line-height: 1.3;
}

.separator {
    text-align: center;
    margin: 4px 0;
    overflow: hidden;
}

.thermal-items {
    width: 100%;
}

.thermal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.thermal-totals {
    margin: 8px 0;
}

.thermal-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.thermal-total-row.final {
    border-top: 1px dashed #111;
    padding-top: 4px;
    font-size: 10px;
}

.thermal-footer {
    text-align: center;
    line-height: 1.3;
    margin-top: 10px;
}

.mini-qr-box {
    font-size: 26px;
    margin: 8px 0;
    color: #111;
}

/* Details Panel styling */
.preview-details {
    padding-left: 10px;
}

.details-panel {
    display: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-panel.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.details-panel h3 {
    font-size: 1.8rem;
    font-weight: 850;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.details-panel p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.details-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.4;
}

.details-list li i {
    margin-top: 4px;
    font-size: 0.9rem;
}

.details-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-top: 1px solid rgba(3, 44, 56, 0.08);
    padding-top: 20px;
}

.d-stat {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.d-stat strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 2px;
}

@media (max-width: 1100px) {
    .preview-display {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .preview-mockup-container {
        min-height: auto;
        padding: 30px 15px;
    }

    .preview-details {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .preview-header h2 {
        font-size: 2.5rem;
    }

    .preview-tab-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .details-panel h3 {
        font-size: 1.5rem;
    }
}

/* --- ULTRA RESPONSIVE FIX (380px & BELOW) --- */
@media (max-width: 420px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 110px 0 30px;
    }

    .hero-content h1 {
        font-size: 2.1rem !important;
        line-height: 1.15;
        letter-spacing: -0.04em;
    }

    .hero-content p {
        font-size: 0.88rem;
        padding: 0;
        margin-bottom: 25px;
    }

    .hero-btns-v2 {
        padding: 0;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .hero-stats-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        justify-content: space-between !important;
        margin-top: 2rem !important;
        background: #f8fafc !important;
        padding: 14px 10px !important;
        border-radius: 14px !important;
        width: 100% !important;
    }

    .h-stat {
        flex: 1 !important;
        text-align: center !important;
    }

    .h-stat strong {
        font-size: 0.95rem !important;
        /* Smaller to fit 350px */
        display: block !important;
    }

    .h-stat span {
        font-size: 0.6rem !important;
        /* Smaller to fit 350px */
    }

    .section-title h2 {
        font-size: 1.7rem !important;
    }

    .bento-grid {
        padding: 0;
        gap: 15px;
    }

    .bento-item {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .bento-icon {
        margin-bottom: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .bento-item h3 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .bento-item p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .footer-wrap .footer-grid {
        padding: 24px 16px;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .logo img {
        height: 34px !important;
    }

    .top-announcement span {
        display: none;
        /* Hide 'New Update' text on small screens */
    }

    .announcement-flex {
        justify-content: center;
    }

    .top-links {
        gap: 15px;
    }

    .top-links a {
        font-size: 0.75rem;
    }

    /* Global Page Hero Overrides */
    .main-title,
    .q-title,
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .main-para,
    .q-subtitle,
    .hero-para {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 25px !important;
    }

    .hero-colorful,
    .quotation-hero,
    [class*="-hero"] {
        padding: 100px 0 50px !important;
    }

    /* Fix flex buttons on small screens */
    .hero-btns,
    [style*="display: flex; gap: 15px;"] {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-btns a,
    [style*="display: flex; gap: 15px;"] a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

.quotation-hero,
[class*="-hero"] {
    padding: 100px 0 50px !important;
}

/* Fix flex buttons on small screens */
.hero-btns,
[style*="display: flex; gap: 15px;"] {
    flex-direction: column !important;
    gap: 10px !important;
}

.hero-btns a,
[style*="display: flex; gap: 15px;"] a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
}
}