/* ==========================================================================
   BASE RESET & GLOBAL HELPERS (Tailwind 제거 후 대체)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.body-main {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

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

button {
  font-family: inherit;
}

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

.hidden {
  display: none !important;
}

/* Layout container (max-w-7xl + 좌우 패딩) */
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Icon sizing helpers (Lucide <i> -> <svg>) */
.ico-3 { width: 0.75rem; height: 0.75rem; }
.ico-3-5 { width: 0.875rem; height: 0.875rem; }
.ico-4 { width: 1rem; height: 1rem; }
.ico-4-5 { width: 1.125rem; height: 1.125rem; }
.ico-5 { width: 1.25rem; height: 1.25rem; }
.ico-6 { width: 1.5rem; height: 1.5rem; }
.check-bold { stroke-width: 3; }

/* Responsive line breaks */
.br-md { display: none; }
@media (min-width: 768px) { .br-md { display: block; } }

.br-sm-only { display: none; }
@media (min-width: 640px) { .br-sm-only { display: block; } }
@media (min-width: 768px) { .br-sm-only { display: none; } }

.br-sm { display: none; }
@media (min-width: 640px) { .br-sm { display: block; } }

/* Pulse animation (replaces Tailwind animate-pulse) */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Animations for Carousel and Interactive Components */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee-scroll {
  animation: marquee 35s linear infinite;
}

@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
.animate-bounce-right {
  animation: bounceRight 1.2s infinite;
}

/* ==========================================================================
   SCROLL REVEAL — 섹션별 스크롤 페이드인
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 그리드·리스트 순차 등장 */
.bento-grid .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.bento-grid .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.managed-grid .scroll-reveal:nth-child(2) { transition-delay: 0.12s; }
.features-text .scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.features-text .scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.spec-list .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.device-toggle-list .scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.device-toggle-list .scroll-reveal:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease;
  background-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding-top: 9px;
  padding-bottom: 9px;
}
.site-header.header-solid {
  background-color: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  padding-top: 9px;
  padding-bottom: 9px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .header-inner {
    padding-right: 2.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.brand-logo {
  height: 72px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.brand-logo:hover {
  opacity: 0.9;
}
@media (min-width: 768px) {
  .brand-logo {
    height: 97px;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1280px) {
  .desktop-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  color: #ffffff;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .cta-btn {
    display: inline-flex;
  }
}
.cta-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.cta-btn:hover .cta-icon {
  transform: rotate(12deg);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1c1b1b;
  border: none;
  background: transparent;
  padding: 0.375rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.mobile-menu-btn:hover {
  background-color: #f6f3f2;
}
@media (min-width: 1280px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.mobile-menu > * + * {
  margin-top: 1rem;
}
@media (min-width: 1280px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #494456;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-nav-link:hover {
  color: #6200ee;
}

/* Navigation Link Custom Styles */
.nav-link {
  display: inline-block;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #494456;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  padding: 0.25rem 0 6px;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  cursor: pointer;
}
.nav-link:hover {
  color: #1c1b1b;
}
.nav-link.active-nav {
  color: #6200ee;
  font-weight: 700;
  border-bottom-color: #6200ee;
}


/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  min-height: 44rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: calc(5.75rem + env(safe-area-inset-top, 0px));
  padding-bottom: 3.5rem;
  box-sizing: border-box;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/main_img.jpg') center center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center center;
  animation: heroBgBreathe 22s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroBgBreathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.32) 45%,
    rgba(255, 255, 255, 0.42) 100%
  );
}
@media (min-width: 768px) {
  .hero::before {
    opacity: 0.55;
  }
}
@media (min-width: 768px) {
  .hero {
    height: 830px;
    min-height: 830px;
    justify-content: center;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* 배경 파스텔 블러 — 자연스럽게 커졌다 작아지며 살짝 이동 */
@keyframes orbFloatLeft {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40px, -25px) scale(1.12);
  }
  50% {
    transform: translate(15px, 20px) scale(0.94);
  }
  75% {
    transform: translate(-30px, 10px) scale(1.06);
  }
}

@keyframes orbFloatRight {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-35px, 30px) scale(1.1);
  }
  50% {
    transform: translate(25px, -20px) scale(0.96);
  }
  75% {
    transform: translate(-15px, -25px) scale(1.08);
  }
}

