/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #D70306;
  --red-rgb: 215, 3, 6;
  --red-dark: var(--red);
  --red-deep: var(--red);
  --white: #ffffff;
  --black: #111111;
  --gray-50: #f8f8f8;
  --gray-100: #f2f3f5;
  --gray-200: #e5e7eb;
  --gray-300: #d8dde4;
  --gray-500: #7b8593;
  --gray-600: #5b6470;
  --gray-700: #394150;
  --gray-900: #101826;
  --max-width: 1280px;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0,0,0,.08);

  /* 로고 영역 */
  --hero-logo-height: 140px;
  --hero-logo-top: 34px;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Noto Sans KR", sans-serif;
  background: #fff;
  color: var(--black);
}

body {
  overflow: hidden;
}

/* =========================
   SCROLL SNAP
========================= */
.snap-container {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.inner {
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 90px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   SIDE NAV
========================= */
.side-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,.4);
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
  transition: .3s ease;
}

.dot.active {
  background: var(--red);
  transform: scale(1.25);
}

/* =========================
   COMMON
========================= */
.section-light {
  background: #fff;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(var(--red-rgb), .18), transparent 30%),
    linear-gradient(180deg, #181818 0%, #0f0f10 100%);
  color: #fff;
}

.section-red {
  background: var(--red);
  color: #fff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--red);
}

.eyebrow.light {
  color: rgba(255,255,255,.82);
}

.section-head {
  margin-bottom: 42px;
}

.section-head.center {
  text-align: center;
}

.section-head h2,
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.28;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 18px;
  word-break: keep-all;
}

.section-head h2 span,
.cta-content h2 span {
  color: var(--red);
}

.light-heading {
  color: #fff !important;
}

.light-heading span {
  color: #fff !important;
}

.section-text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--gray-600);
  max-width: 980px;
}

.center-text {
  margin: 0 auto;
}

.light-text {
  color: rgba(255,255,255,.84);
}

.mobile-only {
  display: none;
}

/* =========================
   HERO / SECTION 0
========================= */
.hero {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cover {
  background: var(--red);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--red);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

/* 로고: 화면 기준 정확히 중앙 */
.hero-logo-wrap {
  position: absolute;
  top: var(--hero-logo-top);
  left: 0;
  right: 0;
  z-index: 5;
  height: var(--hero-logo-height);
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: min(34vw, 340px);
  max-width: 340px;
  min-width: 180px;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(100%, 1200px);
  padding: 0 32px;
  text-align: center;
}

/* 로고 아래 문구가 안 잘리도록 로고 영역만큼 위 여백 확보 */
.hero-cover-content {
  padding-top: calc(var(--hero-logo-top) + var(--hero-logo-height) + 10px);
}

.hero-kicker {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.82);
  margin-bottom: 18px;
}

.hero-slogan {
  font-family: "Montserrat", "Noto Sans KR", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.12;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  word-break: keep-all;
}

.hero-slogan span {
  display: inline-block;
  margin-top: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-style: inherit;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.9;
  color: rgba(255,255,255,.92);
  margin-bottom: 34px;
}

.cover-desc {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: var(--red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #f6f6f6;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.76);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
}

.scroll-indicator {
  margin-top: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.9);
}

.scroll-indicator .circle {
  position: relative;
  width: 34px;
  height: 54px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  animation: mouseFloat 1.6s ease-in-out infinite;
}

.scroll-indicator .circle::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  animation: mouseWheel 1.6s ease-in-out infinite;
}

.scroll-indicator .circle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(255,255,255,.82);
  border-bottom: 2px solid rgba(255,255,255,.82);
  transform: translateX(-50%) rotate(45deg);
  opacity: .86;
}

@keyframes mouseFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes mouseWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  25% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translate(-50%, 16px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

/* =========================
   SECTION 1 - VIDEO
========================= */
.video-section {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================
   SECTION 2 - ISSUE
========================= */
#section2 .section-head {
  text-align: center;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.issue-card {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  min-height: 280px;
  text-align: center;
}

#section2 .section-head h2 span {
  color: var(--red) !important;
}

.issue-number {
  display: none;
}

.issue-card h3 {
  font-size: 1.35rem;
  line-height: 1.45;
  min-height: 58px;
  margin-bottom: 18px;
  color: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
}

.issue-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,.82);
  word-break: keep-all;
}

