:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-blue: #1e40af;
    --accent-gold: #fbbf24;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Smooth Scrolling and Overflow Control */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* Prevent any section from causing horizontal overflow */
section {
    max-width: 100%;
    position: relative;
}

.container,
.container-fluid {
    max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Navigation */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    background: white !important;
    z-index: 9999;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.brand-logo {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.brand-dental {
    color: var(--primary-blue);
    font-weight: 600;
}

.brand-white {
    color: white;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    margin-left: 2px;
}

.brand-pro {
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 800;
    margin-left: 0.25rem;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--secondary-blue) !important;
}

.navbar-light .navbar-nav .nav-link.btn {
    border-radius: 50px;
    margin-left: 1rem;
}

.navbar-light .navbar-nav .nav-link.btn:hover {
    background: var(--dark-blue) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--secondary-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat-mini {
    flex: 1;
    min-width: 120px;
}

.hero-stat-mini .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.hero-stat-mini .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatCard 3s ease-in-out infinite;
    min-width: 200px;
}

.floating-card:nth-child(1) {
    top: 10%;
    right: 10%;
}

.floating-card:nth-child(2) {
    top: 40%;
    left: 10%;
}

.floating-card:nth-child(3) {
    bottom: 10%;
    right: 20%;
}

.floating-card.delay-1 {
    animation-delay: 1s;
}

.floating-card.delay-2 {
    animation-delay: 2s;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-content .card-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.card-content .card-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.2);
    border-color: var(--secondary-blue);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.benefit-header i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
}

.benefit-header h3 {
    color: var(--primary-blue);
    margin: 0;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.benefit-list li i {
    color: var(--secondary-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Strategy Section */
.strategy-intro {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.strategy-point {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.strategy-point:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.strategy-point i {
    font-size: 2rem;
    color: var(--secondary-blue);
    flex-shrink: 0;
}

.strategy-point h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.strategy-point p {
    margin: 0;
    color: var(--text-light);
}

/* Simple Strategy Flow */
.simple-strategy-flow {
    padding: 2rem 0;
}

.strategy-step {
    background: var(--step-color);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin: 0 auto 1rem;
    max-width: 350px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.strategy-step:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.strategy-step h5 {
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flow-arrow {
    text-align: center;
    font-size: 40px;
    color: var(--secondary-blue);
    margin: 0.5rem 0;
    animation: bounce 2s ease-in-out infinite;
}

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

/* Large Desktop Margins - 1080p and up */
@media (min-width: 1920px) {
    .container {
        max-width: 86%;
        margin-left: 7%;
        margin-right: 7%;
    }
}

/* Revenue Cards */
.revenue-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.revenue-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-blue);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.revenue-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.revenue-card:hover .revenue-icon {
    transform: scale(1.1) rotate(5deg);
}

.revenue-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.revenue-card p {
    color: var(--text-light);
    margin: 0;
}

/* Market Cards */
.market-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.market-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.market-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.market-icon i {
    font-size: 2.5rem;
    color: white;
}

.market-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.market-stat {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin: 1rem 0;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.market-list {
    list-style: none;
    padding: 0;
}

.market-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.market-list li i {
    color: var(--secondary-blue);
}

/* Chart Cards */
.chart-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    overflow: visible;
}

.chart-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
}

.differentiator-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.differentiator-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.differentiator-item i {
    font-size: 2rem;
    color: var(--secondary-blue);
    flex-shrink: 0;
}

.differentiator-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.differentiator-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Financial Section */
.financial-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.financial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    animation: wave 15s ease-in-out infinite;
    pointer-events: none;
}

.financial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,165.3C960,171,1056,149,1152,133.3C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
}

.financial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.financial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.financial-card i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.financial-card h3 {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.financial-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 1rem 0;
}

.financial-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

/* Beige Financial Cards for Package 2 */
.financial-card.beige {
    background: rgba(251, 191, 36, 0.35);
    border: 1px solid rgba(251, 191, 36, 0.5);
}

.financial-card.beige:hover {
    background: rgba(251, 191, 36, 0.45);
}

.financial-card.beige i {
    color: #fbbf24;
}

.financial-card.beige h3 {
    color: #fef3c7;
}

.financial-card.beige .financial-number {
    color: #fef3c7;
}

.financial-card.beige p {
    color: rgba(254, 243, 199, 0.9);
}

/* Package Divider */
.package-divider {
    text-align: center;
    margin: 3rem 0 2rem;
}

.package-divider h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-divider p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Package 2 Beige Background Wrapper */
.package-2-wrapper {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.75), rgba(252, 211, 77, 0.75));
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    position: relative;
}

.package-2-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23fbbf24" fill-opacity="0.05" d="M0,128L48,138.7C96,149,192,171,288,165.3C384,160,480,128,576,128C672,128,768,160,864,165.3C960,171,1056,149,1152,133.3C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    border-radius: 20px;
    pointer-events: none;
}

