/* Custom styles - Global color palette */
:root {
    --primary-color: #08bbf7;
    --secondary-color: #015bbc;
    --accent-color: #fcc000;
    --warning-color: #f98700;
    --background-color: #ffffff;
    --text-color: #222222;
    --glow-color: rgba(8, 187, 247, 0.35);
    
    /* Legacy variables updated to new palette */
    --pink-primary: #08bbf7;
    --pink-glow: rgba(8, 187, 247, 0.35);
    --dark-bg: #ffffff;
    --text-light: rgba(34, 34, 34, 0.7);
}

/* Custom background gradients */
.bg-gradient-glow {
    background: radial-gradient(circle at center, var(--glow-color), transparent 70%);
}

.bg-gradient-dark {
    background: linear-gradient(to bottom, var(--background-color), #f8f9fa);
}

/* Glowing effects */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
}

.glow-text {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--glow-color);
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.glass-effect:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
    box-shadow: 
        0 8px 32px 0 rgba(8, 187, 247, 0.2),
        inset 0 0 0 1px var(--primary-color);
}

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

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

/* Animation classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    box-shadow: 
        0 4px 15px rgba(8, 187, 247, 0.2),
        inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(8, 187, 247, 0.3),
        inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 187, 247, 0.3);
}

/* Card styles */
.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 
        0 8px 30px rgba(8, 187, 247, 0.15),
        inset 0 0 0 1px rgba(8, 187, 247, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, transparent, rgba(8, 187, 247, 0.1), transparent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Mobile menu transition */
#mobile-menu {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-0.5rem);
    pointer-events: none;
}

/* Navigation styles */
.nav-link {
    position: relative;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu animation */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

.mobile-menu-exit {
    opacity: 1;
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 200ms, transform 200ms;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Section spacing */
.section-spacing {
    padding: 6rem 0;
}

/* Image hover effects */
.image-hover {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.image-hover:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

/* Video modal animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#video-modal.flex {
    animation: modalFadeIn 0.3s ease-out;
}

/* FAQ accordion animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer.active {
    max-height: 500px;
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 500px;
}

/* Newsletter input focus styles */
.newsletter-input:focus {
    box-shadow: 0 0 0 2px rgba(8, 187, 247, 0.2);
}

/* Custom list styles */
.feature-list li {
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: currentColor;
}

/* Responsive image handling */
.responsive-img {
    max-width: 100%;
    height: auto;
}

/* Custom container padding for mobile */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
