:root {
  --bg: #000414;
  --bg-alt: #070b06;
  --bg-alt2: #121212;
  --card-bg: #1c1c1c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --blue: #0af;
  --blue-border: rgba(0, 123, 255, 0.4);
  --grad-blue: linear-gradient(127deg, #007bff 0%, #0af 30%, #0037ff 100%);
  --grad-gold: linear-gradient(117deg, #ffd000 0%, #ffe396 61%, #ffae00 100%);
  --grad-white: linear-gradient(105deg, #fff 0%, #ababab 180%);
  --text: #ccc;
  --text-dim: #999;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 4, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header__nav a:hover {
  color: #fff;
}

/* Sections */
section {
  padding: 96px 0;
}

#problems {
  background: var(--bg-alt2);
}

#message {
  background: var(--bg-alt);
}

#trust {
  background: var(--bg-alt2);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--blue-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.badge--gold {
  border: none;
  background: var(--grad-gold);
  color: #1a1200;
}

/* Common section title */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 40px;
  background: var(--grad-white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
#hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0;
  background:
    linear-gradient(rgba(0, 4, 20, 0.78), rgba(0, 4, 20, 0.88) 60%, var(--bg) 96%),
    url("assets/hero-image.png") center / cover no-repeat;
}

#hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__eyebrow {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.hero__title {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}

.hero__title-accent {
  background: linear-gradient(105deg, #55ccff 0%, #1177ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tx-blue {
  color: #3b9dff;
}

.tx-gold {
  color: #ffd000;
}

.hero__desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0;
}

/* Problems */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.problem-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
}

.problem-card__badge {
  align-self: center;
  padding: 6px 18px;
  border: 1px solid rgba(255, 208, 0, 0.5);
  border-radius: 999px;
  background: #000;
  font-size: 0.88rem;
  font-weight: 700;
  background-clip: padding-box;
  color: #ffd000;
}

.problem-card__media {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.problem-card__label {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 1.02rem;
  font-weight: 800;
}

.problem-card__cta {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--grad-gold);
  color: #1a1200;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.problem-card__cta:hover {
  filter: brightness(1.08);
}

/* Message */
.message__title {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: #fff;
  margin: 0;
}

.message__title em {
  font-style: normal;
  color: var(--blue);
}

/* Solutions */
.solutions__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 32px 32px 88px;
  transition: border-color 0.25s ease;
}

.solution-card:hover {
  border-color: var(--border-strong);
}

.solution-card__num {
  position: absolute;
  left: 28px;
  top: 24px;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
}

.solution-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.solution-card__desc {
  font-size: 0.98rem;
  color: var(--text-dim);
  margin: 0;
}

/* CTA button */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 999px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.25);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Portfolio */
#portfolio {
  background: var(--bg-alt);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.port-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.port-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
}

.port-card__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--blue-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}

.port-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.port-card__desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin: 0;
}

/* Trust */
.trust__title {
  text-align: center;
}

#trust .container {
  text-align: center;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  .problems__grid,
  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .header__nav {
    gap: 18px;
  }

  .solution-card {
    padding: 28px 24px 24px;
  }

  .solution-card__num {
    position: static;
    display: block;
    margin-bottom: 8px;
  }

  #hero {
    min-height: 80vh;
    padding: 96px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
