/* Custom CSS for CatchEveryCaller */

:root {
    --primary-color: #1e40af;
    --primary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --light-bg: #f8fafc;
    --dark-bg: #1f2937;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

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

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

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

/* CTA Card */
.cta-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Statistics */
.stat-item h3 {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Pain Points */
.pain-point {
    padding: 2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Step Cards */
.step-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

/* Trust Badges */
.trust-badge {
    padding: 1rem;
    min-width: 120px;
}

/* Pricing Card */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.price-display {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
}

/* Form Styling */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.btn-primary:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(30, 64, 175, 0.25);
}

.accordion-body {
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .cta-card {
        margin-top: 2rem;
    }
    
    .step-card {
        margin-bottom: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .secondary-cta-form .col-md-6,
    .secondary-cta-form .col-md-4 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .cta-card {
        padding: 2rem 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-muted {
        color: #000 !important;
    }
    
    .bg-light {
        background-color: #fff !important;
    }
}

/* Loading state */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Success animation */
.alert-success {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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