:root {
  color-scheme: light;
  --primary: #6366f1;
  --primary-light: #a5b4fc;
  --pink: #ec4899;
  --ink: #111827;
  --muted: #626d7d;
  --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --shadow: 0 25px 50px -12px rgb(0 0 0 / .15);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #f9fafb; color: #374151; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
svg { display: block; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #818cf8; outline-offset: 5px; }
.container { width: min(100%, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2000; inset: 12px auto auto 12px; padding: 12px 20px; border-radius: 8px; background: white; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.navbar { position: fixed; inset: 0 0 auto; z-index: 100; padding: 16px 32px; transition: background .3s, box-shadow .3s; }
.navbar.scrolled, .navbar.menu-open, .navbar.solid { background: rgb(255 255 255 / .96); box-shadow: 0 4px 12px rgb(0 0 0 / .06); backdrop-filter: blur(20px); }
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.logo, .footer-logo { display: inline-flex; align-items: center; font-size: 24px; font-weight: 800; line-height: 1.6; text-decoration: none; }
.brand-text, .gradient-text { background: var(--gradient); color: #a78bfa; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-image { display: block; max-width: 200px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { display: block; padding-block: 8px; text-decoration: none; color: #d1d5db; font-size: 15.2px; font-weight: 600; position: relative; transition: color .2s; }
.navbar.scrolled .nav-links a, .navbar.solid .nav-links a, .navbar.menu-open .nav-links a { color: #4b5563; }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 3px; height: 2px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links a:hover, .navbar .nav-links a[aria-current] { color: #a78bfa; }
.navbar.scrolled .nav-links a:hover, .navbar.solid .nav-links a:hover { color: #6366f1; }
.nav-links a:hover::after { transform: scaleX(1); }
.mobile-menu-btn { display: none; padding: 10px; border: 0; background: transparent; color: #e5e7eb; border-radius: 6px; cursor: pointer; }
.mobile-menu-btn svg { width: 24px; height: 24px; }
.menu-close { display: none; }
.menu-open .menu-lines { display: none; }
.menu-open .menu-close { display: block; }
.scrolled .mobile-menu-btn, .solid .mobile-menu-btn, .menu-open .mobile-menu-btn { color: #4b5563; }

section { padding: 96px 32px; }
.hero { display: flex; align-items: center; justify-content: center; position: relative; min-height: 100vh; min-height: 100svh; padding: 128px 32px 96px; background: var(--dark); overflow: hidden; }
.hero::before, .about::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before { background: radial-gradient(circle at 20% 80%, rgb(99 102 241 / .3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgb(236 72 153 / .2) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgb(6 182 212 / .15) 0%, transparent 40%); animation: pulse 8s ease-in-out infinite; }
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 16px 0; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; margin-bottom: 32px; border: 1px solid rgb(255 255 255 / .2); border-radius: 100px; color: #d1d5db; background: rgb(255 255 255 / .1); font-size: 14px; font-weight: 500; backdrop-filter: blur(10px); }
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { margin-bottom: 24px; color: white; font-size: clamp(44px, 6.2vw, 80px); font-weight: 800; line-height: 1.24; letter-spacing: -.045em; }
.hero-line { display: block; }
.hero p { max-width: 600px; margin: 0 auto 48px; color: #b2bac9; font-size: 20px; line-height: 1.75; }
.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.btn, .contact-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 16px 32px; border: 1px solid transparent; border-radius: 12px; color: white; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.btn svg { width: 20px; height: 20px; }
.btn-primary, .contact-btn { background: var(--gradient); box-shadow: 0 10px 30px rgb(99 102 241 / .3); }
.btn-primary:hover, .contact-btn[href]:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgb(99 102 241 / .4); }
.btn-secondary { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .2); backdrop-filter: blur(10px); }
.btn-secondary:hover { transform: translateY(-2px); background: rgb(255 255 255 / .18); }
.floating-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: .1; animation: float 20s infinite ease-in-out; }
.shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: var(--pink); bottom: -50px; left: -50px; animation-delay: -5s; }
.shape-3 { width: 200px; height: 200px; background: #06b6d4; top: 50%; left: 10%; animation-delay: -10s; }
@keyframes pulse { 50% { opacity: .7; } }
@keyframes float { 25% { transform: translate(20px, -20px); } 50% { transform: translate(-10px, 20px); } 75% { transform: translate(-20px, -10px); } }

.section-header { text-align: center; margin-bottom: 64px; }
.section-label { display: inline-block; padding: 8px 16px; margin-bottom: 16px; border-radius: 100px; background: linear-gradient(135deg, rgb(99 102 241 / .1), rgb(236 72 153 / .1)); color: #5759ce; font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.section-title { margin-bottom: 16px; color: var(--ink); font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.35; letter-spacing: -.035em; }
.section-subtitle { max-width: 600px; margin-inline: auto; color: var(--muted); font-size: 18px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.service-card { position: relative; padding: 40px; background: white; border: 1px solid #f3f4f6; border-radius: 24px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 16px; background: linear-gradient(135deg, rgb(99 102 241 / .1), rgb(236 72 153 / .1)); color: var(--primary); }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: 12px; color: var(--ink); font-size: 20px; font-weight: 700; }
.service-card p { color: var(--muted); line-height: 1.8; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-tags li { padding: 6px 12px; border-radius: 100px; background: #f3f4f6; color: #4b5563; font-size: 12px; font-weight: 500; }

.about { position: relative; overflow: hidden; background: var(--dark); }
.about::before { background: radial-gradient(circle at 80% 50%, rgb(99 102 241 / .2) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgb(236 72 153 / .15) 0%, transparent 40%); }
.about .container { position: relative; }
.about .section-label { color: var(--primary-light); background: rgb(255 255 255 / .1); }
.about .section-title { color: white; }
.about .section-subtitle { color: #b2bac9; }
.about-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.about-card { padding: 32px; border: 1px solid rgb(255 255 255 / .1); border-radius: 20px; text-align: center; background: rgb(255 255 255 / .05); backdrop-filter: blur(20px); transition: transform .3s, background .3s; }
.about-card:hover { transform: translateY(-4px); background: rgb(255 255 255 / .1); }
.about-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 16px; background: var(--gradient); color: white; }
.about-icon svg { width: 28px; height: 28px; }
.about-card h3 { margin-bottom: 8px; color: white; font-size: 18px; font-weight: 600; }
.about-card p { color: #b2bac9; font-size: 14.4px; line-height: 1.8; }

.contact { text-align: center; }
.contact-box { position: relative; padding: 64px; border: 1px solid #f3f4f6; border-radius: 32px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.contact-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--gradient); }
.contact-box h2 { margin-bottom: 16px; color: var(--ink); font-size: 32px; font-weight: 800; line-height: 1.4; letter-spacing: -.035em; }
.contact-box > p { max-width: 500px; margin: 0 auto 32px; color: var(--muted); line-height: 1.8; }
.contact-btn { gap: 12px; padding: 20px 40px; border-radius: 16px; font-size: 18px; }
.contact-btn svg { width: 24px; height: 24px; }
.contact-btn[aria-disabled="true"] { cursor: default; background: linear-gradient(135deg, #5b5fc7, #9b4492); box-shadow: none; }
.contact-box .contact-status { margin: 16px auto 0; font-size: 14px; }
.contact-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 24px 0 0; }
.contact-details div { display: flex; align-items: baseline; gap: 8px; }
.contact-details dt { font-size: 13px; color: var(--muted); }
.contact-details dd { margin: 0; font-size: 14px; }
.contact-details a { text-underline-offset: 3px; }

footer { padding: 64px 32px 32px; background: var(--ink); color: #aab3c2; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
.footer-logo { font-size: 20px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px; }
.footer-links a { padding-block: 8px; font-size: 14px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 48px; padding-top: 32px; border-top: 1px solid #263143; text-align: center; font-size: 14px; }
.company-details { margin-bottom: 12px; }
.draft-notice { margin-top: 12px; color: #aab3c2; font-size: 12px; }

/* 내용은 기본적으로 보입니다. 스크립트가 없어도 홈페이지를 읽을 수 있습니다. */
.motion-enabled .reveal.is-pending { opacity: 0; transform: translateY(24px); }
.motion-enabled .reveal { transition: opacity .65s, transform .65s; }
.document-main { max-width: 860px; margin-inline: auto; padding: 144px 32px 96px; min-height: 75vh; }
.document-main h1 { color: var(--ink); font-size: clamp(32px, 6vw, 48px); line-height: 1.4; margin-bottom: 24px; letter-spacing: -.035em; }
.document-main h2 { color: var(--ink); font-size: 21px; margin: 36px 0 12px; }
.document-main p { margin-bottom: 16px; color: var(--muted); line-height: 1.9; }
.document-main .btn { margin-top: 24px; }
.document-note { padding: 20px 24px; border: 1px solid #ddd6fe; border-radius: 12px; background: #f5f3ff; }

@media (max-width: 960px) {
  .services-grid, .about-content { gap: 20px; }
  .service-card { padding: 28px; }
  .about-card { padding: 28px 22px; }
}
@media (max-width: 768px) {
  html { scroll-padding-top: 80px; }
  .navbar { padding: 14px 24px; }
  .logo { font-size: 22px; }
  .nav-container { flex-wrap: wrap; gap: 0; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 14px; }
  .js-menu .mobile-menu-btn { display: block; }
  .js-menu .nav-links { display: none; }
  .js-menu .menu-open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 16px 0 6px; }
  .menu-open .nav-links a { padding: 12px 0; }
  .hero { padding: 120px 24px 72px; }
  .hero h1 { font-size: clamp(34px, 6.6vw, 48px); line-height: 1.3; }
  .hero-badge { margin-bottom: 28px; font-size: 13px; }
  .hero p { font-size: 16px; max-width: 440px; margin-bottom: 40px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  section { padding: 64px 24px; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 16px; }
  .services-grid, .about-content { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .service-card { padding: 32px; }
  .about-card { padding: 32px; }
  .contact-box { padding: 40px 24px; }
  .contact-box h2 { font-size: 28px; }
  .contact-btn { width: 100%; max-width: 300px; padding: 18px 24px; font-size: 16px; }
  .contact-details { flex-direction: column; align-items: center; gap: 12px; }
  footer { padding: 48px 24px 24px; }
  .footer-content { flex-direction: column; text-align: center; gap: 24px; }
  .footer-bottom { margin-top: 32px; padding-top: 24px; }
  .document-main { padding: 128px 24px 64px; }
}
@media (max-width: 359px) {
  .navbar { padding-inline: 16px; }
  .hero { padding-inline: 20px; }
  .hero h1 { font-size: 32px; }
  section { padding-inline: 16px; }
  .service-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-enabled .reveal.is-pending { opacity: 1; transform: none; }
}
