/*
===================================
Enterprise Theme CSS - TSLA Finance
White Theme with Gold Accents
===================================
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    /* Backgrounds */
    --enterprise-bg: #ffffff;
    --enterprise-bg-secondary: #f8f9fa;
    --enterprise-bg-tertiary: #f1f3f5;
    --enterprise-card-bg: #ffffff;

    /* Text Colors */
    --enterprise-text-primary: #1a2744;
    --enterprise-text-secondary: #4a5568;
    --enterprise-text-muted: #6c757d;

    /* Accent Colors */
    --enterprise-gold: #f0b90b;
    --enterprise-gold-hover: #d4a000;
    --enterprise-gold-light: rgba(240, 185, 11, 0.1);

    /* Status Colors */
    --enterprise-success: #28a745;
    --enterprise-danger: #dc3545;

    /* Shadows */
    --enterprise-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --enterprise-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --enterprise-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --enterprise-shadow-gold: 0 4px 20px rgba(240, 185, 11, 0.3);

    /* Transitions */
    --enterprise-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --enterprise-radius-sm: 8px;
    --enterprise-radius: 12px;
    --enterprise-radius-lg: 16px;
    --enterprise-radius-xl: 24px;
}

/* Base Styles */
body.enterprise-theme {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--enterprise-bg);
    color: var(--enterprise-text-primary);
}

body.enterprise-theme h1,
body.enterprise-theme h2,
body.enterprise-theme h3,
body.enterprise-theme h4,
body.enterprise-theme h5,
body.enterprise-theme h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--enterprise-text-primary);
}

/* ===========================================
   NAVBAR OVERRIDES (High Specificity)
   =========================================== */

/* Force horizontal layout on desktop */
body.enterprise-theme #header #navbar {
    display: flex !important;
    align-items: center !important;
}

body.enterprise-theme #header #navbar>ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.enterprise-theme #header #navbar>ul>li {
    float: none !important;
    display: inline-block !important;
}

body.enterprise-theme #header #navbar>ul>li>a {
    display: block !important;
    padding: 10px 16px !important;
    color: var(--enterprise-text-primary) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

body.enterprise-theme #header #navbar>ul>li>a:hover {
    color: var(--enterprise-gold) !important;
    background: var(--enterprise-gold-light) !important;
}

body.enterprise-theme #header #navbar>ul>li.active>a {
    color: var(--enterprise-gold) !important;
}

/* Hide mobile toggle on desktop */
body.enterprise-theme #header .mobile-nav-toggle {
    display: none !important;
}

/* Mobile: Show toggle, stack nav */
@media (max-width: 991px) {
    body.enterprise-theme #header .mobile-nav-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 28px !important;
        color: var(--enterprise-text-primary) !important;
        cursor: pointer !important;
    }

    body.enterprise-theme #header #navbar>ul {
        display: none !important;
        position: fixed !important;
        top: 65px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        flex-direction: column !important;
        background: var(--enterprise-card-bg) !important;
        padding: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        z-index: 9998 !important;
        overflow-y: auto !important;
    }

    body.enterprise-theme #header #navbar.navbar-mobile>ul {
        display: flex !important;
    }

    body.enterprise-theme #header #navbar>ul>li {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    body.enterprise-theme #header #navbar>ul>li>a {
        padding: 16px 20px !important;
        font-size: 16px !important;
        border-radius: 0 !important;
    }

    body.enterprise-theme #header .header-right {
        display: none !important;
    }
}

/* Enterprise Header */
.enterprise-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--enterprise-transition);
    padding: 12px 0;
    z-index: 9999;
}

.enterprise-header.scrolled {
    box-shadow: var(--enterprise-shadow);
    padding: 8px 0;
}

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

.enterprise-header .logo img {
    max-height: 45px;
    transition: var(--enterprise-transition);
}

/* Desktop Navigation */
.enterprise-header .navbar {
    display: flex;
    align-items: center;
}

.enterprise-header .navbar ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.enterprise-header .navbar li {
    position: relative;
}

.enterprise-header .navbar a {
    color: var(--enterprise-text-primary) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    display: block;
    position: relative;
    text-decoration: none;
    transition: var(--enterprise-transition);
    border-radius: var(--enterprise-radius-sm);
}

.enterprise-header .navbar a:hover {
    color: var(--enterprise-gold) !important;
    background: var(--enterprise-gold-light);
}

.enterprise-header .navbar li.active a {
    color: var(--enterprise-gold) !important;
}

