:root {
    --bg: #fffdf9;
    --surface: #ffffff;
    --surface-soft: #f7f3ea;
    --text: #20231f;
    --muted: #6d746c;
    --line: #e7e3d9;
    --primary: #2f6a45;
    --primary-dark: #214e33;
    --accent: #f2b45d;
    --accent-soft: #fff1d9;
    --danger-soft: #fff0ec;
    --shadow: 0 18px 50px rgba(43, 57, 47, 0.09);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 10px;
    background: #111;
    color: #fff;
}
.skip-link:focus { top: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(231, 227, 217, 0.9);
    background: rgba(255, 253, 249, 0.93);
    backdrop-filter: blur(16px);
}
.header-inner,
.footer-inner {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand,
.admin-brand a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand strong,
.admin-brand strong { display: block; font-size: 20px; line-height: 1.2; }
.brand small,
.admin-brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: 0.16em; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--primary);
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(47, 106, 69, 0.2);
}
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav a { color: #465047; font-weight: 700; font-size: 14px; }
.main-nav a:hover { color: var(--primary); }
.admin-link {
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.admin-link:hover { background: var(--surface-soft); color: var(--text); }

.hero-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(242, 180, 93, 0.24), transparent 30%),
        linear-gradient(135deg, #fffaf1 0%, #f7f3e8 52%, #e9f2e9 100%);
}
.hero-inner {
    width: min(calc(100% - 40px), var(--max-width));
    min-height: 620px;
    margin: 0 auto;
    padding: 76px 0;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 70px;
}
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
}
.hero-copy h1 {
    margin: 18px 0 22px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.18;
    letter-spacing: -0.045em;
}
.hero-copy > p { max-width: 650px; margin: 0; color: #566056; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 900;
    cursor: pointer;
}
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary { border-color: var(--line); background: #fff; }
.button-secondary:hover { border-color: #cfc8bb; background: var(--surface-soft); }
.development-notice {
    margin-top: 24px !important;
    padding: 11px 14px;
    display: inline-block;
    border: 1px solid #f0d4a8;
    border-radius: 12px;
    background: rgba(255, 247, 229, 0.86);
    color: #795624 !important;
    font-size: 13px !important;
}
.hero-visual { display: grid; place-items: center; }
.fruit-bowl {
    position: relative;
    width: min(430px, 92vw);
    aspect-ratio: 1 / 0.92;
    border-radius: 48% 48% 42% 42%;
    background: linear-gradient(145deg, #d9a765, #a96f38);
    box-shadow: 0 40px 80px rgba(82, 60, 33, 0.18), inset 0 -25px 40px rgba(82, 48, 22, 0.2);
}
.fruit-bowl::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -16px;
    height: 62%;
    border-radius: 20% 20% 50% 50%;
    background: linear-gradient(160deg, rgba(255,255,255,0.3), transparent 40%), linear-gradient(145deg, #e8b678, #b87b40);
    box-shadow: inset 0 -20px 30px rgba(84, 43, 13, 0.17);
}
.fruit { position: absolute; z-index: 2; display: block; border-radius: 50%; box-shadow: inset -12px -18px 25px rgba(55, 45, 18, 0.15), 0 15px 25px rgba(57, 52, 31, 0.13); }
.fruit-apple { width: 120px; height: 120px; left: 35px; top: 68px; background: radial-gradient(circle at 35% 25%, #ff8c73, #d94338 65%, #9b2926); }
.fruit-orange { width: 112px; height: 112px; right: 48px; top: 45px; background: radial-gradient(circle at 35% 25%, #ffd27c, #f29828 62%, #cf6c13); }
.fruit-pear { width: 126px; height: 126px; right: 108px; top: 160px; background: radial-gradient(circle at 38% 28%, #f8ef9c, #c6be50 70%, #8e8a32); }
.fruit-grape { width: 138px; height: 138px; left: 110px; top: 128px; background: radial-gradient(circle at 32% 25%, #b987bd, #6d3978 70%, #4a2555); }
.leaf { position: absolute; z-index: 3; width: 62px; height: 32px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #75a85e, #2f6a45); }
.leaf-one { left: 88px; top: 30px; transform: rotate(18deg); }
.leaf-two { right: 102px; top: 18px; transform: rotate(120deg); }

.section-block { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 100px 0; }
.section-muted { width: 100%; padding-left: max(20px, calc((100% - var(--max-width)) / 2)); padding-right: max(20px, calc((100% - var(--max-width)) / 2)); background: var(--surface-soft); }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading.align-left { margin: 0; text-align: left; }
.section-heading h2 { margin: 12px 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.26; letter-spacing: -0.035em; }
.section-heading p { margin: 0; color: var(--muted); }
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.occasion-card {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.occasion-card:hover { transform: translateY(-4px); border-color: #c8d7c9; box-shadow: var(--shadow); }
.occasion-card strong { font-size: 21px; }
.occasion-card span { margin-top: 6px; color: var(--muted); font-size: 14px; }
.product-grid { width: min(100%, var(--max-width)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(60, 66, 58, 0.05); }
.product-placeholder {
    aspect-ratio: 1 / 0.86;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 35%, rgba(255,255,255,.9), transparent 23%),
        linear-gradient(145deg, #f0d9aa, #d8bd80 45%, #8ca46c);
    color: rgba(255,255,255,.92);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: .08em;
}
.product-card-body { padding: 22px; }
.product-card h3 { margin: 0 0 8px; font-size: 20px; }
.product-card p { min-height: 48px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #805719;
    font-size: 12px;
    font-weight: 900;
}
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.place-list { display: grid; gap: 12px; }
.place-list div { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.place-list strong { font-size: 17px; }
.place-list span { color: var(--muted); font-size: 13px; text-align: right; }
.section-dark { width: 100%; max-width: none; padding-left: max(20px, calc((100% - var(--max-width)) / 2)); padding-right: max(20px, calc((100% - var(--max-width)) / 2)); background: #26352b; color: #fff; }
.light-heading .eyebrow { color: #f6c97e; }
.light-heading p { color: #c8d3cb; }
.guide-grid { width: min(100%, var(--max-width)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-grid article { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.055); }
.guide-grid strong { display: block; margin-bottom: 8px; font-size: 17px; }
.guide-grid span { color: #bdc9c0; font-size: 13px; }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { padding: 42px 0; display: flex; justify-content: space-between; gap: 30px; }
.footer-inner strong { font-size: 20px; }
.footer-inner p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.footer-note { text-align: right; }

.admin-body { min-height: 100vh; background: #f3f5f2; }
.admin-shell { min-height: 100vh; display: flex; }
.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: 252px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dfe4df;
    background: #fff;
}
.admin-brand { padding: 24px 22px; border-bottom: 1px solid #edf0ed; }
.admin-nav { padding: 16px 12px; display: grid; gap: 4px; }
.admin-nav a { padding: 11px 13px; border-radius: 11px; color: #59625a; font-size: 14px; font-weight: 800; }
.admin-nav a:hover { background: #f3f7f3; color: var(--primary); }
.admin-nav a.active { background: #e9f2ea; color: var(--primary); }
.admin-sidebar-footer { margin-top: auto; padding: 18px 22px; display: grid; gap: 7px; border-top: 1px solid #edf0ed; }
.admin-sidebar-footer a { color: var(--primary); font-weight: 900; font-size: 13px; }
.admin-sidebar-footer span { color: #909790; font-size: 12px; }
.admin-main { width: calc(100% - 252px); margin-left: 252px; }
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #dfe4df;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
}
.admin-topbar > div { display: grid; }
.admin-topbar strong { font-size: 17px; }
.admin-topbar span:not(.environment-badge) { color: var(--muted); font-size: 12px; }
.environment-badge { margin-left: auto; padding: 6px 10px; border-radius: 999px; background: var(--danger-soft); color: #994934; font-size: 12px; font-weight: 900; }
.menu-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.admin-content { padding: 34px; }
.admin-page-heading { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.admin-page-heading h1 { margin: 8px 0 7px; font-size: clamp(29px, 4vw, 42px); line-height: 1.22; letter-spacing: -0.04em; }
.admin-page-heading p { max-width: 760px; margin: 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric-grid article { padding: 22px; border: 1px solid #e1e5e0; border-radius: 17px; background: #fff; box-shadow: 0 10px 25px rgba(45, 59, 49, .04); }
.metric-grid span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.metric-grid strong { display: block; margin: 5px 0 2px; font-size: 34px; }
.metric-grid small { color: #959b95; }
.admin-section { margin-top: 24px; padding: 26px; border: 1px solid #e1e5e0; border-radius: 20px; background: #fff; }
.admin-section-heading { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.admin-section-heading h2 { margin: 0; font-size: 22px; }
.admin-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.module-card { padding: 20px; border: 1px solid #e4e8e3; border-radius: 16px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.module-card:hover { transform: translateY(-3px); border-color: #b8ccb9; background: #fbfdfb; }
.module-icon { width: 36px; height: 36px; display: inline-grid; place-items: center; margin-bottom: 14px; border-radius: 11px; color: #fff; background: var(--primary); font-weight: 900; }
.module-card strong { display: block; font-size: 17px; }
.module-card p { min-height: 66px; margin: 7px 0 12px; color: var(--muted); font-size: 13px; }
.module-link { color: var(--primary); font-size: 13px; font-weight: 900; }
.two-column-admin { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; border: 0; background: transparent; }
.admin-info-card { padding: 25px; border: 1px solid #e1e5e0; border-radius: 20px; background: #fff; }
.admin-info-card h2 { margin: 8px 0; font-size: 20px; }
.admin-info-card code { display: block; overflow-wrap: anywhere; padding: 10px 12px; border-radius: 10px; background: #f1f4f1; color: #36533e; }
.admin-info-card p { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.empty-state-panel { min-height: 420px; display: grid; place-items: center; align-content: center; padding: 50px 20px; border: 1px dashed #cfd6cf; border-radius: 22px; background: #fff; text-align: center; }
.empty-state-panel h2 { margin: 14px 0 7px; }
.empty-state-panel p { max-width: 650px; margin: 0 0 22px; color: var(--muted); }
.empty-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 20px; background: #e8f1e9; color: var(--primary); font-size: 25px; font-weight: 900; }

@media (max-width: 1000px) {
    .main-nav { display: none; }
    .header-inner { gap: 16px; }
    .admin-link { margin-left: auto; }
    .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 68px 0; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .fruit-bowl { width: min(340px, 82vw); }
    .product-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .split-layout { grid-template-columns: 1fr; gap: 35px; }
    .section-heading.align-left { text-align: center; margin: 0 auto; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .header-inner { width: min(calc(100% - 24px), var(--max-width)); min-height: 64px; }
    .brand strong { font-size: 17px; }
    .brand-mark { width: 38px; height: 38px; }
    .admin-link { padding: 7px 11px; }
    .hero-inner, .section-block { width: min(calc(100% - 28px), var(--max-width)); }
    .hero-copy h1 { font-size: 37px; }
    .hero-copy > p { font-size: 16px; }
    .hero-visual { display: none; }
    .section-block { padding: 72px 0; }
    .section-muted, .section-dark { width: 100%; padding-left: 14px; padding-right: 14px; }
    .occasion-grid, .product-grid, .guide-grid { grid-template-columns: 1fr; }
    .occasion-card { min-height: 118px; }
    .place-list div { align-items: flex-start; flex-direction: column; gap: 5px; }
    .place-list span { text-align: left; }
    .footer-inner { padding: 32px 0; flex-direction: column; }
    .footer-note { text-align: left; }

    .admin-sidebar { transform: translateX(-102%); transition: transform .2s ease; box-shadow: 15px 0 40px rgba(37, 50, 40, .18); }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-main { width: 100%; margin-left: 0; }
    .menu-toggle { display: inline-grid; place-items: center; }
    .admin-topbar { padding: 0 14px; }
    .admin-content { padding: 22px 14px; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .metric-grid, .module-grid, .two-column-admin { grid-template-columns: 1fr; }
    .module-card p { min-height: auto; }
}
