﻿:root {
    --primary: #0f172a;      /* Slate 900 - Dark Navy/Black */
    --secondary: #ca8a04;    /* Yellow 600 - Premium Gold */
    --accent: #2563eb;       /* Blue 600 - Trust Blue */
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --font-main: 'Pretendard', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }
body { background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Typography */
h1 { font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1.3; }
h2 { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; letter-spacing: -0.5px; }
.highlight { color: var(--secondary); }

/* Buttons */
.btn {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 6px; font-weight: 700; cursor: pointer;
    transition: all 0.3s ease; border: none; font-size: 1rem;
}
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: #a16207; transform: translateY(-2px); }
.btn-large { background: var(--secondary); color: var(--white); font-size: 1.2rem; padding: 18px 36px; }
.btn-large:hover { background: #a16207; box-shadow: 0 10px 25px rgba(202, 138, 4, 0.3); transform: translateY(-3px); }
.btn-outline { background: transparent; border: 1px solid #cbd5e1; color: var(--text-main); }
.btn-outline:hover { background: #f1f5f9; }

/* Header */
header {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    position: fixed; top: 0; left: 0; width: 100%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); z-index: 1000; padding: 15px 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.3rem; color: var(--primary); letter-spacing: -0.5px; }
.logo img { width: 38px; height: 38px; }
nav { display: none; }

/* Hero */
.hero {
    margin-top: 68px; padding: 120px 20px 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center; position: relative; overflow: hidden; color: var(--white);
}
.hero p { font-size: 1.15rem; color: #cbd5e1; margin: 25px auto 45px; max-width: 700px; font-weight: 300; }
.hero-bg {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(202,138,4,0.1) 0%, rgba(15,23,42,0) 60%);
    z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

/* Random Section (Portfolio) */
.random-section { padding: 90px 0; background: var(--white); }
.text-center { text-align: center; }
.text-center p { font-size: 1.1rem; color: var(--text-light); }
.arch-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 50px; }
.arch-card {
    background: var(--bg-light); padding: 40px 30px; border-radius: 12px;
    text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s;
}
.arch-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--secondary); }
.arch-card i { font-size: 2.8rem; color: var(--secondary); margin-bottom: 25px; }
.arch-card h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 15px; font-weight: 800; }

