﻿@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-color: #F8F9FA;
    --surface: #FFFFFF;
    --primary: #D4AF37; /* Premium Gold */
    --primary-dark: #B5952F;
    --secondary: #1A1A1A; /* Deep Charcoal */
    --text-main: #2D2D2D;
    --text-muted: #6C757D;
    --font-heading: 'Black Han Sans', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; letter-spacing: 0.5px; }
h1 { font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1.1; color: var(--secondary); margin-bottom: 25px; word-break: keep-all; }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 30px; color: var(--secondary); }
p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 15px; }

/* Header */
header { padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #E9ECEF; }
.logo { font-family: var(--font-heading); font-size: 1.8rem; color: var(--secondary); display: flex; align-items: center; gap: 12px; }
.logo img { width: 35px; }
nav ul { display: flex; gap: 40px; }
nav a { font-weight: 700; transition: color 0.3s; font-size: 1.1rem; color: var(--secondary); }
nav a:hover { color: var(--primary); }

/* Hero */
.hero { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; padding: 0 5%; position: relative; background: var(--surface); overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -10%; top: -10%; width: 50%; height: 120%; background: var(--secondary); transform: skewX(-15deg); z-index: 0; }
.hero-content { max-width: 60%; z-index: 2; position: relative; padding-right: 50px; }
.hero-highlight { color: var(--primary); }
.btn { display: inline-block; padding: 20px 45px; background: var(--primary); color: #FFF; font-family: var(--font-body); font-weight: 900; font-size: 1.3rem; border: none; border-radius: 4px; cursor: pointer; transition: all 0.3s; margin-top: 30px; }
.btn:hover { background: var(--secondary); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn:disabled { background: #CCC; cursor: not-allowed; transform: none; box-shadow: none; }

/* Sections */
section { padding: 120px 5%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.img-placeholder { width: 100%; height: 600px; object-fit: cover; border-radius: 8px; box-shadow: 20px 20px 0 var(--primary); }

/* Random Section 1 (Methodology) */
.method-section { background: var(--secondary); color: #FFF; text-align: center; }
.method-section h2 { color: #FFF; }
.method-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; }
.method-card { background: rgba(255,255,255,0.05); padding: 50px 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); flex: 1; min-width: 250px; transition: transform 0.3s; }
.method-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.method-card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.method-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-family: var(--font-body); font-weight: 700; color: #FFF; }
.method-card p { color: #AAA; font-size: 1rem; }

/* Features (Asymmetrical) */
.features-container { display: flex; flex-direction: column; gap: 40px; }
.feature-item { display: flex; gap: 25px; align-items: flex-start; }
.feature-item i { font-size: 2rem; color: var(--primary); margin-top: 5px; }
.feature-item h3 { font-family: var(--font-body); font-weight: 900; font-size: 1.6rem; color: var(--secondary); margin-bottom: 10px; }

/* Form Section */
.form-section { background: var(--surface); position: relative; }
.form-container { max-width: 800px; margin: 0 auto; background: var(--secondary); padding: 70px; border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
.form-container h2 { color: #FFF; text-align: center; font-size: 2.5rem; margin-bottom: 15px; }
.form-container p { text-align: center; color: #AAA; margin-bottom: 40px; }
.form-group { margin-bottom: 25px; }
input, textarea { width: 100%; padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid #444; color: #FFF; font-family: var(--font-body); border-radius: 4px; font-size: 1.1rem; transition: all 0.3s; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,0.1); }
.checkbox-group { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 35px; }
.checkbox-group input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--primary); }
.checkbox-group label { font-size: 1rem; color: #AAA; line-height: 1.5; }
.checkbox-group a { color: var(--primary); text-decoration: underline; }
#success-message { display: none; text-align: center; padding: 50px 0; }
#success-message i { font-size: 5rem; color: var(--primary); margin-bottom: 25px; }
#success-message h3 { color: #FFF; font-size: 2rem; margin-bottom: 15px; font-family: var(--font-body); font-weight: 700; }

/* FAQ */
.faq-container { max-width: 850px; margin: 0 auto; }
details { background: var(--surface); margin-bottom: 15px; padding: 25px; border-radius: 8px; border: 1px solid #DDD; cursor: pointer; transition: all 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
details:hover { border-color: var(--primary); }
summary { font-size: 1.3rem; font-weight: 700; color: var(--secondary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f067'; font-family: 'FontAwesome'; color: var(--primary); font-size: 1.2rem; }
details[open] summary::after { content: '\f068'; }
details p { margin-top: 20px; border-top: 1px solid #EEE; padding-top: 20px; font-size: 1.1rem; color: var(--text-muted); }

/* Footer */
footer { background: #111; padding: 80px 5% 40px; color: #FFF; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1.4rem; margin-bottom: 25px; color: var(--primary); font-family: var(--font-heading); letter-spacing: 1px; }
.footer-col p, .footer-col a { color: #888; font-size: 1rem; margin-bottom: 12px; display: block; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 25px; color: #666; font-size: 0.95rem; }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: #FFF; font-weight: 500; }

/* Compliance Pages */
.legal-main { padding: 120px 5%; background: var(--bg-color); min-height: 80vh; }
.legal-card { background: var(--surface); max-width: 1000px; margin: 0 auto; padding: 80px; border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-top: 5px solid var(--primary); }
.legal-card h1 { font-size: 3rem; margin-bottom: 40px; text-align: center; color: var(--secondary); border-bottom: 2px solid #EEE; padding-bottom: 25px; }
.legal-card h2 { font-size: 1.5rem; margin: 40px 0 20px; font-family: var(--font-body); font-weight: 700; color: var(--secondary); }
.legal-card p { margin-bottom: 15px; font-size: 1.05rem; line-height: 1.8; color: #444; }

/* Map */
.map-container iframe { width: 100%; height: 500px; border: none; border-radius: 8px; filter: grayscale(50%); }

/* Cookie Banner */
#cookie-banner { position: fixed; bottom: -150px; left: 0; width: 100%; background: #111; border-top: 3px solid var(--primary); padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.5s ease-in-out; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); }
#cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 1rem; color: #EEE; max-width: 70%; }
.cookie-btns { display: flex; gap: 15px; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); padding: 12px 25px; cursor: pointer; border-radius: 4px; font-weight: 700; }
.btn-accept { background: var(--primary); border: 1px solid var(--primary); color: #FFF; padding: 12px 25px; cursor: pointer; border-radius: 4px; font-weight: 700; }

@media (max-width: 992px) {
    .hero::after { display: none; }
    .hero-content { max-width: 100%; padding-right: 0; text-align: center; }
    h1 { word-break: keep-all; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    nav ul { display: none; }
    .legal-card { padding: 40px 20px; }
    .form-container { padding: 40px 20px; }
    #cookie-banner { flex-direction: column; gap: 20px; text-align: center; }
    .cookie-text { max-width: 100%; }
}
