/**
 * Platform Website Styles - Complete Design System
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Brand Colors */
    --platform-primary: #667eea;
    --platform-primary-dark: #5568d3;
    --platform-secondary: #764ba2;
    --platform-accent: #f093fb;
    
    /* Text Colors */
    --platform-text: #1a1a1a;
    --platform-text-muted: #6b7280;
    --platform-text-light: #9ca3af;
    
    /* Background Colors */
    --platform-light: #f8f9fa;
    --platform-white: #ffffff;
    --platform-dark: #212529;
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ========================================
   BASE STYLES
   ======================================== */
.platform-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--platform-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   TOP BAR
   ======================================== */
.platform-topbar {
    background: var(--platform-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: transform var(--transition-base);
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    color: var(--platform-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: var(--platform-primary);
}

/* ========================================
   NAVIGATION
   ======================================== */
.platform-nav {
    background: var(--platform-white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 40px;
    z-index: 1000;
    transition: all var(--transition-base);
}

.platform-nav.scrolled {
    box-shadow: var(--shadow-md);
}

.platform-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--platform-text);
    transition: color var(--transition-fast);
}

.platform-logo img {
    height: 40px;
    width: auto;
}

.platform-logo:hover {
    color: var(--platform-primary);
}

.platform-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.platform-menu a {
    text-decoration: none;
    color: var(--platform-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.platform-menu a:hover,
.platform-menu a.active {
    color: var(--platform-primary);
}

.platform-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--platform-primary);
}

.platform-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--platform-text);
    display: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.6s ease;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.hero-features .feature-item i {
    font-size: 1.25rem;
}

.trust-badges {
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card.card-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40%;
    right: -30px;
    animation-delay: 0.5s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 1s;
}

.floating-card .card-icon {
    font-size: 2rem;
}

.floating-card .card-content {
    display: flex;
    flex-direction: column;
}

.floating-card .card-title {
    font-size: 0.75rem;
    color: var(--platform-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.floating-card .card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--platform-primary);
}

.hero-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    z-index: 1;
    opacity: 0.3;
}

.hero-mockup img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-section {
    background: var(--platform-light);
}

.problem-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.problem-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--platform-text);
}

.problem-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   CHAPTERS SHOWCASE
   ======================================== */
.chapters-section {
    background: white;
}

.chapter-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--platform-primary), var(--platform-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.chapter-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--platform-primary);
}

.chapter-card:hover::before {
    transform: scaleX(1);
}

.chapter-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.chapter-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--platform-text);
}

.chapter-tagline {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.chapter-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--platform-primary);
}

.price-period {
    color: var(--platform-text-muted);
    font-size: 0.875rem;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works-section {
    background: var(--platform-light);
}

.step-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-lg);
}

.step-icon {
    font-size: 3rem;
    color: var(--platform-primary);
    margin: 1.5rem 0;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--platform-text);
}

/* ========================================
   PRICING SECTION - ENHANCED
   ======================================== */
.pricing-section {
    background: white;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
    min-height: 600px; /* Add minimum height */
}

.pricing-card.featured {
    border-color: var(--platform-primary);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--platform-text);
}

.plan-price {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--platform-primary);
    line-height: 1;
}

.price-period {
    color: var(--platform-text-muted);
    font-size: 1.125rem;
    font-weight: 500;
}

.plan-description {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    overflow-y: auto; /* Add scroll if too many features */
    max-height: 350px;
    padding-right: 0.5rem;
}

/* Custom scrollbar for features */
.pricing-features::-webkit-scrollbar {
    width: 4px;
}

.pricing-features::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pricing-features::-webkit-scrollbar-thumb {
    background: var(--platform-primary);
    border-radius: 10px;
}

.pricing-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-features .feature-item:last-child {
    margin-bottom: 0;
}

.pricing-features .feature-item i {
    flex-shrink: 0;
    margin-top: 0.125rem;
    font-size: 1.125rem;
}

.pricing-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 2px solid #f3f4f6;
}

.pricing-footer .btn {
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Responsive pricing */
@media (max-width: 991px) {
    .pricing-card {
        min-height: auto;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .pricing-features {
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    .plan-name {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
}

/* ========================================
   TARGET AUDIENCE SECTION
   ======================================== */
.target-audience-section {
    background: var(--platform-light);
}

.audience-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid transparent;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--platform-primary);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.audience-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--platform-text);
}

.audience-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, var(--platform-primary) 0%, var(--platform-secondary) 100%);
    color: white;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta-section {
    background: var(--platform-light);
}

/* ========================================
   FOOTER
   ======================================== */
