:root{
  --bg: #070709;
  --panel: rgba(18, 18, 20, 0.82);
  --panel2: rgba(20, 20, 24, 0.88);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.58);
  --blue: #63b6ff;
  --red: #e24052;
  --shadow: 0 18px 45px rgba(0,0,0,.55);
  --mono: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  overflow-x: hidden;
}

/* Background streak + subtle noise look */
.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 700px at 20% 40%, rgba(0, 255, 220, .10), transparent 55%),
    radial-gradient(900px 600px at 60% 30%, rgba(80, 120, 255, .10), transparent 58%),
    radial-gradient(900px 700px at 80% 70%, rgba(255, 70, 90, .08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 30%, rgba(0,0,0,.20));
}

.bg::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 70, 90, .18) 0px,
      rgba(255, 70, 90, .18) 2px,
      transparent 2px,
      transparent 28px
    ),
    repeating-linear-gradient(135deg,
      rgba(80, 120, 255, .16) 0px,
      rgba(80, 120, 255, .16) 1px,
      transparent 1px,
      transparent 22px
    );
  opacity: .16;
  filter: blur(0.6px);
  transform: rotate(-6deg) scale(1.05);
  mix-blend-mode: screen;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  padding: 18px 26px;
  background: rgba(0,0,0,.08);
  backdrop-filter: blur(2px);
}

.brand__logo{
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.65));
}

.nav{
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav__link{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .3px;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}
.nav__link:hover{
  border-bottom-color: rgba(255,255,255,.35);
}

/* Wrapper */
.wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 22px 24px;
}

/* Hero */
.hero{
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 34px;
}

.hero__title{
  font-size: clamp(44px, 5vw, 66px);
  margin: 0 0 14px;
  letter-spacing: .5px;
}

.glow{
  color: #dffcff;
  text-shadow:
    0 0 8px rgba(0, 255, 220, .35),
    0 0 18px rgba(0, 255, 220, .30),
    0 0 34px rgba(0, 255, 220, .22);
}

.hero__text{
  max-width: 520px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}

.hero__actions{
  display:flex;
  gap: 14px;
  align-items:center;
}

/* Screenshot frame */
.shot{
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(0,0,0,.15);
}
.shot__img{
  width: 100%;
  height: auto;
  display:block;
  opacity: .96;
}

/* Sections */
.section{
  padding: 44px 0 10px;
}

.section__title{
  text-align: center;
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: .6px;
}

.section__title--big{
  margin-top: 10px;
  font-size: 34px;
}

.section__subtitle{
  text-align:center;
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
  font-family: var(--mono);
}

/* Pricing grid */
.pricing{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0,0,0,.45);
  padding: 18px 18px 16px;
}

.card--pricing{
  text-align: center;
}

.card__title{
  margin: 4px 0 10px;
  font-size: 18px;
}

.price{
  margin: 0 0 12px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}

.ticks{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.ticks li::before{
  content: "✓";
  margin-right: 8px;
  color: rgba(255,255,255,.75);
}

/* Resellers */
.resellers{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 10px 0 20px;
}

.reseller{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(18,18,20,.75);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  padding: 16px;
}

.reseller__logoBox{
  width: 92px;
  height: 74px;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.reseller__logoBox img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reseller__name{
  margin: 0 0 6px;
  font-size: 16px;
}

.reseller__meta{
  margin: 0 0 10px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.reseller__meta span{
  color: var(--blue);
}

.reseller__icons{
  display:flex;
  gap: 10px;
  align-items:center;
}
.ico{
  width: 28px;
  height: 28px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.ico:hover{
  background: rgba(255,255,255,.10);
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .2px;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, filter .12s ease;
}

.btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btn:active{ transform: translateY(0px); }

.btn--primary{
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(226, 64, 82, .25);
}

.btn--secondary{
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.12);
}

.btn--buy{
  background: var(--red);
  color: #fff;
  height: 34px;
  padding: 0 16px;
  margin-top: 2px;
}

.btn--login{
  background: var(--red);
  color: #fff;
  height: 34px;
  padding: 0 16px;
}

/* Footer */
.footer{
  text-align:center;
  padding: 18px 0 8px;
  color: rgba(255,255,255,.60);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .header{
    grid-template-columns: 70px 1fr 90px;
    padding: 14px 16px;
  }
  .nav{ gap: 16px; flex-wrap: wrap; }
  .hero{
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 18px;
  }
  .shot{ margin: 12px 0 0; }
  .pricing{ grid-template-columns: 1fr; max-width: 520px; }
  .resellers{ grid-template-columns: 1fr; }
}

/* ===== Fullscreen canvas background ===== */
#bgCanvas{
  position: fixed !important;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}

/* Scanline overlay (same idea) */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.012),
    rgba(255,255,255,0.012) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .7;
}