/* Beige Investment Breakdown for Package 2 */
.investment-breakdown.beige {
    background: rgba(251, 191, 36, 0.35);
    border: 1px solid rgba(251, 191, 36, 0.5);
}

.investment-breakdown.beige h3 {
    color: #fef3c7;
}

.investment-breakdown.beige .breakdown-label {
    color: #fef3c7;
}

.investment-breakdown.beige .breakdown-label i {
    color: #fbbf24;
}

.investment-breakdown.beige .breakdown-value {
    color: #fbbf24;
}

.investment-breakdown.beige .breakdown-item.total {
    border-top: 2px solid #fbbf24;
}

.investment-breakdown.beige .included-item {
    color: #fef3c7;
}

.investment-breakdown.beige .included-item i {
    color: #fbbf24;
}

.investment-breakdown {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.total {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-gold);
}

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.breakdown-label i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.breakdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.included-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: white;
}

.included-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* Package Selector */
.package-selector {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.package-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.package-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(212, 165, 116, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
    border-color: var(--accent-gold);
}

.package-btn:hover::before {
    opacity: 1;
}

.package-btn.active {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(212, 165, 116, 0.1));
    border-color: var(--accent-gold);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
}

.package-btn.active::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--accent-gold);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.package-btn-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Package Content Switching */
.package-content {
    position: relative;
    display: none;
    opacity: 0;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.package-content.active {
    display: block;
    animation: fadeInSmooth 0.3s ease forwards;
}

/* Prevent layout shift during transition */
#financials .container {
    position: relative;
    min-height: 500px;
}

@keyframes fadeInSmooth {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Package Selector */
@media (max-width: 768px) {
    .package-selector {
        flex-direction: column;
        align-items: stretch;
    }

    .package-btn {
        width: 100%;
        min-width: unset;
    }
}

/* Org Chart */
.org-chart {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.org-level {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.org-level::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    width: 2px;
    height: 2rem;
    background: var(--secondary-blue);
    transform: translateX(-50%);
}

.org-level:last-child::after {
    display: none;
}

.org-card {
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.org-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.org-card.owner {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
}

.org-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.org-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.org-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.org-card-group {
    display: flex;
    gap: 2rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--light-blue);
}

/* Chart Canvas Fix */
#revenueChart,
#revenueChartPremium,
#revenueChartStandard {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
}

.chart-card {
    max-width: 1400px;
    margin: 0 auto;
}

.chart-card canvas {
    max-height: 400px;
}

/* Grand Luxurious Premium Territory Theme - Blue Dominant */
.package-1-wrapper {
    background: linear-gradient(135deg, #0f1f3d 0%, #1a2c52 50%, #1e3a66 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin: 0;
}

.package-1-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.package-1-wrapper .package-divider {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.2));
    border: 2px solid #3b82f6;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.package-1-wrapper .package-divider h3 {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
    font-weight: 700;
}

.package-1-wrapper .package-divider p {
    color: #fff;
    font-size: 1.1rem;
}

.package-1-wrapper .financial-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(96, 165, 250, 0.25));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.package-1-wrapper .financial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.6);
    border-color: #3b82f6;
}

.package-1-wrapper .financial-card i {
    color: #60a5fa;
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.8));
}

.package-1-wrapper .financial-card h3 {
    color: #fff;
    font-weight: 600;
}

.package-1-wrapper .financial-card .financial-number {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
    font-weight: 700;
}

.package-1-wrapper .financial-card p {
    color: rgba(255, 255, 255, 0.9);
}

