:root {
  --primary: #0056b3;
  --text: #111;
  --muted: #666;
  --line: #e9ecef;
  --light: #f8f9fa;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--line);
}

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

.logo-wrap {
  width: 200px;
}

.logo-img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  font-size: 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 34px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  border-color: #fff;
  color: #fff;
}

.btn:hover {
  transform: translateY(-1px);
}

.hero {
  min-height: 1200px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url("../assets/images/bg/img--sec01.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000205 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
  position: relative;
  color: #fff;
  max-width: 1200px;
}

.hero h1 {
  margin: 20px 0 0;
  font-size: 56px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.chip {
  display: inline-block;
  background: #F8F9FA;
  color: var(--primary);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 16px;
}

.chip-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #0056b34d;
}

.chip.mini {
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--light);
}

.chip.center {
  display: table;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-gray {
  background: var(--light);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-title {
  margin: 16px 0 36px;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.center {
  text-align: center;
}

.section-desc {
  margin: 0 auto;
  max-width: 650px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.check-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  margin-top: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 8px;
  font-weight: 700;
}

.photo-card {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0px 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-thumb {
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 206px;
  border-radius: 20px 20px 0 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.service-thumb-1 {
  background-image: url("../assets/images/card/img--sec03_1.png");
}

.service-thumb-2 {
  background-image: url("../assets/images/card/img--sec03_2.png");
}

.service-thumb-3 {
  background-image: url("../assets/images/card/img--sec03_3.png");
}

.service-thumb-4 {
  background-image: url("../assets/images/card/img--sec03_4.png");
}

.service-thumb-5 {
  background-image: url("../assets/images/card/img--sec03_5.png");
}

.badge {
  display: inline-block;
  margin-top: 16px;
  background: rgba(248, 249, 250, 0.9);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.service-card h3,
.case-card h3,
.insight-card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}

.service-card.badge-on-thumb .badge {
  position: absolute;
  top: 14px;
  left: 16px;
  margin-top: 0;
  z-index: 2;
}

.service-card p,
.case-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-card a {
  display: block;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: 32px;
  padding: 10px 0;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
}

.solution-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 80px;
  align-items: center;
}

.solution-text {
  background: #fff;
}

.solution-text h3 {
  font-size: 28px;
  margin: 18px 0 18px;
}

.solution-text p {
  margin: 0;
  color: var(--muted);
}

.solution-text ul {
  margin: 18px 0 0;
  padding: 16px 20px;
  background: var(--light);
  border-radius: 6px;
}

.solution-text li {
  margin: 6px 20px;
  padding: 6px 0;
  color: var(--muted);
}

.solution-text li::marker {
  content: "✓  ";
  color: var(--primary);
}

.solution-photo {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  padding-bottom: 22px;
}

.why-card h3,
.why-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.why-card p {
  color: var(--muted);
  font-size: 15px;
}

.why-card span {
  position: absolute;
  right: -5px;
  bottom: -15px;
  font-size: 98px;
  line-height: 1;
  color: rgba(0, 86, 179, 0.12);
  font-weight: 800;
}

.dark-section {
  position: relative;
  background:
    linear-gradient(rgba(26, 31, 43, 0.9), rgba(26, 31, 43, 0.9)),
    url("../assets/images/bg/img--sec06.png") center / cover;
}

.light {
  color: #fff;
}

.light-sub {
  color: rgba(255, 255, 255, 0.7);
}

.stack-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stack-grid article {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
  padding: 30px 16px;
  color: #fff;
}

.stack-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.stack-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.stats {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 26px;
}

.stats strong {
  display: block;
  color: #fff;
  font-size: 60px;
  font-family: "Playfair Display", serif;
}

.stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.case-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0 18px 20px;
  text-align: center;
}

.case-thumb {
  width: calc(100% + 36px);
  margin-left: -18px;
  height: 365px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.case-thumb-1 {
  background-image: url("../assets/images/card/img--sec08_1.png");
}

.case-thumb-2 {
  background-image: url("../assets/images/card/img--sec08_2.png");
}

.case-thumb-3 {
  background-image: url("../assets/images/card/img--sec08_3.png");
}

.insight-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 537px 1fr;
  gap: 20px;
}

.insight-col {
  display: grid;
  gap: 20px;
}

.insight-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.insight-card.lg {
  min-height: 476px;
}

.insight-card.sm {
  min-height: 228px;
}

.insight-thumb {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.insight-thumb-1 {
  background-image: url("../assets/images/card/img--sec07_1.png");
}

.insight-thumb-2 {
  background-image: url("../assets/images/card/img--sec07_2.png");
}

.insight-thumb-3 {
  background-image: url("../assets/images/card/img--sec07_3.png");
}

.insight-card .overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
}

.insight-card .overlay h3 {
  margin: 10px 0 6px;
  font-size: 20px;
}

.insight-card.sm .overlay h3 {
  font-size: 20px;
}

.insight-card .overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.45;
}

.cta {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(rgba(26, 31, 43, 0.9), rgba(26, 31, 43, 0.9)),
    url("../assets/images/bg/img--sec09.png") center / cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
}

.cta-content {
  position: relative;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  margin: 0;
  font-size: 50px;
  line-height: 1.4;
}

.cta-content p {
  margin: 24px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.6;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 96px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-logo {
  width: 200px;
}

.footer-top p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 56px;
}

.footer-links h4 {
  margin: 0 0 14px;
}

.footer-links a {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 54px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 1280px) {
  .main-nav {
    display: none;
  }
  .service-grid,
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .solution-grid,
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-actions .lang {
    display: none;
  }
  .hero {
    min-height: 820px;
    margin-top: 72px;
  }
  .header-inner {
    height: 72px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .section-title {
    font-size: 30px;
  }
  .service-grid,
  .stack-grid,
  .why-grid,
  .case-grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-top,
  .footer-links {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-content h2 {
    font-size: 36px;
  }
}
