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

:root {
  --primary: #0a192f;
  --primary-light: #112240;
  --secondary: #64ffda;
  --accent: #f59e0b;
  --bg-color: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --white: #ffffff;
  --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.1);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.64, 0.04, 0.35, 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(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--primary); }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; color: var(--primary); letter-spacing: -0.01em; }
p { font-size: 1.125rem; color: var(--text-light); }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
header { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; color: var(--primary); }
.logo img { height: 40px; width: 40px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: 1rem; }
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero { padding: 8rem 0; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { margin-bottom: 1.5rem; }
.hero-text p { margin-bottom: 2.5rem; font-size: 1.25rem; }
.btn { display: inline-block; background: var(--primary); color: var(--white); padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700; font-size: 1.125rem; text-align: center; cursor: pointer; border: none; transition: var(--transition); }
.btn:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2); }
.hero-image { position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }

/* Random Section 1 (Methodology) */
.methodology { padding: 6rem 0; background: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.card { padding: 2.5rem; background: var(--bg-color); border-radius: var(--border-radius); transition: var(--transition); border: 1px solid transparent; }
.card:hover { border-color: var(--secondary); transform: translateY(-5px); box-shadow: var(--shadow); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }

/* Features (Asymmetrical) */
.features { padding: 6rem 0; background: var(--primary); color: var(--white); }
.features h2 { color: var(--white); }
.features p { color: #8892b0; }
.feature-split { display: flex; align-items: center; gap: 4rem; margin-top: 4rem; }
.feature-img { flex: 1; border-radius: var(--border-radius); overflow: hidden; }
.feature-text { flex: 1; }
.feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li { display: flex; align-items: center; gap: 1rem; font-size: 1.125rem; font-weight: 500; }
.feature-list i { color: var(--secondary); font-size: 1.5rem; }

/* Form Section */
.lead-section { padding: 6rem 0; background: var(--bg-color); }
.form-container { max-width: 700px; margin: 0 auto; background: var(--white); padding: 3rem; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.form-header { text-align: center; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 2px solid #e2e8f0; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: var(--transition); background: #f8fafc; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1rem; }
.checkbox-group input { width: 20px; height: 20px; margin-top: 0.2rem; cursor: pointer; }
.checkbox-group label { font-size: 0.9rem; font-weight: 400; color: var(--text-light); }
.submit-btn { width: 100%; margin-top: 1rem; }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Success Message */
.success-message { display: none; text-align: center; padding: 3rem 0; animation: fadeIn 0.5s ease; }
.success-message i { font-size: 4rem; color: var(--secondary); margin-bottom: 1.5rem; }
.success-message h3 { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* FAQ */
.faq { padding: 6rem 0; background: var(--white); }
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-color); border-radius: 8px; margin-bottom: 1rem; padding: 1.5rem; cursor: pointer; transition: var(--transition); }
details[open] { box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--secondary); }
summary { font-size: 1.25rem; font-weight: 700; 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: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); transition: transform 0.3s; }
details[open] summary::after { transform: rotate(180deg); }
.faq-answer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e2e8f0; color: var(--text-light); }

/* Footer */
footer { background: var(--primary-light); color: #8892b0; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { color: var(--white); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo img { filter: grayscale(1) brightness(2); height: 40px; }
.footer-info p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--secondary); font-weight: 500; font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }
.copyright { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.875rem; }

/* Legal Pages (Compliance) */
.legal-header { background: var(--primary); padding: 4rem 0; color: var(--white); text-align: center; }
.legal-content { max-width: 900px; margin: 3rem auto; background: var(--white); padding: 4rem; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.legal-content h3 { margin: 2rem 0 1rem; color: var(--primary); font-size: 1.5rem; }
.legal-content p, .legal-content li { margin-bottom: 1rem; color: var(--text-dark); font-size: 1.05rem; }
.legal-content ul { padding-left: 1.5rem; list-style-type: disc; margin-bottom: 1.5rem; }

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

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100px; left: 0; right: 0; background: var(--primary); color: var(--white); padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.5s ease-in-out; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); }
.cookie-banner.show { bottom: 0; }
.cookie-text { font-size: 0.95rem; max-width: 800px; }
.cookie-buttons { display: flex; gap: 1rem; }
.cookie-btn { padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.btn-accept { background: var(--secondary); color: var(--primary); }
.btn-accept:hover { background: var(--white); }
.btn-reject { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-reject:hover { background: rgba(255,255,255,0.1); }

/* Mobile First */
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .feature-split { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
  .nav-links { display: none; /* Simple approach for non-broken UI, would normally use hamburger */ }
  .legal-content { padding: 2rem; margin: 2rem 1rem; }
}
