﻿@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --primary: #0a2540;
    --secondary: #635bff;
    --accent: #00d4ff;
    --bg-light: #f6f9fc;
    --bg-dark: #051426;
    --text-main: #32325d;
    --text-muted: #6b7c93;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: var(--white); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.2; letter-spacing: -1px; margin-bottom: 20px; color: var(--primary); }
h1 span { color: var(--secondary); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.5px; margin-bottom: 20px; }
p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }

/* Buttons */
.btn-primary, .btn-large, .btn-submit, .btn-outline-white, .btn-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary { background: var(--secondary); color: var(--white); padding: 12px 24px; }
.btn-primary:hover { background: #4e44e7; transform: translateY(-2px); }
.btn-large { background: var(--secondary); color: var(--white); padding: 16px 32px; font-size: 1.2rem; }
.btn-large:hover { background: #4e44e7; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 91, 255, 0.3); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); padding: 14px 28px; }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }

/* Header */
.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { height: 40px; }
.main-nav { display: none; gap: 30px; align-items: center; font-weight: 600; }
.main-nav a:not(.btn-primary):hover { color: var(--secondary); }

/* Hero */
.hero { padding: 80px 0; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.badge { display: inline-block; padding: 6px 14px; background: rgba(99, 91, 255, 0.1); color: var(--secondary); font-weight: 700; border-radius: 20px; font-size: 0.9rem; margin-bottom: 15px; }
.hero-image-wrapper { position: relative; }
.hero-img { border-radius: 20px; box-shadow: var(--shadow); }
.floating-card { position: absolute; bottom: -20px; left: -20px; background: var(--white); padding: 20px; border-radius: 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 15px; animation: float 6s ease-in-out infinite; }
.floating-card i { font-size: 2rem; color: var(--secondary); }
.floating-card strong { display: block; font-size: 1.2rem; color: var(--primary); }
.floating-card span { font-size: 0.9rem; color: var(--text-muted); }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Cards Grid */
.random-intro { padding: 80px 0; }
.card-grid { display: grid; gap: 30px; margin-top: 50px; }
.card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: var(--transition); border-bottom: 4px solid transparent; }
.card:hover { transform: translateY(-10px); border-bottom-color: var(--secondary); }
.card i { color: var(--secondary); margin-bottom: 20px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary); }

/* About */
.about { padding: 100px 0; }
.about-flex { display: flex; flex-direction: column; gap: 50px; }
.about-image img { border-radius: 20px; box-shadow: var(--shadow); }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 15px; font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.check-list i { color: #2ecc71; background: rgba(46, 204, 113, 0.1); padding: 8px; border-radius: 50%; font-size: 0.8rem; }

/* Features Asymmetric */
.features { padding: 120px 0; position: relative; }
.feature-asymmetric { display: grid; gap: 50px; align-items: center; }
.features p { color: #aab7c4; }
.feature-image img { border-radius: 20px; transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

/* Form Section */
.lead-section { padding: 100px 0; background: linear-gradient(135deg, var(--bg-light) 0%, #e0e8f5 100%); }
.form-wrapper { max-width: 700px; margin: 50px auto 0; background: var(--white); padding: 50px; border-radius: 24px; box-shadow: var(--shadow); }
.input-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary); font-size: 0.95rem; }
.input-group input { width: 100%; padding: 15px; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 1rem; font-family: inherit; transition: var(--transition); }
.input-group input:focus { border-color: var(--secondary); outline: none; box-shadow: 0 0 0 3px rgba(99,91,255,0.2); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 30px; text-align: left; }
.checkbox-group input { margin-top: 5px; cursor: pointer; }
.checkbox-group label { font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.checkbox-group a { color: var(--secondary); text-decoration: underline; }
.btn-submit { width: 100%; padding: 18px; font-size: 1.2rem; background: var(--primary); color: var(--white); }
.btn-submit:hover { background: #07192b; transform: translateY(-2px); }

/* Success Message */
.success-message { text-align: center; padding: 40px 0; animation: fadeIn 0.5s ease; }
.success-message i { color: #2ecc71; margin-bottom: 20px; }
.success-message h3 { font-size: 2rem; margin-bottom: 15px; color: var(--primary); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Process */
.process { padding: 80px 0; }
.process-steps { display: grid; gap: 30px; margin-top: 50px; counter-reset: step; }
.step { position: relative; background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; }
.step-num { font-size: 3rem; font-weight: 900; color: rgba(99,91,255,0.1); margin-bottom: 10px; line-height: 1; }
.step h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary); }

/* FAQ */
.faq-section { padding: 100px 0; }
.faq-accordion { max-width: 800px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 15px; }
details { background: var(--bg-light); border-radius: var(--radius); padding: 20px; transition: var(--transition); cursor: pointer; border: 1px solid #e2e8f0; }
details[open] { background: var(--white); box-shadow: var(--shadow); border-color: var(--white); }
summary { font-size: 1.1rem; font-weight: 700; color: var(--primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 15px; margin-bottom: 0; font-size: 1rem; color: var(--text-muted); border-top: 1px solid #e2e8f0; padding-top: 15px; }
details summary i { transition: transform 0.3s ease; color: var(--secondary); }
details[open] summary i { transform: rotate(180deg); }

/* Footer */
.site-footer { background: var(--bg-dark); color: #8898aa; padding: 80px 0 40px; font-size: 0.9rem; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 60px; }
.footer-brand p { margin-top: 20px; color: #8898aa; }
.site-footer h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.footer-bottom p { margin-bottom: 5px; color: #8898aa; font-size: 0.85rem; }
.copyright { margin-top: 20px !important; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--primary); color: var(--white); padding: 20px; z-index: 9999; display: none; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.cookie-content p { color: #cbd5e1; margin: 0; font-size: 0.95rem; }
.cookie-content a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.btn-reject { background: transparent; color: var(--white); border: 1px solid var(--white); padding: 10px 20px; border-radius: 50px; cursor: pointer; transition: var(--transition); }
.btn-reject:hover { background: rgba(255,255,255,0.1); }
.btn-accept { background: var(--secondary); color: var(--white); padding: 10px 20px; border-radius: 50px; border: none; cursor: pointer; }

/* Legal Pages Standard */
.legal-page-header { background: var(--primary); color: var(--white); padding: 60px 0; text-align: center; }
.legal-page-header h1 { color: var(--white); margin-bottom: 0; font-size: 2.5rem; }
.legal-content-wrapper { background: var(--bg-light); padding: 60px 0; }
.legal-card { background: var(--white); max-width: 900px; margin: 0 auto; padding: 50px; border-radius: 16px; box-shadow: var(--shadow); }
.legal-card h2 { font-size: 1.5rem; color: var(--primary); margin-top: 30px; margin-bottom: 15px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.legal-card p, .legal-card li { font-size: 1rem; color: var(--text-main); margin-bottom: 10px; }
.legal-card ul { margin-left: 20px; margin-bottom: 20px; }

/* Contact Specific */
.contact-grid { display: grid; gap: 40px; }
.contact-info { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary); }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; align-items: flex-start; }
.contact-item i { font-size: 1.5rem; color: var(--secondary); margin-top: 5px; }
.contact-item strong { display: block; color: var(--text-main); margin-bottom: 5px; }
.map-container { width: 100%; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Media Queries (Desktop First fallback to Mobile) */
@media (min-width: 768px) {
    .main-nav { display: flex; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .about-flex { flex-direction: row; align-items: center; }
    .about-image { flex: 1; }
    .about-text { flex: 1.2; }
    .feature-asymmetric { grid-template-columns: 1fr 1.2fr; }
    .input-row { grid-template-columns: 1fr 1fr; }
    .process-steps { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .cookie-content { flex-direction: row; text-align: left; justify-content: space-between; }
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
}