/* About & Features */
.about, .features { padding: 90px 0; }
.features { background: var(--white); }
.about-flex, .feature-flex { display: flex; flex-direction: column; gap: 50px; align-items: center; }
.about-image img, .feature-image img { width: 100%; max-width: 550px; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; }
.feature-list { list-style: none; margin-top: 35px; }
.feature-list li { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.feature-list i { color: var(--secondary); font-size: 1.8rem; background: #fef08a; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.feature-list strong { display: block; font-size: 1.25rem; color: var(--primary); margin-bottom: 8px; font-weight: 700; }

/* FAQ */
.faq { padding: 90px 0; background: var(--bg-light); }
.faq-container { max-width: 850px; margin: 50px auto 0; }
details { background: var(--white); margin-bottom: 15px; border-radius: 8px; border: 1px solid #e2e8f0; overflow: hidden; transition: all 0.3s; }
details[open] { border-color: var(--secondary); box-shadow: 0 5px 15px rgba(202,138,4,0.1); }
summary { padding: 22px; font-weight: 700; font-size: 1.15rem; cursor: pointer; color: var(--primary); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; right: 25px; top: 22px; color: var(--text-light); transition: transform 0.3s;
}
details[open] summary::after { transform: rotate(180deg); color: var(--secondary); }
.faq-content { padding: 0 25px 25px; color: var(--text-main); line-height: 1.8; }

/* Lead Form */
.lead-capture { padding: 110px 0; background: var(--primary); color: var(--white); }
.form-wrapper {
    background: var(--white); color: var(--text-main);
    max-width: 750px; margin: 0 auto; padding: 50px 30px;
    border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative; overflow: hidden; min-height: 500px;
}
.form-wrapper h2 { text-align: center; margin-bottom: 12px; color: var(--primary); }
.form-wrapper > p { text-align: center; color: var(--text-light); margin-bottom: 40px; }

.progress-bar { width: 100%; height: 8px; background: #f1f5f9; border-radius: 4px; margin-bottom: 40px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--secondary); width: 14.28%; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

.quiz-step { display: none; animation: slideUp 0.5s ease; }
.quiz-step.active { display: block; }

.quiz-step h3 { font-size: 1.35rem; margin-bottom: 25px; color: var(--primary); font-weight: 800; }
.options label {
    display: block; padding: 18px 20px; border: 2px solid #e2e8f0; border-radius: 8px;
    margin-bottom: 12px; cursor: pointer; font-weight: 600; transition: all 0.2s; color: var(--primary);
}
.options label:hover, .options label:has(input:checked) { border-color: var(--secondary); background: #fefce8; }
.options input[type="radio"] { display: none; }

.btn-next { width: 100%; margin-top: 15px; background: var(--primary); font-size: 1.1rem; padding: 16px; }
.btn-next:hover { background: #1e293b; }
.btn-submit { width: 100%; background: var(--secondary); color: var(--white); font-size: 1.15rem; padding: 18px; margin-top: 25px; font-weight: 800; }

/* Slider */
.slider-desc { font-size: 0.95rem; color: var(--text-light); margin-bottom: 20px; }
input[type="range"] { width: 100%; accent-color: var(--secondary); cursor: pointer; height: 10px; border-radius: 5px; }
.slider-value { text-align: center; font-size: 2.5rem; font-weight: 900; color: var(--secondary); margin: 30px 0; letter-spacing: -1px; }

/* Loader */
.loader-container { text-align: center; padding: 60px 0; }
.spinner {
    width: 70px; height: 70px; border: 6px solid #f1f5f9; border-top-color: var(--secondary);
    border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 25px;
}

/* Final Form */
.input-group { margin-bottom: 18px; }
.input-group input { width: 100%; padding: 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1.05rem; transition: border-color 0.3s; }
.input-group input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(202,138,4,0.1); }
.checkbox-group { font-size: 0.95rem; margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; }
.checkbox-group input { margin-top: 5px; cursor: pointer; }
.checkbox-group a { color: var(--accent); text-decoration: underline; font-weight: 600; }
.recaptcha-text { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 20px; line-height: 1.4; }

.success-message { display: none; text-align: center; padding: 60px 0; }
.success-message i { font-size: 4.5rem; color: var(--secondary); margin-bottom: 25px; }
.success-message h3 { font-size: 1.8rem; color: var(--primary); margin-bottom: 15px; font-weight: 800; }

/* Footer */
footer { background: #020617; color: #94a3b8; padding: 70px 20px 40px; font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; margin-bottom: 40px; justify-content: center; }
.footer-links a { color: #cbd5e1; font-weight: 600; transition: color 0.3s; }
.footer-links a:hover { color: var(--secondary); }
.footer-info p { margin-bottom: 10px; text-align: center; }
.footer-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 40px 0; }
.footer-badges span { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 8px; font-size: 0.9rem; color: var(--white); border: 1px solid rgba(255,255,255,0.1); }
.footer-badges i { color: var(--secondary); }
.copyright { text-align: center; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 0.85rem; }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: -120px; left: 0; width: 100%; background: var(--white);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1); padding: 20px; z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1); display: flex; justify-content: center;
    border-top: 3px solid var(--secondary);
}
.cookie-banner.show { bottom: 0; }
.cookie-content { max-width: 1200px; width: 100%; display: flex; flex-direction: column; gap: 15px; align-items: center; text-align: center; }
.cookie-buttons { display: flex; gap: 10px; }

/* Legal Pages (Compliance) */
.legal-header { background: var(--primary); padding: 140px 20px 70px; text-align: center; color: var(--white); }
.legal-header h1 { font-size: 2.2rem; }
.legal-container { max-width: 900px; margin: -50px auto 100px; background: var(--white); padding: 40px 30px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); position: relative; z-index: 10; }
.legal-content h3 { font-size: 1.4rem; color: var(--primary); margin: 40px 0 15px; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9; font-weight: 800; }
.legal-content p, .legal-content li { margin-bottom: 12px; color: var(--text-main); line-height: 1.8; font-size: 1.05rem; }
.legal-content ul { padding-left: 20px; margin-bottom: 25px; }

/* Desktop Media Queries */
@media (min-width: 768px) {
    h1 { font-size: 3.8rem; }
    nav { display: flex; gap: 35px; font-weight: 700; color: var(--text-main); }
    nav a:hover { color: var(--secondary); }
    .arch-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .about-flex { flex-direction: row; }
    .feature-flex { flex-direction: row-reverse; }
    .about-text, .about-image, .feature-text, .feature-image { flex: 1; }
    .form-wrapper { padding: 60px; }
    .cookie-content { flex-direction: row; justify-content: space-between; text-align: left; }
    .legal-container { padding: 60px 80px; }
}

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { 100% { transform: rotate(360deg); } }
