/* ============================================================
   ForkSure — Landing Page Styles
   Visual language: warm gradient, glass-card feel, clean type.
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange:   #F97316;
    --red:      #EF4444;
    --yellow:   #F59E0B;
    --green:    #22C55E;
    --bg-start: #FFF5EB;
    --bg-end:   #FFF0F0;
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.7);
    --text:     #1C1C1E;
    --text-secondary: #6B7280;
    --radius:   20px;
    --max-width: 960px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 50%, #FFF8F0 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

a {
    color: var(--orange);
    text-decoration: none;
}

/* ---------- Section Spacing ---------- */
section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 64px 24px;
}

section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* ---------- Hero ---------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    padding-top: 80px;
    padding-bottom: 48px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.app-icon {
    font-size: 80px;
    line-height: 1;
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.06); opacity: 0.85; }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 340px;
}

.app-store-badge img {
    transition: transform 0.2s ease;
}

.app-store-badge:hover img {
    transform: scale(1.04);
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ---------- Screenshots ---------- */
.screenshots {
    overflow: visible;
}

.screenshots-scroll {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot {
    flex: 0 0 auto;
    width: 240px;
    text-align: center;
}

.screenshot img {
    border-radius: 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.screenshot figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ---------- Privacy ---------- */
.privacy {
    text-align: center;
}

.privacy p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

/* ---------- CTA ---------- */
.cta {
    text-align: center;
    align-items: center;
    padding-bottom: 32px;
}

.requires {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---------- Footer ---------- */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px 48px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 16px;
    font-style: italic;
}

.footer-links {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer-links .sep {
    margin: 0 8px;
    color: var(--text-secondary);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

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

    .tagline {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.4rem;
    }

    .screenshot {
        width: 200px;
    }
}
