/* Peak Nootropic - Custom Styles */

/* Base Styles */
body { 
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Styles */
nav {
    transition: all 0.3s ease;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Gradient Background */
.hero-gradient {
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
}

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

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

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Button Styles */
button {
    transition: all 0.3s ease;
}

/* Card Hover Effects */
.bg-white.rounded-xl {
    transition: all 0.3s ease;
}

.bg-white.rounded-xl:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Table Styles */
table {
    border-collapse: collapse;
}

/* Form Input Styles */
input[type="text"],
input[type="email"] {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

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

/* Mobile Menu Animation */
#mobileMenu {
    transition: all 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-gradient {
        padding-top: 6rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success Message */
.success-message {
    background-color: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease-out;
}

/* Error Message */
.error-message {
    background-color: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease-out;
}

/* Print Styles */
@media print {
    nav, footer, button, form {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
}

/* Countdown Timer Styles */
#countdown {
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

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

/* Countdown container hover effect */
#countdown {
    transition: all 0.3s ease;
}

#countdown:hover {
    transform: scale(1.05);
}

/* Floating WhatsApp Button Styles */
.whatsapp-button {
    animation: float 3s ease-in-out infinite;
}

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

/* WhatsApp button pulse effect */
.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile responsiveness for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem;
    }
    
    .whatsapp-button svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Accessibility improvements */
.whatsapp-button:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}