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

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --secondary: #3b82f6;
  --secondary-hover: #2563eb;
  --accent: #10b981;
  --bg-main: #f8fafc;
  --text-main: #020617;
  --text-muted: #475569;
  --white: #ffffff;
  --border-radius: 24px;
  --shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Pretendard Variable', -apple-system, sans-serif; background-color: var(--bg-main); color: var(--text-main); 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; border-radius: var(--border-radius); display: block; }

/* Extremely Large & Modern Typography */
h1 { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; color: var(--primary); word-break: keep-all; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 1.5rem; color: var(--primary); letter-spacing: -0.03em; word-break: keep-all; line-height: 1.2; }
h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
p { font-size: 1.25rem; color: var(--text-muted); word-break: keep-all; }

/* Layout & Components */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--secondary); color: var(--white); padding: 1.2rem 3rem; border-radius: 50px; font-weight: 800; font-size: 1.25rem; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }
.btn:hover { background: var(--secondary-hover); transform: translateY(-3px); box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4); color: var(--white); }

/* Header */
header { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); 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 { width: 45px; height: 45px; }
.nav-links { display: flex; gap: 3rem; }
.nav-links a { font-weight: 700; font-size: 1.15rem; color: var(--primary-light); }
.nav-links a:hover { color: var(--secondary); }

/* Hero Section */
.hero { padding: 10rem 0 8rem; position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: center; }
.hero-text h1 { margin-bottom: 2rem; }
.hero-text p { margin-bottom: 3rem; font-size: 1.4rem; font-weight: 500; }
.hero-img-box { position: relative; box-shadow: var(--shadow); border-radius: var(--border-radius); overflow: hidden; transform: perspective(1000px) rotateY(-5deg); transition: var(--transition); }
.hero-img-box:hover { transform: perspective(1000px) rotateY(0deg) scale(1.02); }

/* Random 1: Solutions */
.solutions { padding: 8rem 0; background: var(--white); }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; }
.card { background: var(--bg-main); padding: 4rem 3rem; border-radius: var(--border-radius); border: 1px solid #e2e8f0; transition: var(--transition); }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--secondary); background: var(--white); }
.card-icon { width: 80px; height: 80px; background: rgba(59, 130, 246, 0.1); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--secondary); margin-bottom: 2rem; }

/* About Detailed */
.about { padding: 8rem 0; background: var(--primary); color: var(--white); }
.about h2 { color: var(--white); }
.about p { color: #cbd5e1; font-size: 1.3rem; margin-bottom: 1.5rem; font-weight: 500; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; 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; box-shadow: var(--shadow); }
.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.3rem; font-weight: 700; color: var(--primary); }
.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-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item h4 { font-size: 4.5rem; font-weight: 900; margin-bottom: 0.5rem; letter-spacing: -0.05em; }
.stat-item p { font-size: 1.25rem; font-weight: 700; opacity: 0.9; }

/* Lead Form Section */
.lead-section { padding: 10rem 0; background: var(--bg-main); }
.form-container { max-width: 900px; margin: 0 auto; background: var(--white); padding: 5rem; border-radius: 30px; box-shadow: var(--shadow); 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); }
.form-group input:focus { outline: none; border-color: var(--secondary); background: var(--white); box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.15); }
.checkbox-group { display: flex; align-items: flex-start; gap: 1rem; margin-top: 3rem; padding: 2rem; background: #f0fdf4; border-radius: 16px; border: 1px solid #bbf7d0; }
.checkbox-group input { width: 24px; height: 24px; 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.6; }
.submit-btn { width: 100%; margin-top: 2rem; 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: fadeUp 0.5s ease; }
.success-message i { font-size: 6rem; color: var(--accent); margin-bottom: 2rem; }
.success-message h3 { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* FAQ */
.faq { padding: 10rem 0; background: var(--white); }
.faq-container { max-width: 900px; margin: 0 auto; }
details { background: var(--bg-main); border-radius: 20px; margin-bottom: 1.5rem; padding: 2rem; cursor: pointer; border: 1px solid transparent; transition: var(--transition); }
details[open] { background: var(--white); border-color: var(--secondary); box-shadow: var(--shadow); }
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-muted); line-height: 1.8; }

/* Footer */
footer { background: var(--primary); color: #94a3b8; padding: 6rem 0 3rem; border-top: 8px 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: 45px; }
.footer-info p { margin-bottom: 0.8rem; font-size: 1.1rem; }
.footer-links { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.footer-links a { color: var(--secondary); font-weight: 700; font-size: 1.1rem; }
.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: 1rem; }

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

/* Map container */
.map-container { border-radius: 20px; overflow: hidden; height: 500px; margin-bottom: 4rem; border: 2px solid #e2e8f0; box-shadow: var(--shadow); }
.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(15px); color: var(--white); padding: 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.6s ease; 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: 1rem; }
.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(--secondary); color: var(--white); }
.btn-accept:hover { background: var(--white); color: var(--primary); }
.btn-reject { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-reject:hover { border-color: var(--white); }

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