/* Landing Page Specific Styles */

/* Custom Color Variables */
:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --secondary-50: #f0fdf4;
    --secondary-100: #dcfce7;
    --secondary-500: #22c55e;
}

/* Smooth Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

/* Gradient Backgrounds */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--primary-50), var(--secondary-50));
}

/* Button Hover Effects */
.btn-primary {
    background-color: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #3b82f6;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3b82f6;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
    text-decoration: none;
    color: #3b82f6;
}

/* Card Hover Effects */
.feature-card {
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: white;
    transform: scale(1.02);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* Hero Section Responsive */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1f2937, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Form Styling */
.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.container-padding {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-padding {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Icon Containers */
.icon-container {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.icon-container-primary {
    background-color: #dbeafe;
    color: #2563eb;
}

.icon-container:hover {
    background-color: #bfdbfe;
}

/* Step Numbers */
.step-number {
    background-color: #3b82f6;
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.step-number:hover {
    background-color: #2563eb;
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* Contact Section */
.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(0.5rem);
}

.contact-form {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* 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 {
    .no-print {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1f2937;
        --text-primary: #f9fafb;
        --border-color: #374151;
    }
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
