﻿/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

:root {
  --bg: #0a0a0a;
  --surface: #111;
  --surface-2: #0d0d0d;
  --border: #1f1f1f;
  --border-2: #2a2a2a;
  --text: #ffffff;
  --text-muted: #999999;
  --text-dim: #666666;
  --text-faint: #383838;
  --accent: #e8194b;
  --accent-bright: #ff2d6f;
  --max-w: 1400px;
  --pad-x: clamp(20px, 5vw, 64px);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

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

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  left: var(--pad-x);
  z-index: 10;
}
.site-header .brand img {
  width: clamp(96px, 12vw, 129px);
  height: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 90vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(120px, 18vh, 200px) var(--pad-x) clamp(80px, 12vh, 140px);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(0,0,0,0) 50%, #0a0a0a 100%),
    linear-gradient(90deg, #080808 0%, rgba(8,8,8,0.7) 50%, rgba(0,0,0,0) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
}
.hero__title {
  font-weight: 900;
  font-size: clamp(48px, 9vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.hero__title-line {
  display: block;
}
.hero__title-line--accent {
  color: var(--accent);
}
.hero__lead {
  color: var(--text-muted);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.65;
  margin-bottom: clamp(24px, 3vw, 32px);
}
.hero__lead .brand-name {
  color: #fff;
  font-weight: 700;
}
.hero__lead .brand-name__accent {
  color: var(--accent);
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  opacity: 0.8;
  background: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(204,10,10,1) 30%,
    rgba(255,26,26,1) 50%,
    rgba(204,10,10,1) 70%,
    rgba(0,0,0,0) 100%);
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  border: 0.8px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,28,28,0.4);
}
.btn--primary:hover {
  background: #e63333;
  box-shadow: 0 6px 28px rgba(220,28,28,0.55);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #444;
}
.btn--ghost:hover {
  border-color: #666;
  background: rgba(255,255,255,0.04);
}
.btn--lg {
  padding: 18px 34px;
  font-size: 16px;
  border-radius: 14px;
  min-width: 220px;
}
.btn--lg.btn--primary {
  box-shadow: 0 4px 30px rgba(220,28,28,0.5);
}
.btn--lg.btn--ghost {
  border-color: #333;
}
/* ---------- Intro ---------- */
.intro {
  position: relative;
  background: var(--surface-2);
  padding: clamp(48px, 8vw, 80px) 0 clamp(60px, 10vw, 100px);
  text-align: center;
}
.intro__title {
  font-weight: 900;
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.intro__text {
  color: var(--text-dim);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}
.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  opacity: 0.8;
  background: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(204,10,10,1) 30%,
    rgba(255,26,26,1) 50%,
    rgba(204,10,10,1) 70%,
    rgba(0,0,0,0) 100%);
}

/* ---------- Features ---------- */
.features {
  background: var(--surface-2);
  padding: clamp(48px, 8vw, 80px) 0 clamp(80px, 12vw, 140px);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: clamp(56px, 8vw, 106px);
}
.feature {
  background: var(--surface);
  border: 0.8px solid #1e1e1e;
  border-radius: 16px;
  padding: 24px;
  min-height: 200px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: #2a2a2a;
}
.feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature__icon--red    { background: rgba(220, 28, 28, 0.13); color: #DC1C1C; }
.feature__icon--orange { background: rgba(240, 165, 0, 0.13); color: #F0A500; }
.feature__icon--green  { background: rgba(0, 200, 83, 0.13);  color: #00C853; }
.feature__icon--blue   { background: rgba(33, 150, 243, 0.13); color: #2196F3; }

.feature__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.feature__desc {
  font-size: 14px;
  line-height: 1.625;
  color: var(--text-dim);
}

.features__cta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(32px, 5vw, 48px) 0;
}
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer__brand {
  flex: 1 1 500px;
  max-width: 720px;
}
.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.site-footer__logo {
  width: clamp(140px, 14vw, 180px);
  height: auto;
}
.site-footer__tag {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 7px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}
.site-footer__notice {
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.site-footer__copy {
  color: #333;
  font-size: 10px;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero__inner { max-width: 100%; }
  .hero__cta .btn { flex: 1 1 auto; min-width: 0; }

  .features__cta { flex-direction: column; align-items: stretch; }
  .features__cta .btn { width: 100%; }

  .site-footer__inner { flex-direction: column; }
}

@media (max-width: 520px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
  .hero__title { font-size: clamp(40px, 14vw, 64px); }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .btn:hover, .feature:hover { transform: none; }
}
