﻿@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
@font-face {
    font-family: 'GmarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
}

:root {
    --primary: #0B132B;    /* Deep Cyber Dark */
    --secondary: #00FFCC;  /* Neon Cyan */
    --accent: #FF3366;     /* Alert Red/Pink */
    --bg-light: #F0F4F8;
    --text-main: #1A1A24;
    --text-muted: #555566;
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard', sans-serif; }
body { background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'GmarketSans', sans-serif; color: var(--primary); }

/* Header */
header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 1.2rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.logo { font-family: 'GmarketSans'; font-size: 1.6rem; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 12px; letter-spacing: -0.5px;}
.logo img { width: 36px; height: 36px; }
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
nav a:hover { color: var(--secondary); }
.btn-cta { background: var(--primary); color: var(--secondary); border: 2px solid var(--secondary); padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none; font-weight: 700; transition: all 0.3s; box-shadow: 0 4px 15px rgba(0,255,204,0.2); }
.btn-cta:hover { background: var(--secondary); color: var(--primary); transform: translateY(-2px); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #1C2541 100%); color: #fff; padding: 10rem 5% 8rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://www.transparenttextures.com/patterns/cubes.png'); opacity: 0.1; }
.hero h1 { color: #fff; font-size: 4rem; margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -1.5px; position: relative; z-index: 2; }
.hero h1 span { color: var(--secondary); }
.hero p { font-size: 1.4rem; margin-bottom: 3rem; color: #A0AAB2; position: relative; z-index: 2; font-weight: 300; }

/* Sections */
section { padding: 6rem 5%; }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 4rem; letter-spacing: -1px; }

/* About & Features (Asymmetrical) */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.img-placeholder { width: 100%; height: 500px; background: #E1E6EB; border-radius: var(--radius); object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
ul.feature-list { list-style: none; margin-top: 2rem; }
ul.feature-list li { font-size: 1.25rem; margin-bottom: 1.5rem; display: flex; align-items: flex-start; gap: 15px; font-weight: 500; }
ul.feature-list li i { color: var(--accent); font-size: 1.8rem; margin-top: 3px; }

/* Random Section: Cyber Infrastructure */
.infra-bg { background: #1C2541; color: #fff; border-radius: var(--radius); padding: 5rem; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.infra-bg h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.infra-bg p { color: #8D99AE; font-size: 1.2rem; margin-bottom: 3rem; }
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.infra-card { background: rgba(255,255,255,0.05); padding: 2rem; border-radius: var(--radius); border: 1px solid rgba(0,255,204,0.2); transition: transform 0.3s; }
.infra-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.1); }
.infra-card i { font-size: 3rem; color: var(--secondary); margin-bottom: 1.5rem; }
.infra-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }

/* FAQ */
.faq-container { max-width: 850px; margin: 0 auto; }
details { background: #fff; margin-bottom: 1.5rem; padding: 1.8rem; border-radius: var(--radius); box-shadow: 0 5px 15px rgba(0,0,0,0.03); cursor: pointer; border-left: 5px solid transparent; transition: all 0.3s; }
details:hover { border-left-color: var(--secondary); }
summary { font-size: 1.3rem; font-weight: 700; color: var(--primary); 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(--accent); transition: transform 0.3s; }
details[open] summary::after { content: '\f068'; transform: rotate(180deg); }
details p { margin-top: 1.5rem; color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; border-top: 1px solid #E1E6EB; padding-top: 1.5rem; }

/* Form Section (Lead Capture) */
.form-section { background: #fff; position: relative; }
.quiz-container { max-width: 800px; margin: 0 auto; background: var(--bg-light); padding: 4rem; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-top: 6px solid var(--secondary); }
.step { display: none; animation: fadeInRight 0.5s ease forwards; }
.step.active { display: block; }
.step h3 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.option-btn { background: #fff; border: 2px solid #D1D8E0; padding: 1.5rem; border-radius: var(--radius); font-size: 1.2rem; cursor: pointer; transition: all 0.3s; font-weight: 600; color: var(--text-main); text-align: left; display: flex; align-items: center; gap: 15px; }
.option-btn i { color: #A0AAB2; font-size: 1.5rem; }
.option-btn:hover, .option-btn.selected { border-color: var(--secondary); background: #F0FEFA; color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,255,204,0.1); }
.option-btn.selected i { color: var(--secondary); }

/* Slider */
.slider-container { margin: 3rem 0; padding: 2rem; background: #fff; border-radius: var(--radius); text-align: center; }
.slider-container label { display: block; font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--primary); }
input[type="range"] { width: 100%; height: 8px; background: #D1D8E0; border-radius: 5px; outline: none; -webkit-appearance: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 25px; height: 25px; border-radius: 50%; background: var(--secondary); cursor: pointer; border: 3px solid var(--primary); }
.budget-value { font-size: 2.5rem; font-weight: 700; color: var(--accent); margin-top: 1.5rem; font-family: 'GmarketSans'; }

/* Inputs */
.form-input { width: 100%; padding: 1.2rem; margin-bottom: 1.5rem; border: 2px solid #D1D8E0; border-radius: var(--radius); font-size: 1.1rem; transition: border-color 0.3s; }
.form-input:focus { border-color: var(--secondary); outline: none; }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-bottom: 2rem; font-size: 1rem; color: var(--text-muted); }
.checkbox-group input { width: 20px; height: 20px; accent-color: var(--secondary); }

/* Buttons */
.btn-submit, .btn-next { width: 100%; background: var(--primary); color: #fff; padding: 1.4rem; border: none; border-radius: 50px; font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: all 0.3s; margin-top: 1rem; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover, .btn-next:hover { background: var(--accent); box-shadow: 0 5px 20px rgba(255,51,102,0.3); }
.recaptcha-text { font-size: 0.85rem; color: #A0AAB2; text-align: center; margin-top: 15px; }

/* AI Loader */
.loader-wrapper { display: none; text-align: center; padding: 5rem 0; }
.cyber-spinner { width: 80px; height: 80px; border: 5px solid rgba(0,255,204,0.1); border-top: 5px solid var(--secondary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 2rem auto; }
.loader-wrapper h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }
.loader-wrapper p { color: var(--text-muted); font-size: 1.1rem; }

/* Success Message */
.success-msg { display: none; text-align: center; padding: 5rem 2rem; }
.success-msg i { font-size: 5rem; color: var(--secondary); margin-bottom: 1.5rem; }
.success-msg h3 { font-size: 2.2rem; margin-bottom: 1rem; }
.success-msg p { font-size: 1.2rem; color: var(--text-muted); }

/* Legal Pages */
.legal-container { max-width: 900px; margin: 5rem auto; background: #fff; padding: 5rem; border-radius: var(--radius); box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.legal-container h1 { font-size: 2.8rem; margin-bottom: 2.5rem; border-bottom: 3px solid var(--bg-light); padding-bottom: 1.5rem; }
.legal-container h2 { font-size: 1.6rem; margin: 3rem 0 1.5rem 0; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.legal-container h2::before { content: ''; display: inline-block; width: 6px; height: 24px; background: var(--secondary); border-radius: 3px; }
.legal-container p, .legal-container li { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.legal-container ul { margin-left: 2rem; margin-bottom: 2rem; }
.map-iframe { width: 100%; height: 450px; border: none; border-radius: var(--radius); margin-top: 3rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.contact-info-box { background: var(--bg-light); padding: 2.5rem; border-radius: var(--radius); margin-top: 3rem; border-left: 5px solid var(--secondary); }
.contact-info-box p { margin-bottom: 1rem; font-size: 1.2rem; color: var(--primary); font-weight: 600; }
.contact-info-box i { color: var(--accent); width: 30px; }

/* Footer */
footer { background: var(--primary); color: #fff; padding: 5rem 5% 3rem; font-size: 1rem; border-top: 5px solid var(--secondary); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
.footer-logo { font-family: 'GmarketSans'; font-size: 1.8rem; color: #fff; margin-bottom: 1rem; display: block; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--secondary); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-info p { margin-bottom: 0.8rem; color: #8D99AE; }
.badges { margin-top: 2rem; display: flex; gap: 15px; flex-wrap: wrap; }
.badges span { background: rgba(255,255,255,0.05); padding: 8px 20px; border-radius: 30px; font-size: 0.85rem; border: 1px solid rgba(0,255,204,0.3); color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.badges span i { color: var(--secondary); }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; color: #8D99AE; margin-top: 3rem; }

/* Cookies */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; padding: 2rem 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); z-index: 9999; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); border-top: 4px solid var(--accent); }
.cookie-banner.show { transform: translateY(0); }
.cookie-text p { font-size: 1.1rem; color: var(--text-main); font-weight: 500; }
.cookie-btns { display: flex; gap: 1rem; }
.cookie-btns button { padding: 1rem 2rem; border: none; border-radius: 50px; cursor: pointer; font-weight: 700; font-size: 1.1rem; transition: all 0.3s; }
.btn-agree { background: var(--primary); color: #fff; }
.btn-agree:hover { background: var(--secondary); color: var(--primary); }
.btn-necessary { background: #E1E6EB; color: var(--text-main); }
.btn-necessary:hover { background: #D1D8E0; }

@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 992px) {
    .grid-2, .infra-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    nav ul { display: none; }
    .options { grid-template-columns: 1fr; }
    .legal-container { padding: 2.5rem; margin: 2rem 5%; }
    .cookie-banner { flex-direction: column; gap: 1.5rem; text-align: center; }
}
