/* Custom styles for Startups Landing Page */

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

/* Hero section animations */
.hero-gradient {
    background: linear-gradient(-45deg, #3B82F6, #8B5CF6, #1D4ED8, #7C3AED);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* CTA button animations */
.cta-pulse {
    animation: cta-pulse 2s infinite;
}

@keyframes cta-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(245, 158, 11, 0.5);
        transform: scale(1.02);
    }
}

/* Feature card hover effects */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Problem/Solution sections */
.problem-card {
    transition: all 0.3s ease;
    border-left: 4px solid #EF4444;
}

.problem-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.1);
}

.solution-step {
    transition: all 0.3s ease;
}

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

.solution-step .step-number {
    transition: all 0.3s ease;
}

.solution-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Success story cards */
.success-story {
    transition: all 0.3s ease;
}

.success-story:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Social proof numbers */
.social-proof-number {
    font-variant-numeric: tabular-nums;
    transition: all 0.3s ease;
}

.social-proof-number:hover {
    transform: scale(1.1);
    color: #FCD34D;
}

/* Mobile menu animations */
.mobile-menu-enter {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #3B82F6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1D4ED8;
}

/* Loading states */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gray-50 {
        background-color: #ffffff;
    }
    
    .text-gray-600 {
        color: #000000;
    }
    
    .border-gray-300 {
        border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hero-gradient {
        background: #3B82F6;
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        background-color: #1F2937;
        color: #F9FAFB;
    }
    
    .dark-mode .bg-white {
        background-color: #374151;
    }
    
    .dark-mode .text-gray-900 {
        color: #F9FAFB;
    }
    
    .dark-mode .text-gray-600 {
        color: #D1D5DB;
    }
}

/* Interactive elements */
.interactive {
    cursor: pointer;
    user-select: none;
}

.interactive:hover {
    opacity: 0.8;
}

.interactive:active {
    transform: scale(0.98);
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .hero-gradient {
        background: #3B82F6 !important;
    }
    
    .cta-pulse {
        animation: none;
    }
}

/* Startup-specific styling */
.startup-badge {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    color: #1F2937;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit-icon {
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Urgency indicators */
.urgency-highlight {
    background: linear-gradient(135deg, #FEF3C7, #FCD34D);
    border: 2px solid #F59E0B;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.urgency-highlight::before {
    content: "⚡";
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Conversion optimization */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Social proof styling */
.social-proof {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.social-proof:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Problem highlighting */
.problem-highlight {
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
    border-left: 4px solid #EF4444;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.problem-highlight::before {
    content: "⚠️";
    margin-right: 0.5rem;
}

/* Solution highlighting */
.solution-highlight {
    background: linear-gradient(135deg, #F0FDF4, #BBF7D0);
    border-left: 4px solid #10B981;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.solution-highlight::before {
    content: "✅";
    margin-right: 0.5rem;
}
