/* Recipe Book landing — standalone styles (no global styles.css) */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #fff7ed;
    -webkit-text-size-adjust: 100%;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Hero (no overlay pseudo-element) --- */
.app-landing-hero {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff;
    padding: 48px 0 56px;
    position: relative;
    z-index: 0;
}

.app-landing-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.app-landing-hero-text {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 320px;
}

.app-landing-icon {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    object-fit: cover;
}

.app-landing-titles h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #fff;
}

.app-landing-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.app-landing-short-desc {
    font-size: 1rem;
    opacity: 0.92;
    max-width: 28rem;
}

.app-landing-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-store-button,
.google-play-button {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.app-store-button img,
.google-play-button img {
    height: 54px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s ease;
}

.app-store-button:hover img,
.google-play-button:hover img {
    transform: scale(1.04);
}

/* --- About --- */
.app-landing-about {
    padding: 48px 0;
}

.app-landing-about-content {
    max-width: 720px;
    margin: 0 auto;
}

.app-landing-about-content h3 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
    color: #c2410c;
}

.app-landing-about-content p {
    margin-bottom: 16px;
    color: #374151;
}

.app-landing-features {
    list-style: none;
    margin: 0 0 20px;
}

.app-landing-features li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #374151;
}

.app-landing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ea580c;
    font-weight: 700;
}

/* --- Screenshots carousel --- */
.app-landing-screenshots {
    padding: 0 0 48px;
    background: #fff;
}

.app-landing-screenshots h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #1f2937;
}

.app-landing-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.app-landing-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding: 8px 4px 16px;
    scrollbar-width: thin;
    scrollbar-color: #ea580c #f3f4f6;
}

.app-landing-carousel::-webkit-scrollbar {
    height: 8px;
}

.app-landing-carousel::-webkit-scrollbar-thumb {
    background: #ea580c;
    border-radius: 4px;
}

.app-landing-carousel img {
    flex: 0 0 auto;
    height: min(520px, 70vh);
    width: auto;
    border-radius: 16px;
    scroll-snap-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.app-landing-carousel-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ea580c;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.app-landing-carousel-btn:hover {
    background: #c2410c;
    transform: scale(1.05);
}

.app-landing-carousel-dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    min-height: 0;
}

.app-landing-carousel-dots button {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    max-width: 10px;
    max-height: 10px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    flex: 0 0 10px;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    transition: background 0.2s ease, transform 0.2s ease;
}

.app-landing-carousel-dots button.is-active {
    background: #ea580c;
    transform: scale(1.25);
}

/* --- Footer --- */
.app-landing-footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 40px 0;
}

.app-landing-footer h2 {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: #fff;
}

.app-landing-legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.app-landing-legal-grid h3 {
    font-size: 0.95rem;
    color: #f9fafb;
    margin-bottom: 10px;
}

.app-landing-legal-grid ul {
    list-style: none;
}

.app-landing-legal-grid li {
    margin-bottom: 8px;
}

.app-landing-legal-grid a {
    color: #fdba74;
    text-decoration: none;
}

.app-landing-legal-grid a:hover {
    text-decoration: underline;
    color: #fff;
}

.app-landing-copyright {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .app-landing-hero {
        padding: 32px 0 40px;
    }

    .app-landing-hero-text {
        flex-direction: column;
        text-align: center;
    }

    .app-landing-store-buttons {
        width: 100%;
        justify-content: center;
    }

    .app-landing-carousel-btn {
        display: none;
    }

    .app-landing-carousel img {
        height: min(440px, 62vh);
    }
}
