/*
 * LoveBud Home page styles
 * Extracted from index.html.
 * Page-specific only. Do not move these rules into global.css.
 */

.home-v3-shell {
    position: relative;
    overflow: hidden;
}

.home-v3-shell::before,
.home-v3-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
    filter: blur(6px);
    opacity: 0.7;
}

.home-v3-shell::before {
    top: 110px;
    right: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(241, 208, 216, 0.72), rgba(241, 208, 216, 0));
}

.home-v3-shell::after {
    left: -120px;
    bottom: 120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 216, 200, 0.82), rgba(236, 216, 200, 0));
}

.home-v3-main {
    position: relative;
    z-index: 1;
    width: min(var(--page-shell-max), calc(100% - (var(--page-pad-desktop) * 2)));
    margin: 0 auto;
    padding: 28px 0 110px;
}

.home-v3-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: var(--hero-gap);
    align-items: center;
    min-height: min(860px, calc(100vh - 104px));
    padding: 24px 0 20px;
}

.home-v3-copy {
    max-width: 600px;
    padding: 8px 0 16px;
}

.home-v3-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--primary);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-v3-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(144, 73, 81, 0.42);
}

.home-v3-title {
    margin: 20px 0 14px;
    font-size: clamp(3.55rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--on-surface);
}

.home-v3-title .soft {
    display: block;
    color: var(--on-surface-variant); /* Medium Brown (#6c5953) */
    font-weight: 700;
}

.home-v3-title .warm {
    display: block;
    color: var(--primary); /* Brighter Rose (#904951) */
    font-weight: 780;
}

.home-v3-title .accent {
    display: block;
    color: #b85c66; /* Brighter Rose than the second row */
}

.home-v3-desc {
    margin: 0;
    max-width: 520px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--on-surface-variant);
}

.home-v3-note {
    margin-top: 18px;
    padding-left: 12px;
    border-left: 2px solid rgba(144, 73, 81, 0.22);
    color: var(--on-surface-note);
    font-size: 0.87rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
}

.home-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.home-v3-actions .btn-round {
    min-height: 56px;
    padding-inline: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1rem;
}

.home-v3-actions .btn-outline {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    border-color: rgba(144, 73, 81, 0.18);
    box-shadow: 0 16px 40px rgba(144, 73, 81, 0.12), 0 0 30px rgba(255, 226, 218, 0.48), 0 0 0 1px rgba(255,255,255,0.66) inset;
    position: relative;
    overflow: visible;
    z-index: 0;
}

.home-v3-actions .btn-outline::after {
    content: "";
    position: absolute;
    inset: -12px -16px;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 50%, rgba(255, 217, 211, 0.78), rgba(255, 232, 224, 0.28) 42%, transparent 72%);
    filter: blur(8px);
    opacity: 0.56;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: -1;
}

.home-v3-actions .btn-outline:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 52px rgba(144, 73, 81, 0.18), 0 0 46px rgba(255, 214, 206, 0.82), 0 0 0 1px rgba(255,255,255,0.78) inset;
}

.home-v3-actions .btn-outline:hover::after {
    opacity: 1;
    transform: scale(1.08);
}


.home-v3-section {
    margin-top: 28px;
}

.home-v3-feature-grid {
    display: none;
}

.home-v3-section:has(.home-v3-feature-grid) {
    display: none;
}

.home-v3-feature {
    position: relative;
    border-radius: 30px;
    padding: 26px 24px 24px;
    border: 1px solid rgba(144, 73, 81, 0.08);
    box-shadow: 0 18px 36px rgba(96, 74, 70, 0.07);
    overflow: hidden;
}

.tone-rose { background: linear-gradient(180deg, rgba(251, 239, 239, 0.98), rgba(248, 242, 242, 0.92)); }
.tone-sage { background: linear-gradient(180deg, rgba(239, 245, 238, 0.98), rgba(234, 242, 237, 0.92)); }
.tone-cream { background: linear-gradient(180deg, rgba(250, 246, 239, 0.98), rgba(248, 244, 238, 0.92)); }

