/* Public Marketing Site — Custom Styles */

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #000000 0%, #0A1628 50%, #0A0A0A 100%);
}

/* Subtle grid pattern overlay */
.grid-pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Blue glow effect for key cards */
.glow-blue {
    box-shadow: 0 0 30px rgba(0, 174, 239, 0.15);
}

.glow-blue:hover {
    box-shadow: 0 0 40px rgba(0, 174, 239, 0.25);
}

/* Purple glow effect */
.glow-purple {
    box-shadow: 0 0 30px rgba(107, 63, 160, 0.15);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #00AEEF, #6B3FA0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA gradient button */
.btn-gradient {
    background: linear-gradient(135deg, #00AEEF, #0090C9);
    transition: all 0.15s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #0090C9, #007AAF);
    transform: scale(0.98);
}

/* Outline button on dark */
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.15s ease;
}

.btn-outline-light:hover {
    border-color: #00AEEF;
    color: #00AEEF;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* Scanner loading animation */
@keyframes pulse-scan {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.scanner-loading .dot {
    animation: pulse-scan 1.4s ease-in-out infinite;
}

.scanner-loading .dot:nth-child(2) { animation-delay: 0.2s; }
.scanner-loading .dot:nth-child(3) { animation-delay: 0.4s; }

/* HTMX loading indicator */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: flex;
}

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

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

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-chevron {
    transition: transform 0.3s ease;
}

/* Mobile nav transition */
.mobile-nav {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

/* Stat counter animation */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Screenshot placeholder frame */
.screenshot-frame {
    background: #1A1A1A;
    border: 1px solid #2D2D2D;
    border-radius: 12px;
    overflow: hidden;
}

.screenshot-frame .frame-dots {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: #111111;
    border-bottom: 1px solid #2D2D2D;
}

.screenshot-frame .frame-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Step connector line */
.step-connector {
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, #00AEEF, transparent);
}

.step-connector:last-child::after {
    display: none;
}
