/* =========================================================
   ForVentures — Pill Edition (homepagekorea exact match)
   Dark base + Pill nav + Outline display + Orange blast
   ========================================================= */

:root {
  /* Brand */
  --c-blue: #2563eb;
  --c-blue-soft: #3b82f6;
  --c-blue-bright: #60a5fa;
  --c-orange: #ff6a00;
  --c-orange-soft: #ff8a3d;
  --c-purple: #6b21a8;
  --c-purple-soft: #a855f7;

  /* Dark */
  --c-black: #0a0a0a;
  --c-black-2: #111111;
  --c-black-3: #1a1a1a;
  --c-card-dark: #1f1f1f;
  --c-card-dark-hover: #262626;
  --c-border-dark: rgba(255,255,255,0.08);
  --c-border-dark-hover: rgba(255,255,255,0.16);

  /* Light */
  --c-white: #ffffff;
  --c-paper: #f5f5f5;
  --c-gray-1: #fafafa;
  --c-gray-2: #e5e5e5;
  --c-gray-3: #bcbcbc;
  --c-gray-4: #888;
  --c-gray-5: #555;

  /* Container */
  --w-1520: 1520px;
  --w-1440: 1440px;
  --w-1280: 1280px;

  /* Spacing */
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 64px;
  --sp-2xl: 100px;
  --sp-3xl: 160px;

  /* Type scale */
  --fs-mega: clamp(80px, 13vw, 200px);
  --fs-display: clamp(48px, 7vw, 100px);
  --fs-display-lg: clamp(40px, 5vw, 72px);
  --fs-display-md: clamp(32px, 4vw, 56px);
  --fs-h1: clamp(28px, 3vw, 40px);
  --fs-h2: clamp(24px, 2.6vw, 34px);
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-small: 14px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadows */
  --sh-card: 0 24px 64px rgba(0,0,0,0.40);
  --sh-pill: 0 8px 32px rgba(0,0,0,0.50), 0 0 0 1px rgba(255,255,255,0.08) inset;
  --sh-glow-blue: 0 8px 32px rgba(37,99,235,0.45);

  /* Transition */
  --t-fast: 0.2s cubic-bezier(.4,0,.2,1);
  --t-base: 0.4s cubic-bezier(.4,0,.2,1);
  --t-slow: 0.7s cubic-bezier(.16,.84,.44,1);
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body { overflow-x: hidden; }
body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-white);
  background: var(--c-black);
  font-weight: 400;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, p, li, span { word-break: keep-all; }
::selection { background: var(--c-blue); color: #fff; }

/* =========================================================
   Typography
   ========================================================= */
.display-en {
  font-family: 'Inter', 'Pretendard', sans-serif;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}
.display-en-mega { font-size: var(--fs-mega); letter-spacing: -6px; }
.display-en-xl { font-size: var(--fs-display); letter-spacing: -3px; }
.display-en-lg { font-size: var(--fs-display-lg); }
.display-en-md { font-size: var(--fs-display-md); }

/* outline text — 거대 stroke 텍스트 (시그니처) */
.display-outline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  letter-spacing: -3px;
  line-height: 0.95;
}
.display-outline.solid { color: #fff; -webkit-text-stroke: 0; }

.h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.3; letter-spacing: -0.5px; }
.h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.35; letter-spacing: -0.4px; }
.h3 { font-size: var(--fs-h3); font-weight: 700; }

.lead { font-size: 16.5px; line-height: 1.85; color: rgba(255,255,255,0.65); }
.lead-dark { color: var(--c-gray-5); }
.text-blue { color: var(--c-blue-soft); }
.text-orange { color: var(--c-orange); }

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--c-blue-bright);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px;
  background: var(--c-blue-bright);
}
.eyebrow.orange { color: #fff; }
.eyebrow.orange::before { background: rgba(255,255,255,0.6); }

/* =========================================================
   Layout
   ========================================================= */
.container { max-width: var(--w-1520); margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: var(--w-1280); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container, .container-sm { padding: 0 24px; } }

.section { padding: var(--sp-2xl) 0; position: relative; }
.section-lg { padding: var(--sp-3xl) 0; position: relative; }

.section-orange {
  background: var(--c-orange);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-light {
  background: #fff;
  color: var(--c-black);
}
.section-light .h1, .section-light .h2 { color: var(--c-black); }
.section-light .lead { color: var(--c-gray-5); }
.section-light .display-outline { -webkit-text-stroke-color: rgba(0,0,0,0.18); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  font-size: 14.5px; font-weight: 700;
  letter-spacing: -0.2px;
  border-radius: var(--r-full);
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn-blue {
  background: var(--c-blue);
  color: #fff;
}
.btn-blue:hover { background: var(--c-blue-soft); transform: translateY(-2px); box-shadow: var(--sh-glow-blue); }
.btn-light {
  background: #fff;
  color: var(--c-black);
}
.btn-light:hover { background: var(--c-blue); color: #fff; transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.30);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-arrow svg { width: 16px; height: 16px; transition: transform var(--t-base); }
.btn:hover .btn-arrow svg { transform: translateX(3px); }

/* =========================================================
   Animations
   GSAP가 모든 .fade-in 진입 애니메이션을 처리하므로 CSS는 기본 visible 상태
   ========================================================= */
.fade-in { opacity: 1; transform: none; }
.fade-in.in-view { opacity: 1; transform: none; }
.fade-in[data-delay="1"] { transition-delay: 0.06s; }
.fade-in[data-delay="2"] { transition-delay: 0.12s; }
.fade-in[data-delay="3"] { transition-delay: 0.18s; }
.fade-in[data-delay="4"] { transition-delay: 0.24s; }
.fade-in[data-delay="5"] { transition-delay: 0.30s; }
.fade-in[data-delay="6"] { transition-delay: 0.36s; }

/* Marquee */
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex; gap: 80px; width: max-content;
  animation: marqueeScroll 90s linear infinite;
}
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

/* Float */
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Responsive */
@media (max-width: 1024px) { :root { --sp-2xl: 80px; --sp-3xl: 120px; } }
@media (max-width: 768px) { :root { --sp-2xl: 64px; --sp-3xl: 96px; } .btn { padding: 13px 26px; } }