/* Keep your site content above canvas */
.header, .wrap{
  position: relative;
  z-index: 10;
}
#bgCanvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}
#bgCanvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}
#bgCanvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}

/* ================================
   XIAOMI ORANGE THEME (SECTION ONLY)
================================ */

.xiaomi-theme{
  --xiaomi: #ff6900;
  --xiaomi-soft: rgba(255,105,0,0.35);
  --xiaomi-glow: rgba(255,105,0,0.85);
}

/* Title glow */
.xiaomi-theme .glow-title,
.xiaomi-theme h1,
.xiaomi-theme h2{
  color: var(--xiaomi);
  text-shadow:
    0 0 6px var(--xiaomi),
    0 0 14px var(--xiaomi-soft),
    0 0 28px var(--xiaomi-soft);
}

/* Buttons */
.xiaomi-theme .btn,
.xiaomi-theme button{
  background: linear-gradient(135deg, #ff7a1a, #ff6900);
  color: #fff;
  border: none;
  box-shadow:
    0 0 12px var(--xiaomi-soft),
    0 0 24px rgba(255,105,0,0.25);
}

.xiaomi-theme .btn:hover{
  filter: brightness(1.1);
  box-shadow:
    0 0 16px var(--xiaomi),
    0 0 32px rgba(255,105,0,0.45);
}

/* Icons */
.xiaomi-theme i,
.xiaomi-theme svg{
  color: var(--xiaomi);
  filter: drop-shadow(0 0 6px rgba(255,105,0,0.6));
}

/* Accent borders / cards */
.xiaomi-theme .card,
.xiaomi-theme .panel,
.xiaomi-theme .box{
  border-color: rgba(255,105,0,0.4);
  box-shadow: 0 0 18px rgba(255,105,0,0.15);
}

/* Links */
.xiaomi-theme a{
  color: #ff8a33;
}
.xiaomi-theme a:hover{
  color: #ff6900;
}

/* =====================================
   XIAOMI HERO (ONLY "Xiaomi" ORANGE)
===================================== */

.xiaomi-hero{
  position: relative;
  z-index: 10;
  padding: 110px 22px 60px;
  background: transparent;
}

.xiaomi-hero__grid{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Title */
.xiaomi-hero__title{
  margin: 0 0 18px;
  font-family: 'Orbitron','Share Tech Mono', monospace;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: .5px;
}

/* ONLY Xiaomi word orange */
.xiaomi-word{
  color: #ff6900;
  text-shadow:
    0 0 8px rgba(255,105,0,0.55),
    0 0 18px rgba(255,105,0,0.35),
    0 0 38px rgba(255,105,0,0.22);
  animation: xiaomiPulse 2.6s ease-in-out infinite;
}

/* Rest of title normal (not orange) */
.rest-word{
  color: rgba(255,255,255,0.92);
  text-shadow:
    0 0 8px rgba(0,255,220,0.18),
    0 0 16px rgba(0,255,220,0.12);
}

/* Xiaomi glow pulse */
@keyframes xiaomiPulse{
  0%,100%{
    text-shadow:
      0 0 6px rgba(255,105,0,0.40),
      0 0 14px rgba(255,105,0,0.25),
      0 0 28px rgba(255,105,0,0.18);
  }
  50%{
    text-shadow:
      0 0 14px rgba(255,105,0,0.90),
      0 0 28px rgba(255,105,0,0.55),
      0 0 56px rgba(255,105,0,0.40);
  }
}

/* Description */
.xiaomi-hero__desc{
  margin: 0 0 22px;
  max-width: 560px;
  font-family: 'Share Tech Mono', monospace;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
  font-size: 14px;
}

/* Buttons */
.xiaomi-hero__buttons{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.xiaomi-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  user-select: none;
}

.xiaomi-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Primary orange button */
.xiaomi-btn.primary{
  background: linear-gradient(135deg, #ff7a1a, #ff6900);
  color: #fff;
  box-shadow:
    0 0 12px rgba(255,105,0,0.45),
    0 0 28px rgba(255,105,0,0.22);
}

/* Secondary neutral button (NOT orange background) */
.xiaomi-btn.secondary{
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.14);
}

.xiaomi-btn.secondary:hover{
  box-shadow: 0 0 18px rgba(255,255,255,0.10);
}

/* Tool screenshot frame */
.tool-shot{
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.tool-shot img{
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.96;
}

/* Responsive */
@media (max-width: 980px){
  .xiaomi-hero{
    padding: 90px 16px 40px;
  }
  .xiaomi-hero__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tool-shot{
    margin: 10px auto 0;
  }
}
