﻿@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: #050B14;
    --surface: #0A1128;
    --primary: #00E5FF;
    --primary-dark: #00B3CC;
    --text-main: #F8F9FA;
    --text-muted: #A0AABF;
    --border: rgba(0, 229, 255, 0.2);
    --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: 1px; }
h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1; color: #FFF; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 30px; color: var(--primary); }
p { font-size: 1.1rem; color: var(--text-muted); }

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

/* Hero */
.hero { min-height: 90vh; display: flex; flex-direction: column; justify-content: center; padding: 0 5%; background: radial-gradient(circle at top right, rgba(0,229,255,0.1), transparent 50%); }
.hero-content { max-width: 800px; }
.btn { display: inline-block; padding: 15px 40px; background: var(--primary); color: #000; font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; border: none; border-radius: 4px; cursor: pointer; transition: all 0.3s; margin-top: 30px; }
.btn:hover { background: #FFF; box-shadow: 0 0 20px var(--primary); }
.btn:disabled { background: #555; cursor: not-allowed; box-shadow: none; color: #FFF; }

/* Sections */
section { padding: 100px 5%; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.img-placeholder { width: 100%; height: 500px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }

/* Features */
.features ul li { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.features i { font-size: 2rem; color: var(--primary); margin-top: 5px; }
.features h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.5rem; margin-bottom: 5px; color: #FFF; }

/* Form */
.form-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.form-container { max-width: 600px; margin: 0 auto; background: var(--bg-color); padding: 40px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 20px; }
input, textarea { width: 100%; padding: 15px; background: rgba(255,255,255,0.05); border: 1px solid #333; color: #FFF; font-family: var(--font-body); border-radius: 4px; font-size: 1rem; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 0.9rem; color: var(--text-muted); }
.checkbox-group input { width: auto; }
#success-message { display: none; text-align: center; padding: 40px 0; }
#success-message i { font-size: 4rem; color: var(--primary); margin-bottom: 20px; }

/* FAQ */
details { background: var(--surface); margin-bottom: 15px; padding: 20px; border-radius: 8px; border: 1px solid #222; cursor: pointer; }
summary { font-size: 1.2rem; font-weight: 700; color: #FFF; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'FontAwesome'; color: var(--primary); }
details[open] summary::after { content: '\f077'; }
details p { margin-top: 15px; border-top: 1px solid #333; padding-top: 15px; }

/* Footer */
footer { background: #02050A; padding: 60px 5% 30px; border-top: 1px solid #111; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: #FFF; font-family: var(--font-body); }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 10px; display: block; }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; color: #555; font-size: 0.85rem; }
.footer-links { display: flex; gap: 15px; justify-content: center; margin-bottom: 15px; }
.footer-links a { color: var(--primary); text-decoration: underline; }

/* Compliance Pages */
.legal-main { padding: 150px 5% 100px; min-height: 80vh; }
.legal-card { background: #FFF; color: #111; max-width: 900px; margin: 0 auto; padding: 60px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.legal-card h1 { color: var(--surface); font-size: 3rem; margin-bottom: 40px; text-align: center; border-bottom: 2px solid var(--primary); padding-bottom: 20px; }
.legal-card h2 { color: var(--surface); font-size: 1.5rem; margin: 30px 0 15px; font-family: var(--font-body); font-weight: 700; }
.legal-card p { color: #444; margin-bottom: 15px; }

/* Map */
.map-container iframe { width: 100%; height: 450px; border: none; border-radius: 12px; }

/* Cookie Banner */
#cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: rgba(5, 11, 20, 0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--primary); padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.5s ease; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); }
#cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 0.9rem; }
.cookie-btns { display: flex; gap: 15px; }
.btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); padding: 10px 20px; cursor: pointer; border-radius: 4px; font-weight: bold; }
.btn-accept { background: var(--primary); border: 1px solid var(--primary); color: #000; padding: 10px 20px; cursor: pointer; border-radius: 4px; font-weight: bold; }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    nav ul { display: none; }
    .legal-card { padding: 30px; }
    #cookie-banner { flex-direction: column; gap: 15px; text-align: center; }
}
