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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== CSS VARIABLES ===== */
:root {
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --bg-light: #F1F5F9;
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --blue: #1D4ED8;
  --blue-hover: #1E40AF;
  --blue-light: #EFF6FF;
  --blue-mid: #BFDBFE;
  --text: #0F172A;
  --text-sub: #475569;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION PADDING ===== */
.section-padding {
  padding: 96px 0;
}

.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title.white { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29,78,216,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-full { width: 100%; justify-content: center; }

/* ===== GRIDS ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  transition: var(--transition);
}
.nav-link:hover { color: var(--blue); }

.header-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 96px;
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF6FF 50%, #F0F9FF 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-mid);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-sub);
  font-weight: 500;
}

.trust-item i {
  color: #16A34A;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  width: 280px;
  border: 1px solid var(--border);
}

.hero-card.card-1 {
  top: 20px;
  right: 20px;
  z-index: 3;
  transform: rotate(-2deg);
}

.hero-card.card-2 {
  top: 120px;
  right: 60px;
  z-index: 2;
  transform: rotate(1deg);
}

.hero-card.card-3 {
  top: 220px;
  right: 100px;
  z-index: 1;
  transform: rotate(3deg);
}

.card-header-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green { background: #28C840; }

.card-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 4px;
}

.card-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.card-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, #60A5FA 100%);
  border-radius: 3px;
  animation: fillBar 1.5s ease forwards;
}

@keyframes fillBar {
  from { width: 0 !important; }
}

/* ===== ABOUT ===== */
.about .section-header {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== PAIN CARDS ===== */
.pain-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-mid);
}

.pain-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-icon i {
  color: var(--blue);
  font-size: 1.2rem;
}

.pain-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.pain-card p {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-mid);
}

.service-card.featured {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(29,78,216,0.12);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon i {
  color: var(--blue);
  font-size: 1.3rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-sub);
  margin-bottom: 20px;
  line-height: 1.65;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.service-list li i {
  color: var(--blue);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== WHY US ===== */
.why .section-title.white { color: white; }

.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.why-icon i {
  color: #93C5FD;
  font-size: 1.2rem;
}

.why-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.4;
}

.why-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

.why-cta {
  text-align: center;
  margin-top: 52px;
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0 8px;
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
  min-width: 60px;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  padding-top: 8px;
  color: var(--border);
  font-size: 1rem;
}

/* ===== TARGET ===== */
.target-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.target-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.target-list li i {
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.cta-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.cta-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-box-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.faq-answer.open {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--blue);
  font-size: 0.9rem;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

a.info-value:hover { color: var(--blue); }

.info-services {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.info-services h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-mid);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ===== FORM ===== */
.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.required { color: var(--blue); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #EF4444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  font-size: 3rem;
  color: #16A34A;
  margin-bottom: 20px;
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta .section-desc.white-sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-mid);
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 52px 0 40px;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo .logo-icon {
  background: var(--blue);
}

.footer-logo .logo-text {
  color: white;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}

.footer-info-item i {
  color: #60A5FA;
  width: 16px;
}

.footer-info-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ===== ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

.pc-only { display: inline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    height: 280px;
  }

  .hero-card {
    width: 220px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .target-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    gap: 16px;
  }

  .nav-link {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }

  .process-steps {
    flex-direction: column;
    gap: 24px;
  }

  .step-arrow {
    display: none;
  }

  .process-step {
    flex-direction: row;
    gap: 16px;
    padding: 0;
  }

  .step-number {
    font-size: 1.8rem;
    min-width: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .pc-only { display: none; }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .cta-box-btns {
    flex-direction: column;
  }

  .cta-box-btns .btn {
    width: 100%;
    justify-content: center;
  }
}