.home-v3-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(144, 73, 81, 0.08);
    font-size: 1.7rem;
    box-shadow: 0 12px 24px rgba(96, 74, 70, 0.06);
}

.home-v3-feature h3 {
    margin: 18px 0 8px;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: #503f3a;
}

.home-v3-feature p {
    margin: 0;
    color: #75635e;
    line-height: 1.78;
    font-size: 0.95rem;
}

.home-v3-preview-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 22px;
    margin-top: 28px;
}

.home-v3-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-v3-preview-card,
.home-v3-preview-side {
    border-radius: 30px;
    border: 1px solid rgba(144, 73, 81, 0.08);
    box-shadow: 0 22px 40px rgba(96, 74, 70, 0.08);
    overflow: hidden;
    position: relative;
}

.home-v3-preview-card {
    min-height: 238px;
    display: flex;
    align-items: end;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(71, 52, 52, 0.22)),
        radial-gradient(circle at 24% 18%, rgba(255,224,218,0.76), transparent 22%),
        linear-gradient(150deg, rgba(198,174,162,0.82), rgba(153,171,146,0.56));
}

.home-v3-preview-card > div {
    position: relative;
    z-index: 1;
}

.home-v3-preview-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(73,58,58,0.28));
}

.home-v3-preview-card h4 {
    margin: 0 0 6px;
    color: #fff9f7;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.home-v3-preview-card p,
.home-v3-preview-card span {
    margin: 0;
    color: rgba(255, 249, 247, 0.88);
    line-height: 1.68;
    font-size: 0.86rem;
}

.home-v3-preview-side {
    padding: 26px;
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(12px);
}

.home-v3-preview-side .label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(144, 73, 81, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.home-v3-preview-side h3 {
    margin: 18px 0 12px;
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.04em;
    color: #4d3e39;
}

.home-v3-preview-side p {
    margin: 0;
    color: #786661;
    line-height: 1.82;
    font-size: 0.95rem;
}

.home-v3-preview-side ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 12px;
}

.home-v3-preview-side li {
    display: flex;
    align-items: start;
    gap: 10px;
    color: #6c5b56;
    font-size: 0.9rem;
    line-height: 1.7;
}

.home-v3-preview-side li::before {
    content: "✦";
    color: #b27a82;
    margin-top: 1px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1220px) {
    .home-v3-main {
        width: min(1120px, calc(100% - 40px));
    }

    .home-v3-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 18px;
    }

    .home-v3-copy {
        max-width: 680px;
    }

}

@media (max-width: 920px) {
    .home-v3-title {
        font-size: clamp(2.95rem, 10vw, 4.3rem);
    }

    .home-v3-note {
        display: none;
    }

    .home-v3-preview-grid,
    .home-v3-preview-row {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {
    .home-v3-main {
        width: min(100%, calc(100% - 24px));
        padding-bottom: 72px;
    }

    .home-v3-hero {
        gap: 22px;
        padding: 12px 0 8px;
    }

    .home-v3-copy {
        padding-bottom: 4px;
    }

    .home-v3-desc {
        font-size: 0.96rem;
        line-height: 1.72;
        max-width: 100%;
    }

    .home-v3-title {
        margin-top: 16px;
        font-size: clamp(2.25rem, 10vw, 2.8rem);
        line-height: 1.04;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .home-v3-actions {
        flex-direction: column;
        margin-top: 20px;
    }

    .home-v3-actions .btn-round {
        width: 100%;
        min-height: 54px;
    }

}

.home-intro-entry-wrapper {
    margin-top: 20px;
    display: block;
}

.home-intro-entry {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(144, 73, 81, 0.35);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-intro-entry::after {
    content: "→";
    font-size: 0.88em;
    font-style: normal;
    transition: transform 0.2s ease;
}

.home-intro-entry:hover {
    text-decoration-color: var(--primary);
}

.home-intro-entry:hover::after {
    transform: translateX(4px);
}
