@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* ---------- Tokens ---------- */
:root {
  --bg: #f7f6f2;
  --card: #ffffff;
  --ink: #16181d;
  --ink-2: #0c0d11;
  --ink-soft: #5b5f68;
  --ink-faint: #8b8e96;
  --line: #e1ded4;
  --accent: #2547f5;
  --accent-soft: #e8ecff;
  --commerce: #2547f5;
  --content: #7a3ff2;
  --app: #12897a;

  /* Luxe palette (business / apps / contact accents) */
  --luxe-navy: #1f2a44;
  --luxe-gold: #a9803f;
  --luxe-emerald: #2c4a3d;
  --luxe-plum: #4a324f;
  --luxe-slate: #3c4652;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.05);
  --shadow-md: 0 24px 48px -28px rgba(22, 24, 29, 0.4);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header / Nav (designart.co.kr 스타일: 심플 텍스트 + CTA 버튼) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo span {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  display: inline-block;
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 10px 20px;
  letter-spacing: -0.01em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.nav-menu a:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.nav-menu a.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.nav-menu a.btn-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  font-weight: 700;
}
.nav-menu a.btn-cta:hover { background: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 60px;
  margin-top: 120px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.footer-inner span:last-child {
  margin-top: 4px;
}

/* ---------- Section basics ---------- */
.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.3;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Hero (home) ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  background: var(--ink-2);
  color: #fff;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 70% 35%, black, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: float 9s ease-in-out infinite;
}

.hero-glow .g1 { width: 99px; height: 99px; background: var(--commerce); top: 90px; right: 16%; animation-delay: 0s; }
.hero-glow .g2 { width: 84px; height: 84px; background: var(--content); bottom: 150px; right: 7%; animation-delay: 1.2s; }
.hero-glow .g3 { width: 69px; height: 69px; background: var(--app); top: 190px; right: 3%; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, 16px); }
}

.hero {
  position: relative;
  z-index: 1;
  padding: 128px 0 116px;
  display: flex;
  justify-content: center;
}

.hero-copy {
  max-width: 620px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--commerce);
  box-shadow: 0 0 0 3px rgba(37, 71, 245, 0.25);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 0;
  color: #fff;
}

.hero-copy p {
  margin: 22px auto 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 480px;
  line-height: 1.85;
}

/* ---------- Synergy (replaces old pillar list) ---------- */
.synergy {
  position: relative;
  overflow: hidden;
  padding: 108px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px circle at 12% 20%, rgba(37, 71, 245, 0.12), transparent 60%),
    radial-gradient(520px circle at 88% 25%, rgba(122, 63, 242, 0.12), transparent 60%),
    radial-gradient(620px circle at 50% 100%, rgba(18, 137, 122, 0.1), transparent 60%),
    var(--bg);
}

.synergy-mark {
  margin: 0 auto 36px;
  width: 210px;
}

.synergy-mark circle {
  mix-blend-mode: multiply;
}

.synergy h2 {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.55;
  color: var(--ink);
}

.synergy-link {
  position: relative;
  display: inline-block;
  margin-top: 30px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding-bottom: 3px;
}

.synergy-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.synergy-link:hover::after { transform: scaleX(1); }

/* ---------- About page ---------- */
.about-body {
  max-width: 680px;
}

.about-body p {
  font-size: 1.06rem;
  line-height: 1.95;
  color: var(--ink);
  margin: 0 0 22px;
}

/* ---------- Business cards (luxe, 가로 정렬) ---------- */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.biz-card {
  position: relative;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 52px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.biz-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.biz-card .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  background: transparent;
}

.biz-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
}

.biz-card .rule {
  width: 34px;
  height: 2px;
}

.biz-card.commerce { color: var(--luxe-navy); }
.biz-card.commerce::before { background: var(--luxe-navy); }
.biz-card.commerce .rule { background: var(--luxe-navy); }
.biz-card.commerce h3 { color: var(--ink); }
.biz-card.commerce:hover { border-color: var(--luxe-navy); box-shadow: 0 24px 48px -30px rgba(31, 42, 68, 0.45); transform: translateY(-4px); }

.biz-card.content { color: var(--luxe-gold); }
.biz-card.content::before { background: var(--luxe-gold); }
.biz-card.content .rule { background: var(--luxe-gold); }
.biz-card.content h3 { color: var(--ink); }
.biz-card.content:hover { border-color: var(--luxe-gold); box-shadow: 0 24px 48px -30px rgba(169, 128, 63, 0.4); transform: translateY(-4px); }

.biz-card.app { color: var(--luxe-emerald); }
.biz-card.app::before { background: var(--luxe-emerald); }
.biz-card.app .rule { background: var(--luxe-emerald); }
.biz-card.app h3 { color: var(--ink); }
.biz-card.app:hover { border-color: var(--luxe-emerald); box-shadow: 0 24px 48px -30px rgba(44, 74, 61, 0.4); transform: translateY(-4px); }

/* ---------- Apps list (luxe, 세로 정렬) ---------- */
.apps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-row .icon-wrap {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
}

.app-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.app-row .idx {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.app-row.c1 { color: var(--luxe-navy); }
.app-row.c2 { color: var(--luxe-gold); }
.app-row.c3 { color: var(--luxe-emerald); }
.app-row.c4 { color: var(--luxe-plum); }
.app-row.c5 { color: var(--luxe-slate); }

.app-row.c1:hover { border-color: var(--luxe-navy); box-shadow: 0 18px 36px -26px rgba(31, 42, 68, 0.4); transform: translateX(4px); }
.app-row.c2:hover { border-color: var(--luxe-gold); box-shadow: 0 18px 36px -26px rgba(169, 128, 63, 0.4); transform: translateX(4px); }
.app-row.c3:hover { border-color: var(--luxe-emerald); box-shadow: 0 18px 36px -26px rgba(44, 74, 61, 0.4); transform: translateX(4px); }
.app-row.c4:hover { border-color: var(--luxe-plum); box-shadow: 0 18px 36px -26px rgba(74, 50, 79, 0.4); transform: translateX(4px); }
.app-row.c5:hover { border-color: var(--luxe-slate); box-shadow: 0 18px 36px -26px rgba(60, 70, 82, 0.4); transform: translateX(4px); }

.apps-note {
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
  color: var(--ink-faint);
  font-size: 0.95rem;
  text-align: center;
  max-width: 720px;
}

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-intro {
  position: relative;
}

.contact-intro::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(37, 71, 245, 0.16), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.contact-intro h1 {
  position: relative;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 18px;
}

.contact-intro p {
  position: relative;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.85;
  max-width: 440px;
}

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

.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-row .icon-wrap {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-row.r1 .icon-wrap { background: var(--luxe-navy); }
.contact-row.r2 .icon-wrap { background: var(--luxe-gold); }
.contact-row.r3 .icon-wrap { background: var(--luxe-emerald); }
.contact-row.r4 .icon-wrap { background: var(--luxe-plum); }

.contact-row .label {
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-row .value {
  font-size: 1.02rem;
  font-weight: 600;
}

.contact-row a.value:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .biz-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-menu {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 32px 22px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { text-align: center; padding: 12px 0; }
  .nav-menu a.btn-cta { margin-top: 8px; }
  .nav-toggle { display: flex; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .synergy { padding: 72px 0; }
  .app-row { flex-wrap: wrap; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow span { animation: none; }
}
