/* Public Website Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.min-vh-50 {
    min-height: 50vh;
}

/* Stats Section */
.stats-section {
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

/* Partners Section */
.partners-section img {
    max-height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partners-section img:hover {
    opacity: 1;
}

.grayscale {
    filter: grayscale(100%);
}

.grayscale:hover {
    filter: grayscale(0%);
}

/* Public Header */
.public-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

/* Language Switcher */
.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}

/* Footer */
.public-footer {
    background-color: #1a1a1a;
    color: #fff;
}

.public-footer a {
    transition: color 0.3s ease;
}

.public-footer .social-links a:hover {
    color: var(--bs-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .navbar-collapse {
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1rem;
    }
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--bs-primary);
    transform: scale(1.05);
}

.pricing-card:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card .badge {
    position: absolute;
    top: -10px;
    right: 20px;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    margin-right: 1rem;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-accordion .accordion-button {
    background: transparent;
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bs-primary);
    color: #fff;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: var(--bs-primary);
    animation: spin 1s ease-in-out infinite;
}

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