.enterprise-header .navbar a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--enterprise-gold);
    transition: var(--enterprise-transition);
    transform: translateX(-50%);
}

.enterprise-header .navbar a:hover::after,
.enterprise-header .navbar li.active a::after {
    width: 50%;
}

.enterprise-header .navbar li::before,
.enterprise-header .navbar li::after {
    display: none !important;
}

/* Header Right Section */
.enterprise-header .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Nav Toggle */
.enterprise-header .mobile-nav-toggle {
    display: none;
    font-size: 28px;
    color: var(--enterprise-text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--enterprise-radius-sm);
    transition: var(--enterprise-transition);
}

.enterprise-header .mobile-nav-toggle:hover {
    background: var(--enterprise-bg-secondary);
    color: var(--enterprise-gold);
}

/* ================================
   MOBILE NAVIGATION 
   ================================ */
@media (max-width: 991px) {
    .enterprise-header {
        padding: 10px 0;
    }

    .enterprise-header .mobile-nav-toggle {
        display: block;
    }

    .enterprise-header .navbar ul {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--enterprise-card-bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px;
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 9998;
    }

    .enterprise-header .navbar-mobile ul {
        display: flex !important;
    }

    .enterprise-header .navbar li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .enterprise-header .navbar li:last-child {
        border-bottom: none;
    }

    .enterprise-header .navbar a {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 0;
    }

    .enterprise-header .navbar a::after {
        display: none;
    }

    .enterprise-header .navbar a:hover {
        background: var(--enterprise-gold-light);
        padding-left: 28px;
    }

    .enterprise-header .header-right {
        display: none !important;
    }

    /* Mobile Login/Language inside menu */
    .enterprise-header .navbar li.d-lg-none {
        display: block !important;
    }

    .enterprise-header .navbar select.changeLang {
        width: 100%;
        padding: 14px 20px;
        background: var(--enterprise-bg-secondary);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: var(--enterprise-radius);
        color: var(--enterprise-text-primary);
        font-size: 15px;
        margin-top: 10px;
    }
}

/* Desktop-only: Show header-right, hide mobile login */
@media (min-width: 992px) {
    .enterprise-header .navbar li.d-lg-none {
        display: none !important;
    }

    .enterprise-header .header-right {
        display: flex !important;
    }
}


/* Enterprise Buttons */
.enterprise-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--enterprise-radius);
    transition: var(--enterprise-transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.enterprise-btn-primary {
    background: linear-gradient(135deg, var(--enterprise-gold) 0%, var(--enterprise-gold-hover) 100%);
    color: #ffffff;
    box-shadow: var(--enterprise-shadow-gold);
}

.enterprise-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(240, 185, 11, 0.4);
    color: #ffffff;
}

.enterprise-btn-outline {
    background: transparent;
    color: var(--enterprise-text-primary);
    border: 2px solid var(--enterprise-text-primary);
}

.enterprise-btn-outline:hover {
    background: var(--enterprise-text-primary);
    color: #ffffff;
}

/* Enterprise Banner Section */
.enterprise-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #f1f3f5 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.enterprise-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.enterprise-banner-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--enterprise-text-primary);
    margin-bottom: 24px;
}

.enterprise-banner-title span {
    color: var(--enterprise-gold);
}

.enterprise-banner-subtitle {
    font-size: 18px;
    color: var(--enterprise-text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

/* Stats Counter */
.enterprise-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
}

.enterprise-stat-item {
    text-align: left;
}

.enterprise-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--enterprise-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.enterprise-stat-label {
    font-size: 14px;
    color: var(--enterprise-text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.enterprise-stat-label i {
    color: var(--enterprise-gold);
    font-size: 12px;
}

/* Chart Container */
.enterprise-chart-container {
    background: var(--enterprise-card-bg);
    border-radius: var(--enterprise-radius-lg);
    box-shadow: var(--enterprise-shadow-lg);
    padding: 24px;
    position: relative;
}

.enterprise-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.enterprise-chart-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--enterprise-text-primary);
}

.enterprise-chart-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--enterprise-success);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.enterprise-chart-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--enterprise-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Trust Indicators Bar */
.enterprise-trust-bar {
    background: var(--enterprise-bg-secondary);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.enterprise-trust-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.enterprise-trust-logo {
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--enterprise-transition);
    max-height: 32px;
}

