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

:root {
  --primary: #0B192C;
  --primary-light: #1A2B44;
  --secondary: #3B1E54;
  --accent: #FF6500;
  --bg-color: #F8FAFC;
  --text-dark: #0F172A;
  --text-light: #475569;
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.85);
  --shadow-lg: 0 25px 50px -12px rgba(11, 25, 44, 0.15);
  --border-rad: 24px;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 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; border-radius: 16px; }

/* Bold & Large Typography */
h1 { font-size: clamp(3.5rem, 7vw, 6.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.04em; color: var(--primary); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 1.5rem; color: var(--primary); letter-spacing: -0.03em; line-height: 1.2; }
h3 { font-size: 2rem; font-weight: 700; color: var(--primary); }
p { font-size: 1.125rem; color: var(--text-light); }

/* Layout */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
header { background: var(--glass); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 100px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.8rem; color: var(--primary); letter-spacing: -0.02em; }
.logo img { height: 48px; width: 48px; }
.nav-links { display: flex; gap: 3rem; }
.nav-links a { font-weight: 700; font-size: 1.15rem; }
.nav-links a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--primary); color: var(--white); padding: 1.25rem 3rem; border-radius: 60px; font-weight: 800; font-size: 1.25rem; cursor: pointer; border: none; transition: var(--transition); box-shadow: 0 10px 25px rgba(11, 25, 44, 0.2); }
.btn:hover { background: var(--accent); transform: translateY(-4px); box-shadow: 0 15px 30px rgba(255, 101, 0, 0.3); color: var(--white); }

