﻿@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: #050914;
    --surface: #0B132B;
    --surface-light: #152243;
    --primary: #00F2FE;
    --secondary: #4FACFE;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --border: rgba(0, 242, 254, 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(3.5rem, 8vw, 6.5rem); line-height: 1.1; color: #FFF; margin-bottom: 30px; text-shadow: 0 0 30px rgba(0,242,254,0.3); }
h2 { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 30px; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 20px; font-weight: 400; }

/* Header */
header { padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(5, 9, 20, 0.9); backdrop-filter: blur(15px); 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: 12px; letter-spacing: 1px; }
.logo img { width: 40px; }
nav ul { display: flex; gap: 40px; }
nav a { font-weight: 500; font-size: 1.1rem; transition: color 0.3s; color: #FFF; }
nav a:hover { color: var(--primary); }

/* Hero */
.hero { min-height: 95vh; display: flex; flex-direction: column; justify-content: center; padding: 0 5%; background: radial-gradient(circle at right 20%, rgba(79, 172, 254, 0.15), transparent 50%), url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.03)"/></svg>'); }
.hero-content { max-width: 900px; position: relative; z-index: 2; }
.btn { display: inline-block; padding: 20px 45px; background: linear-gradient(90deg, var(--primary), var(--secondary)); color: #000; font-family: var(--font-body); font-weight: 900; font-size: 1.3rem; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; margin-top: 30px; text-transform: uppercase; box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4); }
.btn:hover { background: #FFF; box-shadow: 0 15px 35px rgba(0, 242, 254, 0.6); transform: translateY(-3px); }
.btn:disabled { background: #333; cursor: not-allowed; box-shadow: none; color: #888; transform: 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: 550px; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); filter: contrast(1.15) brightness(0.9); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* KPI / Random Data Section */
.kpi-section { background: var(--surface); text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 5%; }
.kpi-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 40px; }
.kpi-box { flex: 1; min-width: 250px; }
.kpi-box h4 { font-family: var(--font-heading); font-size: 4.5rem; color: #FFF; margin-bottom: 10px; text-shadow: 0 0 20px var(--primary); }
.kpi-box p { color: var(--primary); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; }

/* Features (Asymmetrical) */
.features-container { display: flex; flex-direction: column; gap: 40px; }
.feature-item { display: flex; gap: 25px; align-items: flex-start; background: var(--surface-light); padding: 35px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s, border-color 0.3s; }
.feature-item:hover { transform: translateX(10px); border-color: var(--primary); }
.feature-item i { font-size: 2.5rem; color: var(--primary); background: rgba(0, 242, 254, 0.1); padding: 20px; border-radius: 12px; }
.feature-item h3 { font-family: var(--font-body); font-weight: 900; font-size: 1.6rem; color: #FFF; margin-bottom: 10px; }

/* Process Section */
.process-section { background: linear-gradient(180deg, var(--bg-color), var(--surface)); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 50px; }
.step { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 40px; border-radius: 16px; text-align: center; position: relative; }
.step-number { font-family: var(--font-heading); font-size: 4rem; color: rgba(0, 242, 254, 0.2); position: absolute; top: 10px; right: 20px; }
.step h3 { font-size: 1.5rem; color: #FFF; margin: 20px 0 15px; font-weight: 700; }

/* Form */
.form-section { background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 100 L100 0" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></svg>'), var(--bg-color); }
.form-container { max-width: 700px; margin: 0 auto; background: var(--surface); padding: 60px; border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0,0,0,0.8); }
.form-group { margin-bottom: 25px; }
input, textarea { width: 100%; padding: 20px; background: rgba(0,0,0,0.5); border: 1px solid #2A3B5C; color: #FFF; font-family: var(--font-body); border-radius: 8px; font-size: 1.1rem; transition: all 0.3s; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 15px rgba(0, 242, 254, 0.2); }
.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: var(--text-muted); line-height: 1.5; }
#success-message { display: none; text-align: center; padding: 50px 0; }
#success-message i { font-size: 5rem; color: var(--primary); margin-bottom: 20px; }

/* FAQ */
.faq-container { max-width: 850px; margin: 0 auto; }
details { background: var(--surface); margin-bottom: 20px; padding: 25px 30px; border-radius: 12px; border: 1px solid #1A294A; cursor: pointer; transition: all 0.3s; }
details:hover { border-color: var(--primary); }
summary { font-size: 1.3rem; font-weight: 700; color: #FFF; 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; transition: transform 0.3s; }
details[open] summary::after { content: '\f068'; transform: rotate(180deg); }
details p { margin-top: 20px; border-top: 1px solid #1A294A; padding-top: 20px; font-size: 1.1rem; color: #A0AABF; }

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

/* Compliance Pages */
.legal-main { padding: 150px 5% 100px; min-height: 85vh; background: var(--bg-color); }
.legal-card { background: #FFF; color: #0B132B; max-width: 1000px; margin: 0 auto; padding: 80px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,242,254,0.15); }
.legal-card h1 { color: #0B132B; font-size: 3.5rem; margin-bottom: 40px; text-align: center; border-bottom: 3px solid var(--primary); padding-bottom: 25px; text-shadow: none; }
.legal-card h2 { color: #0B132B; font-size: 1.7rem; margin: 40px 0 20px; font-family: var(--font-body); font-weight: 900; background: none; -webkit-text-fill-color: #0B132B; }
.legal-card p { color: #334155; margin-bottom: 18px; font-size: 1.1rem; line-height: 1.8; }
.legal-card ul { margin-left: 20px; margin-bottom: 20px; }
.legal-card li { margin-bottom: 10px; color: #334155; }

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

/* Cookie Banner */
#cookie-banner { position: fixed; bottom: -150px; left: 0; width: 100%; background: rgba(11, 19, 43, 0.98); backdrop-filter: blur(15px); border-top: 2px solid var(--primary); padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 -10px 40px rgba(0,0,0,0.7); }
#cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 1rem; color: #E2E8F0; max-width: 70%; }
.cookie-btns { display: flex; gap: 15px; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 12px 25px; cursor: pointer; border-radius: 6px; font-weight: 900; font-size: 1rem; }
.btn-accept { background: var(--primary); border: 2px solid var(--primary); color: #000; padding: 12px 25px; cursor: pointer; border-radius: 6px; font-weight: 900; font-size: 1rem; }

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