.package-1-wrapper .investment-breakdown {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.package-1-wrapper .investment-breakdown h3 {
    color: #60a5fa;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}

.package-1-wrapper .breakdown-item {
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.package-1-wrapper .breakdown-label {
    color: #fff;
}

.package-1-wrapper .breakdown-label i {
    color: #60a5fa;
}

.package-1-wrapper .breakdown-value {
    color: #60a5fa;
    font-weight: 600;
}

.package-1-wrapper .breakdown-item.total {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3)) !important;
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.5);
}

.package-1-wrapper .included-item {
    color: #fff;
}

.package-1-wrapper .included-item i {
    color: #60a5fa;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(96, 165, 250, 0.8));
}

.package-1-wrapper .financial-projection-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.package-1-wrapper .financial-projection-card h3 {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
}

.package-1-wrapper .table {
    color: #fff;
}

.package-1-wrapper .table thead th {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(96, 165, 250, 0.3));
    color: #60a5fa;
    font-weight: 700;
    border-color: rgba(59, 130, 246, 0.5);
}

.package-1-wrapper .table tbody tr {
    border-color: rgba(59, 130, 246, 0.2);
}

.package-1-wrapper .table tbody td {
    color: #fff;
    border-color: rgba(59, 130, 246, 0.2);
}

.package-1-wrapper .table-primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(96, 165, 250, 0.4)) !important;
}

.package-1-wrapper .table-primary th {
    color: #60a5fa !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

.package-1-wrapper .chart-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.15)) !important;
    backdrop-filter: blur(15px);
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4) !important;
}

.package-1-wrapper .chart-card h4 {
    color: #60a5fa !important;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
    font-weight: 700;
}

/* Grand Luxurious Standard Territory Theme */
.package-2-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin: 0;
}

.package-2-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.package-2-wrapper .package-divider {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(96, 165, 250, 0.2));
    border: 2px solid var(--accent-gold);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.3);
}

.package-2-wrapper .package-divider h3 {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
    font-weight: 700;
}

.package-2-wrapper .package-divider p {
    color: #fff;
    font-size: 1.1rem;
}

.package-2-wrapper .financial-card {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.25), rgba(96, 165, 250, 0.25));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(212, 165, 116, 0.6);
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.4);
    transition: all 0.3s ease;
}

.package-2-wrapper .financial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(212, 165, 116, 0.6);
    border-color: var(--accent-gold);
}

.package-2-wrapper .financial-card i {
    color: var(--accent-gold);
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.8));
}

.package-2-wrapper .financial-card h3 {
    color: #fff;
    font-weight: 600;
}

.package-2-wrapper .financial-card .financial-number {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.8);
    font-weight: 700;
}

.package-2-wrapper .financial-card p {
    color: rgba(255, 255, 255, 0.9);
}

.package-2-wrapper .investment-breakdown {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(96, 165, 250, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(212, 165, 116, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.package-2-wrapper .investment-breakdown h3 {
    color: var(--accent-gold);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(212, 165, 116, 0.6);
}

.package-2-wrapper .breakdown-item {
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
}

.package-2-wrapper .breakdown-label {
    color: #fff;
}

.package-2-wrapper .breakdown-label i {
    color: var(--accent-gold);
}

.package-2-wrapper .breakdown-value {
    color: var(--accent-gold);
    font-weight: 600;
}

.package-2-wrapper .breakdown-item.total {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(96, 165, 250, 0.3)) !important;
    border: 2px solid var(--accent-gold) !important;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.5);
}

.package-2-wrapper .included-item {
    color: #fff;
}

.package-2-wrapper .included-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.8));
}

.package-2-wrapper .financial-projection-card {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(96, 165, 250, 0.2));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(212, 165, 116, 0.6);
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.3);
}

.package-2-wrapper .financial-projection-card h3 {
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(212, 165, 116, 0.6);
}

.package-2-wrapper .table {
    color: #fff;
}

.package-2-wrapper .table thead th {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3), rgba(96, 165, 250, 0.3));
    color: var(--accent-gold);
    font-weight: 700;
    border-color: rgba(212, 165, 116, 0.5);
}

.package-2-wrapper .table tbody tr {
    border-color: rgba(212, 165, 116, 0.2);
}

.package-2-wrapper .table tbody td {
    color: #fff;
    border-color: rgba(212, 165, 116, 0.2);
}