.hero-orb-left {
  position: absolute;
  top: 15%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(0, 106, 96, 0.22) 0%, rgba(0, 106, 96, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: orbFloatLeft 14s ease-in-out infinite;
  will-change: transform;
}
.hero-orb-right {
  position: absolute;
  top: 5%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(98, 0, 238, 0.22) 0%, rgba(98, 0, 238, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  animation: orbFloatRight 16s ease-in-out infinite;
  will-change: transform;
}

/* 히어로 텍스트·요소 순차 등장 */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  opacity: 0;
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.38s; }
.hero-content > *:nth-child(4) { animation-delay: 0.52s; }

/* 그라데이션 강조 텍스트 — 은은한 밝기 변화 */
@keyframes heroTextGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}
.hero-title .gradient-text {
  font-weight: 800;
  animation: heroTextGlow 4s ease-in-out 1.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb-left,
  .hero-orb-right {
    animation: none;
    will-change: auto;
  }
  .hero::before {
    animation: none;
    will-change: auto;
  }
  .partners::before {
    animation: none;
    will-change: auto;
  }
  .managed-bg {
    animation: none;
    will-change: auto;
  }
  .managed-bg-img {
    animation: none;
    will-change: auto;
  }
  .hero-content > * {
    opacity: 1;
    animation: none;
    transform: none;
  }
  .hero-title .gradient-text {
    animation: none;
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .hero-content {
    justify-content: center;
    margin-top: 1rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(98, 0, 238, 0.15);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(98, 0, 238, 0.05);
  transition: all 0.3s ease;
}
.hero-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 0, 238, 0.3);
  box-shadow: 0 4px 12px -1px rgba(98, 0, 238, 0.1);
}

.badge-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #6200ee;
}

.badge-text {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #6200ee;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .badge-text {
    font-size: 0.875rem;
  }
}

.hero-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.375;
  letter-spacing: -0.025em;
  color: #1c1b1b;
  max-width: 64rem;
  margin: 0 auto 1.5rem;
  word-break: keep-all;
}

.hero-title-typing {
  display: block;
  width: 100%;
  min-height: 7.5rem;
}
@media (min-width: 640px) {
  .hero-title-typing { min-height: 8.25rem; }
}
@media (min-width: 768px) {
  .hero-title-typing { min-height: 9rem; }
}
@media (min-width: 1024px) {
  .hero-title-typing { min-height: 10.5rem; }
}
@media (min-width: 1280px) {
  .hero-title-typing { min-height: 11.5rem; }
}

.hero-title-typing .hero-type-line {
  display: inline;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-title-typing.hero-typing-fade .hero-type-line {
  opacity: 0;
}

.hero-title-typing .hero-type-cursor {
  display: inline-block;
  margin-left: 0.08em;
  color: #6200ee;
  animation: heroTypeCursorBlink 0.8s step-end infinite;
}

@keyframes heroTypeCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (min-width: 640px) {
  .hero-title { font-size: 1.8rem; }
}
@media (min-width: 768px) {
  .hero-title { font-size: 2.2rem; line-height: 1.25; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 2.9rem; }
}
@media (min-width: 1280px) {
  .hero-title { font-size: 3.3rem; }
}

.hero-advantages {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 42rem;
  padding: 0 1rem;
  flex-wrap: wrap;
}
@media (min-width: 640px) {
  .hero-advantages {
    flex-wrap: nowrap;
  }
}

.hero-advantage-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.625rem 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}
@media (min-width: 640px) {
  .hero-advantage-card {
    width: auto;
  }
}
.hero-advantage-card:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 0, 238, 0.2);
  box-shadow: 0 10px 15px -3px rgba(98, 0, 238, 0.05);
}

.advantage-icon {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  color: #6200ee;
}

.advantage-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  color: #494456;
}

.hero-cta-wrap {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .hero-cta-wrap {
    margin-top: 3rem;
    gap: 1rem;
  }
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  cursor: pointer;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.gradient-btn.hero-cta-btn {
  border: none;
  color: #ffffff;
  box-shadow: 0 15px 25px -5px rgba(98, 0, 238, 0.2);
}
.gradient-btn.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -5px rgba(98, 0, 238, 0.3);
}
.gradient-btn.hero-cta-btn:active {
  transform: translateY(-1px);
}
.hero-cta-btn-outline {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(74, 0, 184, 0.48);
  color: #5200cc;
  box-shadow: none;
}
.hero-cta-btn-outline:hover {
  background: rgba(74, 0, 184, 0.07);
  border-color: #4a00b8;
  color: #4300a8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 0, 184, 0.12);
}
.hero-cta-btn-outline:active {
  transform: translateY(0);
}
.hero-cta-btn-outline .hero-arrow,
.hero-cta-btn-outline .features-preview-icon {
  color: #5b21b6;
}
.hero-cta-btn-outline:hover .hero-arrow,
.hero-cta-btn-outline:hover .features-preview-icon {
  color: #4a00b8;
}

