﻿:root {
    --primary: #0f172a;      /* Dark Slate */
    --secondary: #3b82f6;    /* Bright Blue */
    --accent: #10b981;       /* Emerald Green for conversion */
    --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.5rem; font-weight: 800; color: var(--primary); line-height: 1.3; }
h2 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.highlight { color: var(--secondary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: #2563eb; transform: translateY(-2px); }
.btn-large { background: var(--accent); color: var(--white); font-size: 1.2rem; padding: 18px 36px; }
.btn-large:hover { background: #059669; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); transform: translateY(-3px); }
.btn-outline { background: transparent; border: 1px solid var(--text-light); color: var(--text-main); }

/* Header */
header {
    background: var(--white);
    position: fixed;
    top: 0; left: 0; width: 100%;
    box-shadow: 0 2px 10px 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: 10px; font-weight: 800; font-size: 1.2rem; color: var(--primary); }
.logo img { width: 35px; height: 35px; }
nav { display: none; } /* Mobile first: hidden on mobile */

/* Hero */
.hero {
    margin-top: 70px;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero p { font-size: 1.1rem; color: var(--text-main); margin: 20px 0 40px; }
.hero-bg {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }

/* Architecture (Random Section) */
.random-section { padding: 80px 0; background: var(--white); }
.text-center { text-align: center; }
.arch-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
.arch-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}
.arch-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.arch-card i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 20px; }

/* About & Features */
.about, .features { padding: 80px 0; }
.features { background: var(--white); }
.about-flex, .feature-flex { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.about-image img, .feature-image img { width: 100%; max-width: 500px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.feature-list { list-style: none; margin-top: 30px; }
.feature-list li { display: flex; gap: 15px; margin-bottom: 25px; }
.feature-list i { color: var(--accent); font-size: 1.5rem; margin-top: 3px; }
.feature-list strong { display: block; font-size: 1.2rem; color: var(--primary); margin-bottom: 5px; }

/* FAQ */
.faq { padding: 80px 0; background: var(--bg-light); }
.faq-container { max-width: 800px; margin: 0 auto; }
details {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
summary {
    padding: 20px; font-weight: 700; font-size: 1.1rem; 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: 20px; top: 20px; color: var(--secondary); transition: transform 0.3s;
}
details[open] summary::after { transform: rotate(180deg); }
.faq-content { padding: 0 20px 20px; color: var(--text-main); line-height: 1.8; }

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

.progress-bar { width: 100%; height: 8px; background: #e2e8f0; border-radius: 4px; margin-bottom: 30px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); width: 16%; transition: width 0.4s ease; }

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

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

.btn-next { width: 100%; margin-top: 10px; background: var(--secondary); color: var(--white); }
.btn-submit { width: 100%; background: var(--accent); color: var(--white); font-size: 1.1rem; padding: 16px; margin-top: 20px; }

/* Slider */
.slider-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }
input[type="range"] { width: 100%; accent-color: var(--secondary); cursor: pointer; height: 8px; }
.slider-value { text-align: center; font-size: 2rem; font-weight: 800; color: var(--secondary); margin: 20px 0; }

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

/* Final Form */
.input-group { margin-bottom: 15px; }
.input-group input { width: 100%; padding: 15px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; }
.input-group input:focus { outline: none; border-color: var(--secondary); }
.checkbox-group { font-size: 0.9rem; margin-top: 15px; display: flex; gap: 10px; align-items: center; }
.checkbox-group a { color: var(--secondary); text-decoration: underline; }
.recaptcha-text { font-size: 0.75rem; color: var(--text-light); text-align: center; margin-top: 15px; }

.success-message { display: none; text-align: center; padding: 50px 0; }
.success-message i { font-size: 4rem; color: var(--accent); margin-bottom: 20px; }
.success-message h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; }

/* Footer */
footer { background: #020617; color: #94a3b8; padding: 60px 20px 30px; font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; justify-content: center; }
.footer-links a { color: var(--white); font-weight: 600; }
.footer-links a:hover { color: var(--secondary); }
.footer-info p { margin-bottom: 8px; text-align: center; }
.footer-badges { display: flex; justify-content: center; gap: 20px; margin: 30px 0; }
.footer-badges span { display: inline-flex; align-items: center; gap: 8px; background: #1e293b; padding: 8px 15px; border-radius: 6px; font-size: 0.85rem; color: var(--white); }
.copyright { text-align: center; margin-top: 30px; border-top: 1px solid #1e293b; padding-top: 20px; }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: -100px; left: 0; width: 100%; background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1); padding: 20px; z-index: 9999;
    transition: bottom 0.5s ease; display: flex; justify-content: center;
}
.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: 120px 20px 60px; text-align: center; color: var(--white); }
.legal-container { max-width: 900px; margin: -40px auto 80px; background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); position: relative; z-index: 10; }
.legal-content h3 { font-size: 1.3rem; color: var(--primary); margin: 30px 0 15px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.legal-content p, .legal-content li { margin-bottom: 10px; color: var(--text-main); line-height: 1.8; }
.legal-content ul { padding-left: 20px; margin-bottom: 20px; }

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

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