:root {
  --black: #060606;
  --ink: #151515;
  --muted: #6a6a6a;
  --line: #e8e8e8;
  --soft: #f7f7f7;
  --orange: #ff7a1a;
  --orange2: #ffb06b;
  --white: #fff;
  --radius: 28px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .12);
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'HONOR Sans World Regular', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.35;
}

a {
  color: inherit;
}

b,
strong,
.logo,
.btn,
.h1,
.title,
.quiz-q,
.field label,
.eyebrow,
.feature b,
.spec b,
.step h3 {
  font-family: 'HONOR Sans World DemiBold', Arial, sans-serif;
}

.lead,
.subtitle {
  font-family: 'HONOR Sans World Regular', Arial, sans-serif;
}

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

/* Header */
.topbar {
  height: 58px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
    font-weight:900;
    letter-spacing:.08em;
    font-size:24px;
    text-decoration:none;
    color:#000;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: #333;
}

.pill {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--orange), #ff4f13);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 14px 30px rgba(255, 112, 28, .28);
  cursor: pointer;
  text-decoration: none;
}

.btn.secondary {
  background: #111;
  box-shadow: none;
}

.btn.ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  box-shadow: none;
}

/* Hero */
.hero {
  min-height: calc(100vh - 58px);
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 73% 42%, #ffe1cc 0, #fff2e8 18%, #fff 48%);
}

/* HERO INTRO VIDEO */

#hero-intro{
    position:absolute;
    inset:0;
    z-index:50;
    overflow:hidden;
    background:transparent;
}

#hero-intro::before{
    display:none;
}

.hero-video{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    display:block;
}

.mobile-video{
    display:none;
}

/* HERO STATIC */

#hero-static{
    position:relative;
    opacity:0;
    visibility:hidden;
    transition:opacity 1.2s ease;
    background:#fff;
}

#hero-static.show{
    opacity:1;
    visibility:visible;
}

/* REMOVE DARK OVERLAY */

.official-hero::before{
    display:none !important;
}

/* HERO IMAGE POSITION */

.official-hero .hero-bg{
    position:absolute;
    inset:0;

    background:
        url('../honor600series-kv-bg.avif')
        right center / contain
        no-repeat;

    opacity:1;
}

/* CONTENT */

.hero-content{
    position:relative;
    z-index:2;
}

/* DESKTOP */

.desktop-video{
    display:block;
}

/* MOBILE */

@media(max-width:768px){

    .desktop-video{
        display:none;
    }

    .mobile-video{
        display:block;
    }

    .hero-video{
        object-position:center top;
    }

    .official-hero .hero-bg{
        background-position:center top;
        background-size:cover;
    }

}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  font-weight: 800;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 14px;
  padding-bottom: 20px;
}

.h1 {
  font-size: clamp(50px, 8vw, 118px);
  line-height: .88;
  margin: 14px 0 18px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.lead {
  font-size: clamp(18px, 2.3vw, 28px);
  max-width: 650px;
  color: #242424;
  margin: 0 0 26px;
}

.hero-card {
  position: relative;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  display: block;
  border-radius: 22px;
}

/* Official HONOR hero */
.official-hero {
  min-height: calc(100vh - 58px);
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.official-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../honor600series-kv-bg.avif') right center / contain no-repeat;
}

.official-hero .hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
}

.official-hero .hero-copy {
  width: min(560px, 46vw);
  padding: 54px 0 44px;
}

.product-name {
  display: block;
  width: min(440px, 100%);
  height: auto;
  margin: 0 0 24px;
}

.official-hero .h1 {
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: .95;
  margin: 0 0 18px;
  letter-spacing: -.055em;
}

.official-hero .lead {
  font-size: clamp(17px, 1.6vw, 22px);
  max-width: 520px;
  color: #242424;
}

