/* Custom CSS Styles - SERAPH Waitlist */

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

/* 3D Product Float Animation */
@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

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

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Pulse Animation for Coming Soon Badge */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Loading Spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #92400E;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #D97706;
    outline-offset: 2px;
}

/* Gradient backgrounds */
.bg-gradient-seraph {
    background-image: url('https://rorcloud.org/serve.php?id=2720&name=Generated%20Image%20October%2028%2C%202025%20-%2012_48PM.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-gradient-seraph-light {
    background: linear-gradient(135deg, #FFFBF5 0%, #ffffff 100%);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Button hover effects */
.btn-primary {
    background: #D97706;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #92400E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-secondary {
    border: 2px solid #D97706;
    color: #D97706;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #D97706;
    color: white;
    transform: translateY(-2px);
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.15);
}

/* Checkmark icon animation */
@keyframes checkmark {
    0% {
        stroke-dashoffset: 100;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.checkmark-animation {
    stroke-dasharray: 100;
    animation: checkmark 0.5s ease-out forwards;
}

/* Success confetti animation */
@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Loading state overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Decorative elements */
.leaf-decoration {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

/* Product image floating effect */
.product-float {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    max-width: 400px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .product-float {
        left: 50%;
        top: 20%;
        max-width: 200px;
        opacity: 0.2;
    }
}

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

/* Social share buttons */
.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* Form validation styles */
.input-error {
    border-color: #FF4646;
}

.error-message {
    color: #FF4646;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success checkmark circle */
.success-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease-out;
}

/* Mobile-specific optimizations */
@media (max-width: 640px) {
    /* Improve touch targets */
    button, a, input, select {
        min-height: 44px;
    }

    /* Better spacing on mobile */
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hero text readability */
    .bg-gradient-seraph {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
    }

    /* Form improvements */
    input, select, textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Better modal/card sizing */
    .bg-white\/90 {
        max-width: 100%;
    }
}

/* Tablet optimizations */
@media (min-width: 641px) and (max-width: 1024px) {
    /* Optimize for tablets */
    .bg-gradient-seraph {
        background-size: cover;
        background-position: center center;
    }
}

/* Print styles */
@media print {
    nav, footer, .no-print {
        display: none;
    }
}

/* Reduce 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;
    }
}

