/* Homepage / Landing Page CSS */

/* ── Layout ───────────────────────────────────────────── */
.lp-page {
    position: relative;
}

.lp-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}

.lp-container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

/* ── Hero ─────────────────────────────────────────────── */
.lp-hero {
    border-bottom: 1px solid #ebe6e1;
    background: rgba(243, 241, 241, 0.65);
    position: relative;
}

.lp-hero .lp-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
    padding: 56px 40px 38px;
    min-height: 540px;
    position: relative;
    z-index: 3;
}

.lp-hero h1 {
    margin: 8px 0 18px;
    color: #303139;
    font-family: var(--font-family-sans);
    font-size: 52px;
    line-height: 1.07;
    letter-spacing: -0.02em;
    font-weight: 800;
    max-width: 520px;
    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.95),
        0 2px 10px rgba(255, 255, 255, 0.9),
        0 0 22px rgba(255, 255, 255, 0.55);
}

.lp-hero p {
    margin: 0 0 24px;
    max-width: 500px;
    font-family: var(--font-family-sans);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    color: #4f5058;
}

.lp-cta {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, #b49455 0%, var(--primary-gold-dark) 100%);
    border-radius: 10px;
    padding: 10px 20px;
    font-family: var(--font-family-sans);
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(151, 119, 64, 0.2);
    line-height: 1;
}

.lp-cta:hover {
    text-decoration: none;
    color: #fff;
    filter: brightness(1.05);
}

.lp-hero-login {
    display: inline-block;
    margin-top: 14px;
    text-decoration: none;
    color: #7b7880;
    font-family: var(--font-family-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
}

.lp-hero-login:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

/* ── Recipe card (hero right) ─────────────────────────── */
.lp-recipe-card {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(70, 58, 33, 0.16);
    background: #fff;
    overflow: hidden;
    margin-top: 6px;
    margin-bottom: -142px;
    position: relative;
    z-index: 3;
}

.lp-rc-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f7f5;
    border-bottom: 1px solid #ebe6e1;
    font-family: var(--font-family-sans);
    font-size: 14px;
    color: #8f8d92;
}

.lp-rc-search-icon {
    font-size: 13px;
    color: #aaa;
}

.lp-rc-photo img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.lp-rc-body {
    padding: 16px 18px 18px;
}

.lp-rc-title {
    margin: 0 0 12px;
    font-family: var(--font-family-sans);
    font-size: 18px;
    font-weight: 700;
    color: #303139;
    line-height: 1.2;
}

.lp-rc-macros {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.lp-rc-macro {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f6f4f2;
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 54px;
    flex: 1;
}

.lp-rc-macro-val {
    font-family: var(--font-family-sans);
    font-size: 15px;
    font-weight: 800;
    color: #303139;
    line-height: 1.2;
}

.lp-rc-macro-label {
    font-family: var(--font-family-sans);
    font-size: 11px;
    font-weight: 600;
    color: #8f8d92;
    text-transform: lowercase;
}

.lp-rc-steps {
    margin: 0 0 14px;
    padding-left: 18px;
    font-family: var(--font-family-sans);
    font-size: 13px;
    line-height: 1.5;
    color: #4f5058;
}

.lp-rc-steps li {
    margin-bottom: 2px;
}

.lp-rc-link {
    display: inline-block;
    font-family: var(--font-family-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-gold);
    text-decoration: none;
}

.lp-rc-link:hover {
    text-decoration: underline;
    color: var(--primary-gold-dark);
}

/* ── Sections ─────────────────────────────────────────── */
.lp-section {
    border-bottom: 1px solid #ebe6e1;
    background: rgba(247, 246, 246, 0.65);
    position: relative;
}

.lp-section .lp-container {
    padding: 54px 40px;
    position: relative;
    z-index: 2;
}

.lp-intro .lp-container {
    padding-top: 102px;
}

.lp-section h2 {
    margin: 0 0 22px;
    color: #303139;
    font-family: var(--font-family-sans);
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 800;
}

/* ── How cards ────────────────────────────────────────── */
.lp-how-card {
    background: #fff;
    border: 1px solid #eee8e2;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    align-items: center;
}

.lp-how-icon {
    width: 74px;
    height: 62px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(73, 57, 29, 0.08));
}

