/* ============================================================
   claude_reset.css — Design tokens, reset, typography system
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Background */
  --c-bg: #0e0e10;
  --c-bg-elevated: #161618;
  --c-bg-card: #1a1a1e;
  --c-bg-card-hover: #1f1f24;
  --c-bg-subtle: rgba(255, 255, 255, 0.03);

  /* Text */
  --c-ink: #f0ede8;
  --c-ink-secondary: #a8a29e;
  --c-ink-tertiary: #78716c;
  --c-ink-inverse: #0e0e10;

  /* Accent — warm gold  */
  --c-accent: #d4a054;
  --c-accent-soft: rgba(212, 160, 84, 0.15);
  --c-accent-hover: #e2b46e;

  /* Secondary accent — cool blue */
  --c-blue: #5b8def;
  --c-blue-soft: rgba(91, 141, 239, 0.12);

  /* Borders & lines */
  --c-line: rgba(255, 255, 255, 0.07);
  --c-line-strong: rgba(255, 255, 255, 0.12);

  /* Shadows */
  --c-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --c-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
  --c-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --c-shadow-glow: 0 0 40px rgba(212, 160, 84, 0.08);

  /* Radius */
  --c-radius-xs: 8px;
  --c-radius-sm: 12px;
  --c-radius: 16px;
  --c-radius-lg: 24px;
  --c-radius-xl: 32px;
  --c-radius-full: 999px;

  /* Spacing */
  --c-space: 16px;

  /* Transitions */
  --c-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --c-duration: 0.3s;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans KR", Roboto, "Helvetica Neue", Arial,
               "Apple SD Gothic Neo", sans-serif;
  font-feature-settings: "rlig" 1, "calt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* --- Scroll-reveal animation base --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--c-ease), transform 0.7s var(--c-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--c-ease), transform 0.5s var(--c-ease);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* --- Utility --- */
.hideElement { display: none !important; }
.hideElementOnPc {
  display: none !important;
}

@media (max-width: 767px) {
  .hideElementOnPc { display: flex !important; }
  .hideElementOnMobile { display: none !important; }
}
