/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.logo-img {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #E62A38 !important;
    background-color: rgba(230, 42, 56, 0.1);
}

.start-trial-btn {
    background: white;
    border: 2px solid #E62A38;
    border-radius: 25px;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600;
    color: #E62A38;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(230, 42, 56, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.start-trial-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #E62A38;
    transition: left 0.4s ease;
    z-index: -1;
}

.start-trial-btn:hover {
    color: white;
    border-color: #E62A38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 42, 56, 0.4);
}

.start-trial-btn:hover::before {
    left: 0;
}

/* Partners Page Custom Styles */

/* Hero Section */
.partners-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.partners-hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
}

.partners-hero .text-primary {
    color: #E62A38 !important;
}

.partners-hero .btn-primary {
    background: linear-gradient(135deg, #E62A38, #dc3545);
    border: none;
    box-shadow: 0 4px 15px rgba(230, 42, 56, 0.3);
    transition: all 0.3s ease;
}

.partners-hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 42, 56, 0.4);
}

/* Hero Visual Elements */
.hero-visual {
    padding: 2rem;
}

.hero-icon {
    color: #E62A38;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #E62A38;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Partner Cards */
.partner-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    padding: 2rem 1.5rem;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: #E62A38;
}

.partner-icon {
    color: #E62A38;
}

/* Benefit Cards */
.benefit-card {
    transition: all 0.3s ease;
    background: white;
    padding: 2rem 1.5rem;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #E62A38 !important;
}

.benefit-icon {
    color: #E62A38;
}

/* Program Tiers */
.tier-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.tier-card.border-primary {
    border-width: 2px !important;
    border-color: #E62A38 !important;
}

.tier-badge .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.commission .display-6 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E62A38;
}

/* Deliverables */
.deliverable-item {
    transition: all 0.3s ease;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.deliverable-item:hover {
    transform: translateX(5px);
    border-color: #E62A38;
    box-shadow: 0 5px 15px rgba(230, 42, 56, 0.1);
}

.deliverable-icon {
    color: #E62A38;
    flex-shrink: 0;
}

/* How It Works */
.step-card {
    transition: all 0.3s ease;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.step-card:hover {
    transform: scale(1.05);
    border-color: #E62A38;
    box-shadow: 0 8px 20px rgba(230, 42, 56, 0.1);
}

.step-number .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: #E62A38 !important;
}

/* Use Cases */
.use-case-card {
    transition: all 0.3s ease;
    background: white;
    padding: 2rem 1.5rem;
}

.use-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #E62A38 !important;
}

.use-case-icon {
    color: #E62A38;
}

/* Partner Form */
.partner-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.partner-form .card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
}

.partner-form .card-body {
    padding: 3rem;
}

.partner-form .form-control,
.partner-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.partner-form .form-control:focus,
.partner-form .form-select:focus {
    border-color: #E62A38;
    box-shadow: 0 0 0 0.2rem rgba(230, 42, 56, 0.25);
}

.partner-form .btn-primary {
    background: linear-gradient(45deg, #E62A38, #dc3545);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(230, 42, 56, 0.3);
    transition: all 0.3s ease;
}

.partner-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 42, 56, 0.4);
}

/* FAQ Section */
.faq-section .accordion-button {
    border-radius: 8px;
    border: none;
    background: white;
    color: #333;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: #E62A38;
    color: white;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(230, 42, 56, 0.25);
}

.faq-section .accordion-item {
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #E62A38 0%, #dc3545 100%);
}

.cta-section .btn-light {
    background: white;
    color: #E62A38;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-hero {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .partners-hero h1 {
        font-size: 2.5rem;
    }
    
    .partners-hero .btn-primary {
        width: 100%;
    }
    
    .tier-card {
        margin-bottom: 1.5rem;
    }
    
    .step-card {
        margin-bottom: 1.5rem;
    }
    
    .deliverable-item {
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .partners-hero {
        padding: 2rem 0;
        min-height: 50vh;
    }
    
    .partners-hero h1 {
        font-size: 2rem;
    }
    
    .partners-hero .lead {
        font-size: 1rem;
    }
    
    .partner-form .card-body {
        padding: 1.5rem 1rem;
    }
    
    .hero-visual {
        padding: 1rem;
    }
    
    .hero-icon {
        font-size: 4rem !important;
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Spacing Optimization */
.who-can-partner,
.benefits-section,
.program-tiers,
.deliverables,
.how-it-works,
.use-cases,
.partner-form,
.faq-section,
.cta-section {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .who-can-partner,
    .benefits-section,
    .program-tiers,
    .deliverables,
    .how-it-works,
    .use-cases,
    .partner-form,
    .faq-section,
    .cta-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .who-can-partner,
    .benefits-section,
    .program-tiers,
    .deliverables,
    .how-it-works,
    .use-cases,
    .partner-form,
    .faq-section,
    .cta-section {
        padding: 1.5rem 0;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #E62A38;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc3545;
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(230, 42, 56, 0.25);
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.valid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #198754;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .partners-hero,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .btn {
        display: none !important;
    }
    
    .shadow-sm,
    .shadow {
        box-shadow: none !important;
    }
} 