.enterprise-trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Enterprise Cards */
.enterprise-card {
    background: var(--enterprise-card-bg);
    border-radius: var(--enterprise-radius-lg);
    padding: 32px;
    box-shadow: var(--enterprise-shadow);
    transition: var(--enterprise-transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.enterprise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--enterprise-shadow-lg);
}

.enterprise-card-icon {
    width: 64px;
    height: 64px;
    background: var(--enterprise-gold-light);
    border-radius: var(--enterprise-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--enterprise-transition);
}

.enterprise-card-icon i {
    font-size: 28px;
    color: var(--enterprise-gold);
}

.enterprise-card:hover .enterprise-card-icon {
    background: var(--enterprise-gold);
}

.enterprise-card:hover .enterprise-card-icon i {
    color: #ffffff;
}

.enterprise-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--enterprise-text-primary);
}

.enterprise-card-text {
    font-size: 15px;
    color: var(--enterprise-text-secondary);
    line-height: 1.7;
}

/* Enterprise Section Headers */
.enterprise-section {
    padding: 100px 0;
}

.enterprise-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.enterprise-section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--enterprise-text-primary);
    margin-bottom: 16px;
}

.enterprise-section-subtitle {
    font-size: 17px;
    color: var(--enterprise-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Plan Cards */
.enterprise-plan-card {
    background: var(--enterprise-card-bg);
    border-radius: var(--enterprise-radius-lg);
    padding: 40px 32px;
    box-shadow: var(--enterprise-shadow);
    transition: var(--enterprise-transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.enterprise-plan-card.featured {
    border-color: var(--enterprise-gold);
}

.enterprise-plan-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--enterprise-gold);
    color: #ffffff;
    padding: 6px 40px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
}

.enterprise-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--enterprise-shadow-lg);
}

.enterprise-plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--enterprise-text-primary);
    margin-bottom: 8px;
}

.enterprise-plan-roi {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--enterprise-gold);
    line-height: 1;
    margin: 20px 0;
}

.enterprise-plan-roi span {
    font-size: 18px;
    color: var(--enterprise-text-muted);
    font-weight: 500;
}

.enterprise-plan-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.enterprise-plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--enterprise-text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.enterprise-plan-features li:last-child {
    border-bottom: none;
}

.enterprise-plan-features li i {
    color: var(--enterprise-success);
    font-size: 14px;
}

/* Transaction Table */
.enterprise-table-container {
    background: var(--enterprise-card-bg);
    border-radius: var(--enterprise-radius-lg);
    box-shadow: var(--enterprise-shadow);
    overflow: hidden;
}

.enterprise-table-tabs {
    display: flex;
    gap: 0;
    background: var(--enterprise-bg-secondary);
    padding: 8px;
    border-radius: var(--enterprise-radius) var(--enterprise-radius) 0 0;
}

.enterprise-table-tab {
    flex: 1;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--enterprise-text-muted);
    background: transparent;
    border: none;
    border-radius: var(--enterprise-radius-sm);
    cursor: pointer;
    transition: var(--enterprise-transition);
}

.enterprise-table-tab.active {
    background: var(--enterprise-card-bg);
    color: var(--enterprise-gold);
    box-shadow: var(--enterprise-shadow-sm);
}

.enterprise-table {
    width: 100%;
    border-collapse: collapse;
}

.enterprise-table th {
    background: var(--enterprise-bg-secondary);
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--enterprise-text-muted);
    text-align: left;
}

.enterprise-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--enterprise-text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.enterprise-table tr:hover {
    background: var(--enterprise-bg-secondary);
}

.enterprise-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--enterprise-success);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.enterprise-live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--enterprise-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Testimonials */
.enterprise-testimonial {
    background: var(--enterprise-card-bg);
    border-radius: var(--enterprise-radius-lg);
    padding: 32px;
    box-shadow: var(--enterprise-shadow);
}

.enterprise-testimonial-text {
    font-size: 16px;
    color: var(--enterprise-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.enterprise-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.enterprise-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.enterprise-testimonial-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--enterprise-text-primary);
}

.enterprise-testimonial-role {
    font-size: 13px;
    color: var(--enterprise-text-muted);
}

.enterprise-testimonial-stars {
    color: var(--enterprise-gold);
    font-size: 14px;
    margin-bottom: 4px;
}