.official-hero .features {
  grid-template-columns: repeat(2, 1fr);
  max-width: 540px;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.feature {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.feature b {
  display: block;
  font-size: 20px;
}

.feature span {
  font-size: 12px;
  color: #666;
}

/* Sections */
.section {
  padding: 50px 0;
}

.section.dark {
  background: #050505;
  color: #fff;
}

.section.soft {
  background: var(--soft);
}

.title {
  font-size: clamp(34px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.045em;
  margin: 0 0 14px;
  font-weight: 900;
}

.subtitle {
  font-size: 19px;
  color: #666;
  max-width: 740px;
  margin: 0 0 32px;
}

.dark .subtitle {
  color: #bbb;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.step .num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 900;
}

.step h3 {
  font-size: 25px;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  color: #666;
}

/* Game layout */
.game {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 22px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #f9f9f9;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .05);
}

/* Quiz */
.progress {
  height: 8px;
  margin: 10px 0 22px;
  overflow: hidden;
  border-radius: 99px;
  background: #eee;
}

.bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--orange), var(--orange2));
  transition: .25s;
}

.quiz-q {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}

.answers {
  display: grid;
  gap: 10px;
}

.answer {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: .18s;
}

.answer:hover,
.answer.selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .12);
}

.answer input {
  accent-color: var(--orange);
}

.quiz-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* Forms */
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-weight: 800;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #ddd;
  border-radius: 18px;
  background: #fff;
  font: inherit;
  outline: 0;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, .11);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Upload */
.drop {
  padding: 22px;
  border: 2px dashed #ddd;
  border-radius: 24px;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
}

.drop strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.preview {
  display: none;
  margin-top: 12px;
}

.preview img {
  max-width: 100%;
  border-radius: 18px;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.chip {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

/* Product specs */
.product-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.spec {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.spec b {
  display: block;
  font-size: 26px;
}

/* Legal */
.legal {
  font-size: 13px;
  color: #777;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
}

.check input {
  margin-top: 4px;
  accent-color: var(--orange);
}

.error {
  display: none;
  margin-top: 5px;
  color: #d9321f;
  font-size: 13px;
}

/* Success */
.success {
  display: none;
  padding: 34px;
  border: 1px solid #ffd7bd;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #fff3e9);
  text-align: center;
  box-shadow: var(--shadow);
}

.success h2 {
  font-size: 42px;
  line-height: 1;
  margin: 0 0 12px;
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 12px;
}

/* Sticky mobile CTA */
.sticky {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 18px;
  right: 18px;
  z-index: 30;
}

/* Utility */
.admin {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.hide {
  display: none !important;
}

/* Tablet */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero .wrap,
  .game {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 64px;
  }

  .hero-card {
    order: -1;
  }

  .h1 {
    font-size: 56px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .product-strip {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .sticky {
    display: block;
  }

  .quiz-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .official-hero {
    min-height: auto;
    padding: 0 0 48px;
  }

  .official-hero .hero-bg {
    position: relative;
    display: block;
    height: 54vw;
    min-height: 310px;
    background-position: center top;
    background-size: cover;
  }

  .official-hero .hero-content {
    min-height: auto;
    display: block;
  }

  .official-hero .hero-copy {
    width: 100%;
    padding: 26px 0 0;
  }

  .product-name {
    width: min(360px, 88vw);
  }

  .official-hero .h1 {
    font-size: 48px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }

  .feature b {
    font-size: 17px;
  }

  .product-strip {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-card {
    margin-inline: -8px;
  }

  .topbar {
    padding: 0 12px;
  }

  .logo {
    font-size: 21px;
  }

  .official-hero .hero-bg {
    height: 72vw;
    min-height: 270px;
    background-size: cover;
    background-position: 63% top;
  }

  .official-hero .features {
    grid-template-columns: 1fr 1fr;
  }
}

.quiz-ok {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid #b7efc5;
  border-radius: 16px;
  background: #ecfff1;
  color: #14752e;
  font-family: 'HONOR Sans World DemiBold', Arial, sans-serif;
  font-size: 14px;
}
