/* ===================
   App Page Styles
   Extracted from Happy Journal inline styles
   =================== */

.app-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.app-icon {
    margin-bottom: 1.5rem;
}

.app-icon img {
    border-radius: 28px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 50%, #5a4410 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.app-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.page-content .app-tagline {
    margin: 1rem auto 0;
    padding: 1rem 1.5rem;
    border-left: 2px solid rgba(212, 168, 85, 0.3);
    background: rgba(212, 168, 85, 0.03);
    border-radius: 0 4px 4px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: rgba(245, 240, 230, 0.7);
    text-align: left;
    max-width: 550px;
}

/* Section Subtitle (subpage context indicator) */

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem auto 1.5rem;
    max-width: 360px;
}

.section-subtitle-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 85, 0.4));
}

.section-subtitle-line:last-child {
    background: linear-gradient(90deg, rgba(212, 168, 85, 0.4), transparent);
}

.section-subtitle-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(212, 168, 85, 0.5);
    white-space: nowrap;
}

.app-divider {
    width: 310px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.5rem auto;
}

.app-description p {
    margin-bottom: 1rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0;
}

.app-feature {
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(212, 168, 85, 0.2);
    border-radius: 2rem;
    color: rgba(245, 240, 230, 0.5);
}

.app-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 168, 85, 0.1);
}

.app-stores .store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(212, 168, 85, 0.08);
    border: 1px solid rgba(212, 168, 85, 0.2);
    border-radius: 8px;
    color: rgba(245, 240, 230, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.app-stores .store-badge:hover {
    background: rgba(212, 168, 85, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.app-stores .store-badge svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.app-stores .coming-soon {
    opacity: 0.5;
    cursor: default;
}

.app-stores .coming-soon:hover {
    background: rgba(212, 168, 85, 0.08);
    border-color: rgba(212, 168, 85, 0.2);
    color: rgba(245, 240, 230, 0.7);
}

/* ===================
   Screenshot Carousel
   =================== */

.screenshot-carousel {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.carousel-slide img {
    max-height: 520px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 27, 22, 0.7);
    border: 1px solid rgba(212, 168, 85, 0.25);
    color: var(--gold);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    line-height: 1;
}

.carousel-arrow:hover {
    background: rgba(212, 168, 85, 0.15);
    border-color: var(--gold);
}

.carousel-prev {
    left: 0.5rem;
}

.carousel-next {
    right: 0.5rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(212, 168, 85, 0.3);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--gold);
    border-color: var(--gold);
}

.carousel-dot:hover {
    border-color: var(--gold);
}

@media (max-width: 480px) {
    .carousel-slide img {
        max-height: 400px;
    }

    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        transition: none;
    }
}