.lp-how-content h3 {
    margin: 0 0 5px;
    color: #303138;
    font-family: var(--font-family-sans);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.lp-how-content p {
    margin: 0;
    font-family: var(--font-family-sans);
    font-size: 18px;
    line-height: 1.35;
    color: #52535b;
    font-weight: 500;
}

.lp-how-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid #eee8e2;
    border-radius: 10px;
    padding: 16px 20px;
}

.lp-how-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    align-items: start;
}

/* ── Why section ──────────────────────────────────────── */
.lp-why .lp-container {
    padding-top: 64px;
    padding-bottom: 86px;
}

.lp-why h2 {
    text-align: center;
    margin-bottom: 26px;
}

.lp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.lp-why-card {
    border: 1px solid #ebe4db;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbfa 100%);
    box-shadow: 0 8px 20px rgba(95, 76, 42, 0.08);
    padding: 22px 16px 20px;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.lp-why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(95, 76, 42, 0.14);
    border-color: #e3d8c9;
}

.lp-why-icon {
    width: 76px;
    height: 62px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}

.lp-why-card h3 {
    margin: 0 0 7px;
    color: #2f3037;
    font-family: var(--font-family-sans);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.lp-why-card p {
    margin: 0;
    color: #4f5058;
    font-family: var(--font-family-sans);
    font-size: 17px;
    line-height: 1.34;
    font-weight: 500;
}

/* ── Spacer ───────────────────────────────────────────── */
.lp-spacer {
    height: 140px;
    background: rgba(243, 242, 243, 0.65);
}

/* ── Footer opaque over video ─────────────────────────── */
.main-footer {
    position: relative;
    z-index: 1;
}

/* ── Responsive: tablet (≤ 980px) ─────────────────────── */
@media (max-width: 980px) {
    .lp-hero .lp-container {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: 0;
        padding: 30px 16px;
    }

    .lp-recipe-card {
        margin-bottom: 0;
        max-width: 420px;
    }

    .lp-hero h1 {
        font-size: 44px;
        max-width: 680px;
    }

    .lp-cta {
        font-size: 25px;
        padding: 11px 18px;
    }

    .lp-section .lp-container,
    .lp-why .lp-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lp-intro .lp-container {
        padding-top: 42px;
    }

    .lp-section h2 {
        font-size: 30px;
    }

    .lp-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-why-card {
        padding: 18px 14px 16px;
    }
}

/* ── Responsive: mobile (≤ 700px) ─────────────────────── */
@media (max-width: 700px) {
    .lp-hero h1 {
        font-size: 28px;
        margin-top: 0;
    }

    .lp-hero p {
        font-size: 14px;
        line-height: 1.45;
    }

    .lp-cta {
        font-size: 17px;
        border-radius: 10px;
        padding: 9px 12px;
    }

    .lp-hero-login {
        font-size: 14px;
    }

    .lp-rc-photo img {
        height: 160px;
    }

    .lp-section .lp-container {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .lp-section h2,
    .lp-why h2 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .lp-how-card {
        grid-template-columns: 54px 1fr;
        gap: 10px;
        padding: 10px 12px;
    }

    .lp-how-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 12px;
    }

    .lp-how-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .lp-how-icon {
        width: 34px;
        height: 28px;
    }

    .lp-how-content h3 {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .lp-how-content p {
        font-size: 10px;
        line-height: 1.3;
    }

    .lp-why .lp-container {
        padding-top: 34px;
        padding-bottom: 44px;
    }

    .lp-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lp-why-card {
        padding: 12px 8px 10px;
    }

    .lp-why-icon {
        width: 44px;
        height: 36px;
        margin-bottom: 8px;
    }

    .lp-why-card h3 {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .lp-why-card p {
        font-size: 8px;
        line-height: 1.25;
    }

    .lp-spacer {
        height: 64px;
    }
}