:root{--build-id:"07b839d7-5574-4245-9eb4-42660d9cffff";}
/* 모보리로43 - 축구공 전문 웹사이트 */

/* ===== 색상 시스템 (C06) ===== */
:root {
  --primary: #1d4ed8;
  --bg: #eff6ff;
  --text: #1e3a8a;
  --accent: #3b82f6;
  --heading: var(--text);
  --link: var(--text);
}

/* ===== 폰트 시스템 (F4) ===== */
body {
  font-family: "Segoe UI Variable", "Malgun Gothic", "Noto Sans KR", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
}

/* ===== 헤딩 스타일 (H04) ===== */
h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin: 0 0 1.5rem 0;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin: 0 0 1.25rem 0;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--heading);
  margin: 0 0 1rem 0;
}

/* ===== 여백 시스템 (S11) ===== */
section {
  padding: 5.75rem 1.5rem;
}

.container {
  max-width: 1350px;
  margin: 0 auto;
}

.gap-system {
  gap: 3.75rem;
}

/* ===== 네비게이션 (N07) ===== */
header {
  position: sticky;
  top: 0;
  background-color: rgba(239, 246, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 78, 216, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  max-width: 1350px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== 버튼 스타일 (B04) ===== */
.btn {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

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

.btn-primary:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* ===== 카드 스타일 (K04) ===== */
.card {
  border-radius: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* ===== 레이아웃 (L12) ===== */
.hero {
  background-image: linear-gradient(rgba(29, 78, 216, 0.1), rgba(239, 246, 255, 0.9)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23EFF6FF" width="1200" height="600"/><circle cx="200" cy="150" r="80" fill="%231D4ED8" opacity="0.1"/><circle cx="900" cy="400" r="120" fill="%233B82F6" opacity="0.1"/><circle cx="600" cy="300" r="100" fill="%231D4ED8" opacity="0.15"/></svg>');
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.case-study-section {
  background-color: #ffffff;
}

/* ===== 접근성 ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ===== 푸터 ===== */
footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 3rem 1.5rem 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1350px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== 반응형 ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(239, 246, 255, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(29, 78, 216, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 3rem 1.5rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== 유틸리티 ===== */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 2rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--link);
}

img {
  max-width: 100%;
  height: auto;
}