/* ===== 햇살 과일 가게 페이지 — 햇살·차양·나무 간판 테마 ===== */
:root {
    --bb-sky: #FFF6D2;
    --bb-sun: #FFE07A;
    --bb-cream: #FFFBF0;
    --bb-wood: #E9C08A;
    --bb-wood-dark: #8A5A2B;
    --bb-brown: #4B2E1A;
    --bb-brown-2: #6E5140;
    --bb-red: #E8504A;
    --bb-red-deep: #C93A35;
    --bb-orange: #FF9F2E;
    --bb-leaf: #6DB04A;
    --bb-leaf-soft: #E5F3D6;
    --bb-line: #F0D9A8;
    --bb-shadow: 0 18px 44px rgba(138, 90, 43, 0.2);
    --bb-wrap: 1080px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--bb-brown);
    background: linear-gradient(180deg, var(--bb-sky) 0%, #FFFBEA 40%, var(--bb-leaf-soft) 100%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid var(--bb-red-deep);
    outline-offset: 4px;
}

.bb-wrap {
    max-width: var(--bb-wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header with awning */
.bb-header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.bb-awning {
    height: 22px;
    background: repeating-linear-gradient(90deg, var(--bb-red) 0 44px, var(--bb-cream) 44px 88px);
    -webkit-mask: radial-gradient(circle at 22px 0, #000 22px, transparent 22.5px) 0 0 / 44px 22px repeat-x;
    mask: radial-gradient(circle at 22px 0, #000 22px, transparent 22.5px) 0 0 / 44px 22px repeat-x;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    filter: drop-shadow(0 4px 4px rgba(138, 90, 43, 0.15));
    pointer-events: none;
}

.bb-header-inner {
    position: relative;
    max-width: none;
    padding: 12px max(24px, calc((100% - var(--bb-wrap)) / 2 + 24px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: repeating-linear-gradient(90deg, var(--bb-red) 0 44px, var(--bb-cream) 44px 88px);
}

.bb-back,
.bb-header-app {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 251, 240, 0.94);
    box-shadow: 0 2px 8px rgba(138, 90, 43, 0.18);
}

.bb-back {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--bb-brown-2);
}

.bb-back:hover {
    color: var(--bb-brown);
}

.bb-header-app {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Jua", sans-serif;
    font-size: 1.1rem;
}

.bb-header-app img {
    width: 26px;
    height: 26px;
    border-radius: 8px;
}

/* Hero */
.bb-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 48px;
}

.bb-sun {
    position: absolute;
    top: -120px;
    left: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF7C2 0 30%, rgba(255, 224, 122, 0.55) 45%, transparent 70%);
    pointer-events: none;
}

.bb-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.bb-chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--bb-leaf);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 700;
}

.bb-sign {
    display: inline-block;
    margin: 18px 0 18px;
    padding: 18px 34px 22px;
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-size: clamp(2.8rem, 6.5vw, 4.6rem);
    line-height: 1.12;
    color: var(--bb-brown);
    background:
        repeating-linear-gradient(0deg, rgba(138, 90, 43, 0.07) 0 3px, transparent 3px 14px),
        linear-gradient(180deg, #F6D8A8, var(--bb-wood));
    border: 5px solid var(--bb-wood-dark);
    border-radius: 36px;
    box-shadow: 0 8px 0 var(--bb-wood-dark), var(--bb-shadow);
    transform: rotate(-2deg);
}

.bb-tagline {
    font-family: "Jua", sans-serif;
    font-size: clamp(1.35rem, 2.8vw, 1.8rem);
    line-height: 1.4;
    color: var(--bb-red-deep);
    margin: 10px 0 14px;
}

.bb-lead {
    color: var(--bb-brown-2);
    max-width: 30em;
    margin-bottom: 26px;
}

/* 출시 준비 중 */
.bb-launch {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px 14px 20px;
    border-radius: 22px;
    background: var(--bb-red);
    color: #FFFFFF;
    box-shadow: 0 6px 0 var(--bb-red-deep), 0 14px 30px rgba(232, 80, 74, 0.35);
}

.bb-launch-dot {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FFF3B0;
}

.bb-launch-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #FFF3B0;
    animation: bb-pulse 1.6s ease-out infinite;
}

.bb-launch-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.bb-launch-text strong {
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
}

.bb-launch-text span {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.92;
}

.bb-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.bb-hero-visual::before {
    content: '';
    position: absolute;
    inset: 4% 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 40% 35%, rgba(255, 224, 122, 0.7), transparent 60%),
        radial-gradient(circle at 70% 75%, rgba(109, 176, 74, 0.35), transparent 60%);
    filter: blur(18px);
}

