/* Homepage Professional Redesign */

/* Color Variables */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #059669;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    min-height: 50vh !important;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-bg {
    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 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn {
    min-width: 200px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-width: 2px;
}

.hero-cta .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-cta .btn-outline-primary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.hero-section .video-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-xl) !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
    aspect-ratio: 16/9 !important;
    background: #000 !important;
    max-width: 100% !important;
}

.video-container lite-youtube {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    display: block;
}

.min-vh-80 {
    min-height: 40vh !important;
}

/* Benefits Section */
.benefits-section {
    background: white;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.benefit-icon i {
    color: white !important;
    font-size: 2rem;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.benefit-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: var(--bg-light);
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.features-section .feature-icon {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2) !important;
}

.features-section .feature-icon i {
    font-size: 1.5rem !important;
    color: white !important;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    background: white;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

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

.pricing-popular {
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.2), 0 10px 10px -5px rgba(37, 99, 235, 0.1);
}

@media (min-width: 992px) {
    .pricing-popular {
        transform: scale(1.05);
    }
}

.pricing-card .popular-badge {
    position: absolute !important;
    top: -1px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    padding: 8px 24px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 0 8px 8px !important;
    border-top: none !important;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-item .bi-check-circle-fill {
    color: var(--success-color);
    font-size: 1.1rem;
}

.feature-item:not(:last-child) {
    border-bottom: 1px solid #f1f5f9;
}

/* CTA Section */
.cta-section {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-section::after {
    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 1000 1000"><defs><pattern id="cta-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23cta-pattern)"/></svg>');
    z-index: 2;
}

.cta-section .container {
    position: relative;
    z-index: 3;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn {
    min-width: 180px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .pricing-popular {
        transform: none;
    }

    .pricing-card .popular-badge {
        top: -1px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 6px 20px !important;
        font-size: 0.7rem !important;
    }

    .cta-title {
        font-size: 2rem;
    }

    .hero-section .video-container {
        margin-top: 2rem !important;
    }

    .benefit-card,
    .feature-card,
    .pricing-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pricing-card .popular-badge {
        top: -1px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 5px 16px !important;
        font-size: 0.65rem !important;
    }

    .hero-section .video-container {
        margin-top: 1.5rem !important;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Custom spacing utilities */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.g-4>* {
    padding: 1.5rem;
}