/* Hero */
.hero { padding: 10rem 0; background: linear-gradient(145deg, #F8FAFC 0%, #E2E8F0 100%); position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; }
.hero-text h1 { margin-bottom: 2rem; }
.hero-text p { margin-bottom: 3.5rem; font-size: 1.35rem; font-weight: 500; color: var(--primary-light); }
.hero-img-box { position: relative; box-shadow: var(--shadow-lg); border-radius: 30px; overflow: hidden; transform: perspective(1000px) rotateY(-5deg); transition: var(--transition); }
.hero-img-box:hover { transform: perspective(1000px) rotateY(0deg) scale(1.02); }

/* Random 1: Process */
.process { padding: 8rem 0; background: var(--white); }
.section-header { text-align: center; max-width: 900px; margin: 0 auto 5rem; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.process-card { padding: 3.5rem; background: var(--bg-color); border-radius: var(--border-rad); border: 1px solid #E2E8F0; transition: var(--transition); position: relative; overflow: hidden; }
.process-card:hover { border-color: var(--secondary); transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.process-icon { font-size: 3rem; color: var(--accent); margin-bottom: 2rem; }
.process-card h3 { margin-bottom: 1rem; }

/* About Detailed */
.about { padding: 8rem 0; background: var(--primary); color: var(--white); }
.about h2 { color: var(--white); }
.about p { color: #CBD5E1; font-size: 1.25rem; margin-bottom: 1.5rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Features (Asymmetrical) */
.features { padding: 8rem 0; background: var(--white); }
.feature-split { display: flex; align-items: center; gap: 6rem; }
.feature-img { flex: 1; border-radius: var(--border-rad); box-shadow: var(--shadow-lg); }
.feature-text { flex: 1; }
.feature-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 1.5rem; font-size: 1.35rem; font-weight: 700; color: var(--primary-light); }
.feature-list i { color: var(--accent); font-size: 2rem; margin-top: 0.2rem; }

/* Random 2: Stats */
.stats { padding: 6rem 0; background: var(--secondary); color: var(--white); text-align: center; }
.stats-wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 3rem; }
.stat-box h4 { font-size: 5rem; font-weight: 900; margin-bottom: 0.5rem; color: var(--accent); }
.stat-box p { font-size: 1.4rem; font-weight: 700; color: #E2E8F0; }

/* Form Section */
.lead-section { padding: 10rem 0; background: var(--bg-color); }
.form-container { max-width: 850px; margin: 0 auto; background: var(--white); padding: 5rem; border-radius: 30px; box-shadow: var(--shadow-lg); border: 1px solid #E2E8F0; }
.form-header { text-align: center; margin-bottom: 4rem; }
.form-group { margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-group label { display: block; font-weight: 800; margin-bottom: 0.8rem; color: var(--primary); font-size: 1.15rem; }
.form-group input { width: 100%; padding: 1.4rem; border: 2px solid #CBD5E1; border-radius: 16px; font-family: inherit; font-size: 1.15rem; background: #F8FAFC; transition: var(--transition); color: var(--text-dark); }
.form-group input:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 5px rgba(59, 30, 84, 0.1); }
.checkbox-group { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2.5rem; padding: 2rem; background: #FFF7ED; border-radius: 16px; border: 1px solid #FFEDD5; }
.checkbox-group input { width: 26px; height: 26px; margin-top: 0.2rem; cursor: pointer; accent-color: var(--accent); }
.checkbox-group label { font-size: 1.05rem; font-weight: 600; color: var(--primary-light); line-height: 1.5; }
.submit-btn { width: 100%; margin-top: 2.5rem; padding: 1.5rem; font-size: 1.4rem; }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

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

/* FAQ */
.faq { padding: 10rem 0; background: var(--white); }
.faq-container { max-width: 900px; margin: 0 auto; }
details { background: var(--bg-color); border-radius: 20px; margin-bottom: 1.5rem; padding: 2rem 2.5rem; cursor: pointer; border: 1px solid transparent; transition: var(--transition); }
details[open] { background: var(--white); border-color: var(--secondary); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
summary { font-size: 1.5rem; 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.8rem; }
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 #CBD5E1; font-size: 1.25rem; color: var(--text-light); line-height: 1.8; }

/* Footer */
footer { background: var(--primary); color: #94A3B8; padding: 6rem 0 3rem; border-top: 8px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { color: var(--white); font-size: 2.2rem; font-weight: 900; display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.footer-logo img { height: 50px; }
.footer-info p { margin-bottom: 0.8rem; font-size: 1.15rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.footer-links a { color: var(--accent); font-weight: 800; font-size: 1.15rem; }
.footer-links a:hover { color: var(--white); }
.copyright { text-align: center; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem; }

/* Legal Pages */
.legal-header { background: var(--primary); padding: 8rem 0; color: var(--white); text-align: center; }
.legal-content { max-width: 1000px; margin: -5rem auto 5rem; background: var(--white); padding: 6rem; border-radius: var(--border-rad); box-shadow: var(--shadow-lg); position: relative; z-index: 10; border: 1px solid #E2E8F0; }
.legal-content h3 { margin: 3rem 0 1.5rem; color: var(--primary); font-size: 2rem; font-weight: 800; }
.legal-content p, .legal-content li { margin-bottom: 1.2rem; font-size: 1.25rem; color: var(--text-dark); line-height: 1.8; }
.legal-content ul { padding-left: 2rem; list-style-type: square; margin-bottom: 2rem; }

/* Map */
.map-container { border-radius: 20px; overflow: hidden; height: 500px; margin-bottom: 3rem; box-shadow: var(--shadow-lg); 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(11, 25, 44, 0.95); backdrop-filter: blur(15px); color: var(--white); padding: 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.6s cubic-bezier(0.25, 1, 0.5, 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.15rem; max-width: 900px; font-weight: 500; }
.cookie-buttons { display: flex; gap: 1.5rem; }
.cookie-btn { padding: 1.2rem 2.5rem; border-radius: 50px; font-weight: 800; font-size: 1.1rem; cursor: pointer; border: none; transition: var(--transition); }
.btn-accept { background: var(--accent); color: var(--white); }
.btn-accept:hover { background: var(--white); color: var(--accent); }
.btn-reject { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-reject:hover { border-color: var(--white); }

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-img-box { transform: none; margin-top: 3rem; }
  .feature-split { flex-direction: column-reverse; gap: 4rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .nav-links { display: none; }
  .cookie-banner { flex-direction: column; gap: 2rem; text-align: center; }
  .legal-content { padding: 3rem; margin: 2rem 1rem; }
  h1 { font-size: 3rem; }
}
