﻿@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@300;400;700;900&display=swap');

:root {
    --primary-color: #0F172A;
    --secondary-color: #3B82F6;
    --accent-color: #10B981;
    --bg-color: #F8FAFC;
    --text-color: #1E293B;
    --light-text: #64748B;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Black Han Sans', sans-serif; font-weight: 400; letter-spacing: -0.02em; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
header {
    background: var(--white);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 900; color: var(--primary-color); }
.logo img { width: 32px; height: 32px; }

nav ul { display: none; }
@media (min-width: 768px) {
    nav ul { display: flex; gap: 2rem; }
    nav ul li a { font-weight: 700; transition: color 0.3s; }
    nav ul li a:hover { color: var(--secondary-color); }
}

.cta-nav {
    background: var(--primary-color); color: var(--white); padding: 0.6rem 1.2rem;
    border-radius: 8px; font-weight: 700; transition: background 0.3s;
}
.cta-nav:hover { background: var(--secondary-color); }

/* Hero */
.hero {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 6rem 5% 4rem; background: linear-gradient(135deg, var(--primary-color) 0%, #1E293B 100%);
    color: var(--white);
}
.hero h1 { font-size: 3rem; margin-bottom: 1.5rem; line-height: 1.2; }
.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 700px; color: #CBD5E1; }
.hero-img { width: 100%; max-width: 900px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); margin-top: 2rem; }

/* Sections Common */
section { padding: 5rem 5%; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; color: var(--primary-color); }

/* Random 1: Stats */
.stats { display: grid; grid-template-columns: 1fr; gap: 2rem; background: var(--white); }
@media(min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat-card { text-align: center; padding: 2rem; border-radius: 12px; box-shadow: var(--shadow); }
.stat-card i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 1rem; }
.stat-card h3 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--primary-color); }
.stat-card p { color: var(--light-text); font-weight: 700; }

/* About & Features */
.split-section { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media(min-width: 992px) { .split-section { flex-direction: row; } }
.split-content { flex: 1; }
.split-content h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.split-content p { font-size: 1.1rem; color: var(--light-text); margin-bottom: 1.5rem; }
.split-content ul li { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.split-content ul li i { color: var(--accent-color); font-size: 1.2rem; }
.split-image { flex: 1; width: 100%; }
.split-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); object-fit: cover; }

/* Lead Form */
.lead-section { background: var(--primary-color); color: var(--white); border-radius: 24px; margin: 0 5%; padding: 4rem 2rem; text-align: center; }
.lead-wrapper { max-width: 600px; margin: 0 auto; background: var(--white); padding: 3rem; border-radius: 16px; color: var(--text-color); }
.lead-wrapper h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary-color); }
.lead-wrapper p { margin-bottom: 2rem; color: var(--light-text); }
.form-group { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 1rem; }
@media(min-width: 768px) { .form-row { flex-direction: row; } .form-row input { flex: 1; } }
input { width: 100%; padding: 1rem; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 1rem; font-family: inherit; }
input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.checkbox-group { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--light-text); text-align: left; }
.checkbox-group input { width: auto; }
.submit-btn { width: 100%; padding: 1.2rem; background: var(--secondary-color); color: var(--white); border: none; border-radius: 8px; font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 1rem; }
.submit-btn:hover { background: #2563EB; }
.submit-btn:disabled { background: #94A3B8; cursor: not-allowed; }
.success-msg { display: none; text-align: center; padding: 3rem 1rem; }
.success-msg i { font-size: 4rem; color: var(--accent-color); margin-bottom: 1rem; }
.success-msg h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--primary-color); }

/* Random 2: Workflow */
.workflow { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width: 768px) { .workflow { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; }
.step-num { width: 50px; height: 50px; background: var(--primary-color); color: var(--white); font-family: 'Black Han Sans', sans-serif; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 1rem; }
.step h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--white); margin-bottom: 1rem; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); cursor: pointer; border: 1px solid #E2E8F0; }
summary { font-size: 1.2rem; font-weight: 700; color: var(--primary-color); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'FontAwesome'; color: var(--secondary-color); transition: 0.3s; }
details[open] summary::after { transform: rotate(180deg); }
details p { margin-top: 1rem; color: var(--light-text); padding-top: 1rem; border-top: 1px solid #E2E8F0; }

/* Footer */
footer { background: var(--primary-color); color: #94A3B8; padding: 4rem 5% 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; border-bottom: 1px solid #334155; padding-bottom: 3rem; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-info h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1rem; }
.footer-info p { margin-bottom: 0.5rem; }
.footer-links h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.2rem; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.9rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100px; left: 0; right: 0; background: var(--white); padding: 1.5rem 5%; box-shadow: 0 -5px 20px rgba(0,0,0,0.1); display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between; transition: bottom 0.5s; z-index: 9999; }
@media(min-width: 768px) { .cookie-banner { flex-direction: row; } }
.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 0.9rem; color: var(--text-color); }
.cookie-btns { display: flex; gap: 1rem; }
.cookie-btn { padding: 0.5rem 1.5rem; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; }
.btn-accept { background: var(--primary-color); color: var(--white); }
.btn-reject { background: #E2E8F0; color: var(--text-color); }

/* Legal Pages */
.legal-main { background: var(--bg-color); padding: 3rem 5%; }
.legal-container { background: var(--white); max-width: 900px; margin: 0 auto; padding: 3rem; border-radius: 16px; box-shadow: var(--shadow); }
.legal-container h1 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 2rem; text-align: center; border-bottom: 2px solid var(--bg-color); padding-bottom: 1rem; }
.legal-container h2 { font-size: 1.5rem; color: var(--secondary-color); margin: 2rem 0 1rem; font-family: 'Noto Sans KR', sans-serif; font-weight: 700; }
.legal-container p { margin-bottom: 1rem; color: var(--text-color); }
.legal-container ul { margin-left: 1.5rem; margin-bottom: 1rem; list-style-type: disc; }

/* Responsive Typography */
@media (min-width: 1200px) {
    .hero h1 { font-size: 4.5rem; }
    .section-title { font-size: 3.5rem; }
}
