/* Custom CSS for MySocialBiz Website */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --text-color: #334155;
    --text-muted: #64748b;
    --light-color: #f8fafc;
    --white-color: #ffffff;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #1e40af 0%, #3730a3 50%, #581c87 100%);
    --shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
}

.text-muted {
    color: var(--text-muted) !important;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 14px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

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

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

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

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

.btn-light:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Navigation */
.navbar {
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 4px;
    padding: 10px 16px !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.1);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0.6;
}

.hero-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 100 20"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-section h1 {
    color: var(--white-color);
    font-weight: 800;
    line-height: 1.1;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-features {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
}

.hero-features .d-flex {
    margin-bottom: 0.75rem;
}

.hero-features i {
    margin-top: 2px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Feature Cards */
.feature-card {
    border: 1px solid var(--border-color);
    background: var(--white-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: rgba(37, 99, 235, 0.1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    background: rgba(37, 99, 235, 0.12);
    transform: scale(1.05);
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.feature-card ul li {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.5;
}

/* Networking Section */
.networking-content h3 {
    color: var(--dark-color);
    font-weight: 700;
}

.networking-features .fas {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid var(--border-color);
    background: var(--white-color);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-large);
    border-color: rgba(37, 99, 235, 0.2);
}

.pricing-card.popular {
    background: var(--gradient-primary);
    border-color: var(--primary-dark);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.popular-badge {
    top: -12px;
}

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

.pricing-card.popular h4 {
    color: var(--white-color);
}

.price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-card.popular .price {
    color: var(--white-color);
}

.pricing-card ul li {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    padding: 0.375rem 0;
}

.pricing-card.popular ul li {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card p {
    color: var(--text-muted);
    font-size: 15px;
}

.pricing-card.popular p {
    color: rgba(255, 255, 255, 0.8);
}

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

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.cta-section h2 {
    color: var(--white-color);
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

/* Contact Section */
.contact-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #0f172a 100%);
    color: var(--white-color);
}

footer h5, footer h6 {
    color: var(--white-color);
    font-weight: 700;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

footer .list-unstyled a:hover {
    color: var(--white-color);
    padding-left: 4px;
}

footer .social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.7);
}

footer .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 80px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        margin-bottom: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        padding: 16px 24px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .display-5 {
        font-size: 2.25rem;
    }
    
    .display-6 {
        font-size: 1.875rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .display-5 {
        font-size: 1.875rem;
    }
    
    .price {
        font-size: 2.25rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

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

section h2 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

section .lead {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-large);
}

.rounded-custom {
    border-radius: 16px;
}

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

.text-success {
    color: var(--success-color) !important;
}

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

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

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

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}