.platform-footer {
    background: var(--platform-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin: 0.5rem 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--platform-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    .platform-menu {
        display: none;
    }
    
    .platform-actions {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .contact-info {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 3rem;
    }
    
    .floating-card {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .floating-card.card-1,
    .floating-card.card-2 {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .topbar-content {
        justify-content: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .platform-logo {
        font-size: 1.25rem;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    border: none;
    transition: all var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--platform-primary);
    border-color: var(--platform-primary);
    transition: all var(--transition-base);
}

.btn-outline-primary:hover {
    background: var(--platform-primary);
    border-color: var(--platform-primary);
    color: white;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--platform-primary) !important;
}

.bg-light {
    background: var(--platform-light) !important;
}

/* ========================================
   ENHANCED NAVIGATION - STICKY & SMOOTH
   ======================================== */
.platform-topbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 0;
    border: none;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 1002;
    color: white;
}

.topbar-content {
    display: flex;
    justify-content: flex-end;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity var(--transition-fast);
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    color: rgba(255, 255, 255, 0.9);
}

/* Navigation Enhancement */
.platform-nav {
    background: var(--platform-white);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 40px;
    z-index: 1001;
    transition: all var(--transition-base);
}

.platform-nav.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0;
}

.platform-logo span {
    font-weight: 800;
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-menu a {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
}

.platform-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--platform-primary), var(--platform-secondary));
    transition: transform var(--transition-base);
}

.platform-menu a:hover::after,
.platform-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--platform-text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.mobile-close:hover {
    background: var(--platform-light);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-menu-list li {
    margin-bottom: 0.5rem;
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    color: var(--platform-text);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.mobile-menu-list a:hover {
    background: var(--platform-light);
    color: var(--platform-primary);
}

.mobile-menu-list i {
    font-size: 1.25rem;
}

.mobile-menu-actions {
    margin-bottom: 2rem;
}

.mobile-menu-footer {
    padding-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

.mobile-menu-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--platform-text-muted);
}

.mobile-menu-footer .contact-item i {
    color: var(--platform-primary);
    font-size: 1.25rem;
}

.mobile-menu-footer .contact-item a {
    color: var(--platform-text);
    text-decoration: none;
    font-weight: 500;
}

/* ========================================
   ENHANCED FOOTER
   ======================================== */
.platform-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.platform-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--platform-primary), var(--platform-secondary));
}

.footer-main {
    padding-bottom: 3rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.75rem;
    color: var(--platform-primary);
}

.footer-tagline {
    color: var(--platform-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--platform-primary), var(--platform-secondary));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--platform-primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--platform-primary);
    font-size: 1.125rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: white;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-lg);
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
    background: white;
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-copyright strong {
    color: white;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal li {
    position: relative;
}

.footer-legal li:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -0.875rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: white;
}

.footer-trust {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.trust-badge i {
    font-size: 2rem;
    color: var(--platform-primary);
}

.trust-badge span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--platform-primary), var(--platform-secondary));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */
@media (max-width: 991px) {
    .footer-col {
        margin-bottom: 2rem;
    }
    
    .footer-legal {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-trust {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .platform-topbar {
        top: auto;
        position: relative;
    }
    
    .platform-nav {
        top: 0;
    }
    
    .footer-trust {
        gap: 1.5rem;
    }
    
    .trust-badge i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .mobile-menu-content {
        max-width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */
.platform-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    max-width: 400px;
}

.platform-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.platform-toast i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.platform-toast-success {
    border-left: 4px solid var(--success-color);
}

.platform-toast-success i {
    color: var(--success-color);
}

.platform-toast-error {
    border-left: 4px solid var(--danger-color);
}

.platform-toast-error i {
    color: var(--danger-color);
}

.platform-toast-info {
    border-left: 4px solid var(--info-color);
}

.platform-toast-info i {
    color: var(--info-color);
}

@media (max-width: 576px) {
    .platform-toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
}

/* ========================================
   STICKY WEBINAR + NAVIGATION - WORKING VERSION
   ======================================== */

/* Webinar banner - sticky at top */
.webinar-banner {
    position: sticky !important;
    top: 0 !important;
    z-index: 1002 !important;
}

/* Navigation - sticky, position set by JavaScript */
.platform-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    transition: all 0.3s ease;
}

/* Topbar - NOT sticky, scrolls away */
.platform-topbar {
    position: relative !important;
    z-index: 100;
}

/* Mobile menu above everything */
.mobile-menu-overlay {
    z-index: 10003 !important;
}

/* Clean VIP Badge Button with Yellow Accent */
.btn-vip-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem 0.75rem 1rem;
    background: white;
    color: #333;
    border: 2px solid #f0f0f0;
    border-left: 4px solid #FFC107;  /* Yellow accent on left side */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-vip-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-left-width: 6px;
    color: #333;
    background: #fffbf0;  /* Very light yellow tint on hover */
}

.btn-vip-badge i {
    color: #FFC107;  /* Yellow star icon */
    font-size: 1.125rem;
}

.vip-save-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #28a745;  /* Green for savings */
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.625rem;
    font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .btn-vip-badge {
        padding: 0.5rem 1rem 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .vip-save-badge {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
    }
}