/* =============================================
   단어한입 — Refined Premium Design
============================================= */

:root {
    --brown:      #4a3728;
    --brown-mid:  #6d4c3d;
    --gold:       #c9944a;
    --gold-light: #e8c98a;
    --cream:      #faf7f2;
    --cream-dark: #f2ede4;
    --white:      #ffffff;
    --gray-1:     #f8f6f2;
    --gray-2:     #ede9e2;
    --gray-3:     #b8aea4;
    --gray-4:     #7a6e68;
    --text:       #2a2018;
    --kakao-bg:   #96b8d0;
    --radius-sm:  10px;
    --radius-md:  18px;
    --radius-lg:  28px;
    --shadow-sm:  0 2px 12px rgba(74,55,40,.07);
    --shadow-md:  0 8px 32px rgba(74,55,40,.10);
    --shadow-lg:  0 20px 60px rgba(74,55,40,.14);
    --transition: all .28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    word-break: keep-all;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* =============================================
   Navbar
============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    transition: var(--transition);
}
.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}
.navbar.scrolled .nav-inner {
    padding: 12px 24px;
    background: rgba(250,247,242,.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-2);
    box-shadow: var(--shadow-sm);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--brown);
}
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-4);
    padding: 7px 13px;
    border-radius: 50px;
    transition: var(--transition);
}
.nav-link:hover { color: var(--brown); background: var(--cream-dark); }
.nav-cta {
    font-size: .85rem;
    font-weight: 700;
    color: var(--white);
    background: var(--brown);
    padding: 9px 22px;
    border-radius: 50px;
    margin-left: 8px;
    transition: var(--transition);
    letter-spacing: .02em;
}
.nav-cta:hover { background: var(--brown-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(74,55,40,.25); }
.nav-lang-toggle {
    font-size: .78rem;
    font-weight: 700;
    color: var(--gray-4);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-2);
    transition: var(--transition);
    letter-spacing: .03em;
}
.nav-lang-toggle:hover { color: var(--brown); border-color: var(--gold-light); background: rgba(201,148,74,.06); }
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 950;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--brown);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42,32,24,.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity .35s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }
.nav-menu-mobile {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(280px, 80vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 40px;
    gap: 4px;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -8px 0 40px rgba(74,55,40,.15);
    will-change: transform;
}
.nav-menu-mobile.open { transform: translateX(0); }
.nav-menu-mobile .nav-link { font-size: .95rem; padding: 10px 4px; width: 100%; display: block; }
.nav-menu-mobile .nav-cta { margin: 12px 0 0; width: 100%; text-align: center; padding: 12px; font-size: .9rem; display: block; }

/* =============================================
   Hero
============================================= */
.hero {
    position: relative;
    padding: 130px 24px 80px;
    text-align: center;
    overflow: hidden;
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    contain: strict;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,148,74,.18) 0%, transparent 70%);
    top: -100px; left: -150px;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(74,55,40,.1) 0%, transparent 70%);
    bottom: -100px; right: -100px;
}
.hero-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    background-size: 256px;
    pointer-events: none;
    z-index: 0;
    opacity: .4;
}
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}
.hero-text-group {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,148,74,.1);
    border: 1px solid rgba(201,148,74,.25);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: .6; }
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--brown);
    line-height: 1.25;
    margin-bottom: 1.4rem;
    letter-spacing: -.02em;
}
.hero-title em {
    font-style: normal;
    color: var(--gold);
    position: relative;
}
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underlineGrow 1s .5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes underlineGrow { to { transform: scaleX(1); } }
.hero-sub {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: var(--gray-4);
    margin-bottom: 2.4rem;
    line-height: 1.8;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--brown);
    padding: 16px 36px;
    border-radius: 50px;
    transition: var(--transition);
    margin-bottom: 48px;
    box-shadow: 0 6px 24px rgba(74,55,40,.25), inset 0 1px 0 rgba(255,255,255,.1);
    letter-spacing: .01em;
}
.hero-btn:hover { background: var(--brown-mid); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(74,55,40,.3); }
.hero-btn svg { transition: transform .2s; }
.hero-btn:hover svg { transform: translateX(4px); }

