/* ARSEN AI public site design system */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --color-bg: #ffffff;
  --color-surface: #f7f8fb;
  --color-border: #e5e7eb;
  --color-text: #0a0a0a;
  --color-muted: #667085;
  --color-subtle: #98a2b3;
  --color-ink: #0f172a;
  --color-blue: #355f92;
  --color-green: #0f8f62;
  --color-clay: #c26a4b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: 0;
  line-break: strict;
  overflow-wrap: break-word;
  word-break: keep-all;
}

body.menu-open {
  overflow: hidden;
}

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

button, a, input, textarea, select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dt,
dd,
a,
button,
label,
.chip {
  line-break: strict;
  overflow-wrap: break-word;
  word-break: keep-all;
}

h1,
h2,
h3,
h4,
h5,
h6,
.headline {
  text-wrap: balance;
}

p,
li,
dd,
.soft-card {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid #0a0a0a;
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.nav-blur {
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(255, 255, 255, 0.84);
}

.nav-link[aria-current="page"] {
  color: #0a0a0a;
  font-weight: 800;
}

.nav-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #0a0a0a;
  color: #fff;
  padding: 0 20px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-pill:active,
.btn-dark:active {
  transform: scale(0.97);
  opacity: 0.86;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.site-logo-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(53, 95, 146, 0.96), rgba(15, 143, 98, 0.88)),
    #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  font-size: 0.72rem;
}

.hero-dark {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(80, 128, 190, 0.28), transparent 18%),
    linear-gradient(112deg, rgba(13, 22, 32, 0.68), rgba(24, 47, 74, 0.82) 46%, rgba(16, 26, 58, 0.94)),
    url("yoonbot-hero.png") center / cover no-repeat;
  color: #fff;
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(255, 255, 255, 0.12) 28.1%, transparent 28.3%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 240px 240px, 240px 240px;
  opacity: 0.56;
  pointer-events: none;
}

.hero-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.4));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-subtle);
}

.hero-dark .section-label {
  color: rgba(255, 255, 255, 0.58);
}

.operate-strip .section-label {
  color: #475467;
}

.operate-summary {
  color: #344054;
}

.operate-pill {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #111827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.headline {
  letter-spacing: 0;
  line-height: 1.12;
  font-weight: 850;
}

.btn-dark,
.btn-light,
.btn-ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 0 22px;
  font-weight: 850;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-dark {
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #fff;
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #fff;
  color: #111827;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.btn-outline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0 20px;
  font-weight: 800;
  color: #111827;
  background: #fff;
  white-space: nowrap;
}

.card-lift {
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-2px);
  border-color: #d5dae3;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.1);
}

.soft-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.surface {
  background: var(--color-surface);
}

.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.stat-number {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hig-label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.hig-input {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  background: #fff;
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.5;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hig-input:hover {
  border-color: #9ca3af;
}

.hig-input:focus {
  outline: none;
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.hig-input::placeholder {
  color: var(--color-subtle);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  background: #eef3f8;
  color: #355f92;
  font-size: 12px;
  font-weight: 850;
}

.price-old {
  color: var(--color-subtle);
  text-decoration: line-through;
}

.dashboard-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(6, 12, 24, 0.66);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.dashboard-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%);
  pointer-events: none;
}

.bar {
  display: block;
  width: var(--w);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(115, 167, 255, 0.98), rgba(61, 214, 140, 0.8));
}

.terminal {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #090e14;
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.faq-answer {
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .hero-dark {
    min-height: 720px;
    background-position: 62% center;
  }

  h1 {
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }

  .headline {
    letter-spacing: 0;
  }

  .btn-dark,
  .btn-light,
  .btn-ghost,
  .btn-outline {
    width: 100%;
  }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
