/* Landing page styles */

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.vh-75 {
    height: 75vh;
}

/* Responsive font size utilities */
@media (min-width: 768px) {
    .fs-md-4 {
        font-size: 1.5rem !important;
    }
    .display-md-5 {
        font-size: 3rem !important;
    }
}

@media (min-width: 992px) {
    .display-lg-2 {
        font-size: 4.5rem !important;
    }
    .fs-lg-3 {
        font-size: 1.75rem !important;
    }
}

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

.animate-fade-up-delay-1 {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.animate-fade-up-delay-2 {
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

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

/* HTMX loading indicator for RSS preview */
#preview-submit-btn .htmx-indicator {
    display: none;
}
#preview-submit-btn.htmx-request .htmx-indicator {
    display: inline;
}
#preview-submit-btn .button-text {
    display: inline;
}
#preview-submit-btn.htmx-request .button-text {
    display: none;
}

/* Tab navigation styling */
#howItWorksTabs .nav-link {
    transition: all 0.3s ease;
}
#howItWorksTabs .nav-link:not(.active) {
    background-color: rgba(255, 255, 255, 0.41) !important;
    color: white !important;
}
#howItWorksTabs .nav-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.69) !important;
}
#howItWorksTabs .nav-link.active {
    background-color: white !important;
    color: var(--primary-color) !important;
}

/* Hero section */
.landing-hero {
    min-height: 100vh;
    min-height: 100dvh;
}

.landing-hero-svg-bg {
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.landing-hero-content {
    position: relative;
    z-index: 1;
}

/* Mission section */
.landing-headshot {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* Logo sizing */
.landing-logo-award {
    max-height: 8em;
}

.landing-logo-partner {
    max-height: 3.5em;
}

/* Section navigation bar */
.landing-section-nav {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    z-index: 1020;
}

.landing-section-nav > .container > div {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.landing-section-nav > .container > div::-webkit-scrollbar {
    display: none;
}

.landing-section-nav-link {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.landing-section-nav-link:hover {
    background-color: var(--neutral-100);
    color: var(--primary-color) !important;
}

.landing-section-nav-link.bg-plucky-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Smaller text on mobile for counter labels */
.small-on-mobile {
    font-size: 0.875rem;
}
@media (min-width: 768px) {
    .small-on-mobile {
        font-size: inherit;
    }
}

/* Scroll offset for section anchors (75px navbar + 44px section nav + 10px buffer) */
#features,
#how-it-works,
#practical-features,
#community,
#getting-started,
#pricing,
#mission,
#problem {
    scroll-margin-top: 129px;
}
