@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    /* Modern Dark Theme Palette */
    --bg-main: #020617;
    --bg-secondary: #0f172a;
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --accent: #fbbf24;
    --accent-glow: rgba(251, 191, 36, 0.2);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(148, 163, 184, 0.1);
    --glass-header: rgba(2, 6, 23, 0.8);
    --container-width: 1200px;
    --section-padding: 6rem 1.5rem;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
    --backdrop-blur: 16px;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 1rem; }

/* Layout */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--section-padding); }
.section-gray { background-color: var(--bg-secondary); }

/* Typography */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-title p { color: var(--text-muted); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Header */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1rem 0; background: var(--glass-header);
    backdrop-filter: blur(var(--backdrop-blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-weight: 800; font-size: 1.1rem; color: var(--text-main); }
.secondary-logo-text { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: block; } }

/* Seal */
.seal-yoon {
    width: 44px; height: 44px; background: linear-gradient(135deg, #b91c1c, #991b1b);
    border-radius: 8px; color: white; display: flex; align-items: center;
    justify-content: center; padding: 3px; font-family: serif; font-weight: bold;
}
.seal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; width: 100%; height: 100%; }
.seal-char { display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 2rem; border-radius: 9999px; font-weight: 600;
    transition: all 0.3s ease; cursor: pointer; border: none; gap: 0.5rem;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.125rem; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, #d97706) 100%; color: #0f172a; }
.btn-outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--text-main); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); }

/* Hero */
.hero { padding-top: 10rem; padding-bottom: 6rem; background: radial-gradient(circle at 50% 0%, #1e293b 0%, var(--bg-main) 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.2fr 1fr; } .hero-content { text-align: left; } .hero-buttons { justify-content: flex-start; } }
.hero-content { text-align: center; }
.badge {
    display: inline-block; padding: 0.5rem 1rem; background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2); color: #60a5fa;
    border-radius: 99px; font-weight: 600; font-size: 0.875rem; margin-bottom: 2rem;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .hero p { margin-left: 0; } }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-image img { width: 100%; height: auto; box-shadow: var(--shadow-glow); border: 1px solid var(--card-border); }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card {
    background: var(--card-bg); padding: 2.5rem; border-radius: 1.5rem;
    border: 1px solid var(--card-border); backdrop-filter: blur(8px); transition: all 0.3s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(96, 165, 250, 0.3); box-shadow: var(--shadow-glow); }
.card-icon {
    width: 3.5rem; height: 3.5rem; background: rgba(59, 130, 246, 0.1);
    border-radius: 1rem; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; color: #60a5fa; font-size: 1.5rem;
}
.card h3 { margin-bottom: 1rem; font-size: 1.35rem; }
.card p { color: var(--text-muted); font-size: 1rem; }

/* Check List */
.check-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.check-item {
    display: flex; align-items: center; gap: 1rem; background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem; border-radius: 1rem; border: 1px solid rgba(255, 255, 255, 0.05);
}
.check-item i { color: var(--accent); font-size: 1.25rem; flex-shrink: 0; }
.check-item span { font-weight: 500; }

/* Self Check */
.check-container { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .check-container { grid-template-columns: 1fr 1fr; } }
.check-box {
    background: rgba(30, 41, 59, 0.6); padding: 2.5rem; border-radius: 1.5rem;
    border: 1px solid var(--primary); border-left: 6px solid var(--primary);
}
.check-box h3 { margin-bottom: 0.5rem; color: var(--primary); }
.check-box p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.check-box ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; }
.check-box ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary); }
.check-footer { text-align: center; color: var(--text-muted); font-size: 0.95rem; }
.check-footer strong { color: #f87171; }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.step { text-align: center; position: relative; }
.step-number {
    width: 3.5rem; height: 3.5rem; background: var(--bg-main); border: 2px solid var(--primary);
    color: var(--primary); border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 800; font-size: 1.25rem; margin: 0 auto 1.5rem;
}
.step-content h4 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

/* Cost Table */
.cost-table-wrapper { overflow-x: auto; margin-bottom: 2rem; }
.cost-table { width: 100%; border-collapse: collapse; background: var(--card-bg); border-radius: 1rem; overflow: hidden; }
.cost-table th, .cost-table td { padding: 1.25rem; text-align: left; border-bottom: 1px solid var(--card-border); }
.cost-table th { background: rgba(59, 130, 246, 0.1); color: var(--primary); font-weight: 700; }
.cost-table td strong { color: var(--accent); font-size: 1.25rem; }
.cost-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Documents */
.doc-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .doc-grid { grid-template-columns: 1fr 1fr; } }
.doc-card { background: var(--card-bg); padding: 2.5rem; border-radius: 1.5rem; border: 1px solid var(--card-border); }
.doc-card h4 { margin-bottom: 1.5rem; color: var(--primary); font-size: 1.25rem; border-bottom: 1px solid var(--card-border); padding-bottom: 0.75rem; }
.doc-card ul li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-muted); }
.doc-card ul li i { color: var(--accent); }

