@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Noto+Sans+KR:wght@300;400;600;700&display=swap');

:root {
    --ivory: #FFFCF7;
    --linen: #F5F1EA;
    --warm-beige: #F0EBE3;
    --taupe: #D4C9BA;
    --clay: #A89080;
    --charcoal: #3A3530;
    --deep: #2B2826;
    --darker: #1E1C1A;
    --sage: #8B9D7D;
    --terracotta: #C08D7B;
    --gold: #D4AF7A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, .all {
    height: 100%;
    overflow: hidden;
}

.all {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.8;
}

/* 主容器 - Flexbox布局 */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* 左侧深色面板 - 固定 35% 宽度 */
.sidebar {
    width: 35%;
    background: transparent;
    color: var(--ivory);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 77, 77, 0.4);
    z-index: 1;
}

.sidebar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

.sidebar-content {
    position: relative;
    z-index: 2;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.top-section {
    flex-shrink: 0;
}

.profile-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.bottom-section {
    flex-shrink: 0;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, #D4A574 0%, #C9935A 100%);
    color: white;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 20px;
    align-self: flex-start;
    box-shadow: 0 3px 10px rgba(212,165,116,0.4);
}

.sidebar-title {
    font-family: 'Gowun Batang', serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: var(--ivory);
    letter-spacing: -0.5px;
}

.sidebar-subtitle {
    font-size: 12px;
    line-height: 1.85;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: -0.2px;
}

.profile-section {
    margin-top: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    margin-bottom: 20px;
    border: 5px solid #D4A574;
    box-shadow: 0 10px 32px rgba(0,0,0,0.5);
}

.profile-quote {
    font-family: 'Gowun Batang', serif;
    font-size: 14px;
    line-height: 1.9;
    color: var(--linen);
    font-style: italic;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 400;
}

.sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #D4A574 0%, #C9935A 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(212,165,116,0.4);
    transition: transform 0.2s;
}

.sidebar-cta:active {
    transform: scale(0.95);
}

.cta-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧主内容区 - 占据剩余 65% 宽度 */
.main-content {
    width: 65%;
    background: var(--ivory);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px 16px 80px;
}

/* 卡片 */
.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 20px 16px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
    border: 1px solid var(--linen);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--sage), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:active::before {
    transform: scaleX(1);
}

.card:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.card-number {
    font-family: 'Gowun Batang', serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--taupe);
    margin-bottom: 10px;
    line-height: 1;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    flex-shrink: 0;
}

.card-desc {
    font-size: 11px;
    line-height: 1.7;
    color: var(--charcoal);
    font-weight: 300;
}

.card.highlight {
    background: linear-gradient(135deg, var(--linen), var(--warm-beige));
    border: 1px solid var(--taupe);
}

.card.highlight .card-number {
    color: var(--gold);
}

.card.highlight .title-dot {
    background: var(--gold);
}

/* 展示区 */
.showcase-section {
    background: linear-gradient(135deg, var(--linen), var(--warm-beige));
    padding: 28px 16px;
    border-radius: 16px;
    margin-bottom: 28px;
}

.section-title {
    font-family: 'Gowun Batang', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--deep);
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--terracotta), var(--gold));
}

.image-frame {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.image-frame img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

/* 福利网格 */
.benefits-section {
    margin-bottom: 28px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
}

.benefit-item {
    background: white;
    border: 1px solid var(--linen);
    padding: 18px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    transition: all 0.2s;
}

.benefit-item:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, rgba(139,157,125,0.06), rgba(212,175,122,0.06));
    border-color: var(--sage);
}

/* CTA区域 */
.cta-section {
    padding: 28px 0;
    text-align: center;
}

.group-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    position: relative;
}

.group-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 4px solid white;
}

.group-icon::before,
.group-icon::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.group-icon::before {
    inset: -8px;
    border-top-color: var(--gold);
    border-right-color: var(--gold);
    animation: spin 8s linear infinite;
}

.group-icon::after {
    inset: -16px;
    border-top-color: var(--sage);
    border-right-color: var(--sage);
    animation: spin 12s linear infinite reverse;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 页脚 */
.footer {
    padding: 28px 0 20px;
    border-top: 1px solid var(--linen);
    text-align: center;
    color: var(--clay);
    font-size: 9px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--charcoal);
    font-weight: 500;
    text-decoration: none;
}

/* 固定底栏 */
.fixed-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 65%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 12px 16px;
    border-top: 1px solid var(--linen);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.fixed-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--deep), var(--charcoal));
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,34,32,0.25);
    position: relative;
    overflow: hidden;
}

.fixed-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 20% { left: -100%; }
    100% { left: 200%; }
}

.fixed-cta:active {
    transform: scale(0.96);
}

.disclaimer {
    font-size: 8px;
    color: var(--clay);
    line-height: 1.4;
    margin-top: 8px;
    text-align: center;
}

/* 滚动动画 */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }