:root {
    --bg-midnight: #111827;     /* Midnight Blue */
    --primary-rose: #FF2E63;    /* Cinematic Rose */
    --secondary-cyan: #08D9D6;   /* Electric Cyan */
    --text-main: #FFFFFF;        /* Pure White */
    --text-sub: #94A3B8;         /* Sub Text */
    --text-light: #64748B;       /* Light Text */
    --card-white: #FFFFFF;
    --font-title: 'Urbanist', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: var(--bg-midnight);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- 네비게이션 바 (상단 고정) --- */
header {
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 24px 8%; 
    z-index: 1000;
    background: rgba(17, 24, 39, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.logo {
    font-family: var(--font-title); 
    font-size: 24px; 
    font-weight: 800;
    color: var(--text-main); 
    text-decoration: none;
    letter-spacing: 1px;
}

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 40px; 
}

nav ul li a { 
    color: var(--text-main); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 16px;
    transition: color 0.3s ease; 
}

nav ul li a:hover, nav ul li a.active { 
    color: var(--primary-rose); 
}

/* --- 공통 섹션 레이아웃 --- */
.section {
    min-height: 100vh; 
    display: flex; 
    padding: 100px 8%; 
    position: relative;
}

.hero-layout {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 180px;
    padding-bottom: 120px;
}

.container {
    width: 100%; 
    max-width: 1200px; 
    display: flex; 
    align-items: center; 
    gap: 80px;
    margin: auto;
}

.side-layout .container { flex-direction: row; }
.side-layout.reverse .container { flex-direction: row-reverse; }

.text-area { flex: 1.2; }
.image-area { flex: 0.8; display: flex; justify-content: center; }

#hero {
    padding-top: 180px;
}

/* --- 타이포그래피 스타일 --- */
.main-title { 
    font-family: var(--font-title); 
    font-size: 84px; 
    line-height: 1.1; 
    margin-bottom: 24px; 
    letter-spacing: -1px;
}

.sub-title { 
    font-size: 32px; 
    font-weight: 700; 
    margin-bottom: 32px; 
}

.sub-title span { 
    color: var(--primary-rose); 
}

.description-box {
    max-width: 740px;
    border: 1px dashed #ff2e6270;
    padding: 22px 32px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 40px;
}

#hero .description-box {
    margin-left: auto;
    margin-right: auto;
}

.description-box p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.75;
}

.proposal-tag { 
    font-family: var(--font-title);
    font-weight: 700; 
    font-size: 14px;
    color: var(--secondary-cyan); 
    margin-bottom: 16px; 
    display: block; 
    letter-spacing: 6px;
    text-transform: uppercase;
}

.feature-tag { 
    font-weight: 700; 
    color: var(--primary-rose); 
    margin-bottom: 15px; 
    display: block; 
    font-size: 16px;
}

.feature-title { 
    font-size: 48px; 
    font-weight: 700; 
    margin-bottom: 25px; 
}

.feature-desc { 
    color: var(--text-sub); 
    font-size: 18px; 
    line-height: 1.8; 
    margin-bottom: 25px; 
}

.feature-link { 
    color: var(--secondary-cyan); 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 15px;
}

/* --- 버튼 스타일 --- */
.download-buttons { display: flex; gap: 20px; }
.download-buttons.center { justify-content: center; }

.btn {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    padding: 14px 28px; 
    border-radius: 30px; 
    background: white;
    color: var(--bg-midnight); 
    text-decoration: none; 
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(8, 217, 214, 0.3); 
}

/* --- 스마트폰 목업 스펙 --- */
.phone-frame {
    width: 280px; 
    height: 560px; 
    border: 12px solid #334155;
    border-radius: 40px; 
    background: #1e293b; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.phone-screen {
    width: 100%; 
    height: 100%; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 5개 스마트폰 실물 이미지 상대경로 지정 */
.phone-explore   { background-image: url('./smartphone_images/explore.jpeg'); }
.phone-scrapbook { background-image: url('./smartphone_images/scrapbook.jpeg'); }
.phone-myroute   { background-image: url('./smartphone_images/myroute.jpeg'); }
.phone-diary     { background-image: url('./smartphone_images/diary.jpeg'); }
.phone-profile   { background-image: url('./smartphone_images/profile.jpeg'); }

/* --- 아카이브 공통 레이아웃 (상세 페이지용 그리드) --- */
.archive-section {
    min-height: 100vh;
    padding: 160px 8% 80px 8%; 
    display: flex;
    justify-content: center;
}

.archive-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header { 
    text-align: center; 
    margin-bottom: 60px; 
}

.section-header h2 { 
    font-size: 42px; 
    font-weight: 700; 
    margin-bottom: 16px; 
    letter-spacing: -0.5px;
}

.section-header p { 
    color: var(--text-sub); 
    font-size: 16px; 
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.archive-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; 
    padding: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer; 
    text-decoration: none; 
    color: inherit;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.archive-card:hover {
    transform: scale(1.05);
    border-color: var(--secondary-cyan);
    box-shadow: 0 20px 40px rgba(8, 217, 214, 0.15);
}

.card-thumbnail {
    width: 100%; 
    height: 180px; 
    background: #1e293b;
    border-radius: 8px; 
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 🎯 드라마 포스터 상대경로 연동 및 비율 튜닝 구역 */
.thumb-hometown { 
    background-image: url('./drama_images/hometown.png'); 
    background-size: cover; 
    background-position: center top; 
}

.thumb-summer { 
    background-image: url('./drama_images/ourbelovedsummer.png'); 
    background-size: cover; 
    background-position: center top; 
}

.thumb-queen { 
    background-image: url('./drama_images/queenoftears.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-glory { 
    background-image: url('./drama_images/theglory.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-guardians { 
    background-image: url('./drama_images/guardians.png'); 
    background-size: cover; 
    background-position: center top; 
}

.thumb-crashing { 
    background-image: url('./drama_images/crashinglandingonyou.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-runner { 
    background-image: url('./drama_images/loverrunner.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-squid { 
    background-image: url('./drama_images/squidgame.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-woo { 
    background-image: url('./drama_images/wooyoungwoo.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-samdal { 
    background-image: url('./drama_images/welcometosamdali.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-itaewon { 
    background-image: url('./drama_images/itaewonclass.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-parasite { 
    background-image: url('./movie_images/parasite.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-king { 
    background-image: url('./movie_images/themanwholivingwiththeking.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-exhuma { 
    background-image: url('./movie_images/exhuma.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-decision { 
    background-image: url('./movie_images/decisiontobreakup.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-bts { 
    background-image: url('./musicvideo_images/bts.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-bp { 
    background-image: url('./musicvideo_images/bp.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-stray { 
    background-image: url('./musicvideo_images/straykids.png'); 
    background-size: cover; 
    background-position: center; 
}

.thumb-enhypen { 
    background-image: url('./musicvideo_images/enhypen.png'); 
    background-size: cover; 
    background-position: center; 
}

.card-title { 
    font-size: 20px; 
    font-weight: 600; 
    margin-bottom: 12px; 
    color: var(--text-main); 
}

.card-info-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    flex-grow: 1;
}

.card-info-list li { 
    font-size: 14px; 
    color: var(--text-sub); 
    position: relative; 
    padding-left: 14px;
    line-height: 1.4;
}

.card-info-list li::before { 
    content: '•'; 
    position: absolute; 
    left: 0; 
    color: var(--secondary-cyan); 
}

/* --- CTA 마지막 섹션 --- */
.cta-section {
    background-color: var(--bg-midnight);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 100px;
    z-index: 1; /* 콘텐츠가 위로 올라오게 설정 */
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(8, 217, 214, 0.05) 0%, transparent 65%),
                radial-gradient(ellipse at 30% 40%, rgba(255, 46, 99, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-title {
    font-family: var(--font-title);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-main);
}

.cta-sub {
    font-size: 18px;
    color: var(--text-sub);
    margin-bottom: 12px;
}

/* --- 애니메이션 및 기타 --- */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 0.9s cubic-bezier(0.25, 1, 0.5, 1); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.glow-cyan, .glow-rose {
    position: absolute; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 0;
}
.glow-cyan { top: 10%; left: -150px; background: radial-gradient(circle, rgba(8, 217, 214, 0.06), transparent 70%); }
.glow-rose { bottom: 10%; right: -150px; background: radial-gradient(circle, rgba(255, 46, 99, 0.06), transparent 70%); }

@media (max-width: 1024px) {
    .main-title { font-size: 52px; }
    .cta-title { font-size: 48px; }
    .side-layout .container, .side-layout.reverse .container { flex-direction: column; text-align: center; gap: 40px; }
    .card-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .cta-title { font-size: 36px; }
    .card-container { grid-template-columns: 1fr; }
}

/* style.css 파일의 맨 마지막에 추가하세요 */

.glow-cyan { 
    position: fixed; 
    width: 600px; 
    height: 600px; 
    border-radius: 50%; 
    pointer-events: none; 
    z-index: -9999;
    top: 10%; 
    left: -150px; 
    background: radial-gradient(circle, rgba(8, 217, 214, 0.2), transparent 70%); 
}

.glow-rose { 
    position: fixed; 
    width: 600px; 
    height: 600px; 
    border-radius: 50%; 
    pointer-events: none; 
    z-index: -9999;
    bottom: 10%; 
    right: -150px; 
    background: radial-gradient(circle, rgba(255, 46, 99, 0.2), transparent 70%); 
}
/* --- Footer / production landing page polish --- */
.primary-btn {
    min-width: 240px;
    justify-content: center;
}

.cta-section-main {
    min-height: 80vh;
}

.site-footer {
    padding: 48px 8%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.95);
    color: var(--text-sub);
}

.compact-footer {
    margin-top: 0;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
    margin-top: 18px;
    font-size: 14px;
}

.footer-links a {
    color: var(--secondary-cyan);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-rose);
}

@media (max-width: 640px) {
    header {
        padding: 18px 6%;
    }
    nav ul {
        gap: 14px;
    }
    nav ul li a {
        font-size: 13px;
    }
    .section {
        padding-left: 6%;
        padding-right: 6%;
    }
    .sub-title {
        font-size: 24px;
    }
    .feature-title {
        font-size: 34px;
    }
    .feature-desc {
        font-size: 16px;
    }
    .download-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}


/* Language switch */
header {
    gap: 24px;
}
.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}
.lang-btn {
    border: 0;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 999px;
    background: transparent;
    color: var(--text-sub);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    transition: all .2s ease;
}
.lang-btn:hover,
.lang-btn.active {
    color: #101827;
    background: var(--secondary-cyan);
}
@media (max-width: 760px) {
    header {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }
    nav {
        order: 3;
        width: 100%;
    }
    nav ul {
        justify-content: center;
    }
    .language-switch {
        margin-left: auto;
    }
    .main-title {
        font-size: clamp(44px, 12vw, 72px);
    }
}


/* --- Travel base feature --- */
.base-feature {
    min-height: 88vh;
}
.base-container {
    max-width: 1180px;
}
.base-image-area {
    flex: .85;
    display: flex;
    justify-content: center;
}
.base-shot {
    width: min(100%, 360px);
    border-radius: 34px;
    display: block;
    box-shadow: 0 30px 70px rgba(0,0,0,0.48), 0 0 0 1px rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
@media (max-width: 1024px) {
    .base-shot {
        width: min(100%, 340px);
        border-radius: 28px;
    }
}
@media (max-width: 640px) {
    .base-feature {
        min-height: auto;
    }
    .base-shot {
        width: min(100%, 300px);
        border-radius: 24px;
    }
}

/* --- Taxi helper feature --- */
.taxi-feature {
    min-height: 88vh;
}
.taxi-container {
    max-width: 1280px;
}
.taxi-image-area {
    flex: 1.05;
}
.taxi-shot {
    width: min(100%, 720px);
    border-radius: 28px;
    display: block;
    box-shadow: 0 30px 70px rgba(0,0,0,0.48), 0 0 0 1px rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}
@media (max-width: 1024px) {
    .taxi-shot {
        width: min(100%, 680px);
        border-radius: 22px;
    }
}
@media (max-width: 640px) {
    .taxi-feature {
        min-height: auto;
    }
    .taxi-shot {
        border-radius: 16px;
    }
}
