/* Custom Styles for Uvio Landing Page */

/* Custom Color Palette */
:root {
    --primary-blue: #3B82F6;
    --primary-purple: #A855F7;
    --primary-cyan: #06B6D4;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --gradient-hero: linear-gradient(135deg, #f5f3ff 0%, #dbeafe 50%, #cffafe 100%);
}

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

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Add animation on scroll (basic, can be enhanced with JS) */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Header Styles */
#header {
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    transition: all 0.3s ease;
}

.btn-outline:hover {
    transform: translateY(-2px);
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

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

/* Link Hover Effects */
.link-primary {
    transition: all 0.2s ease;
}

.link-primary:hover {
    transform: translateX(3px);
}

/* Badge Styles */
.badge-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
}

.badge-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border: none;
}

.badge-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    border: none;
}

/* Section Spacing */
section {
    position: relative;
}

/* Hero Section Specific Styles */
#hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Avatar Group Custom Styles */
.avatar-group .avatar .w-8 {
    border: 2px solid white;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Mobile Menu Adjustments */
@media (max-width: 1024px) {
    .navbar-center {
        display: none;
    }
}

/* Floating Notification Cards Animation Delays */
.animate-float:nth-child(1) {
    animation-delay: 0s;
}

.animate-float:nth-child(2) {
    animation-delay: 1s;
}

.animate-float:nth-child(3) {
    animation-delay: 2s;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Image Loading State */
img {
    transition: opacity 0.3s ease;
}

img[src=""] {
    opacity: 0;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

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

/* Card Body Padding Adjustments */
.card-body {
    padding: 2rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
}

/* DaisyUI Theme Customization */
[data-theme="light"] {
    --rounded-box: 1rem;
    --rounded-btn: 0.75rem;
    --rounded-badge: 0.5rem;
    --animation-btn: 0.25s;
    --animation-input: 0.2s;
    --btn-focus-scale: 0.95;
}

/* Section Background Alternation */
section:nth-child(even) {
    position: relative;
}

/* Icon Sizing Consistency */
[data-lucide] {
    stroke-width: 2;
}

/* Grid Gap Responsive */
@media (max-width: 640px) {
    .grid {
        gap: 1rem;
    }
}

/* Footer Link Hover */
footer a {
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* CTA Section Overlay */
#download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(168, 85, 247, 0.8), rgba(6, 182, 212, 0.8));
    z-index: 1;
}

#download > * {
    position: relative;
    z-index: 2;
}

/* Loading State for Images */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn,
    .dropdown {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}

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