/* --- 기본 설정 --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f6f8fa;
    color: #1a1a1a;
    line-height: 1.6;
}

/* --- 헤더 --- */
header {
    background: #ffffff;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef1f4;
}

/* 로고 디자인 (수정됨: 가로로 나란히) */
.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.logo-main .red-e { 
    color: #d32f2f; /* E만 빨간색 */
}

.logo-main .snake-icon { 
    font-size: 24px; 
    margin-right: 5px; 
    color: #1a1a1a; 
}

.logo .subtitle {
    font-size: 10px;
    color: #888;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: -3px;
    margin-left: 33px; /* 위 글자와 줄 맞춤 */
}

nav { display: flex; align-items: center; gap: 20px; }
nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 15px;
}
nav a.active { color: #1a1a1a; font-weight: 700; }

.lang-btn {
    background: #f6f8fa;
    border: 1px solid #eef1f4;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a1a;
    outline: none;
    font-size: 13px;
}

/* --- 히어로 섹션 --- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 8%;
    background: white;
}

.hero-content { flex: 1; max-width: 650px; }

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.red-text { color: #d32f2f; }

.hero p { color: #666; font-size: 17px; margin-bottom: 40px; font-weight: 500;}

/* 검색바 */
.search-box {
    background-color: #f6f8fa;
    border-radius: 50px;
    padding: 5px 10px 5px 20px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    border: 1px solid #eef1f4;
}
.search-icon { color: #aaa; margin-right: 10px; font-size: 16px; }

.search-box input {
    border: none;
    background: transparent;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    outline: none;
    color: #1a1a1a;
}

.search-btn {
    background-color: #0a2540;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.popular-searches {
    margin-top: 25px;
    color: #888;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.popular-label { font-weight: 500; margin-right: 5px;}
.tag {
    background: white;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    color: #555;
    border: 1px solid #eef1f4;
    font-weight: 500;
}

.hero-image-placeholder {
    width: 350px;
    height: 350px;
    background-color: #f6f8fa;
    border-radius: 20px;
    margin-left: 50px;
}

/* --- 특징 카드 섹션 --- */
.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 70px 8%;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    width: 260px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-align: left;
    position: relative;
    border: 1px solid #eef1f4;
}

.icon-placeholder {
    font-size: 30px;
    margin-bottom: 20px;
    color: #d32f2f;
}

.card h3 { margin: 0 0 10px 0; color: #1a1a1a; font-size: 19px; font-weight: 700; }
.card p { color: #666; font-size: 14px; line-height: 1.6;}

.card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #888;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

/* --- 뉴스레터 섹션 --- */
.newsletter {
    background-color: #0a2540;
    color: white;
    padding: 50px 8%;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.newsletter-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}
.inbox-icon { font-size: 36px; color: #fff; margin-top: 5px; }
.news-text h3 { margin: 0 0 5px 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.news-text p { color: #ccc; font-size: 14px; }

.sub-form { display: flex; gap: 10px; flex-shrink: 0; }
.sub-form input {
    border: none;
    padding: 14px 20px;
    width: 250px;
    outline: none;
    border-radius: 8px;
    background: white;
}
.sub-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

/* --- 특징 아이콘 섹션 (하단) --- */
.bottom-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px 8%;
    flex-wrap: wrap;
}

.b-feature { display: flex; align-items: center; gap: 15px; width: 230px;}
.b-icon { font-size: 28px; color: #aaa; }
.b-text h4 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px;}
.b-text p { font-size: 12px; color: #888; line-height: 1.4; }

/* --- 푸터 --- */
footer {
    text-align: center;
    padding: 30px 8% 20px 8%;
    border-top: 1px solid #eef1f4;
    color: #888;
    font-size: 12px;
}
footer p { margin-bottom: 10px;}
.footer-links a { text-decoration: none; color: #888; margin: 0 5px;}