:root {
  --sp-bg: #050816;
  --sp-bg-alt: #0b1020;
  --sp-surface: rgba(15, 23, 42, 0.96);
  --sp-text: #e5e7eb;
  --sp-text-muted: #9ca3af;
  --sp-accent: #38bdf8;
  --sp-accent-soft: rgba(56, 189, 248, 0.15);
  --sp-border-soft: rgba(148, 163, 184, 0.4);
  --sp-radius-lg: 22px;
  --sp-radius-xl: 28px;
  --sp-shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.6);
  --sp-transition-fast: 0.18s ease-out;
  --sp-container-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--sp-bg);
  color: var(--sp-text);
}

.sp-root {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1e293b, #020617);
}

/* 공통 레이아웃 */

.sp-container {
  width: 100%;
  max-width: var(--sp-container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* 헤더 */

.sp-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}

.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.sp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  background: radial-gradient(circle at top left, #38bdf8, #4f46e5);
  color: #0b1120;
}

.sp-logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sp-nav-link {
  font-size: 14px;
  color: var(--sp-text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--sp-transition-fast), background-color var(--sp-transition-fast),
    transform var(--sp-transition-fast);
}

.sp-nav-link:hover {
  color: #f9fafb;
  background-color: rgba(148, 163, 184, 0.2);
  transform: translateY(-1px);
}

.sp-nav-cta {
  background: #f9fafb;
  color: #020617;
  font-weight: 500;
}

.sp-nav-cta:hover {
  background: #e5e7eb;
}

/* 모바일 메뉴 버튼 */

.sp-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 24px;
  cursor: pointer;
}

/* 히어로 섹션 */

.sp-hero {
  position: relative;
  padding: 60px 0 72px;
  background-image: url("https://images.unsplash.com/photo-1553877522-43269d4ea984?auto=format&fit=crop&w=1600&q=80");
  /* 업무/테크/오피스 느낌 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sp-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.25),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.88);
}

.sp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

/* 왼쪽 텍스트 */

.sp-hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: var(--sp-accent-soft);
  color: #e0f2fe;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.sp-hero-title {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #f9fafb;
}

.sp-hero-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sp-text-muted);
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--sp-transition-fast), color var(--sp-transition-fast),
    box-shadow var(--sp-transition-fast), transform var(--sp-transition-fast),
    border-color var(--sp-transition-fast);
}

.sp-btn-primary {
  background: linear-gradient(to right, #38bdf8, #6366f1);
  color: #0b1120;
  box-shadow: var(--sp-shadow-soft);
}

.sp-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.85);
}

.sp-btn-ghost {
  background-color: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.sp-btn-ghost:hover {
  background-color: rgba(15, 23, 42, 0.8);
}

.sp-btn-full {
  width: 100%;
}

.sp-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--sp-text-muted);
}

.sp-dot {
  opacity: 0.6;
}

/* 오른쪽 mockup */

.sp-hero-visual {
  display: flex;
  justify-content: center;
}

.sp-hero-mockup {
  width: 100%;
  max-width: 380px;
  border-radius: var(--sp-radius-xl);
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--sp-shadow-soft);
  overflow: hidden;
}

.sp-hero-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.8);
  background: linear-gradient(to right, #020617, #020617, #111827);
  font-size: 11px;
  color: #9ca3af;
}

.sp-mockup-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: #4b5563;
}

.sp-mockup-title {
  margin-left: 8px;
}

.sp-hero-mockup-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px 14px 10px;
  gap: 10px;
}

.sp-mockup-column-title {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.sp-mockup-column {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 14px;
  padding: 8px;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.sp-mockup-card {
  border-radius: 10px;
  padding: 7px 8px;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border: 1px solid rgba(75, 85, 99, 0.8);
  margin-bottom: 6px;
}

.sp-mockup-card p {
  margin: 0 0 3px;
  font-size: 11px;
  color: #e5e7eb;
}

.sp-mockup-card span {
  font-size: 10px;
  color: #9ca3af;
}

.sp-hero-mockup-footer {
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  padding: 8px 12px 10px;
  font-size: 11px;
  color: #9ca3af;
}

/* 공통 섹션 */

.sp-section {
  padding: 56px 0;
}

.sp-section-alt {
  background: var(--sp-bg-alt);
}

.sp-section-title {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: #e5e7eb;
}

.sp-section-subtitle {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--sp-text-muted);
  line-height: 1.7;
}

/* 기능 카드 */

.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sp-feature-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--sp-radius-lg);
  border: 1px solid var(--sp-border-soft);
  padding: 18px 18px 20px;
}

.sp-feature-title {
  margin: 0 0 8px;
  font-size: 15px;
  color: #e5e7eb;
}

.sp-feature-text {
  margin: 0;
  font-size: 13px;
  color: var(--sp-text-muted);
  line-height: 1.7;
}

/* 도입 사례 */

.sp-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sp-usecase-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 18px 16px 20px;
}

.sp-usecase-tag {
  margin: 0 0 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b4fc;
}

.sp-usecase-text {
  margin: 0 0 8px;
  font-size: 13px;
  color: #e5e7eb;
  line-height: 1.7;
}

.sp-usecase-meta {
  margin: 0;
  font-size: 11px;
  color: var(--sp-text-muted);
}

/* 요금 섹션 */

.sp-pricing-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.sp-pricing-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 20px 18px;
  max-width: 320px;
  width: 100%;
  box-shadow: var(--sp-shadow-soft);
}

.sp-pricing-name {
  margin: 0 0 4px;
  font-size: 13px;
  color: #c4b5fd;
}

.sp-pricing-price {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.sp-pricing-list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 13px;
  color: var(--sp-text-muted);
}

.sp-pricing-list li {
  margin-bottom: 4px;
}

/* 데모 신청 폼 */

.sp-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.sp-demo-form {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--sp-radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 20px 18px;
  box-shadow: var(--sp-shadow-soft);
}

.sp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
}

.sp-form-field span {
  font-weight: 500;
  color: #e5e7eb;
}

.sp-form-field input,
.sp-form-field select,
.sp-form-field textarea {
  border-radius: 12px;
  border: 1px solid #4b5563;
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
  background: #020617;
  color: #e5e7eb;
  outline: none;
  transition: border-color var(--sp-transition-fast), box-shadow var(--sp-transition-fast),
    background-color var(--sp-transition-fast);
}

.sp-form-field input::placeholder,
.sp-form-field textarea::placeholder {
  color: #6b7280;
}

.sp-form-field input:focus,
.sp-form-field select:focus,
.sp-form-field textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
  background-color: #020617;
}

/* 푸터 */

.sp-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 18px 0 22px;
  background: #020617;
  color: #6b7280;
}

.sp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 12px;
}

.sp-footer-brand,
.sp-footer-meta {
  margin: 0;
}

/* 반응형 */

.sp-only-desktop {
  display: inline;
}

.sp-only-mobile {
  display: none;
}

@media (max-width: 960px) {
  .sp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .sp-hero {
    padding: 40px 0 56px;
  }

  .sp-hero-visual {
    order: -1;
    margin-bottom: 12px;
  }

  .sp-features-grid,
  .sp-usecases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .sp-header-inner {
    height: 60px;
  }

  .sp-nav {
    display: none;
  }

  .sp-nav-toggle {
    display: block;
  }

  .sp-section {
    padding: 40px 0;
  }

  .sp-section-title {
    font-size: 20px;
  }

  .sp-features-grid,
  .sp-usecases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sp-only-desktop {
    display: none;
  }

  .sp-only-mobile {
    display: inline;
  }
}