.bb-sticker {
    position: absolute;
    top: -14px;
    right: 6%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bb-orange);
    border: 4px solid #FFFFFF;
    color: #FFFFFF;
    font-family: "Jua", sans-serif;
    font-size: 1.35rem;
    line-height: 1.15;
    text-align: center;
    transform: rotate(12deg);
    box-shadow: 0 10px 26px rgba(255, 159, 46, 0.45);
}

/* Phone frame */
.bb-phone {
    position: relative;
    width: 100%;
    max-width: 300px;
    border: 6px solid var(--bb-wood-dark);
    border-radius: 34px;
    overflow: hidden;
    background: var(--bb-cream);
    box-shadow: var(--bb-shadow);
}

.bb-phone img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.bb-phone-hero {
    transform: rotate(3deg);
}

/* Banner */
.bb-banner {
    padding: 24px 0 32px;
}

.bb-banner img {
    width: 100%;
    border-radius: 32px;
    border: 5px solid var(--bb-wood-dark);
    box-shadow: var(--bb-shadow);
}

/* Numbers */
.bb-numbers {
    padding: 16px 0 40px;
}

.bb-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bb-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 24px;
    background: var(--bb-cream);
    border: 3px solid var(--bb-line);
    box-shadow: 0 5px 0 var(--bb-line);
}

.bb-number strong {
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-size: 3rem;
    line-height: 1.1;
    color: var(--bb-red-deep);
}

.bb-number span {
    margin-top: 6px;
    color: var(--bb-brown-2);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Features */
.bb-features {
    padding: 40px 0 24px;
}

.bb-feature {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 72px;
    align-items: center;
    max-width: 880px;
    margin: 0 auto 96px;
}

.bb-feature:nth-child(even) {
    grid-template-columns: 1fr 300px;
}

.bb-feature:nth-child(even) .bb-phone {
    order: 2;
    transform: rotate(2deg);
}

.bb-feature:nth-child(odd) .bb-phone {
    transform: rotate(-2deg);
}

.bb-feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bb-cream);
    border: 3px solid var(--bb-line);
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.bb-feature h2 {
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.3;
    margin-bottom: 18px;
}

.bb-feature h2 em {
    font-style: normal;
    color: var(--bb-red-deep);
}

.bb-feature p {
    color: var(--bb-brown-2);
    font-size: 1.05rem;
    max-width: 26em;
}

/* CTA */
.bb-cta {
    padding: 0 0 80px;
}

.bb-cta-card {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 880px;
    padding: 36px 40px;
    border-radius: 32px;
    background:
        repeating-linear-gradient(0deg, rgba(138, 90, 43, 0.06) 0 3px, transparent 3px 14px),
        linear-gradient(180deg, #F6D8A8, var(--bb-wood));
    border: 5px solid var(--bb-wood-dark);
    box-shadow: 0 8px 0 var(--bb-wood-dark);
}

.bb-cta-icon {
    width: 120px;
    flex-shrink: 0;
    border-radius: 28px;
    border: 4px solid #FFFFFF;
    box-shadow: 0 8px 20px rgba(138, 90, 43, 0.25);
}

.bb-cta h2 {
    font-family: "Jua", sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 6px;
}

.bb-cta p {
    color: var(--bb-brown);
}

.bb-cta strong {
    color: var(--bb-red-deep);
}

/* Footer */
.bb-footer {
    border-top: 1px solid var(--bb-line);
    padding: 28px 0;
    color: var(--bb-brown-2);
    font-size: 0.9rem;
}

.bb-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bb-footer-brand {
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--bb-brown);
}

@keyframes bb-pulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(2.6); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .bb-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bb-header-inner {
        padding: 10px 16px;
    }

    .bb-header-app {
        font-size: 1rem;
    }

    .bb-hero {
        padding: 56px 0 32px;
    }

    .bb-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .bb-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .bb-phone {
        max-width: 240px;
    }

    .bb-sticker {
        right: 4%;
        width: 88px;
        height: 88px;
        font-size: 1.1rem;
    }

    .bb-banner img {
        border-radius: 20px;
        border-width: 4px;
    }

    .bb-numbers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bb-number {
        flex-direction: row;
        gap: 16px;
        text-align: left;
        padding: 16px 20px;
    }

    .bb-number strong {
        font-size: 2.4rem;
        min-width: 2.4ch;
    }

    .bb-feature,
    .bb-feature:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 64px;
        text-align: center;
        justify-items: center;
    }

    .bb-feature:nth-child(even) .bb-phone {
        order: 0;
    }

    .bb-feature p {
        margin: 0 auto;
    }

    .bb-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }

    .bb-cta-icon {
        width: 96px;
    }

    .bb-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .bb-launch-dot::after {
        animation: none;
    }
}
