/* ============================================================
   ROOT & RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0a1628;
  --blue-800: #0d1f3c;
  --blue-700: #102a52;
  --blue-600: #1a3a6b;
  --blue-500: #1e4d8c;
  --blue-400: #2563eb;
  --blue-300: #3b82f6;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --accent:   #f59e0b;
  --accent-light: #fef3c7;
  --green:    #10b981;
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --font: 'Noto Sans KR', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-family: var(--font);
  font-size: 15px; font-weight: 700; cursor: pointer; border: none;
  transition: all 0.25s ease; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: var(--white); box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.5); background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-nav { background: var(--accent); color: var(--gray-900); font-size: 14px; padding: 10px 22px; }
.btn-nav:hover { background: #d97706; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-submit {
  width: 100%; padding: 18px; font-size: 16px; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: var(--white); border: none; border-radius: var(--radius); cursor: pointer;
  transition: all 0.25s ease; box-shadow: 0 4px 20px rgba(37,99,235,0.4);
  font-family: var(--font); margin-top: 8px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.5); }
.btn-floating {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  color: var(--white); font-weight: 800; box-shadow: 0 4px 20px rgba(37,99,235,0.5);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 12px 0;
}
.navbar.scrolled .nav-logo .logo-text { color: var(--blue-500); }
.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-box {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: var(--white); font-weight: 900; font-size: 18px;
  padding: 6px 12px; border-radius: 8px; letter-spacing: -0.5px;
}
.logo-text { font-weight: 800; font-size: 16px; color: var(--white); transition: color 0.3s; }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, #1e3a8a 100%);
  padding: 120px 0 80px;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,99,235,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.06); animation: float 8s infinite ease-in-out;
}
.particle:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; animation-delay: 0s; }
.particle:nth-child(2) { width: 200px; height: 200px; bottom: 10%; left: 5%; animation-delay: 2s; }
.particle:nth-child(3) { width: 120px; height: 120px; top: 30%; right: 20%; animation-delay: 4s; }
.particle:nth-child(4) { width: 80px; height: 80px; top: 60%; right: 35%; animation-delay: 1s; }
.particle:nth-child(5) { width: 60px; height: 60px; bottom: 25%; right: 10%; animation-delay: 3s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }

.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.4);
  color: var(--accent); font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 50px; margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.15;
  color: var(--white); margin-bottom: 20px; letter-spacing: -1px;
  animation: fadeInDown 0.7s ease 0.1s both;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.75); margin-bottom: 36px;
  line-height: 1.7; animation: fadeInDown 0.7s ease 0.2s both;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; animation: fadeInDown 0.7s ease 0.3s both; }
.hero-stats {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg);
  padding: 20px 28px; animation: fadeInDown 0.7s ease 0.4s both;
}
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.stat-number { font-size: 28px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-arrow { width: 24px; height: 24px; border-right: 2px solid rgba(255,255,255,0.4); border-bottom: 2px solid rgba(255,255,255,0.4); transform: rotate(45deg); }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   SECTION COMMON
============================================================ */
section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header.light .section-title,
.section-header.light .section-desc { color: var(--white); }
.section-header.light .section-tag { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  background: var(--blue-100); color: var(--blue-400); padding: 6px 14px;
  border-radius: 50px; margin-bottom: 16px; text-transform: uppercase;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: var(--gray-900); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-desc { font-size: 16px; color: var(--gray-500); max-width: 540px; margin: 0 auto; }

/* ============================================================
   SERVICES
============================================================ */
.services { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden;
  border: 1px solid var(--gray-200);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-300)); opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-color: var(--blue-600); color: var(--white);
}
.service-card.featured .service-title { color: var(--white); }
.service-card.featured .service-desc { color: rgba(255,255,255,0.75); }
.service-card.featured .service-features li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.service-card.featured .service-features li::before { background: var(--blue-300); }
.service-badge-card {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: var(--gray-900); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
}
.service-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.service-title { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.service-features li {
  font-size: 13px; color: var(--gray-700); padding: 6px 0;
  border-top: 1px solid var(--gray-100); display: flex; align-items: center; gap: 8px;
}
.service-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); flex-shrink: 0; }

