/* Simple styles for Tryona website */

.legal-header {
    background: #dc2626;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 60px;
}

.legal-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.legal-content {
    padding: 2rem;
}

.legal-section {
    margin-bottom: 1.5rem;
}

.legal-section h4 {
    color: #dc2626;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.legal-list {
    list-style: none;
    padding: 0;
}

.legal-list li {
    background: #f8fafc;
    border-left: 3px solid #dc2626;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}

.legal-contact {
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.legal-contact p {
    margin: 0;
    color: #991b1b;
    font-weight: 500;
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(12deg);
    }
    50% {
        transform: translateY(-20px) rotate(12deg);
    }
}

@keyframes bounceX {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-bounce-x {
    animation: bounceX 2s ease-in-out infinite;
}

/* Features Section Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
    }
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

.animate-float-up {
    animation: floatUp 4s ease-in-out infinite;
}

/* Feature card hover effects */
.feature-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

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

/* Additional animations for better visual appeal */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

/* Enhanced hover effects for stats cards */
.stats-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stats-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

/* CTA section enhancements */
.cta-section {
    position: relative;
    overflow: hidden;
}

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

/* Ensure animations work on page load */
.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float-up {
    animation: floatUp 4s ease-in-out infinite;
}

/* Force animations to work */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Additional visual enhancements */
.feature-card {
    will-change: transform;
}

.stats-card {
    will-change: transform;
}

/* Ensure smooth animations */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Add some additional visual enhancements */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .legal-header {
        padding: 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 1.5rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}