.hero-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #ffffff;
}


/* ==========================================================================
   COMMON SECTION HEADERS
   ========================================================================== */
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-head {
    margin-bottom: 3rem;
  }
}

.section-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #1c1b1b;
}
@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}
.section-title.section-title-sm {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .section-title.section-title-sm { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .section-title.section-title-sm { font-size: 1.5rem; }
}

.section-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  color: #494456;
}
@media (min-width: 768px) {
  .section-desc {
    font-size: 1.125rem;
  }
}
.section-desc.section-desc-sm {
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .section-desc.section-desc-sm { font-size: 1rem; }
}


/* ==========================================================================
   SOLUTIONS (BENTO CARDS)
   ========================================================================== */
.solutions {
  background-color: #f6f3f2;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .solutions {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1280px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-bento-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
}
.solution-bento-card:hover {
  border-color: rgba(98, 0, 238, 0.4);
}

.icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: transform 0.2s ease;
}
.solution-bento-card:hover .icon-wrapper {
  transform: scale(1.1);
}
.purple-bg {
  background: linear-gradient(135deg, rgba(98, 0, 238, 0.1) 0%, rgba(98, 0, 238, 0.05) 100%);
}
.teal-bg {
  background: linear-gradient(135deg, rgba(0, 106, 96, 0.1) 0%, rgba(0, 106, 96, 0.05) 100%);
}
.brown-bg {
  background: linear-gradient(135deg, rgba(111, 35, 0, 0.1) 0%, rgba(111, 35, 0, 0.05) 100%);
}

.bento-icon {
  width: 1.5rem;
  height: 1.5rem;
}
.text-purple { color: #6200ee; }
.text-teal { color: #006a60; }
.text-brown { color: #6f2300; }

.bento-card-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #1c1b1b;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}
.solution-bento-card.sol-purple:hover .bento-card-title { color: #6200ee; }
.solution-bento-card.sol-teal:hover .bento-card-title { color: #006a60; }
.solution-bento-card.sol-brown:hover .bento-card-title { color: #6f2300; }

.bento-card-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.775rem;
  font-style: italic;
  line-height: 1.625;
  color: #494456;
  flex-grow: 1;
}
@media (min-width: 768px) {
  .bento-card-desc {
    font-size: 0.875rem;
  }
}

.bento-card-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #f0edec;
}

.bento-footer-tag {
  display: inline-block;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bento-footer-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: #1c1b1b;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .bento-footer-text {
    font-size: 0.9rem;
  }
}

.bento-hover-action {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6200ee;
  opacity: 1;
  transition: opacity 0.2s ease;
}
@media (min-width: 1025px) {
  .bento-hover-action {
    opacity: 0;
  }
  .solution-bento-card:hover .bento-hover-action {
    opacity: 1;
  }
}

.hover-arrow-icon {
  width: 1.125rem;
  height: 1.125rem;
}


/* ==========================================================================
   MANAGED TRACKS (DARK)
   ========================================================================== */
.managed {
  background-color: #313030;
  color: #f3f0ef;
  padding-top: 3rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.managed-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center center;
  animation: heroBgBreathe 24s ease-in-out infinite;
  will-change: transform;
}

.managed-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.managed::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 14, 14, 0.28) 0%,
    rgba(15, 14, 14, 0.06) 45%,
    rgba(15, 14, 14, 0.18) 100%
  );
}

@media (min-width: 768px) {
  .managed {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}

.managed-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  z-index: 2;
}
.grid-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #ffffff, transparent);
}
.grid-line-1 { left: 25%; }
.grid-line-2 { left: 50%; }
.grid-line-3 { left: 75%; }

.managed-inner {
  position: relative;
  z-index: 10;
}

.managed-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #ffffff;
}
@media (min-width: 640px) {
  .managed-title {
    font-size: 2.25rem;
  }
}
.managed-title.managed-title-sm {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .managed-title.managed-title-sm { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .managed-title.managed-title-sm { font-size: 1.5rem; }
}

.managed-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  color: rgba(243, 240, 239, 0.8);
}
@media (min-width: 768px) {
  .managed-desc {
    font-size: 1.125rem;
  }
}
.managed-desc.managed-desc-sm {
  font-size: 0.875rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}