/* =============================================
   Floating Words & Badges
============================================= */
.float-word, .float-badge {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    will-change: transform;
}
.float-word {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px 16px;
    min-width: 96px;
    border: 1px solid var(--gray-2);
}
.float-word .fw-lang { font-size: .58rem; font-weight: 700; color: var(--gold); margin-bottom: 2px; letter-spacing: .04em; }
.float-word .fw-text { font-size: .88rem; font-weight: 800; color: var(--brown); line-height: 1.1; }
.float-word .fw-meaning { font-size: .66rem; color: var(--gray-3); margin-top: 2px; }
.float-badge {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--brown);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}
@keyframes floatA {
    0%   { transform: translateY(0)     rotate(0deg); }
    33%  { transform: translateY(-11px) rotate(.8deg); }
    66%  { transform: translateY(8px)   rotate(-.6deg); }
    100% { transform: translateY(0)     rotate(0deg); }
}
@keyframes floatB {
    0%   { transform: translateY(0)    rotate(0deg); }
    33%  { transform: translateY(12px) rotate(-.8deg); }
    66%  { transform: translateY(-8px) rotate(.6deg); }
    100% { transform: translateY(0)    rotate(0deg); }
}
.fw-1  { top: 10%; left: 2.5%;  animation: floatA 6s   ease-in-out infinite; }
.fw-2  { top: 36%; left: 4.5%;  animation: floatB 8.2s ease-in-out infinite; }
.fw-3  { top: 62%; left: 2%;    animation: floatA 7.5s ease-in-out infinite; }
.fw-7  { top: 24%; left: 10%;   animation: floatB 5.8s ease-in-out infinite; }
.fw-8  { top: 52%; left: 11%;   animation: floatA 9.2s ease-in-out infinite; }
.fw-9  { top: 81%; left: 5%;    animation: floatB 6.8s ease-in-out infinite; }
.fb-1  { top: 17%; left: 3.5%;  animation: floatA 5.2s ease-in-out infinite; }
.fb-2  { top: 45%; left: 8%;    animation: floatB 7.4s ease-in-out infinite; }
.fb-5  { top: 73%; left: 10%;   animation: floatA 6.4s ease-in-out infinite; }
.fb-6  { top: 89%; left: 2.5%;  animation: floatB 8.8s ease-in-out infinite; }
.fw-4  { top: 11%; right: 2.5%; animation: floatB 7.8s ease-in-out infinite; }
.fw-5  { top: 37%; right: 4.5%; animation: floatA 6.4s ease-in-out infinite; }
.fw-6  { top: 64%; right: 2%;   animation: floatB 8.5s ease-in-out infinite; }
.fw-10 { top: 26%; right: 10%;  animation: floatA 5.9s ease-in-out infinite; }
.fw-11 { top: 53%; right: 11%;  animation: floatB 7.6s ease-in-out infinite; }
.fw-12 { top: 82%; right: 6%;   animation: floatA 9.8s ease-in-out infinite; }
.fb-3  { top: 19%; right: 3.5%; animation: floatB 6.6s ease-in-out infinite; }
.fb-4  { top: 47%; right: 7.5%; animation: floatA 8.2s ease-in-out infinite; }
.fb-7  { top: 75%; right: 11%;  animation: floatB 5.4s ease-in-out infinite; }
.fb-8  { top: 91%; right: 3%;   animation: floatA 7.2s ease-in-out infinite; }

/* =============================================
   카카오 프리뷰 래퍼
============================================= */
.kakao-preview-wrap { width: 100%; margin: 0 auto; }