.issue-card strong {
  color: #fff;
}

.danger-banner {
  margin-top: 26px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  text-align: center;
}

.danger-banner strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.danger-banner .danger-highlight {
  color: var(--red) !important;
}

.danger-banner p {
  color: rgba(255,255,255,.82);
  line-height: 1.8;
}

/* =========================
   SECTION 3 - CONTROL
========================= */
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

#section3 .section-head {
  margin-bottom: 18px;
}

#section3 .section-head h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.16;
  margin-bottom: 12px;
}

#section3 .section-text {
  font-size: 1rem;
  line-height: 1.62;
}

#section3 .inner {
  padding-top: 52px;
  padding-bottom: 42px;
}

#section3 .control-grid {
  display: none;
}

.control-preview {
  position: relative;
  width: 100%;
  max-width: 880px;
  height: 495px;
  flex-shrink: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 24px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.control-slides {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform .45s ease;
}

.control-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background: #fbfbfc;
}

.control-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-preview {
  padding: 0;
  background: transparent;
}

.mockup-browser {
  width: min(100%, 760px);
  height: calc(100% - 26px);
  overflow: hidden;
  border: 1px solid rgba(16,24,38,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 36px 90px rgba(16,24,38,.09),
    0 12px 32px rgba(16,24,38,.05);
}

.mockup-toolbar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #f2f4f7;
  border-bottom: 1px solid var(--gray-200);
}

.mockup-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d8dde4;
}

.mockup-toolbar span:first-child {
  background: var(--red);
}

.mockup-browser .control-slide-image {
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
}

.phone-preview {
  height: 384px;
  max-width: 880px;
  margin-top: 0;
  overflow: visible;
}

.phone-mockup {
  position: relative;
  width: 202px;
  height: 384px;
  padding: 5px;
  border: 1px solid #242526;
  border-radius: 48px;
  background:
    linear-gradient(90deg, #777 0%, #1f2021 5%, #3f4041 10%, #101112 50%, #4b4c4d 92%, #1a1b1c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 0 0 2px rgba(255,255,255,.10),
    0 34px 78px rgba(16,24,38,.18),
    0 12px 34px rgba(16,24,38,.10);
}

.phone-mockup::before,
.phone-mockup::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 3px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, #6a6b6c, #171819);
}

.phone-mockup::before {
  top: 98px;
  height: 48px;
}

.phone-mockup::after {
  top: 166px;
  height: 68px;
}

.phone-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  z-index: 4;
  width: 88px;
  height: 18px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #343536, #111213);
  transform: translateX(-50%);
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.20),
    0 1px 4px rgba(0,0,0,.24);
}

.phone-notch::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 40%, rgba(255,255,255,.36), transparent 24%),
    #15181b;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}

.phone-notch::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 6px;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
}

.phone-screen {
  position: absolute;
  inset: 5px;
  overflow: hidden;
  border: 2px solid #060708;
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(215,3,6,.05), transparent 34%),
    #f7f8fb;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.10),
    inset 0 0 24px rgba(16,24,38,.035);
}

.phone-login {
  height: 100%;
  padding: 60px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--gray-900);
}

.phone-logo-badge {
  width: 66px;
  height: 66px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--red);
  box-shadow: 0 18px 34px rgba(215,3,6,.20);
}

.phone-logo-badge img {
  width: 56px;
  height: auto;
  display: block;
}

.phone-field {
  margin-bottom: 14px;
}

.phone-field span,
.phone-check span {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-700);
  font-size: .72rem;
  font-weight: 900;
}

.phone-field em {
  display: block;
  height: 33px;
  border: 1px solid #cfd7e3;
  border-radius: 7px;
  background: #fff;
  font-style: normal;
}

