﻿@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

:root {
    --primary: #0A0F24;
    --secondary: #16203A;
    --accent: #00E5FF;
    --text: #F3F4F6;
    --text-muted: #9CA3AF;
    --white: #FFFFFF;
    --error: #FF4D4F;
    --success: #00C853;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
body { background-color: var(--primary); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Header */
header { position: fixed; width: 100%; top: 0; background: rgba(10, 15, 36, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); z-index: 1000; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 10px; }
.logo img { height: 32px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 1.1rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.btn-primary { background: var(--accent); color: var(--primary); padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4); }

/* Hero */
.hero { padding: 160px 5% 100px; text-align: center; background: radial-gradient(circle at 50% 50%, #16203A 0%, #0A0F24 100%); position: relative; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-img { width: 100%; max-width: 900px; margin-top: 50px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }

/* Random Section: AI Architecture */
.architecture { padding: 100px 5%; background: var(--secondary); }
.section-title { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.card { background: var(--primary); padding: 40px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); text-align: left; transition: transform 0.3s; }
.card:hover { transform: translateY(-10px); border-color: var(--accent); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.card p { color: var(--text-muted); }

/* About & Features (Asymmetric) */
.features { padding: 100px 5%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.features-img { flex: 1; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.features-text { flex: 1; }
.features-text h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
.features-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.features-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.features-list li i { color: var(--accent); }

/* FAQ */
.faq { padding: 100px 5%; background: var(--secondary); }
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--primary); margin-bottom: 15px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
summary { padding: 25px; font-size: 1.2rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); transition: transform 0.3s; }
details[open] summary:after { transform: rotate(180deg); }
.faq-content { padding: 0 25px 25px; color: var(--text-muted); line-height: 1.7; }

/* Lead Form Section */
.lead-section { padding: 100px 5%; text-align: center; }
.lead-container { max-width: 700px; margin: 0 auto; background: var(--secondary); padding: 50px; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 1px solid rgba(0,229,255,0.2); position: relative; overflow: hidden; }
.quiz-step { display: none; animation: fadeIn 0.5s ease-in-out; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.quiz-step h3 { font-size: 1.8rem; margin-bottom: 30px; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.option-btn { background: var(--primary); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 15px; border-radius: 10px; cursor: pointer; font-size: 1rem; transition: all 0.2s; }
.option-btn:hover, .option-btn.selected { background: rgba(0,229,255,0.1); border-color: var(--accent); color: var(--accent); font-weight: bold; }
.btn-next { background: var(--accent); color: var(--primary); padding: 15px 30px; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: bold; cursor: pointer; width: 100%; margin-top: 20px; }
.slider-container { text-align: left; margin: 40px 0; }
.slider-container label { display: block; font-size: 1.2rem; margin-bottom: 15px; font-weight: bold; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.val-display { font-size: 2rem; font-weight: 800; color: var(--accent); text-align: center; margin-top: 15px; display: block; }
.form-group { text-align: left; margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.95rem; color: var(--text-muted); }
.form-group input { width: 100%; padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); background: var(--primary); color: var(--white); font-size: 1rem; }
.form-group input:focus { outline: none; border-color: var(--accent); }
.checkbox-group { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 0.9rem; margin-bottom: 20px; }
.recaptcha-text { font-size: 0.75rem; color: var(--text-muted); margin-top: 15px; }

/* Loader */
.loader-box { display: none; text-align: center; padding: 40px 0; }
.spinner { width: 60px; height: 60px; border: 5px solid rgba(255,255,255,0.1); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.success-box { display: none; text-align: center; padding: 40px 0; }
.success-box i { font-size: 4rem; color: var(--success); margin-bottom: 20px; }

/* Footer */
footer { background: #050814; padding: 60px 5% 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--white); }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.cert-badges { display: flex; gap: 15px; margin-top: 20px; }
.cert-badges span { padding: 5px 10px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: var(--secondary); padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0,229,255,0.2); z-index: 2000; transition: bottom 0.5s; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); }
.cookie-banner.show { bottom: 0; }
.cookie-banner p { font-size: 0.9rem; color: var(--text-muted); max-width: 70%; }
.cookie-btns { display: flex; gap: 10px; }
.btn-cookie { padding: 10px 20px; border-radius: 6px; font-size: 0.9rem; cursor: pointer; border: none; font-weight: 600; }
.btn-agree { background: var(--accent); color: var(--primary); }
.btn-necessary { background: transparent; border: 1px solid var(--text-muted); color: var(--text); }

/* Legal Pages */
.legal-container { padding: 160px 5% 100px; max-width: 900px; margin: 0 auto; }
.legal-box { background: var(--white); color: #333; padding: 50px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.legal-box h1 { font-size: 2.5rem; margin-bottom: 30px; color: #111; border-bottom: 2px solid #EEE; padding-bottom: 15px; }
.legal-box h2 { font-size: 1.5rem; margin: 30px 0 15px; color: #222; }
.legal-box p, .legal-box li { font-size: 1rem; margin-bottom: 15px; color: #555; line-height: 1.8; }
.legal-box ul { padding-left: 20px; list-style-type: disc; }

/* Maps */
.map-container { margin-top: 40px; width: 100%; height: 400px; border-radius: 12px; overflow: hidden; border: 1px solid #EEE; }

/* Mobile Adaptations */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .features { flex-direction: column; }
    .options-grid { grid-template-columns: 1fr; }
    .legal-box { padding: 30px 20px; }
    .cookie-banner { flex-direction: column; gap: 15px; text-align: center; }
    .cookie-banner p { max-width: 100%; }
}