@media (min-width: 768px) {
  .managed-desc.managed-desc-sm { font-size: 1rem; }
}

.managed-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .managed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.managed-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.managed .glass-card {
  background: rgba(28, 27, 27, 0.78);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (min-width: 768px) {
  .managed-card {
    padding: 1.75rem;
  }
}
.managed-card-purple { border: 1px solid rgba(98, 0, 238, 0.2); }
.managed-card-purple:hover { border-color: rgba(98, 0, 238, 0.5); }
.managed-card-teal { border: 1px solid rgba(0, 106, 96, 0.2); }
.managed-card-teal:hover { border-color: rgba(0, 106, 96, 0.5); }

.managed-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.managed-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.managed-icon-box.purple {
  background-color: rgba(98, 0, 238, 0.25);
  color: #cfbdff;
}
.managed-icon-box.teal {
  background-color: rgba(0, 106, 96, 0.25);
  color: #4af8e3;
}

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 0.375rem;
}
.badge-purple {
  color: #e8ddff;
  background-color: rgba(98, 0, 238, 0.3);
}
.badge-teal {
  color: #4af8e3;
  background-color: rgba(0, 106, 96, 0.3);
}

.managed-card-titlewrap {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.managed-card-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}
.managed-card-subtitle {
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .managed-card-subtitle {
    font-size: 0.9rem;
  }
}
.sub-purple { color: #cfbdff; }
.sub-teal { color: #4af8e3; }

.managed-card-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.8rem;
  line-height: 1.625;
  color: #ebe7e7;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .managed-card-desc {
    font-size: 0.875rem;
  }
}

.managed-card-foot {
  margin-top: auto;
}
.managed-btn {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.75rem;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
  .managed-btn {
    font-size: 0.875rem;
  }
}
.btn-purple {
  background-color: rgba(98, 0, 238, 0.25);
  color: #cfbdff;
  box-shadow: 0 10px 15px -3px rgba(98, 0, 238, 0.05);
  border: 1px solid rgba(98, 0, 238, 0.3);
}
.btn-purple:hover {
  background-color: rgba(98, 0, 238, 0.4);
  color: #ffffff;
}
.btn-teal {
  background-color: #006a60;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 106, 96, 0.1);
}
.btn-teal:hover {
  background-color: #005048;
}


/* ==========================================================================
   FEATURES (ADMIN DASHBOARD PREVIEW)
   ========================================================================== */
.features {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #ffffff;
}
.is-preview-embed .features {
  background-color: #f6f3f2;
}
@media (min-width: 768px) {
  .features {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.features-text {
  order: 2;
}
.features-text > * + * {
  margin-top: 1.5rem;
}
@media (min-width: 1024px) {
  .features-text {
    order: 1;
  }
}

.spec-heading {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1.25;
  color: #1c1b1b;
}
@media (min-width: 640px) {
  .spec-heading {
    font-size: 2.25rem;
  }
}

.spec-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #494456;
}
@media (min-width: 768px) {
  .spec-desc {
    font-size: 1rem;
  }
}

.spec-list {
  padding-top: 0.5rem;
}
.spec-list > * + * {
  margin-top: 1rem;
}
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.spec-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: #e8ddff;
  color: #6200ee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.spec-bullet-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 600;
  font-size: 0.9625rem;
  color: #1c1b1b;
}
@media (min-width: 768px) {
  .spec-bullet-title {
    font-size: 1.1rem;
  }
}
.spec-bullet-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.75rem;
  color: #494456;
  margin-top: 0.125rem;
}
@media (min-width: 768px) {
  .spec-bullet-desc {
    font-size: 0.875rem;
  }
}

.features-visual-wrap {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .features-visual-wrap {
    order: 2;
  }
}

