/* ===== Hero Section ===== */
.hero {
    margin-top: var(--header-offset);
    padding: 4rem 0;
    min-height: calc(100vh - var(--header-offset));
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(250, 248, 243, 0.95) 0%, rgba(250, 248, 243, 0.85) 100%);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    z-index: 1;
}

@media (min-width: 769px) {
    .hero {
        background:
            linear-gradient(135deg, rgba(250, 248, 243, 0.95) 0%, rgba(250, 248, 243, 0.85) 100%),
            url('https://images.unsplash.com/photo-1563245372-f21724e3856d?w=1920&h=1080&fit=crop') center/cover;
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vermillion);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--vermillion);
}

.hero-text h1 {
    font-family: var(--font-serif), var(--font-cjk);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    color: var(--vermillion);
    font-style: italic;
}

.hero-chinese {
    font-family: var(--font-serif), var(--font-cjk);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--ink-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-button {
    padding: 1rem 2rem;
}

.hero-features {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--paper-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--vermillion);
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--ink);
}

.feature-text span {
    color: var(--ink-light);
    font-size: 0.85rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--white);
}

.hero-image-main img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* ===== Hero Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        padding: 2.8rem 0 3.25rem;
        min-height: auto;
        background:
            radial-gradient(
                circle at 50% 8%,
                rgba(243, 223, 183, 0.88) 0%,
                rgba(243, 223, 183, 0.36) 28%,
                rgba(243, 223, 183, 0.08) 52%,
                rgba(243, 223, 183, 0) 70%
            ),
            linear-gradient(
                180deg,
                rgba(251, 248, 242, 0.99) 0%,
                rgba(248, 243, 233, 0.98) 22%,
                rgba(255, 253, 249, 0.99) 60%,
                rgba(244, 239, 229, 0.98) 100%
            );
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 2.4rem 1.35rem 1.75rem;
    }

    .hero-text {
        max-width: 760px;
        margin: 0 auto;
    }

    .hero-label {
        justify-content: center;
        margin-bottom: 1rem;
        color: var(--vermillion-dark);
    }

    .hero-label::before {
        width: 38px;
        background: currentColor;
    }

    .hero-text h1 {
        max-width: 12ch;
        margin: 0 auto 1rem;
        font-size: clamp(3rem, 6vw, 4.3rem);
        line-height: 1.04;
        letter-spacing: -0.03em;
        text-wrap: balance;
    }

    .hero-chinese {
        font-size: 1.15rem;
        color: #9b7414;
        margin-bottom: 1.1rem;
        letter-spacing: 0.14em;
    }

    .hero-text p {
        max-width: 34ch;
        margin: 0 auto 1.85rem;
        font-size: 1.02rem;
        line-height: 1.7;
        color: var(--ink-light);
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
    }

    .hero-features,
    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.25rem 0 2.75rem;
        background:
            radial-gradient(
                circle at 50% 4%,
                rgba(243, 223, 183, 0.84) 0%,
                rgba(243, 223, 183, 0.3) 30%,
                rgba(243, 223, 183, 0.06) 56%,
                rgba(243, 223, 183, 0) 72%
            ),
            linear-gradient(
                180deg,
                rgba(251, 248, 242, 0.99) 0%,
                rgba(248, 242, 232, 0.98) 24%,
                rgba(255, 253, 249, 0.99) 64%,
                rgba(243, 238, 228, 0.98) 100%
            );
    }

    .hero-content {
        padding: 1.45rem 1rem 1.85rem;
    }

    .hero-text h1 {
        max-width: 10ch;
        font-size: clamp(2.4rem, 10vw, 3.1rem);
        line-height: 1.06;
    }

    .hero-chinese {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .hero-text p {
        max-width: 25ch;
        margin-bottom: 1.55rem;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.85rem;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.2rem 0.9rem 1.55rem;
    }

    .hero-label {
        font-size: 0.76rem;
        letter-spacing: 0.16em;
    }

    .hero-text h1 {
        max-width: 9ch;
        font-size: clamp(2rem, 12vw, 2.55rem);
    }

    .hero-chinese {
        font-size: 0.94rem;
        letter-spacing: 0.11em;
    }

    .hero-text p {
        max-width: 23ch;
        font-size: 0.92rem;
    }
}

@media (max-width: 390px) {
    .hero-text h1 {
        font-size: clamp(1.82rem, 12vw, 2.2rem);
    }

    .hero-chinese {
        letter-spacing: 0.09em;
    }
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.floating-card.top {
    top: -20px;
    right: -30px;
}

.floating-card.bottom {
    bottom: 30px;
    left: -40px;
}

.recipe-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.recipe-mini img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.recipe-mini-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.recipe-mini-info span {
    font-size: 0.75rem;
    color: var(--ink-light);
}

.recipe-mini-rating {
    display: flex;
    gap: 0.1rem;
    margin-top: 0.15rem;
}

.recipe-mini-rating svg {
    width: 12px;
    height: 12px;
    fill: var(--gold);
}

html[dir="rtl"] .hero-text {
    text-align: right;
}

html[dir="rtl"] .hero-label {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-chinese {
    letter-spacing: 0;
}