/* ============================================================
   STRENGTH
============================================================ */
.strength { position: relative; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); overflow: hidden; }
.strength-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(37,99,235,0.2) 0%, transparent 70%);
}
.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; position: relative; z-index: 1; }
.strength-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.strength-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.strength-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
}
.strength-icon { font-size: 26px; }
.strength-title { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.strength-title strong { color: #60a5fa; }
.strength-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* ============================================================
   PROCESS
============================================================ */
.process { background: var(--white); }
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-line {
  position: absolute; top: 48px; left: calc(12.5% + 12px); right: calc(12.5% + 12px);
  height: 2px; background: linear-gradient(90deg, var(--blue-400), var(--blue-300));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
  font-size: 11px; font-weight: 800; color: var(--blue-400); letter-spacing: 2px;
  margin-bottom: 12px; display: block;
}
.step-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.step-title { font-size: 17px; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.step-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   LEAD FORM
============================================================ */
.lead-form-section { background: var(--gray-50); padding: 96px 0; }
.lead-form-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
  background: var(--white); border-radius: 24px; padding: 60px 56px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
}
.lead-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: var(--gray-900); line-height: 1.2; margin: 12px 0 16px; letter-spacing: -0.5px; }
.lead-subtitle { font-size: 15px; color: var(--gray-500); margin-bottom: 32px; line-height: 1.7; }
.lead-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.lead-benefit-item { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--gray-700); }
.benefit-icon { font-size: 18px; flex-shrink: 0; }
.trust-badges { display: flex; gap: 20px; }
.trust-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--blue-100); border-radius: var(--radius); padding: 14px 20px;
  flex: 1;
}
.trust-icon { font-size: 24px; }
.trust-num { display: block; font-size: 22px; font-weight: 900; color: var(--blue-500); line-height: 1; }
.trust-label { font-size: 12px; color: var(--gray-500); }
.form-card { background: var(--gray-50); border-radius: var(--radius-lg); padding: 36px 32px; border: 1px solid var(--gray-200); }
.form-card-title { font-size: 20px; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.form-card-subtitle { font-size: 13px; color: var(--gray-500); margin-bottom: 28px; }

/* Form elements */
.form-row { display: flex; gap: 16px; }
.form-row.two-col > .form-group { flex: 1; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 6px; }
.required { color: #ef4444; }
.form-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-family: var(--font); font-size: 14px;
  color: var(--gray-900); background: var(--white); transition: all 0.2s ease;
  outline: none;
}
.form-input:focus { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-input::placeholder { color: var(--gray-300); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.form-error-banner {
  background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius);
  padding: 12px 16px; margin-bottom: 20px; display: flex; align-items: center;
  gap: 8px; font-size: 14px; color: #b91c1c;
}
.field-error { font-size: 12px; color: #ef4444; margin-top: 4px; display: block; }
.form-privacy { font-size: 12px; color: var(--gray-500); text-align: center; margin-top: 12px; line-height: 1.6; }
.hidden { display: none; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-inner { display: flex; gap: 60px; margin-bottom: 48px; flex-wrap: wrap; }
.footer-brand { flex: 2; min-width: 220px; }
.footer-logo { font-size: 20px; font-weight: 900; color: var(--white); display: block; margin-bottom: 12px; }
.footer-desc { font-size: 14px; margin-bottom: 10px; }
.footer-address { font-size: 13px; }
.footer-links { flex: 1; display: flex; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-legal { color: rgba(255,255,255,0.4); }

/* ============================================================
   FLOATING CTA
============================================================ */
.floating-cta {
  position: fixed; bottom: 24px; left: 0; right: 0; z-index: 999;
  display: flex; justify-content: center; pointer-events: none;
  opacity: 0; transform: translateY(20px); transition: all 0.3s ease;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 769px) { .floating-cta { display: none !important; } }

/* ============================================================
   SUCCESS PAGE
============================================================ */
.success-section { min-height: 100vh; display: flex; align-items: center; background: var(--gray-50); padding: 120px 0 60px; }
.success-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--white); border-radius: 24px; padding: 60px 48px; box-shadow: var(--shadow-xl); }
.success-animation { position: relative; width: 100px; height: 100px; margin: 0 auto 32px; }
.success-circle {
  width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
  animation: scaleIn 0.5s ease both;
}
.success-checkmark { font-size: 42px; color: var(--white); }
.success-ripple {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-400);
  animation: ripple 2s infinite ease-out;
}
.success-ripple.delay-1 { animation-delay: 1s; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2); opacity: 0; } }
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-title { font-size: 26px; font-weight: 900; color: var(--gray-900); margin-bottom: 14px; }
.success-subtitle { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 32px; }
.success-info-box { display: flex; gap: 16px; margin-bottom: 36px; }
.success-info-item {
  flex: 1; display: flex; align-items: center; gap: 12px;
  background: var(--gray-50); border-radius: var(--radius); padding: 16px; text-align: left;
}
.success-info-icon { font-size: 22px; }
.success-info-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--gray-700); margin-bottom: 2px; }
.success-info-item span { font-size: 14px; color: var(--gray-500); }
.success-info-item a { color: var(--blue-400); font-weight: 600; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: 1fr; }
  .lead-form-wrapper { grid-template-columns: 1fr; padding: 40px 32px; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 16px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; justify-content: center; }
  .form-row.two-col { flex-direction: column; }
  .trust-badges { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; }
  .success-info-box { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .process-track { grid-template-columns: 1fr; }
  .lead-form-wrapper { padding: 32px 20px; }
  .form-card { padding: 24px 20px; }
}