.features-visual {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
  background-color: #f6f3f2;
  aspect-ratio: 16 / 9;
}
.features-visual-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.features-visual-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.features-visual-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.features-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(98, 0, 238, 0.05), rgba(180, 19, 109, 0.05));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.features-visual-slider:hover .features-visual-overlay {
  opacity: 1;
}
.features-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.features-visual-slider:hover .features-visual-slide.is-active .features-visual-img {
  transform: scale(1.02);
}
.features-visual-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding: 0.3125rem;
  border-radius: 9999px;
  background: #f6f3f2;
  border: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .features-visual-tabs {
    gap: 0.5rem;
    padding: 0.375rem;
  }
}
.features-visual-tab {
  border: none;
  border-radius: 9999px;
  padding: 0.4375rem 0.875rem;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1;
  color: #6b7280;
  background: transparent;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .features-visual-tab {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
  }
}
.features-visual-tab:hover {
  color: #374151;
}
.features-visual-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #6200ee, #b4136d);
  box-shadow: 0 4px 12px rgba(98, 0, 238, 0.25);
}
.features-visual-tab:focus-visible {
  outline: 2px solid #6200ee;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .features-visual-track {
    transition: none;
  }
  .features-visual-slider:hover .features-visual-slide.is-active .features-visual-img {
    transform: none;
  }
}

.features-preview-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .features-preview-wrap {
    margin-top: 3rem;
  }
}
.features-preview-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}


/* ==========================================================================
   ABOUT (DEVICE RESPONSIVENESS PREVIEW)
   ========================================================================== */
.about {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #f6f3f2;
}
@media (min-width: 768px) {
  .about {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: stretch;
  }
}

.device-window {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 1rem;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .device-window {
    aspect-ratio: auto;
    height: 100%;
    min-height: 520px;
  }
}

.device-window-inner {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  background-color: #fcf9f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-container {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.responsive-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.5rem;
  background-color: #ffffff;
}

.device-spec-bubble {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: rgba(28, 27, 27, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 30;
}
.spec-bubble-icon {
  color: #cfbdff;
  flex-shrink: 0;
}

.about-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-controls > * + * {
  margin-top: 2rem;
}
.about-head > * + * {
  margin-top: 1rem;
}
.about-head .section-title {
  line-height: 1.25;
}
.about-head .section-desc {
  line-height: 1.625;
}

.device-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.device-toggle-btn {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.device-toggle-btn:hover {
  border-color: #d1d5db;
  background-color: rgba(255, 255, 255, 0.5);
}
/* Active state styling for device simulation */
.device-active {
  background-color: #ffffff;
  border-color: #6200ee;
  border-width: 1px;
  box-shadow: 0 0 0 1px #6200ee, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.device-icon-box {
  padding: 0.625rem;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #494456;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}
.device-active .active-icon-box {
  background-color: #e8ddff;
  color: #6200ee;
}

.device-toggle-body > * + * {
  margin-top: 0.125rem;
}
.device-toggle-titlerow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.device-btn-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #1c1b1b;
}
.device-badge {
  display: none;
  font-size: 11px;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background-color: #e5e7eb;
  color: #494456;
}
@media (min-width: 640px) {
  .device-badge {
    display: inline-block;
  }
}
.device-active .device-badge {
  background-color: #e8ddff;
  color: #22005d;
}
.device-btn-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #494456;
  max-width: 24rem;
}


/* ==========================================================================
   PARTNERS GRID
   ========================================================================== */
.partners {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.partners::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/main_img6.jpg') center center / cover no-repeat;
  opacity: 1;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center center;
  animation: heroBgBreathe 24s ease-in-out infinite;
  will-change: transform;
}

.partners::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.22) 100%
  );
}

.partners .container {
  position: relative;
  z-index: 1;
}

.partners-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}
.partners-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1c1b1b;
}
@media (min-width: 768px) {
  .partners-title {
    font-size: 1.875rem;
  }
}
.partners-underline {
  width: 6rem;
  height: 0.25rem;
  background-color: #6200ee;
  margin-top: 1rem;
  border-radius: 9999px;
}

.partners-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.partner-logo {
  background-color: #ffffff;
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  aspect-ratio: 3 / 1.5;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .partner-logo {
    padding: 1rem;
    border-radius: 1rem;
  }
}
.partner-logo:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: rgba(98, 0, 238, 0.15);
}
.partner-logo-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 2.5rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .partner-logo-img {
    max-height: 3rem;
  }
}
.partner-logo:hover .partner-logo-img {
  opacity: 1;
  filter: grayscale(0);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #313030;
  color: #f3f0ef;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(243, 240, 239, 0.1);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
  }
}
.footer-logo {
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  .footer-logo {
    height: 90px;
  }
}
.footer-desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.75rem;
  color: rgba(243, 240, 239, 0.7);
  line-height: 1.625;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-desc {
    font-size: 0.875rem;
    text-align: left;
  }
}