/* Footer */
.enterprise-footer {
    background: var(--enterprise-bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.enterprise-footer-logo {
    margin-bottom: 20px;
}

.enterprise-footer-logo img {
    max-height: 45px;
}

.enterprise-footer-text {
    font-size: 15px;
    color: var(--enterprise-text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.enterprise-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--enterprise-text-primary);
    margin-bottom: 20px;
}

.enterprise-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enterprise-footer-links li {
    margin-bottom: 12px;
}

.enterprise-footer-links a {
    font-size: 14px;
    color: var(--enterprise-text-secondary);
    text-decoration: none;
    transition: var(--enterprise-transition);
}

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

.enterprise-footer-social {
    display: flex;
    gap: 12px;
}

.enterprise-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--enterprise-card-bg);
    border-radius: 50%;
    color: var(--enterprise-text-secondary);
    transition: var(--enterprise-transition);
}

.enterprise-footer-social a:hover {
    background: var(--enterprise-gold);
    color: #ffffff;
}

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

.enterprise-footer-copyright {
    font-size: 14px;
    color: var(--enterprise-text-muted);
}

/* Calculator Widget */
.enterprise-calculator {
    background: var(--enterprise-card-bg);
    border-radius: var(--enterprise-radius-lg);
    padding: 32px;
    box-shadow: var(--enterprise-shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.enterprise-calculator .form-control,
.enterprise-calculator .form-select {
    background: var(--enterprise-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    font-size: 15px;
    border-radius: var(--enterprise-radius);
    color: var(--enterprise-text-primary);
    transition: var(--enterprise-transition);
}

.enterprise-calculator .form-control:focus,
.enterprise-calculator .form-select:focus {
    border-color: var(--enterprise-gold);
    box-shadow: 0 0 0 3px var(--enterprise-gold-light);
    outline: none;
}

.enterprise-calculator label {
    font-size: 13px;
    font-weight: 600;
    color: var(--enterprise-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================
   MOBILE RESPONSIVE OPTIMIZATION
   ================================ */

/* Tablet - 991px and below */
@media (max-width: 991px) {
    .enterprise-banner {
        padding: 120px 0 60px;
    }

    .enterprise-banner-title {
        font-size: 36px;
        text-align: center;
    }

    .enterprise-banner-subtitle {
        text-align: center;
        margin: 0 auto;
    }

    .enterprise-stats {
        gap: 24px;
        justify-content: center;
    }

    .enterprise-stat-value {
        font-size: 32px;
    }

    .enterprise-section-title {
        font-size: 30px;
    }

    .enterprise-chart-container {
        margin-top: 30px;
    }

    /* Mobile Header */
    .enterprise-header .logo img {
        max-height: 40px;
    }

    .enterprise-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Trust Bar */
    .enterprise-trust-bar {
        padding: 24px 0;
    }

    .enterprise-trust-logos {
        flex-wrap: wrap;
        gap: 20px !important;
        justify-content: center;
    }

    .enterprise-trust-logos>div {
        width: calc(50% - 10px);
        justify-content: center;
    }

    /* Footer */
    .enterprise-footer {
        padding: 50px 0 30px;
    }

    .enterprise-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Plan Cards */
    .enterprise-plan-card {
        padding: 28px 24px;
    }

    .enterprise-plan-roi {
        font-size: 40px;
    }
}

/* Mobile - 767px and below */
@media (max-width: 767px) {

    /* Banner */
    .enterprise-banner {
        padding: 100px 0 50px;
    }

    .enterprise-banner-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .enterprise-banner-subtitle {
        font-size: 15px;
    }

    .enterprise-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .enterprise-stat-item {
        width: calc(50% - 8px);
        text-align: center;
    }

    .enterprise-stat-value {
        font-size: 28px;
    }

    .enterprise-stat-label {
        font-size: 12px;
        justify-content: center;
    }

    /* Buttons - Touch Friendly */
    .enterprise-btn {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .enterprise-btn-primary,
    .enterprise-btn-outline {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    /* Sections */
    .enterprise-section {
        padding: 50px 0;
    }

    .enterprise-section-header {
        margin-bottom: 40px;
    }

    .enterprise-section-title {
        font-size: 24px;
    }

    .enterprise-section-subtitle {
        font-size: 14px;
    }

    /* Cards */
    .enterprise-card {
        padding: 24px 20px;
    }

    .enterprise-card-icon {
        width: 56px;
        height: 56px;
    }

    .enterprise-card-icon i {
        font-size: 24px;
    }

    .enterprise-card-title {
        font-size: 18px;
    }

    /* Charts */
    .enterprise-chart-container {
        padding: 16px;
    }

    .enterprise-chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .enterprise-chart-title {
        font-size: 16px;
    }

    /* Trust Indicators */
    .enterprise-trust-logos>div {
        width: 100%;
        text-align: left;
    }

    /* Plan Cards */
    .enterprise-plan-card {
        padding: 24px 20px;
    }

    .enterprise-plan-card.featured::before {
        font-size: 10px;
        padding: 4px 35px;
        right: -38px;
        top: 16px;
    }

    .enterprise-plan-name {
        font-size: 20px;
    }

    .enterprise-plan-roi {
        font-size: 36px;
    }

    .enterprise-plan-features li {
        font-size: 14px;
        padding: 10px 0;
    }

    /* Tables - Horizontal Scroll */
    .enterprise-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .enterprise-table {
        min-width: 600px;
    }

    .enterprise-table th,
    .enterprise-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .enterprise-table-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .enterprise-table-tab {
        width: 100%;
        text-align: center;
    }

    /* Footer */
    .enterprise-footer-text {
        max-width: 100%;
        text-align: center;
    }

    .enterprise-footer-social {
        justify-content: center;
    }

    .enterprise-footer-links {
        text-align: center;
    }

    .enterprise-footer-title {
        text-align: center;
        margin-top: 30px;
    }

    /* Calculator */
    .enterprise-calculator {
        padding: 24px 16px;
        margin-top: 0;
        border-radius: 0;
    }

    .enterprise-calculator label {
        font-size: 11px;
    }

    .enterprise-calculator .form-control,
    .enterprise-calculator .form-select {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* Small Mobile - 575px and below */
@media (max-width: 575px) {
    .enterprise-banner-title {
        font-size: 22px;
    }

    .enterprise-stats {
        flex-direction: column;
        align-items: center;
    }

    .enterprise-stat-item {
        width: 100%;
        text-align: center;
        padding: 16px;
        background: var(--enterprise-card-bg);
        border-radius: var(--enterprise-radius);
        box-shadow: var(--enterprise-shadow-sm);
    }

    .enterprise-stat-value {
        font-size: 32px;
    }

    .enterprise-section-title {
        font-size: 22px;
    }

    /* Header buttons stack */
    .header-right {
        flex-direction: column;
        gap: 8px;
    }

    /* Full width cards */
    .enterprise-card {
        margin-bottom: 16px;
    }

    /* Table mobile view */
    .enterprise-table {
        min-width: 100%;
    }

    .enterprise-table thead {
        display: none;
    }

    .enterprise-table tbody tr {
        display: block;
        margin-bottom: 16px;
        background: var(--enterprise-bg-secondary);
        border-radius: var(--enterprise-radius);
        padding: 16px;
    }

    .enterprise-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .enterprise-table tbody td:before {
        content: attr(data-caption);
        font-weight: 600;
        color: var(--enterprise-text-muted);
        font-size: 11px;
        text-transform: uppercase;
    }

    .enterprise-table tbody td:last-child {
        border-bottom: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .enterprise-card:hover {
        transform: none;
    }

    .enterprise-plan-card:hover {
        transform: none;
    }

    .enterprise-btn:hover {
        transform: none;
    }

    .enterprise-card-icon {
        transition: none;
    }
}

/* Counter Animation */
.counter-animate {
    display: inline-block;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* TradingView Widget Override */
.enterprise-theme .tradingview-widget-container {
    background: var(--enterprise-bg-secondary) !important;
    border-radius: var(--enterprise-radius);
    padding: 8px 0;
    margin-top: 20px;
}

/* Mobile Header Improvements */
@media (max-width: 991px) {
    .enterprise-header {
        padding: 10px 0;
    }

    .enterprise-header .navbar a {
        padding: 12px 16px;
    }

    .enterprise-header .navbar li::before,
    .enterprise-header .navbar li::after {
        display: none !important;
    }

    .mobile-nav-toggle {
        color: var(--enterprise-text-primary);
        font-size: 26px;
    }

    .navbar-mobile ul {
        background-color: var(--enterprise-card-bg);
    }

    .navbar-mobile a {
        color: var(--enterprise-text-primary) !important;
    }
}

/* Landscape Phone Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .enterprise-banner {
        padding: 80px 0 40px;
    }

    .enterprise-stats {
        flex-wrap: nowrap;
    }

    .enterprise-stat-item {
        width: auto;
    }
}