/* =============================================
   PC 전용: 3열 나란히 (>900px)
============================================= */
.kp-desktop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}
.kp-desktop-col { display: flex; flex-direction: column; gap: 10px; }
.kp-desktop-label { text-align: center; }
.kp-desktop-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: .02em;
}
.kp-desktop-badge.word   { background: rgba(59,130,246,.1);  color: #3b82f6;  border: 1px solid rgba(59,130,246,.2); }
.kp-desktop-badge.review { background: rgba(99,102,241,.1);  color: #6366f1;  border: 1px solid rgba(99,102,241,.2); }
.kp-desktop-badge.quiz   { background: rgba(16,185,129,.1);  color: #10b981;  border: 1px solid rgba(16,185,129,.2); }
.kp-mobile-flip { display: none; }

/* =============================================
   모바일 전용: 탭 + 3D 카드 플립 (≤900px)
============================================= */
.kp-tabs {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 14px;
}
.kp-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-2);
    background: var(--white);
    color: var(--gray-4);
    font-size: .72rem;
    font-weight: 700;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: border-color .22s, color .22s, background .22s, box-shadow .22s;
    white-space: nowrap;
}
.kp-tab:hover { border-color: var(--gold-light); color: var(--brown); background: rgba(201,148,74,.06); }
.kp-tab.active { border-color: var(--gold); background: var(--gold); color: var(--white); box-shadow: 0 4px 14px rgba(201,148,74,.30); }
.kp-tab-icon  { font-size: .8rem; line-height: 1; }
.kp-tab-label { letter-spacing: -.01em; }
.kp-scene { perspective: 1000px; max-width: 360px; margin: 0 auto; }
.kp-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .44s cubic-bezier(.4, 0, .2, 1);
}
.kp-card.flipping { will-change: transform; transform: rotateY(180deg); }
.kp-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.kp-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.kp-back-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.kp-back-logo { font-size: 1.3rem; font-weight: 900; color: var(--gold-light); letter-spacing: .04em; }
.kp-back-dots { display: flex; gap: 8px; }
.kp-back-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    animation: kpDotPulse 1.2s ease-in-out infinite;
}
.kp-back-dots span:nth-child(2) { animation-delay: .2s; }
.kp-back-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes kpDotPulse {
    0%,100% { opacity: .3; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
    .kp-card, .kp-card.flipping { transition: none; transform: none !important; }
    .kp-back { display: none; }
}

/* =============================================
   반응형 분기점: 900px
============================================= */
@media (max-width: 900px) {
    .kp-desktop-grid { display: none; }
    .kp-mobile-flip  { display: block; max-width: 360px; margin: 0 auto; }
    .hero-content    { max-width: 700px; }
    .hero-text-group { max-width: 100%; }
}
@media (min-width: 901px) {
    .kp-desktop-grid .kakao-body { max-height: 340px; }
    .kp-desktop-grid .kakao-window { display: flex; flex-direction: column; }
    .kp-desktop-grid .kakao-body  { flex: 1; }
}

/* =============================================
   KakaoTalk 공통 UI
============================================= */
.kakao-window {
    background: var(--kakao-bg);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(74,55,40,.18), 0 0 0 1px rgba(255,255,255,.3);
}
.kakao-bar {
    background: rgba(0,0,0,.15);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.kakao-bar-dots { display: flex; gap: 5px; }
.kakao-bar-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.kakao-bar-title { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.8); }
.kakao-head { background: rgba(0,0,0,.08); padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.kakao-avatar {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: #FEE500;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kakao-avatar img { width: 100%; height: 100%; object-fit: cover; }
.kakao-name { color: #fff; font-weight: 700; font-size: .82rem; line-height: 1.2; }
.kakao-sub  { color: rgba(255,255,255,.6); font-size: .65rem; }
.kakao-body { padding: 16px 12px 0; max-height: 420px; overflow: hidden; position: relative; }
.kakao-date {
    text-align: center;
    margin-bottom: 12px;
    font-size: .65rem;
    color: rgba(255,255,255,.7);
    background: rgba(0,0,0,.14);
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
}
.kakao-row { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 6px; }
.kakao-av2 {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: #FEE500;
    overflow: hidden;
    flex-shrink: 0;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kakao-av2 img { width: 100%; height: 100%; object-fit: cover; }
.kakao-bubble {
    background: #fff;
    border-radius: 3px 14px 14px 14px;
    padding: 11px 13px;
    font-size: .75rem;
    color: #1a1a1a;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    max-width: 86%;
    text-align: left;
}
.kakao-bubble.mine { background: #FEE500; border-radius: 14px 3px 14px 14px; }
.kakao-row.mine { flex-direction: row-reverse; }
.kakao-time { font-size: .6rem; color: rgba(255,255,255,.6); align-self: flex-end; flex-shrink: 0; padding-bottom: 2px; }
.kakao-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--kakao-bg));
    pointer-events: none;
}
.kakao-input { background: rgba(0,0,0,.1); padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.ki-fake { flex: 1; background: #fff; border-radius: 18px; padding: 7px 13px; font-size: .73rem; color: #bbb; }
.ki-send { width: 30px; height: 30px; background: #FEE500; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #333; font-size: .75rem; }

/* ── 말풍선 내 공통 요소 ── */
.kb-section-label { font-size: .72rem; font-weight: 800; color: #3b82f6; margin-bottom: 7px; display: block; }
.kb-greeting { font-weight: 700; color: #3b82f6; margin-bottom: 5px; font-size: .78rem; }
.kb-sub      { font-size: .7rem; color: #666; margin-bottom: 8px; }
.kb-footer   { font-size: .68rem; color: #888; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #eee; line-height: 1.6; }
.kb-word { background: #f8f5f0; border-radius: 9px; padding: 9px 11px; border-left: 3px solid var(--gold); font-size: .72rem; }
.kb-word-top { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.kb-en   { font-weight: 800; font-size: .84rem; color: #1a1a1a; }
.kb-pr   { font-size: .64rem; color: #aaa; }
.kb-ko   { font-size: .7rem; color: var(--brown); font-weight: 600; }
.kb-ex   { font-size: .67rem; color: #555; margin-top: 5px; padding-top: 5px; border-top: 1px solid #eee; line-height: 1.55; }
.kb-ex-pr { font-size: .63rem; color: #aaa; display: block; }
.kb-collo { font-size: .65rem; color: #888; margin-top: 4px; line-height: 1.5; }
.kb-review-item { background: #f8f5f0; border-radius: 9px; padding: 8px 10px; margin-bottom: 7px; border-left: 3px solid #6366f1; font-size: .7rem; }
.kb-review-badge { display: inline-block; font-size: .65rem; font-weight: 800; color: #6366f1; margin-bottom: 5px; letter-spacing: .02em; }
.kb-review-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; font-size: .7rem; }
.kb-review-key { font-weight: 700; color: var(--gray-4); flex-shrink: 0; min-width: 26px; font-size: .65rem; }
.kb-review-val { color: #1a1a1a; }
.kb-blank { display: inline-block; background: #ffe4b5; border-radius: 4px; padding: 0 6px; font-weight: 800; color: var(--gold); letter-spacing: .1em; font-size: .72rem; }
.kb-quiz-item { background: #f8f5f0; border-radius: 9px; padding: 9px 11px; margin-bottom: 7px; border-left: 3px solid #10b981; font-size: .7rem; }
.kb-quiz-word { font-weight: 800; color: #1a1a1a; font-size: .78rem; margin-bottom: 6px; }
.kb-quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; margin-bottom: 6px; }
.kb-opt { font-size: .66rem; color: #444; line-height: 1.4; white-space: nowrap; }
.kb-quiz-ans { font-size: .67rem; color: #10b981; font-weight: 700; padding-top: 5px; border-top: 1px solid #eee; }
.kb-quiz-ans strong { color: #10b981; }

/* =============================================
   Stats Bar
============================================= */
.stats-bar { background: var(--brown); padding: 0; overflow: hidden; }
.stats-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; }
.stat-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 16px; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.stat-item.visible { opacity: 1; transform: translateY(0); }
.stat-num   { font-size: 1.7rem; font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: .06em; }
.stat-div   { width: 1px; background: rgba(255,255,255,.12); margin: 16px 0; }

/* =============================================
   Shared Section Styles
============================================= */
.sec-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.sec-title   { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 900; color: var(--brown); line-height: 1.3; letter-spacing: -.015em; }
.sec-line    { width: 40px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 20px auto 0; }

/* =============================================
   Features
============================================= */
.features-sec { padding: 96px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--radius-lg); padding: 32px 28px; transition: var(--transition); opacity: 0; transform: translateY(20px); }
.feat-card.visible { opacity: 1; transform: translateY(0); }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.feat-icon { font-size: 1.8rem; margin-bottom: 18px; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--brown); margin-bottom: 10px; }
.feat-card p  { font-size: .85rem; color: var(--gray-4); line-height: 1.75; }

/* =============================================
   Pricing
============================================= */
.pricing-sec { padding: 96px 0; background: var(--cream-dark); }
.pricing-grid   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); max-width: 1100px; gap: 20px; }
.price-card { background: var(--white); border: 1.5px solid var(--gray-2); border-radius: var(--radius-lg); padding: 36px 28px; position: relative; transition: var(--transition); opacity: 0; transform: translateY(20px); }
.price-card.visible { opacity: 1; transform: translateY(0); }
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured { border-color: var(--gold); box-shadow: 0 8px 32px rgba(201,148,74,.15); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white); font-size: .72rem; font-weight: 800; padding: 5px 20px; border-radius: 50px; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 4px 12px rgba(201,148,74,.3); }
.price-header h3  { font-size: 1.1rem; font-weight: 700; color: var(--brown); margin-bottom: 6px; }
.price-desc       { font-size: .75rem; color: var(--gray-3); line-height: 1.5; }
.price-body       { margin: 20px 0; }
.price-orig       { font-size: .8rem; color: var(--gray-3); text-decoration: line-through; margin-bottom: 4px; }
.price-val        { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.price-tag        { font-size: .68rem; font-weight: 800; color: var(--gold); background: rgba(201,148,74,.1); padding: 3px 9px; border-radius: 20px; letter-spacing: .04em; }
.price-tag.muted  { color: var(--gray-3); background: var(--gray-1); }
.price-num        { font-size: 2rem; font-weight: 900; color: var(--brown); line-height: 1; }
.price-num.muted  { color: var(--gray-4); }
.price-num small  { font-size: .9rem; font-weight: 600; }
.price-list       { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.price-list li    { display: flex; align-items: center; gap: 10px; font-size: .83rem; color: var(--text); }
.price-list li .bi-check2  { color: var(--gold); font-size: 1rem; font-weight: 900; flex-shrink: 0; }
.price-list li.disabled    { color: var(--gray-3); }
.price-list li.disabled .bi-x { color: var(--gray-3); font-size: 1rem; flex-shrink: 0; }
.price-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 13px; border-radius: var(--radius-md); font-size: .85rem; font-weight: 700; transition: var(--transition); border: 1.5px solid var(--gray-2); color: var(--gray-4); background: var(--white); letter-spacing: .01em; }
.price-btn.featured { background: var(--brown); color: var(--white); border-color: var(--brown); box-shadow: 0 4px 16px rgba(74,55,40,.2); }
.price-btn.featured:hover { background: var(--brown-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(74,55,40,.28); }
.price-btn:not(.featured):hover { border-color: var(--brown); color: var(--brown); background: var(--cream); }

/* =============================================
   Guide
============================================= */
.guide-sec { padding: 96px 0; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card { background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); opacity: 0; transform: translateY(20px); }
.guide-card.visible { opacity: 1; transform: translateY(0); }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guide-visual { background: var(--kakao-bg); padding: 22px 18px; min-height: 190px; display: flex; flex-direction: column; gap: 9px; position: relative; overflow: hidden; }
.guide-visual::before { content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -35px; right: -25px; }
.guide-visual.dark { background: linear-gradient(145deg, #18182e 0%, #2a2a4a 100%); }
.gv-bubble { display: flex; align-items: flex-start; gap: 7px; max-width: 93%; position: relative; z-index: 1; }
.gv-bubble.mine { flex-direction: row-reverse; align-self: flex-end; max-width: 80%; }
.gv-av { width: 24px; height: 24px; border-radius: 6px; background: #FEE500; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.gv-av img { width: 100%; height: 100%; object-fit: cover; }
.gv-body { background: #fff; border-radius: 3px 11px 11px 11px; padding: 8px 11px; font-size: .68rem; line-height: 1.55; color: #222; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.gv-body strong { color: var(--brown); }
.gv-bubble.mine .gv-body { background: #FEE500; border-radius: 11px 3px 11px 11px; }
.noti-time  { font-size: .58rem; color: rgba(255,255,255,.5); font-weight: 600; margin-bottom: 10px; position: relative; z-index: 1; }
.noti-card  { background: rgba(255,255,255,.14); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 12px 13px; display: flex; gap: 10px; align-items: center; position: relative; z-index: 1; animation: slideDown .8s cubic-bezier(.16,1,.3,1) both; }
@keyframes slideDown { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.noti-icon  { width: 34px; height: 34px; background: #FEE500; border-radius: 8px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.noti-icon img { width: 100%; height: 100%; object-fit: cover; }
.noti-app   { font-size: .57rem; color: rgba(255,255,255,.5); font-weight: 600; letter-spacing: .3px; }
.noti-title { font-size: .76rem; font-weight: 700; color: #fff; line-height: 1.25; }
.noti-body  { font-size: .67rem; color: rgba(255,255,255,.8); }
.guide-text { padding: 22px 24px 26px; }
.guide-step { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .14em; color: var(--gold); background: rgba(201,148,74,.1); border-radius: 20px; padding: 3px 10px; margin-bottom: 10px; text-transform: uppercase; }
.guide-text h3 { font-size: 1rem; font-weight: 700; color: var(--brown); margin-bottom: 7px; }
.guide-text p  { font-size: .82rem; color: var(--gray-4); line-height: 1.7; margin: 0; }

/* =============================================
   Docs
============================================= */
.docs-sec { padding: 96px 0; background: var(--cream-dark); }
.docs-wrap { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.doc-item { background: var(--white); border: 1px solid var(--gray-2); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.doc-item:hover { border-color: var(--gold-light); }
.doc-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--brown); user-select: none; transition: var(--transition); }
.doc-q:hover { background: var(--cream); }
.doc-icon { font-size: 1.1rem; color: var(--gold); transition: transform .3s; }
.doc-item.open .doc-icon { transform: rotate(45deg); }
.doc-a { font-size: .84rem; color: var(--gray-4); line-height: 1.75; padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s; }
.doc-a a { color: var(--gold); font-weight: 600; margin-left: 6px; transition: color .2s; }
.doc-a a:hover { color: var(--brown); }
.doc-item.open .doc-a { max-height: 200px; padding: 4px 22px 20px; }

/* =============================================
   Footer
============================================= */
.footer { background: var(--brown); padding: 56px 0; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-logo  { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-left p { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: 3px; }
.footer-copy   { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: 10px !important; }
.footer-right  { display: flex; gap: 14px; padding-top: 4px; }
.footer-sns { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: 1.1rem; transition: var(--transition); }
.footer-sns:hover { background: rgba(255,255,255,.2); color: var(--white); transform: translateY(-2px); }
.biz-info { margin: 18px 0; line-height: 1.8; }
.biz-info p { font-size: 13px; color: rgba(255,255,255,.5); margin: 2px 0; }
.biz-info p strong { color: rgba(255,255,255,.8); font-weight: 500; }
.footer-copy { margin-top: 20px !important; font-size: 12px; color: rgba(255,255,255,.3); }

/* =============================================
   Responsive — Tablet (1024px)
============================================= */
@media (max-width: 1024px) {
    .features-grid  { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 700px; }

    /* fw-11(Glück)이 하단 콘텐츠와 겹치지 않도록 위로 이동 */
    .fw-11 { top: 18%; right: 11%; }
}

/* =============================================
   Responsive — Mobile (768px)
============================================= */
@media (max-width: 768px) {
    .nav-toggle      { display: flex; }
    .nav-menu-desktop { display: none; }
    .nav-menu-mobile  { display: flex; }
    .nav-overlay      { display: block; }

    .hero { padding: 110px 20px 60px; min-height: auto; }
    .hero-btn { padding: 14px 28px; font-size: .9rem; margin-bottom: 36px; }

    .kp-mobile-flip { max-width: 100%; }
    .kp-tabs { gap: 5px; }
    .kp-tab  { padding: 7px 10px; font-size: .68rem; flex: 1; justify-content: center; }

    /* 모바일에서 숨길 float 요소 (fw-11 Glück 포함) */
    .fw-3,.fw-7,.fw-8,.fw-9,.fw-10,.fw-12,
    .fb-2,.fb-4,.fb-5,.fb-6,.fb-7,.fb-8 { display: none; }

    .float-word  { padding: 7px 12px; min-width: 78px; }
    .float-badge { padding: 5px 11px; font-size: .62rem; }
    .fw-1 { top: 7%;  left: 2%; }
    .fw-2 { top: 48%; left: 2%; }
    .fb-1 { top: 16%; left: 7%; }
    .fw-4 { top: 7%;  right: 2%; }
    .fw-5 { top: 48%; right: 2%; }
    .fb-3 { top: 16%; right: 7%; }

    /* Glück 이스터에그 — 텍스트 영역 위쪽, 우측 */
    .fw-11 { top: 31%; right: 2%; left: auto; }


    .stats-inner { flex-wrap: wrap; }
    .stat-item   { flex: 1 1 calc(50% - 1px); }
    .stat-div:nth-child(4) { display: none; }

    .features-grid { grid-template-columns: 1fr; }
    .feat-card     { padding: 24px 22px; }

    .pricing-grid   { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-grid-4 { grid-template-columns: 1fr; max-width: 400px; }
    .price-card     { padding: 36px 28px; }

    .guide-grid { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .biz-info p   { font-size: 12px; line-height: 1.6; }

    .features-sec, .pricing-sec, .guide-sec, .docs-sec { padding: 64px 0; }

    .kakao-body { max-height: 380px; }
}

/* =============================================
   Responsive — Small (480px)
============================================= */
@media (max-width: 480px) {
    .fb-1, .fb-3 { display: none; }
    .hero { padding: 100px 16px 50px; }
    .price-card     { padding: 32px 22px; }
    .pricing-grid   { max-width: 100%; }
    .pricing-grid-4 { max-width: 100%; }
    .stat-num       { font-size: 1.3rem; }
    .kp-tab-label   { display: none; }
    .kp-tab         { padding: 8px 14px; flex: none; }
    .kp-tabs        { justify-content: center; }
}