.package-2-wrapper .table-primary {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.4), rgba(96, 165, 250, 0.4)) !important;
}

.package-2-wrapper .table-primary th {
    color: var(--accent-gold) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 165, 116, 0.8);
}

.package-2-wrapper .chart-card {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(96, 165, 250, 0.15)) !important;
    backdrop-filter: blur(15px);
    border: 2px solid var(--accent-gold) !important;
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.4) !important;
}

.package-2-wrapper .chart-card h4 {
    color: var(--accent-gold) !important;
    text-shadow: 0 0 15px rgba(212, 165, 116, 0.6);
    font-weight: 700;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(59, 130, 246, 0.2) !important;
    color: var(--secondary-blue) !important;
    border: 2px solid var(--secondary-blue) !important;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

#backToTop:hover {
    background: rgba(59, 130, 246, 0.4) !important;
    border-color: var(--primary-blue) !important;
    color: var(--primary-blue) !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

#backToTop.show {
    display: flex;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Mobile-First Table Styles */
@media (max-width: 768px) {
    /* Convert tables to cards on mobile */
    .table-responsive {
        border: none;
    }

    .package-card .table,
    .financial-projection-card .table {
        display: block;
        width: 100%;
    }

    .package-card .table thead {
        display: none;
    }

    .package-card .table tbody,
    .package-card .table tr,
    .package-card .table td {
        display: block;
        width: 100%;
    }

    .package-card .table tr {
        margin-bottom: 1.5rem;
        background: white;
        border-radius: 10px;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .package-card .table td {
        padding: 0.75rem 1rem;
        border: none;
        position: relative;
        text-align: left;
        display: block;
        padding-left: 1rem;
    }

    .package-card .table td:before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--primary-blue);
        margin-bottom: 0.25rem;
        font-size: 0.85rem;
    }

    /* Financial table mobile styles */
    .financial-projection-card .table thead {
        display: none;
    }

    .financial-projection-card .table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .financial-projection-card .table tbody td {
        display: block;
        padding: 0.5rem 1rem;
        text-align: right;
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .financial-projection-card .table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: var(--accent-gold);
    }

    .financial-projection-card .table tbody td:first-child {
        font-size: 1.1rem;
        font-weight: 700;
        padding-left: 1rem;
        text-align: left;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin-bottom: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .financial-projection-card .table tbody td:first-child:before {
        display: none;
    }

    /* Hide table footer on mobile - show as summary card instead */
    .package-card .table tfoot,
    .financial-projection-card .table tfoot {
        display: block;
        margin-top: 1rem;
    }

    .package-card .table tfoot tr,
    .financial-projection-card .table tfoot tr {
        display: block;
        background: var(--primary-blue);
        color: white;
        padding: 1.5rem;
        border-radius: 10px;
        text-align: center;
    }

    .package-card .table tfoot th,
    .financial-projection-card .table tfoot th {
        display: block;
        padding: 0.5rem 0;
        border: none;
        font-size: 1.2rem;
    }
}

/* Additional Mobile Table Styles */
@media (max-width: 768px) {
    /* Mobile timeline */
    .timeline-container {
        padding: 1rem 0;
    }

    .timeline-content {
        width: 100% !important;
        margin: 1rem 0 !important;
    }

    /* Mobile distribution cards */
    .distribution-card {
        margin-bottom: 1.5rem;
    }

    /* Mobile metric cards */
    .metric-card {
        margin-bottom: 1.5rem;
    }

    /* Mobile assumption cards */
    .assumption-card {
        margin-bottom: 1.5rem;
    }

    /* Make all package sections stack properly */
    .package-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .package-value {
        margin-top: 0.5rem;
    }

    /* Mobile-friendly org chart */
    .org-chart {
        padding: 1rem;
    }

    .org-level {
        margin-bottom: 1rem;
    }

    .org-card {
        min-width: 100%;
        margin-bottom: 0.5rem;
    }

    .org-level::after {
        display: none;
    }

    /* Mobile strategy flow */
    .simple-strategy-flow {
        padding: 1rem 0;
    }

    .strategy-step {
        padding: 1rem 1.5rem;
        margin-bottom: 0.5rem;
        max-width: 280px;
    }

    .strategy-step h5 {
        font-size: 18px;
    }

    .flow-arrow {
        font-size: 32px;
        margin: 0.25rem 0;
    }

    /* Smaller fonts for mobile tables */
    .package-card .table td {
        font-size: 0.9rem;
    }

    .package-card .table td:before {
        font-size: 0.85rem;
    }

    /* Mobile chart card */
    .chart-card {
        padding: 1.5rem;
    }

    /* Financial cards mobile */
    .financial-card {
        margin-bottom: 1rem;
    }

    .financial-number {
        font-size: 2rem;
    }

    /* Training option cards */
    .training-option {
        margin-bottom: 1.5rem;
    }

    .training-header {
        flex-direction: column;
        text-align: center;
    }

    /* Marketing item cards */
    .marketing-item {
        margin-bottom: 1.5rem;
    }

    /* Essential item cards */
    .essential-item {
        margin-bottom: 1.5rem;
    }

    /* Savings item cards */
    .savings-item {
        margin-bottom: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 100px;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .stats-card {
        margin-top: 3rem;
    }

    .simple-strategy-flow {
        margin-top: 2rem;
    }

    .org-card-group {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    /* Global mobile overflow prevention */
    * {
        max-width: 100vw !important;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col, [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile navbar adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }

    .brand-pro {
        font-size: 0.85rem;
    }

    .navbar-light .navbar-nav .nav-link.btn {
        margin-top: 0.5rem;
        margin-left: 0;
    }

    /* Mobile hero adjustments */
    .hero-section {
        padding-top: 90px;
    }

    .hero-section .col-lg-7 {
        text-align: center;
    }

    .display-2 {
        font-size: 1.75rem;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-top: 0.75rem;
    }

    .hero-section .d-flex.gap-3 {
        justify-content: center;
    }

    .hero-stats-row {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-stat-mini {
        text-align: center;
    }

    .hero-stat-mini .stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-mini .stat-label {
        font-size: 0.8rem;
    }

    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .floating-card {
        min-width: 150px;
        padding: 1rem;
    }

    .floating-card:nth-child(1) {
        top: 5%;
        right: 5%;
    }

    .floating-card:nth-child(2) {
        top: 35%;
        left: 5%;
    }

    .floating-card:nth-child(3) {
        bottom: 5%;
        right: 10%;
    }

    .card-content .card-value {
        font-size: 1.2rem;
    }

    .card-content .card-label {
        font-size: 0.75rem;
    }

    .feature-card,
    .benefit-card,
    .revenue-card,
    .market-card {
        margin-bottom: 1.5rem;
    }

    .financial-number {
        font-size: 2rem;
    }

    .org-chart {
        padding: 1.5rem;
    }

    .org-card {
        min-width: 160px;
        padding: 1rem 1.5rem;
    }

    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        padding: 0 !important;
        font-size: 1.3rem;
    }
}

/* Package Card Styles */
.package-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.package-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.package-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.package-header i {
    font-size: 2.5rem;
}

.package-header h3 {
    margin: 0;
    flex-grow: 1;
    font-weight: 700;
}

.package-value {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Table Styles */
.package-card .table {
    margin-bottom: 0;
}

.package-card .table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--secondary-blue);
}

.package-card .table td {
    padding: 1rem;
    vertical-align: middle;
}

.package-card .table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.package-card .table tfoot {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Marketing Items */
.marketing-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.marketing-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.marketing-item i {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.marketing-item h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.marketing-item ul {
    list-style: none;
    padding: 0;
}

.marketing-item ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.marketing-item ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

/* Essential Items */
.essential-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--bg-light);
    height: 100%;
    transition: all 0.3s ease;
}

.essential-item:hover {
    border-color: var(--secondary-blue);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.essential-item i {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.essential-item h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Training Options */
.training-option {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.training-option:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.training-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.training-header i {
    font-size: 2rem;
    color: var(--secondary-blue);
}

.training-header h4 {
    flex-grow: 1;
    margin: 0;
    color: var(--primary-blue);
}

.training-price {
    background: var(--accent-gold);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.training-option ul {
    list-style: none;
    padding: 0;
}

.training-option ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.training-option ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

/* Savings Items */
.savings-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.savings-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.savings-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.savings-item h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.savings-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 0;
}

.savings-total {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 2rem;
}

.savings-total h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.savings-total .display-4 {
    font-weight: 800;
    color: var(--accent-gold) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Financial Projection Card */
.financial-projection-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
}

.financial-projection-card .table-dark {
    background: transparent;
}

.financial-projection-card .table td,
.financial-projection-card .table th {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.financial-projection-card .table-hover tbody tr:hover {
    background: rgba(255, 255, 255, 0.15);
}

.financial-projection-card .table-primary {
    background-color: var(--primary-blue) !important;
}

.financial-projection-card .table-primary th {
    background-color: var(--primary-blue) !important;
    color: white !important;
    font-size: 1.2rem;
    padding: 1.25rem !important;
}

/* Model Cards */
.model-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.model-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.model-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.model-header i {
    font-size: 2.5rem;
}

.model-header h3 {
    margin: 0;
    font-weight: 700;
}

/* Assumption Cards */
.assumption-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.assumption-card:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.assumption-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-blue);
}

.assumption-card ul {
    list-style: none;
    padding: 0;
}

.assumption-card ul li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
}

.assumption-card ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

/* Distribution Cards */
.distribution-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--bg-light);
    height: 100%;
    transition: all 0.3s ease;
}

.distribution-card:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.distribution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.distribution-card:hover .distribution-icon {
    transform: rotate(360deg) scale(1.1);
}

.distribution-icon i {
    font-size: 2rem;
    color: white;
}

.distribution-card h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.distribution-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    margin: 0.5rem 0;
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding: 3rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-blue), var(--light-blue));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-badge {
    background: var(--secondary-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: calc(50% - 3rem);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.timeline-content h5 {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

/* Metric Cards */
.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.2);
}

.metric-card i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.metric-card p {
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-container {
        max-width: 100%;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 0;
        margin-left: 0;
    }

    .timeline-badge {
        left: auto;
        transform: none;
        position: relative;
        margin-bottom: 1rem;
        display: inline-block;
        margin-left: 15px;
        max-width: calc(100% - 30px);
    }

    .timeline-content {
        width: calc(100% - 15px);
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0.5rem;
        max-width: 100%;
    }
}

/* Mobile Revenue Display - Updated with Bar Chart */
.revenue-summary-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-stat {
    text-align: center;
    padding: 0.5rem;
}

.summary-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.summary-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.revenue-growth-indicator {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    font-weight: 600;
}

.revenue-growth-indicator i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

/* Mobile revenue display with proper containment */
.mobile-revenue-display {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1rem;
}

/* Mobile Bar Chart Styles */
.mobile-bar-chart {
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.mobile-chart-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.mobile-month-bars {
    display: flex;
    gap: 8px;
    min-width: 600px;
    height: 250px;
    align-items: flex-end;
    padding: 60px 10px 40px;
    position: relative;
}

.mobile-month-bar {
    flex: 1;
    position: relative;
    height: var(--bar-height);
    min-width: 40px;
    animation: growBar 0.8s ease-out;
}

.bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Standard territory gets gold bars */
.mobile-bar-chart.standard .bar-fill {
    background: linear-gradient(180deg, #fcd34d, #fbbf24);
}

.bar-value {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(30, 58, 138, 0.9);
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.5s forwards;
}

.mobile-bar-chart.standard .bar-value {
    background: rgba(251, 191, 36, 0.9);
}

.bar-month {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.mobile-month-bar:hover .bar-fill {
    transform: scaleY(1.05);
    box-shadow: 0 -5px 15px rgba(96, 165, 250, 0.5);
}

.mobile-bar-chart.standard .mobile-month-bar:hover .bar-fill {
    box-shadow: 0 -5px 15px rgba(251, 191, 36, 0.5);
}

.mobile-chart-scroll-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 0.5rem;
    font-style: italic;
}

@keyframes growBar {
    from {
        height: 0;
    }
    to {
        height: var(--bar-height);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Scrollbar styling for mobile chart */
.mobile-chart-container::-webkit-scrollbar {
    height: 6px;
}

.mobile-chart-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.mobile-chart-container::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.5);
    border-radius: 3px;
}

.mobile-chart-container::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.7);
}

/* Special Card Style */
.package-card.special {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
}

.package-card.special .package-header {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Print Styles */
@media print {
    .navbar,
    #backToTop,
    .btn {
        display: none !important;
    }

    body {
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