.footer-contact-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-contact-link:hover {
  color: #ffffff;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-right {
    align-items: flex-end;
  }
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}
.footer-nav-link {
  font-size: 0.75rem;
  color: rgba(243, 240, 239, 0.8);
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-nav-link:hover {
  color: #ffffff;
  font-weight: 600;
}
.footer-nav-btn {
  border: none;
  background: transparent;
  text-align: left;
}

.scroll-top-btn {
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #f3f0ef;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.scroll-top-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* KakaoTalk Channel Chat FAB */
.kakao-chat-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0 1.125rem 0 0.875rem;
  border-radius: 9999px;
  background-color: #fee500;
  color: #191919;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.kakao-chat-fab:hover {
  transform: translateY(-2px);
  background-color: #ffe033;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  color: #191919;
}

.kakao-chat-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.kakao-chat-fab-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 639px) {
  .kakao-chat-fab {
    right: 1rem;
    bottom: 1rem;
    min-height: 3rem;
    padding: 0 0.875rem 0 0.75rem;
    font-size: 0.875rem;
  }

  .kakao-chat-fab-text {
    display: none;
  }

  .kakao-chat-fab {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}


/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s ease;
}
.modal.is-open {
  display: flex;
}
@media (max-width: 1023px) {
  .modal {
    align-items: flex-start;
    padding: 0.75rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-card {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  width: 100%;
  max-width: 42rem;
  max-height: min(90dvh, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
@media (max-width: 1023px) {
  .modal-card {
    max-height: min(88dvh, calc(100vh - 1.5rem));
    margin-top: auto;
    margin-bottom: auto;
  }
}
.modal-close-trigger {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  color: #494456;
  transition: color 0.2s ease;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
}
.modal-close-trigger:hover {
  color: #6200ee;
}
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(98, 0, 238, 0.4) transparent;
}
.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-thumb {
  background-color: rgba(98, 0, 238, 0.35);
  border-radius: 999px;
}
@media (min-width: 768px) {
  .modal-body {
    padding: 2.5rem;
  }
}
@media (max-width: 1023px) {
  .modal-close-trigger {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem;
  }
  .modal-body {
    padding: 2.75rem 1rem 1.25rem;
  }
  .modal-form > * + * {
    margin-top: 1rem;
  }
  .modal-head {
    margin-top: 0.35rem;
    margin-bottom: 1rem;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-subtitle {
    font-size: 0.8125rem;
  }
  .service-checkbox-card {
    padding: 0.75rem;
  }
  .form-input,
  .form-textarea {
    padding: 0.625rem 1rem;
  }
  .form-textarea {
    min-height: 4.5rem;
  }
  .modal-submit-btn {
    padding: 0.875rem;
    font-size: 0.9375rem;
  }
}
.modal-form > * + * {
  margin-top: 1.5rem;
}
.modal-head {
  text-align: center;
  margin-bottom: 2rem;
}
.modal-title {
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1c1b1b;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .modal-title {
    font-size: 1.875rem;
  }
}
.modal-subtitle {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.875rem;
  color: #494456;
}
@media (min-width: 768px) {
  .modal-subtitle {
    font-size: 1rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.form-group > * + * {
  margin-top: 0.5rem;
}
.form-block > * + * {
  margin-top: 0.75rem;
}

.input-label-text {
  display: flex;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #494456;
  margin-left: 0.25rem;
}
.input-label-text.label-between {
  justify-content: space-between;
}
.required-star {
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: #f6f3f2;
  font-family: 'Noto Sans KR', sans-serif;
  transition: all 0.2s ease;
}
.form-input:focus,
.form-textarea:focus {
  background-color: #ffffff;
}
.form-textarea {
  resize: none;
}

.service-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #1c1b1b;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.service-checkbox-card:hover {
  border-color: rgba(98, 0, 238, 0.6);
}
.service-checkbox-card.is-selected {
  border-color: #6200ee;
  background-color: rgba(232, 221, 255, 0.3);
  color: #22005d;
}
.service-checkbox {
  accent-color: #6200ee;
  height: 1rem;
  width: 1rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
}
.checkbox-label-text {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
}

.optional-badge {
  color: #888888;
  font-weight: 400;
}

.modal-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #6200ee 0%, #b4136d 100%);
  color: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 20px 25px -5px rgba(98, 0, 238, 0.15);
  transition: all 0.2s ease;
}
.modal-submit-btn:hover {
  opacity: 0.95;
}
.modal-submit-btn:active {
  transform: scale(0.98);
}
.submit-icon {
  color: #ffffff;
}

.modal-footer-caption {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.75rem;
  color: #494456;
  text-align: center;
  margin-top: 1rem;
}

/* Form input focus ring (global) */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(98, 0, 238, 0.2);
  border-color: #6200ee;
}

/* ==========================================================================
   UNIFIED SECTION HEADING SCALE
   ========================================================================== */
.section-title.section-title-sm,
.managed-title.managed-title-sm,
.spec-heading,
.about-head .section-title,
.partners-title {
  font-size: 1.5rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 640px) {
  .section-title.section-title-sm,
  .managed-title.managed-title-sm,
  .spec-heading,
  .about-head .section-title,
  .partners-title {
    font-size: 1.9rem;
  }
}

@media (min-width: 768px) {
  .section-title.section-title-sm,
  .managed-title.managed-title-sm,
  .spec-heading,
  .about-head .section-title,
  .partners-title {
    font-size: 2.2rem;
  }
}

.section-desc.section-desc-sm,
.managed-desc.managed-desc-sm,
.spec-desc,
.about-head .section-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (min-width: 640px) {
  .section-desc.section-desc-sm,
  .managed-desc.managed-desc-sm,
  .spec-desc,
  .about-head .section-desc {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .section-desc.section-desc-sm,
  .managed-desc.managed-desc-sm,
  .spec-desc,
  .about-head .section-desc {
    font-size: 1.08rem;
  }
}

/* ==========================================================================
   LAYOUT INNER (header-inner 와 동일 가로 폭)
   ========================================================================== */
.fc-layout-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 1.5rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .fc-layout-inner {
    padding-right: 2.5rem;
  }
}

/* ==========================================================================
   SUB PAGE (page/sub.php 템플릿)
   ========================================================================== */
body.body-sub {
  background-color: #ffffff;
  --fc-header-offset: calc(5.625rem + env(safe-area-inset-top, 0px));
}
@media (min-width: 768px) {
  body.body-sub {
    --fc-header-offset: calc(7.1875rem + env(safe-area-inset-top, 0px));
  }
}

.sub-visual {
  position: relative;
  --sub-visual-band: 11.5rem;
  min-height: calc(var(--fc-header-offset, 5.75rem) + var(--sub-visual-band));
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}
@media (min-width: 768px) {
  .sub-visual {
    --sub-visual-band: 13rem;
    min-height: calc(var(--fc-header-offset, 7.25rem) + var(--sub-visual-band));
  }
}

.sub-visual-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sub-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sub-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.62) 100%
  );
}

