/* Custom styles for Penance marketing site */

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

/* FAQ accordion animation */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-content {
    max-height: 500px;
    display: block;
}

/* Hero device mockup subtle animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#hero img[alt*="screenshot"] {
    animation: float 6s ease-in-out infinite;
}

/* Screenshot hover effect */
#screenshots img {
    transition: transform 0.3s ease;
}

#screenshots .group:hover img {
    transform: scale(1.02);
}

/* Navigation shadow on scroll */
nav.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* App Store badge placeholder style (until real badge is added) */
img[alt*="App Store"] {
    min-height: 56px;
    background: #000;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #hero h1 {
        font-size: 2rem;
    }

    #philosophy blockquote {
        font-size: 1.5rem;
    }
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #E07A2F;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: rgba(224, 122, 47, 0.2);
}
