/* KitchenFlow Landing Page CSS */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary) 100%);
    color: #fff;
    padding: 80px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-icon {
    opacity: 0.95;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-cta {
    padding: 14px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    min-height: 48px;
    min-width: 160px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
    padding: 60px 20px;
    background-color: var(--bs-body-bg);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bs-body-color);
}

.feature-card {
    background: var(--bs-tertiary-bg);
    border-radius: 15px;
    padding: 24px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--bs-body-color);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--bs-secondary-color);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Smooth scroll per anchor link interni */
html:has(.hero-section) {
    scroll-behavior: smooth;
}

/* Scroll hint — icona + testo animati in fondo all'hero */
.demo-scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.demo-scroll-hint:hover {
    color: rgba(255, 255, 255, 0.9);
}

.demo-scroll-hint .scroll-arrow {
    font-size: 1.3rem;
    animation: hint-bounce 2.2s ease-in-out infinite;
}

@keyframes hint-bounce {
    0%, 100% { transform: translateY(0);   opacity: 0.45; }
    50%       { transform: translateY(6px); opacity: 1;    }
}

/* Footer */
.landing-footer {
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    border-top: 1px solid var(--bs-border-color);
    padding: 24px 20px;
    font-size: 0.875rem;
}

.landing-footer img {
    opacity: 0.8;
    vertical-align: middle;
}

/* Responsive - Tablet and up */
@media (min-width: 768px) {
    .hero-section {
        padding: 100px 40px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .features-section {
        padding: 80px 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 32px;
    }
}

/* Responsive - Desktop */
@media (min-width: 992px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .features-section {
        padding: 100px 40px;
    }
}