.sub-visual-inner {
  position: absolute;
  z-index: 2;
  top: var(--fc-header-offset, 5.75rem);
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1.5rem 0 10px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .sub-visual-inner {
    padding-right: 2.5rem;
  }
}

.sub-visual-title {
  margin: 0;
  font-family: 'Gmarket Sans', 'Noto Sans KR', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}
@media (min-width: 640px) {
  .sub-visual-title {
    font-size: 2.25rem;
  }
}
@media (min-width: 768px) {
  .sub-visual-title {
    font-size: 2.5rem;
  }
}

.sub-visual-subtitle {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}
@media (min-width: 768px) {
  .sub-visual-subtitle {
    margin-top: 1rem;
    font-size: 1.0625rem;
  }
}

.sub-page {
  padding-top: 2.5rem;
  padding-bottom: 6rem;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .sub-page {
    padding-top: 3.5rem;
    padding-bottom: 8rem;
  }
}

.sub-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #64748b;
}
@media (min-width: 768px) {
  .sub-page-breadcrumb {
    margin-bottom: 2.5rem;
  }
}

.sub-page-breadcrumb a {
  color: #475569;
  text-decoration: none;
}

.sub-page-breadcrumb a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.sub-page-breadcrumb-sep {
  color: #cbd5e1;
}

.sub-page-content {
  color: #334155;
  line-height: 1.85;
  font-size: 1rem;
}
@media (min-width: 768px) {
  .sub-page-content {
    font-size: 1.0625rem;
    line-height: 1.9;
  }
}

.sub-page-content p + p {
  margin-top: 1.25rem;
}

.sub-page-content-title {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.sub-page-list {
  margin: 0;
  padding-left: 1.35rem;
}

.sub-page-list li + li {
  margin-top: 0.75rem;
}

.sub-page-list code {
  font-size: 0.875em;
  background: #f1f5f9;
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

.sub-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 0.5rem;
}

.sub-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  text-decoration: none;
}