.phone-check {
  margin: 2px 0 23px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-check i {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid #9aa4b2;
  border-radius: 3px;
  background: #fff;
}

.phone-check span {
  margin: 0;
  font-size: .72rem;
}

.phone-login button {
  width: 100%;
  height: 37px;
  border: none;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(215,3,6,.22);
}

.news-card {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 320px;
  min-height: 190px;
  padding: 24px 26px;
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: 0 28px 70px rgba(16,24,38,.12);
  opacity: .34;
  transform: translateY(-50%) rotate(-4deg);
  text-align: left;
  pointer-events: none;
}

.news-card-left {
  left: -150px;
}

.news-card-right {
  right: -150px;
  transform: translateY(-50%) rotate(4deg);
}

.news-card p {
  margin-bottom: 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
}

.news-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gray-900);
  font-size: 1.05rem;
  line-height: 1.45;
}

.news-card span {
  color: var(--gray-600);
  font-size: .88rem;
  line-height: 1.7;
}

.slider-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(16,24,38,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--gray-900);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 30px rgba(16,24,38,.12);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 6;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(16,24,38,.24);
}

.slider-dots span.active {
  width: 22px;
  background: var(--red);
}

.admin-mock {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #edf1f5;
  color: var(--gray-900);
  text-align: left;
}

.admin-topbar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  background: #7e1019;
  color: #fff;
}

.admin-topbar img {
  width: 62px;
  height: auto;
  opacity: .9;
}

.admin-menu,
.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 900;
}

.admin-menu .active,
.admin-user span {
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.78);
  color: #7e1019;
}

.admin-user {
  margin-left: auto;
}

.admin-board {
  position: absolute;
  inset: 62px 24px 28px;
  padding: 18px;
  border: 1px solid rgba(215,3,6,.72);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-board h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 900;
}

.admin-actions,
.admin-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-actions span,
.admin-filter strong,
.setting {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--red);
  border-radius: 5px;
  color: var(--red);
  font-size: .62rem;
  font-weight: 900;
}

.admin-filter span {
  min-width: 120px;
  color: var(--gray-600);
  font-size: .62rem;
}

.admin-filter strong {
  background: var(--red);
  color: #fff;
}

.admin-table {
  overflow: hidden;
  border: 1px solid rgba(215,3,6,.68);
  border-radius: 7px;
}

.admin-table-head,
.admin-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr 1fr;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  column-gap: 10px;
  font-size: .62rem;
}

.admin-table-head {
  background: rgba(215,3,6,.08);
  color: #7e1019;
  font-weight: 900;
}

.admin-table-row {
  background: #fff;
}

.status,
.rank {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--red);
  font-weight: 900;
  border: 1px solid rgba(215,3,6,.7);
}

.rank {
  border-radius: 5px;
  background: var(--red);
  color: #fff;
}

.admin-dim {
  position: absolute;
  inset: 46px 0 0;
  background: rgba(17,24,39,.52);
}

.admin-modal {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 4;
  width: 520px;
  padding: 22px 24px 18px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(16,24,38,.38);
  transform: translate(-50%, -50%);
}

.admin-modal h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 900;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 12px;
}

.admin-form-grid label {
  font-size: .62rem;
  font-weight: 900;
  color: var(--gray-700);
}

.admin-form-grid label span {
  color: var(--red);
}

.admin-form-grid label em {
  display: block;
  height: 30px;
  margin-top: 6px;
  padding: 8px 9px;
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  color: var(--gray-500);
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-form-grid label:last-child {
  grid-column: 1 / 2;
}

.admin-modal-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.admin-modal-actions span {
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .68rem;
  font-weight: 900;
}

.admin-modal-actions .save {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(215,3,6,.28);
}

.control-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  min-height: 300px;
  text-align: center;
}

.control-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 auto 18px;
}

.control-card h3 {
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--gray-900);
  margin-bottom: 14px;
  word-break: keep-all;
}

.control-card p {
  color: var(--gray-600);
  line-height: 1.85;
  word-break: keep-all;
}

/* =========================
   SECTION 4 - VALUE
========================= */
.value-wrap {
  width: 100%;
  text-align: center;
}

#section4 .section-head {
  text-align: center;
}

