
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --primary: #FEE500; /* Kakao Yellow */
    --secondary: #3C1E1E; /* Dark Brown/Black */
    --accent: #E60000;
    --text-dark: #222;
    --text-light: #666;
    --bg-gray: #f5f5f5;
    
    /* 힐스테이트 팝업 전용 컬러 */
    --hillstate-red: #9E1B22; 
    --hillstate-gold: #D4AF37;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* 모바일에서 단어 단위로 끊어지도록 하여 가독성 극대화 */
html { scroll-behavior: smooth; font-family: 'Noto Sans KR', sans-serif; }
body { color: var(--text-dark); line-height: 1.6; background: #fff; overflow-x: hidden; word-break: keep-all; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
    position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); border-bottom: 1px solid #eee;
    height: 80px; display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.logo a { font-size: 26px; font-weight: 900; color: var(--secondary); letter-spacing: -1px; }
.logo span { color: var(--accent); }

.pc-nav ul { display: flex; gap: 30px; }
.pc-nav a { font-size: 18px; font-weight: 700; color: var(--text-dark); transition: 0.3s; padding: 10px 0; }
.pc-nav a:hover, .pc-nav a.active { color: var(--accent); border-bottom: 3px solid var(--primary); }

.header-btn {
    background: var(--primary); color: var(--secondary);
    padding: 12px 25px; border-radius: 50px; font-weight: 800;
    font-size: 16px; box-shadow: 0 4px 15px rgba(254, 229, 0, 0.4);
    transition: 0.3s;
}
.header-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(254, 229, 0, 0.6); }

/* Hamburger Button & Mobile Menu */
.hamburger { display: none; font-size: 32px; cursor: pointer; color: var(--secondary); background: none; border: none; padding: 5px; }

.mobile-menu-overlay {
    position: fixed; top: 0; left: 100%; width: 100%; height: 100vh;
    background: rgba(255,255,255,0.98); z-index: 2000;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
    display: flex; flex-direction: column; padding: 80px 5%;
}
.mobile-menu-overlay.active { left: 0; }
.mobile-menu-close { position: absolute; top: 20px; right: 20px; font-size: 45px; cursor: pointer; color: var(--text-dark); background: none; border: none; line-height:1; }
.mobile-menu-overlay ul { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.mobile-menu-overlay a { 
    font-size: 22px; font-weight: 900; color: var(--secondary); 
    display: block; padding: 15px; border-bottom: 1px solid #eee; text-align: left;
}
.mobile-menu-overlay a:hover { color: var(--accent); padding-left: 10px; transition: 0.3s; }
.mobile-menu-call { 
    margin-top: 30px; background: var(--primary); padding: 20px; 
    text-align: center; border-radius: 10px; font-weight: 900; font-size: 20px; 
}

/* Hero Section */
.hero {
    height: 90vh; 
    background: linear-gradient(rgba(60,30,30,0.8), rgba(60,30,30,0.8)), url('images/hlst_seo.png') center/cover no-repeat;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: #fff; padding: 0 20px;
}
.hero h2 { font-size: 50px; font-weight: 900; margin-bottom: 20px; line-height: 1.2; letter-spacing: -2px; }
.hero h2 span { color: var(--primary); }
.hero p { font-size: 22px; font-weight: 300; margin-bottom: 40px; opacity: 0.9; }

/* Sections */
section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }
.sec-title { font-size: 36px; font-weight: 900; text-align: center; margin-bottom: 15px; color: var(--secondary); }
.sec-title span { color: var(--primary); }
.sec-desc { text-align: center; font-size: 18px; color: var(--text-light); margin-bottom: 60px; }

