/* 기본 설정 및 초기화 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
background: #f5f7fa;
display: flex;
justify-content: center;
min-height: 100vh;
}
/* 모바일 컨테이너 (아임웹 스타일 모바일 뷰어) */
.mobile-wrapper {
width: 100%;
max-width: 375px;
min-height: 100vh;
background: linear-gradient(135deg, #e8f4f0 0%, #d1e7dd 50%, #a8d5ba 100%);
box-shadow: 0 0 30px rgba(0,0,0,0.1);
position: relative;
overflow: hidden;
}
/* 상단 네비게이션 */
.header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 15px 20px;
background: rgba(255,255,255,0.15);
backdrop-filter: blur(10px);
position: relative;
z-index: 100;
}
.menu-icon {
font-size: 22px;
color: #2d5a3d;
cursor: pointer;
font-weight: 300;
}
.logo {
font-size: 18px;
font-weight: 900;
color: #2d5a3d;
letter-spacing: 1px;
}
.header-icons {
display: flex;
gap: 15px;
align-items: center;
}
.icon-button {
position: relative;
font-size: 20px;
color: #2d5a3d;
cursor: pointer;
}
.cart-badge {
position: absolute;
top: -6px;
right: -8px;
background: #2d5a3d;
color: white;
font-size: 10px;
font-weight: 700;
width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
/* 히어로 섹션 */
.hero-section {
position: relative;
height: 550px;
padding: 40px 20px;
overflow: hidden;
}
/* 배경 장식 요소들 */
.hero-section::before {
content: '';
position: absolute;
width: 200px;
height: 200px;
background: rgba(45, 90, 61, 0.08);
border-radius: 50%;
top: -50px;
right: -50px;
}
.hero-section::after {
content: '';
position: absolute;
width: 150px;
height: 150px;
background: rgba(168, 213, 186, 0.3);
border-radius: 50%;
bottom: 100px;
left: -30px;
}
/* 자연 요소 장식 */
.nature-elements {
position: absolute;
font-size: 24px;
opacity: 0.6;
z-index: 1;
}
.leaf-1 { top: 60px; right: 30px; transform: rotate(15deg); }
.leaf-2 { top: 120px; left: 30px; transform: rotate(-20deg); font-size: 18px; }
.leaf-3 { bottom: 150px; right: 50px; transform: rotate(45deg); font-size: 20px; }
/* 제품 이미지 영역 */
.hero-image {
position: absolute;
left: 0;
bottom: 0;
width: 250px;
height: 400px;
z-index: 2;
}
.product-visual {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: flex-end;
justify-content: center;
padding-bottom: 30px;
}
/* CSS로 제작한 건강기능식품 병 */
.supplement-bottle {
width: 80px;
height: 140px;
position: relative;
margin-left: 20px;
}
.bottle-body {
width: 80px;
height: 120px;
background: linear-gradient(160deg, #2d5a3d, #1a3d28);
border-radius: 12px 12px 18px 18px;
position: relative;
box-shadow: 4px 8px 20px rgba(0,0,0,0.2);
}
.bottle-body::before {
content: '';
position: absolute;
left: 8px;
top: 0;
bottom: 0;
width: 10px;
background: rgba(255,255,255,0.15);
border-radius: 8px;
}
.bottle-label {
position: absolute;
top: 25px;
left: 8px;
right: 8px;
background: rgba(255,255,255,0.9);
border-radius: 6px;
padding: 8px 4px;
text-align: center;
}
.bottle-label .brand-name {
font-size: 9px;
font-weight: 900;
color: #2d5a3d;
margin-bottom: 2px;
}
.bottle-label .product-type {
font-size: 7px;
color: #666;
font-weight: 500;
}
.bottle-cap {
width: 45px;
height: 20px;
background: linear-gradient(160deg, #a8d5ba, #7cb894);
border-radius: 6px 6px 3px 3px;
position: absolute;
top: 0;
left: 17px;
box-shadow: 2px 3px 8px rgba(0,0,0,0.1);
}
/* 텍스트 콘텐츠 */
.hero-content {
position: absolute;
right: 20px;
top: 80px;
width: 180px;
z-index: 5;
}
.new-badge {
display: inline-block;
background: #2d5a3d;
color: white;
font-size: 11px;
font-weight: 700;
padding: 4px 12px;
border-radius: 20px;
margin-bottom: 12px;
letter-spacing: 1px;
}
.hero-title {
font-size: 26px;
font-weight: 900;
color: #1a3d28;
line-height: 1.1;
margin-bottom: 12px;
letter-spacing: -0.5px;
}
.hero-subtitle {
font-size: 14px;
font-weight: 500;
color: #2d5a3d;
line-height: 1.6;
margin-bottom: 20px;
word-break: keep-all;
}
.cta-button {
display: inline-block;
background: #1a3d28;
color: white;
font-size: 13px;
font-weight: 700;
padding: 12px 20px;
border-radius: 25px;
text-decoration: none;
cursor: pointer;
border: none;
box-shadow: 0 4px 15px rgba(26, 61, 40, 0.3);
transition: all 0.3s ease;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(26, 61, 40, 0.4);
}
/* 품질 인증 뱃지 */
.quality-badge {
position: absolute;
top: 40px;
right: 20px;
width: 60px;
height: 60px;
background: #f8f9fa;
border: 2px solid #a8d5ba;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 8px;
font-weight: 700;
color: #2d5a3d;
text-align: center;
line-height: 1.2;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
/* 하단 제품 추천 섹션 */
.bottom-section {
background: white;
border-radius: 20px 20px 0 0;
padding: 20px;
margin-top: auto;
}
.section-title {
font-size: 16px;
font-weight: 700;
color: #1a3d28;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 8px;
}
.product-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.product-card {
background: #f8fdf9;
border: 1px solid #e8f4f0;
border-radius: 12px;
padding: 15px;
text-align: center;
}
.product-icon {
font-size: 28px;
margin-bottom: 8px;
}
.product-name {
font-size: 12px;
font-weight: 700;
color: #1a3d28;
margin-bottom: 4px;
}
.product-price {
font-size: 13px;
font-weight: 700;
color: #2d5a3d;
}