#section4 .section-text {
  margin-left: auto;
  margin-right: auto;
  margin-top: 34px;
  font-weight: 800;
}

.value-boxes {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 34px 28px;
  backdrop-filter: blur(6px);
  min-height: 260px;
  text-align: center;
}

.value-box h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 14px;
}

.value-box p {
  color: rgba(255,255,255,.92);
  line-height: 1.85;
  word-break: keep-all;
}

/* =========================
   SECTION 5 - HISTORY
========================= */
.history-inner {
  justify-content: center;
  transform: translateY(-28px);
}

#section5 .section-head {
  margin-bottom: 34px;
}

#section5 .section-text {
  font-weight: 500;
}

#section5 .section-text strong {
  color: var(--red);
  font-weight: 900;
}

.history-marquee-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 28px;
}

.history-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 38px rgba(215,3,6,.24);
}

.btn-red:hover {
  transform: translateY(-2px);
  background: var(--red);
}

.history-marquee {
  width: 100%;
  overflow: visible;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.history-row {
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  border-top: 1px solid var(--gray-200);
  background: #fff;
}

.history-row + .history-row {
  margin-top: 10px;
}

.history-row:last-child {
  border-bottom: 1px solid var(--gray-200);
}

.history-track {
  display: flex;
  width: max-content;
  gap: 12px;
  min-height: 32px;
  animation: marquee 54s linear infinite;
  will-change: transform;
}

.history-row:nth-child(2) .history-track { animation-delay: -10s; }
.history-row:nth-child(3) .history-track { animation-delay: -20s; }
.history-row:nth-child(4) .history-track { animation-delay: -30s; }
.history-row:nth-child(5) .history-track { animation-delay: -40s; }
.history-row:nth-child(6) .history-track { animation-delay: -50s; }

.history-row:nth-child(even) .history-track {
  animation-direction: reverse;
}

.history-track span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
  font-size: .86rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.history-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.history-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.history-card strong {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900;
  color: var(--red);
}

.history-card span {
  font-size: 1.1rem;
  color: var(--gray-600);
  font-weight: 700;
}

/* =========================
   SECTION 6 - CTA
========================= */
.cta {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--red);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.cta-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1100px);
  padding: 0 32px;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 3.35vw, 3rem);
}

.cta-content h2 .cta-line {
  display: block;
  white-space: nowrap;
}

.cta-content h2 span {
  color: #fff;
}

.cta-desc {
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(255,255,255,.92);
  margin-bottom: 34px;
}

/* =========================
   ANIMATION
========================= */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .issue-grid,
  .control-grid,
  .value-boxes,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .section {
    height: auto;
    min-height: 100vh;
  }
}