/* Placeholder Boxes for Content */
.content-box { background: var(--bg-gray); border-radius: 20px; padding: 50px; text-align: center; border: 1px solid #ddd; }
.content-box h3 { font-size: 28px; margin-bottom: 20px; color: var(--secondary); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* HILLSTATE LUXURY POPUP */
.popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 9999; display: flex;
    justify-content: center; align-items: center; padding: 20px;
}
.popup-content {
    background: linear-gradient(rgba(158, 27, 34, 0.85), rgba(158, 27, 34, 0.95)), url('images/hlst_seo.png') center/cover no-repeat;
    width: 100%; max-width: 420px; 
    padding: 40px 20px 40px; text-align: center; position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); 
    border: 3px solid rgba(212, 175, 55, 0.6); 
    border-radius: 25px; 
    color: #fff;
}
.popup-close { position: absolute; top: -50px; right: 0px; font-size: 40px; cursor: pointer; color: #fff; font-weight: 300; line-height: 1; transition: 0.3s; }
.popup-close:hover { color: var(--hillstate-gold); transform: scale(1.1); }
.popup-brand { font-size: 14px; font-weight: 400; margin-bottom: 5px; letter-spacing: 1px; color: #eee; }
.popup-title { font-size: 40px; font-weight: 900; letter-spacing: -2px; line-height: 1.1; margin-bottom: 5px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.popup-subtitle { font-size: 14px; font-weight: 300; margin-bottom: 25px; color: rgba(255,255,255,0.8); }

.popup-benefits {
    background: rgba(255, 255, 255, 0.95); 
    color: var(--hillstate-red);
    padding: 20px; margin: 0 10px 25px; display: flex; flex-direction: column; gap: 15px;
    border-radius: 15px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.popup-benefits div {
    font-size: 20px; font-weight: 900; letter-spacing: -1px;
    padding-bottom: 12px; border-bottom: 1px dashed rgba(158, 27, 34, 0.2);
}
.popup-benefits div:last-child { border-bottom: none; padding-bottom: 0; }

.popup-btn { 
    display: inline-block; 
    background: linear-gradient(135deg, #fcebb6, #d4af37); 
    color: var(--secondary); 
    padding: 15px 35px; font-weight: 900; font-size: 18px; 
    border-radius: 50px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s;
}

/* Registration Form Standard Styles */
.reg-form-container {
    background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 40px; max-width: 650px; margin: 0 auto;
    border-top: 4px solid #ff4d4d; text-align: left;
}
.reg-form-group { margin-bottom: 25px; }
.reg-form-row { display: flex; gap: 20px; }
.reg-form-col { flex: 1; }
.reg-label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; color: #333; }
.reg-input { 
    width: 100%; padding: 15px; border: 1px solid #ddd; 
    border-radius: 6px; font-size: 15px; background: #fdfdfd; transition: 0.3s;
}
.reg-input:focus { border-color: #1c2833; outline: none; background: #fff; }
textarea.reg-input { resize: vertical; min-height: 100px; }
.reg-privacy-box {
    background: #f8f9fa; padding: 20px; border-radius: 6px; margin-bottom: 25px;
    display: flex; gap: 10px; align-items: flex-start;
}
.reg-privacy-box input[type="checkbox"] { margin-top: 5px; transform: scale(1.2); }
.reg-privacy-text { font-size: 13px; color: #666; line-height: 1.5; }
.reg-privacy-text strong { color: #333; display: block; margin-bottom: 3px; font-size: 14px; }
.reg-submit-btn {
    width: 100%; padding: 18px; background: #1c2833; color: #fff; 
    border: none; border-radius: 6px; font-weight: 900; font-size: 18px; 
    cursor: pointer; transition: 0.3s; letter-spacing: 1px;
}

/* Footer */
footer { background: var(--secondary); color: rgba(255,255,255,0.6); padding: 50px 5%; font-size: 14px; text-align: center; margin-top: 50px; }
footer h2 { color: #fff; margin-bottom: 15px; font-size: 20px; }

/* Sticky Mobile Bar */
.sticky-bar { display: none; }

/* PC Floating Menu */
.floating-menu {
    position: fixed; bottom: 40px; right: 40px; z-index: 999;
    display: flex; flex-direction: column; gap: 15px;
}
.floating-btn {
    background: var(--primary); color: var(--secondary);
    padding: 15px 30px; border-radius: 50px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 900; font-size: 20px; letter-spacing: -0.5px;
    box-shadow: 0 10px 25px rgba(254,229,0,0.4);
    animation: pulse-yellow 2s infinite; cursor: pointer; transition: 0.3s;
}
.floating-btn.visit { background: var(--secondary); color: #fff; box-shadow: 0 10px 25px rgba(60,30,30,0.4); animation: pulse-dark 2s infinite; }

/* FOMO Ticker */
.fomo-ticker {
    position: fixed; bottom: 40px; left: -400px; /* Hidden initially */
    background: rgba(255,255,255,0.95); border-left: 4px solid var(--accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); border-radius: 5px;
    padding: 15px 20px; z-index: 9999; width: 300px;
    display: flex; align-items: center; gap: 15px;
    transition: left 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.fomo-ticker.show { left: 40px; }
.fomo-icon { background: var(--primary); color: var(--secondary); border-radius: 50%; min-width: 35px; height: 35px; display: flex; justify-content: center; align-items: center; font-size: 16px; font-weight: 900; }
.fomo-text { font-size: 14px; font-weight: 500; color: #333; line-height: 1.4; text-align: left; }
.fomo-text span { font-weight: 900; color: var(--accent); }

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero h2 { font-size: 32px; }
    .hero p { font-size: 18px; }
    .sec-title { font-size: 28px; }
    
    .pc-nav, .header-btn.pc-only { display: none; }
    .hamburger { display: block; }
    
    .floating-menu { display: none; }
    
    .sticky-bar {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%; height: 70px; z-index: 1000;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    }
    .sticky-bar a {
        flex: 1; display: flex; justify-content: center; align-items: center;
        font-size: 18px; font-weight: 900; color: #fff;
    }
    .sticky-call { background: var(--primary); color: var(--secondary) !important; }
    .sticky-visit { background: var(--secondary); }
    footer { padding-bottom: 100px; } /* 모바일 스티키 바 대비 여백 증가 */
    
    .reg-form-row { flex-direction: column; gap: 20px; }
    .reg-form-container { padding: 25px 20px; }
    
    .fomo-ticker { bottom: 90px; width: 280px; }
    .fomo-ticker.show { left: 20px; }
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

@keyframes pulse-yellow { 0% { box-shadow: 0 0 0 0 rgba(254,229,0,0.7); } 70% { box-shadow: 0 0 0 15px rgba(254,229,0,0); } 100% { box-shadow: 0 0 0 0 rgba(254,229,0,0); } }
@keyframes pulse-dark { 0% { box-shadow: 0 0 0 0 rgba(60,30,30,0.7); } 70% { box-shadow: 0 0 0 15px rgba(60,30,30,0); } 100% { box-shadow: 0 0 0 0 rgba(60,30,30,0); } }