.sub-page-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.sub-page-btn-outline:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* ========== Portfolio Coverflow ========== */
.portfolio {
  position: relative;
  padding: 6.5rem 0 5.5rem;
  overflow: hidden;
  background: #07180f;
  color: #f8fafc;
}

@media (min-width: 768px) {
  .portfolio {
    padding: 8.5rem 0 7rem;
  }
}

.portfolio-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.portfolio-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(52, 211, 92, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 70% 50% at 50% 40%, #134e2a 0%, #07180f 72%);
}

.portfolio-bg-collage {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(210vw, 2100px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  transform: translate(-50%, -50%) perspective(1100px) rotateX(22deg) rotateZ(-10deg) scale(1.28);
  opacity: 0.42;
  filter: saturate(0.9) contrast(1.05) brightness(0.68);
}

.portfolio-bg-shot {
  overflow: hidden;
  border-radius: 0.4rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.portfolio-bg-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1.04);
}

.portfolio-bg-shot:nth-child(odd) {
  transform: translateY(0.55rem);
}

.portfolio-bg-shot:nth-child(3n) {
  transform: translateY(-0.45rem);
}

.portfolio-bg-shot:nth-child(n + 1):nth-child(-n + 5) {
  filter: blur(1.4px);
  opacity: 0.7;
}

.portfolio-bg-shot:nth-child(n + 21) {
  filter: blur(0.7px);
  opacity: 0.78;
}

.portfolio-bg-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 24, 15, 0.58) 0%, rgba(7, 24, 15, 0.18) 30%, rgba(7, 24, 15, 0.22) 58%, rgba(7, 24, 15, 0.7) 100%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(74, 222, 128, 0.32) 0%, transparent 55%);
}

.portfolio-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.portfolio-foreground {
  position: relative;
  z-index: 1;
}

.portfolio .section-title,
.portfolio .section-title.section-title-sm {
  color: #f8fafc;
}

.portfolio .section-desc,
.portfolio .section-desc.section-desc-sm {
  color: rgba(248, 250, 252, 0.72);
}

.portfolio-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.portfolio-head-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #6200ee, #006a60);
  box-shadow: 0 8px 22px rgba(98, 0, 238, 0.28);
}

.portfolio-head-eyebrow::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.portfolio-head-title {
  position: relative;
  margin: 0;
}

.portfolio-head-brand {
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 35%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.portfolio-head-desc {
  position: relative;
  margin: 0.15rem 0 0;
  max-width: 28rem;
}

.portfolio-head-desc::before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0 auto 0.9rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, #6200ee, #006a60);
}

.portfolio-coverflow {
  position: relative;
  margin-top: 2.25rem;
}

.portfolio-coverflow-swiper {
  width: 100%;
  padding: 6.5rem 0 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .portfolio-coverflow-swiper {
    padding: 7.5rem 0 2rem;
  }
}

.portfolio-coverflow-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 1rem;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #f8fafc;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  cursor: default;
}

a.portfolio-coverflow-title[href] {
  cursor: pointer;
  transition: opacity 0.2s;
}

a.portfolio-coverflow-title[href]:hover {
  opacity: 0.82;
}

.portfolio-coverflow-swiper .swiper-wrapper {
  align-items: center;
}

.portfolio-coverflow-swiper .swiper-slide {
  width: min(68vw, 300px);
  background: transparent;
  /* coverflow transform과 충돌하는 CSS transition 금지 */
}

.portfolio-coverflow-swiper .swiper-slide-active {
  z-index: 2;
}

@media (min-width: 768px) {
  .portfolio-coverflow-swiper .swiper-slide {
    width: min(48vw, 420px);
  }
}

@media (min-width: 1200px) {
  .portfolio-coverflow-swiper .swiper-slide {
    width: 460px;
  }
}

.portfolio-coverflow-item {
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
}

.portfolio-coverflow-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-coverflow-item img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.portfolio-coverflow-swiper .swiper-slide-shadow-left,
.portfolio-coverflow-swiper .swiper-slide-shadow-right {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.portfolio-coverflow-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .portfolio-coverflow-nav {
    margin-top: 5rem;
  }
}

.portfolio-coverflow-prev,
.portfolio-coverflow-next {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  padding: 0.5rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.9);
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.portfolio-coverflow-prev:hover,
.portfolio-coverflow-next:hover {
  opacity: 0.55;
}

.portfolio-coverflow-prev span,
.portfolio-coverflow-next span {
  font-size: 1rem;
  line-height: 1;
}