@media (max-width: 768px) {
  html,
  body {
    height: auto;
    overflow-x: hidden;
  }

  body {
    overflow-y: auto;
  }

  .snap-container {
    height: auto;
    min-height: 100svh;
    overflow-y: visible;
    scroll-snap-type: none;
  }

  .section {
    height: auto;
    min-height: 100svh;
    scroll-snap-align: none;
  }

  .inner,
  .hero-content,
  .cta-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inner {
    height: auto;
    min-height: 100svh;
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-head h2,
  .cta-content h2 {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
    line-height: 1.26;
    letter-spacing: 0;
    margin-bottom: 12px;
  }

  .section-text {
    font-size: .96rem;
    line-height: 1.72;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: .78rem;
  }

  .hero-logo-wrap {
    top: 22px;
    height: 88px;
  }

  .hero-logo {
    width: min(64vw, 240px);
    min-width: 160px;
    max-width: 240px;
  }

  .hero-cover-content {
    padding-top: 126px;
  }

  .hero-slogan {
    width: min(100%, 330px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.5rem, 6.8vw, 1.82rem);
    line-height: 1.22;
    letter-spacing: 0;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-slogan span {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-desc {
    width: min(100%, 280px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    font-size: .88rem;
    line-height: 1.68;
    overflow-wrap: anywhere;
  }

  .hero-desc br {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .hero-actions {
    gap: 10px;
  }

  .side-nav {
    display: none;
  }

  .scroll-indicator {
    margin-top: 30px;
    gap: 18px;
    transform: scale(.82);
    transform-origin: top center;
  }

  .btn {
    width: min(100%, 260px);
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    font-size: .95rem;
  }

  .video-section {
    max-width: 100%;
  }

  .video-frame {
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(16,24,38,.12);
  }

  .issue-grid {
    gap: 14px;
  }

  .issue-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .issue-card h3 {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 1.08rem;
  }

  .issue-card p {
    font-size: .92rem;
    line-height: 1.66;
  }

  .danger-banner {
    margin-top: 16px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .danger-banner strong {
    font-size: 1.04rem;
  }

  .danger-banner p {
    font-size: .9rem;
    line-height: 1.62;
  }

  #section3 .section-head {
    margin-bottom: 22px;
  }

  .control-preview {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .phone-preview {
    height: 420px;
    aspect-ratio: auto;
  }

  .phone-mockup {
    width: 216px;
    height: 420px;
    padding: 5px;
    border-width: 1px;
    border-radius: 48px;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.28),
      inset 0 0 0 2px rgba(255,255,255,.10),
      0 26px 58px rgba(16,24,38,.16),
      0 10px 28px rgba(16,24,38,.09);
  }

  .phone-notch {
    top: 5px;
    width: 88px;
    height: 18px;
    border-radius: 0 0 14px 14px;
  }

  .phone-screen {
    inset: 5px;
    border-width: 2px;
    border-radius: 42px;
  }

  .phone-login {
    padding: 56px 18px 24px;
  }

  .phone-logo-badge {
    width: 64px;
    height: 64px;
    margin-bottom: 32px;
    border-radius: 15px;
  }

  .phone-logo-badge img {
    width: 54px;
  }

  .phone-field {
    margin-bottom: 13px;
  }

  .phone-field em {
    height: 32px;
  }

  .phone-check {
    margin-bottom: 22px;
  }

  .phone-login button {
    height: 36px;
  }

  .mockup-browser {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    box-shadow:
      0 22px 46px rgba(16,24,38,.10),
      0 8px 20px rgba(16,24,38,.05);
  }

  .mockup-toolbar {
    height: 24px;
    gap: 5px;
    padding: 0 10px;
  }

  .mockup-toolbar span {
    width: 7px;
    height: 7px;
  }

  .mockup-browser .control-slide-image {
    height: calc(100% - 24px);
  }

  #section4 .section-text {
    margin-top: 20px;
    font-size: .98rem;
  }

  .history-inner {
    transform: none;
  }

  #section5 .section-text {
    font-size: .94rem;
    line-height: 1.72;
  }

  .history-marquee-wrap {
    margin-top: 30px;
  }

  .history-row {
    height: 44px;
  }

  .history-row + .history-row {
    margin-top: 8px;
  }

  .history-track {
    gap: 10px;
    animation-duration: 44s;
  }

  .issue-card,
  .control-card,
  .value-box,
  .history-card {
    min-height: auto;
  }

  .history-track span {
    min-width: 126px;
    height: 38px;
    padding: 0 16px;
    font-size: .82rem;
  }

  .history-actions {
    margin-top: 26px;
  }
}

@media (max-width: 420px) {
  .inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head h2,
  .cta-content h2 {
    font-size: clamp(1.72rem, 8.6vw, 2.3rem);
  }

  .hero-slogan {
    font-size: clamp(1.42rem, 6.4vw, 1.62rem);
  }

  .hero-desc,
  .section-text {
    font-size: .9rem;
  }

  .issue-card {
    padding: 20px 16px;
  }

  .control-preview {
    aspect-ratio: 16 / 9;
  }

  .history-track span {
    min-width: 118px;
    height: 36px;
    font-size: .78rem;
  }
}

@media (max-width: 768px) and (max-height: 740px) {
  .inner {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .hero-logo-wrap {
    top: 16px;
    height: 76px;
  }

  .hero-cover-content {
    padding-top: 106px;
  }

  .scroll-indicator {
    margin-top: 18px;
  }
}