/* FAQ */
.faq-list { max-width: 850px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border-radius: 1rem; margin-bottom: 1rem; border: 1px solid var(--card-border); overflow: hidden; }
.faq-question { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; }
.faq-toggle { transition: transform 0.3s; color: var(--text-muted); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-answer { padding: 0 1.5rem 1.5rem; max-height: 500px; border-top: 1px solid var(--card-border); margin-top: 0; padding-top: 1.5rem; }
.faq-item.active .faq-toggle { transform: rotate(180deg); color: var(--primary); }

/* Review */
.review-text { font-style: italic; color: var(--text-main); margin-bottom: 1.5rem; line-height: 1.8; position: relative; padding-left: 1.5rem; }
.review-text::before { content: '"'; position: absolute; left: 0; top: 0; font-size: 2rem; color: var(--primary); opacity: 0.5; }
.review-info { border-top: 1px solid var(--card-border); padding-top: 1rem; text-align: right; }
.review-info strong { color: var(--accent); }

/* Admin Intro */
.admin-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    padding: 3.5rem; border-radius: 2rem; border: 1px solid var(--card-border);
    display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 992px) { .admin-card { grid-template-columns: 1.5fr 1fr; align-items: center; } }
.admin-specs { margin: 2rem 0; display: grid; gap: 1rem; }
.admin-specs p { display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.admin-specs i { color: var(--primary); width: 1.5rem; }
.admin-desc { color: var(--text-muted); border-left: 3px solid var(--primary); padding-left: 1.5rem; }
.trust-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat-item h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 0.5rem; }
.stat-item p { font-size: 0.875rem; color: var(--text-muted); font-weight: 600; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; margin-bottom: 2.5rem; position: relative; z-index: 1; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; position: relative; z-index: 1; }

/* Footer */
.footer { background: #020617; padding: 4rem 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: var(--container-width); margin: 0 auto; }
@media (min-width: 992px) { .footer-top { grid-template-columns: 1.2fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.brand-title { font-size: 1.5rem; font-weight: 800; }
.brand-link { color: var(--primary); font-weight: 600; }
.footer-info p { margin-bottom: 0.75rem; color: var(--text-muted); }
.footer-info strong { color: var(--text-main); margin-right: 0.5rem; }
.footer-social-card { background: rgba(255, 255, 255, 0.03); padding: 2rem; border-radius: 1.5rem; border: 1px solid var(--card-border); }
.footer-social-note { margin-bottom: 1.25rem; font-weight: 600; }
.footer-links { display: flex; gap: 1rem; }
.footer-links a { width: 3rem; height: 3rem; background: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.sns-naver { color: #2DB400; }
.sns-facebook { color: #1877F2; }
.sns-youtube { color: #FF0000; }
.copyright { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; font-size: 0.875rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    :root { --section-padding: 4rem 1.25rem; }
    .hero { padding-top: 8rem; }
    .hero h1 { font-size: 2.25rem; }
    .btn { width: 100%; }
    .admin-card { padding: 2rem; }
    .trust-stats { grid-template-columns: 1fr; gap: 2rem; }
}
