/* Marketing Site Styles - Base Color: #0f2b44 */

:root {
    --marketing-primary: #0f2b44;
    --marketing-primary-light: #1a4068;
    --marketing-primary-dark: #081621;
    --marketing-accent: #4a90e2;
    --marketing-accent-light: #6ba3eb;
    --marketing-success: #28a745;
    --marketing-text: #2c3e50;
    --marketing-text-light: #6c757d;
    --marketing-bg: #ffffff;
    --marketing-bg-light: #f8f9fa;
    --marketing-bg-dark: #e9ecef;
}

/* Marketing Site Container */
.marketing-site {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--marketing-text);
    background: var(--marketing-bg);
}

/* Header Styles */
.marketing-header {
    background: var(--marketing-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.marketing-header .navbar {
    padding: 1rem 0;
}

.marketing-header .navbar-brand {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.5rem;
}

.marketing-header .brand-name {
    margin-left: 0.75rem;
    color: #ffffff;
}

.marketing-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.marketing-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.marketing-header .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.marketing-header .nav-link:hover {
    color: #ffffff;
}

.marketing-header .nav-link.active {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
    padding-bottom: calc(0.5rem - 2px);
}

.marketing-header .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.marketing-header .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.btn-marketing-primary {
    background: var(--marketing-accent);
    border: none;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-marketing-primary:hover {
    background: var(--marketing-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    color: #ffffff;
}

/* Marketing Buttons - Consistent Styling for All CTAs */
.btn-marketing-secondary,
.btn.btn-marketing-secondary,
.btn-marketing-secondary.btn-lg,
.btn.btn-marketing-secondary.btn-lg {
    background: var(--marketing-primary) !important;
    border: 2px solid var(--marketing-primary) !important;
    color: #ffffff !important;
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: inline-block !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

.btn-marketing-secondary:hover,
.btn.btn-marketing-secondary:hover,
.btn-marketing-secondary.btn-lg:hover,
.btn.btn-marketing-secondary.btn-lg:hover {
    background: var(--marketing-primary-light) !important;
    border-color: var(--marketing-primary-light) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(15, 43, 68, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.btn-marketing-outline,
.btn.btn-marketing-outline,
.btn-marketing-outline.btn-lg,
.btn.btn-marketing-outline.btn-lg {
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: var(--marketing-primary) !important;
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    display: inline-block !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
}

.btn-marketing-outline:hover,
.btn.btn-marketing-outline:hover,
.btn-marketing-outline.btn-lg:hover,
.btn.btn-marketing-outline.btn-lg:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #ffffff !important;
    color: var(--marketing-primary) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
}

/* Main Content */
.marketing-content {
    min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--marketing-primary) 0%, var(--marketing-primary-light) 100%);
    color: #ffffff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content h4,
.hero-content h5,
.hero-content h6 {
    color: #ffffff !important;
}

.hero-content p,
.hero-content .lead {
    color: #ffffff;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff !important;
}

.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: #ffffff !important;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    color: #ffffff;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--marketing-accent) 0%, var(--marketing-accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--marketing-primary);
}

.feature-card p {
    color: var(--marketing-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Section Styles */
.marketing-section {
    padding: 5rem 0;
}

.marketing-section-alt {
    background: var(--marketing-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--marketing-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--marketing-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    background: var(--marketing-accent);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--marketing-accent);
    position: relative;
    transform: scale(1.05);
}

.pricing-card .pricing-card-content {
    flex: 1;
}

.pricing-card .pricing-card-footer {
    margin-top: 2rem;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--marketing-accent);
    color: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

.pricing-card .plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--marketing-primary);
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price {
    font-size: 3rem;
    font-weight: 600;
    color: var(--marketing-primary);
    margin-bottom: 0.5rem;
}

.pricing-card .plan-price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--marketing-text-light);
}

.pricing-card .plan-description {
    color: var(--marketing-text-light);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--marketing-text);
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: var(--marketing-success);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Stats Section */
.stats-section {
    background: var(--marketing-primary);
    color: #ffffff;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--marketing-primary) 0%, var(--marketing-primary-light) 100%);
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff !important;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: #ffffff;
    font-weight: 600;
}

/* FAQ Styles */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.faq-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--marketing-primary);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--marketing-text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--marketing-primary);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--marketing-accent);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Footer Styles */
.marketing-footer {
    background: var(--marketing-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-brand h5 {
    color: #ffffff;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-heading {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ffffff;
    color: var(--marketing-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 2rem;
}

.footer-copyright,
.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    /* Mobile navbar button spacing */
    .marketing-header .navbar-nav .nav-item:nth-last-child(2) {
        margin-top: 0.5rem;
    }

    .marketing-header .navbar-nav .nav-item:last-child {
        margin-top: 0.75rem;
    }

    /* Keep header visible and fixed on scroll */
    .marketing-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        transform: none !important;
        transition: none !important;
        z-index: 1000;
    }

    /* Ensure header stays fixed and doesn't shrink when scrolling */
    .marketing-header.scrolled {
        position: fixed !important;
        transform: none !important;
    }

    .marketing-header .navbar {
        padding: 1rem 0 !important;
        transition: none !important;
        position: relative;
    }

    .marketing-header.scrolled .navbar {
        padding: 1rem 0 !important;
    }

    /* Fix navbar-toggler position using fixed positioning relative to viewport */
    .marketing-header .navbar-toggler {
        position: fixed !important;
        right: 1rem !important;
        top: 1rem !important;
        z-index: 1050 !important;
        margin: 0 !important;
    }

    /* Ensure navbar-brand doesn't overlap with toggler */
    .marketing-header .navbar-brand {
        max-width: calc(100% - 80px);
        padding-right: 1rem;
    }

    /* Add padding to body to account for fixed header */
    body {
        padding-top: 76px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}


/* Animations and interactive elements - See /js/marketing.js */

