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

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --secondary: #2563eb;
  --secondary-light: #38bdf8;
  --accent: #f43f5e;
  --bg-color: #f1f5f9;
  --text-dark: #020617;
  --text-light: #475569;
  --white: #ffffff;
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif; background-color: var(--bg-color); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; color: var(--primary); }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; margin-bottom: 1.5rem; color: var(--primary); letter-spacing: -0.02em; }
h3 { font-size: 1.75rem; font-weight: 700; }
p { font-size: 1.125rem; color: var(--text-light); }

/* Layout */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
header { background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(15,23,42,0.05); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.75rem; color: var(--primary); letter-spacing: -0.02em; }
.logo img { height: 48px; width: 48px; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 700; font-size: 1.05rem; color: var(--primary-light); }
.nav-links a:hover { color: var(--secondary); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--secondary); color: var(--white); padding: 1.25rem 2.5rem; border-radius: 50px; font-weight: 800; font-size: 1.125rem; text-align: center; cursor: pointer; border: none; transition: var(--transition); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3); }
.btn:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.3); color: var(--white); }

/* Hero Section */
.hero { padding: 10rem 0 8rem; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -10%; right: -5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(56,189,248,0.2) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: 0; }
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text p { margin-bottom: 3rem; font-size: 1.35rem; font-weight: 500; color: var(--text-light); }
.hero-image { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg); transition: var(--transition); }
.hero-image:hover { transform: rotate(0deg) scale(1.02); }

/* Process Section (Random 1) */
.process { padding: 8rem 0; background: var(--white); }
.section-title { text-align: center; max-width: 800px; margin: 0 auto 5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.process-card { padding: 3rem; background: var(--bg-color); border-radius: var(--border-radius); transition: var(--transition); border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.process-card:hover { border-color: var(--secondary); transform: translateY(-10px); box-shadow: var(--shadow); }
.process-card .step { position: absolute; top: -20px; right: -20px; font-size: 8rem; font-weight: 900; color: rgba(37,99,235,0.05); line-height: 1; }
.process-card i { font-size: 3rem; color: var(--secondary); margin-bottom: 2rem; }
.process-card h3 { color: var(--primary); margin-bottom: 1rem; }

/* Features (Asymmetrical) */
.features { padding: 8rem 0; background: var(--primary); color: var(--white); }
.features h2 { color: var(--white); }
.feature-split { display: flex; align-items: center; gap: 6rem; }
.feature-img { flex: 1; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.feature-text { flex: 1; }
.feature-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 1.5rem; font-size: 1.25rem; font-weight: 600; line-height: 1.4; color: #cbd5e1; }
.feature-list i { color: var(--secondary-light); font-size: 1.75rem; margin-top: 0.2rem; }

/* Stats Section (Random 2) */
.stats { padding: 6rem 0; background: var(--secondary); color: var(--white); text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.stat-item h4 { font-size: 4rem; font-weight: 900; margin-bottom: 0.5rem; }
.stat-item p { font-size: 1.25rem; font-weight: 600; color: rgba(255,255,255,0.8); }

/* Form Section */
.lead-section { padding: 8rem 0; background: var(--bg-color); }
.form-container { max-width: 800px; margin: 0 auto; background: var(--white); padding: 4rem; border-radius: var(--border-radius); box-shadow: var(--shadow); border: 1px solid #e2e8f0; }
.form-header { text-align: center; margin-bottom: 3rem; }
.form-group { margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.75rem; color: var(--primary); font-size: 1.1rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1.25rem; border: 2px solid #cbd5e1; border-radius: 12px; font-family: inherit; font-size: 1.1rem; transition: var(--transition); background: #f8fafc; color: var(--primary); font-weight: 500; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 4px rgba(37,99,235,0.1); }
.checkbox-group { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; padding: 1.5rem; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0; }
.checkbox-group input { width: 24px; height: 24px; margin-top: 0.1rem; cursor: pointer; accent-color: var(--secondary); }
.checkbox-group label { font-size: 1rem; font-weight: 500; color: var(--text-light); line-height: 1.5; }
.submit-btn { width: 100%; margin-top: 2rem; justify-content: center; font-size: 1.25rem; padding: 1.5rem; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success Message */
.success-message { display: none; text-align: center; padding: 4rem 0; animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.success-message i { font-size: 5rem; color: #10b981; margin-bottom: 2rem; }
.success-message h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
@keyframes scaleUp { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* FAQ */
.faq { padding: 8rem 0; background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-color); border-radius: 16px; margin-bottom: 1.5rem; padding: 2rem; cursor: pointer; transition: var(--transition); border: 1px solid transparent; }
details[open] { box-shadow: var(--shadow); background: var(--white); border-color: var(--secondary); }
summary { font-size: 1.35rem; font-weight: 800; color: var(--primary); outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--secondary); transition: transform 0.3s; font-size: 1.5rem; }
details[open] summary::after { content: '\f068'; transform: rotate(180deg); color: var(--accent); }
.faq-answer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px dashed #e2e8f0; font-size: 1.15rem; font-weight: 500; color: var(--text-light); line-height: 1.7; }

/* Footer */
footer { background: var(--primary); color: #94a3b8; padding: 5rem 0 2rem; border-top: 5px solid var(--secondary); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { color: var(--white); font-size: 2rem; font-weight: 900; display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.footer-logo img { height: 48px; }
.footer-info p { margin-bottom: 0.75rem; font-size: 1.05rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.footer-links a { color: var(--secondary-light); font-weight: 600; font-size: 1.05rem; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.copyright { text-align: center; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; font-weight: 500; }

/* Legal Pages */
.legal-header { background: var(--primary); padding: 6rem 0; color: var(--white); text-align: center; }
.legal-content { max-width: 1000px; margin: 4rem auto; background: var(--white); padding: 5rem; border-radius: var(--border-radius); box-shadow: var(--shadow); border: 1px solid #e2e8f0; }
.legal-content h3 { margin: 3rem 0 1.5rem; color: var(--primary); font-size: 1.75rem; border-bottom: 2px solid #f1f5f9; padding-bottom: 0.5rem; }
.legal-content p, .legal-content li { margin-bottom: 1.25rem; color: var(--text-dark); font-size: 1.15rem; font-weight: 500; line-height: 1.8; }
.legal-content ul { padding-left: 2rem; list-style-type: square; margin-bottom: 2rem; }

/* Map */
.map-container { border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); height: 450px; margin-bottom: 3rem; border: 2px solid #e2e8f0; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -150px; left: 0; right: 0; background: rgba(15,23,42,0.95); backdrop-filter: blur(10px); color: var(--white); padding: 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 -10px 40px rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 1.1rem; max-width: 900px; font-weight: 500; }
.cookie-buttons { display: flex; gap: 1rem; }
.cookie-btn { padding: 1rem 2rem; border-radius: 50px; font-weight: 700; cursor: pointer; border: none; transition: var(--transition); font-size: 1.05rem; }
.btn-accept { background: var(--secondary); color: var(--white); }
.btn-accept:hover { background: var(--secondary-light); }
.btn-reject { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-reject:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Mobile First Adapts */
@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .feature-split { flex-direction: column-reverse; gap: 4rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .nav-links { display: none; }
  .legal-content { padding: 2.5rem; margin: 2rem 1rem; }
  h1 { font-size: 2.75rem; }
}
