/* =============================================
   TeeTitan Digital Store — v3 Clean & Clear
   ============================================= */

:root {
  --orange:       #FF6B2B;
  --orange-dark:  #e85918;
  --orange-glow:  rgba(255, 107, 43, 0.18);
  --purple:       #6C63FF;
  --green:        #00C896;

  --bg:           #111111;
  --bg-2:         #181818;
  --bg-3:         #202020;
  --bg-4:         #2a2a2a;

  /* TEXT — cao tương phản, không gradient khó đọc */
  --text-1:       #FFFFFF;
  --text-2:       #CCCCCC;
  --text-3:       #888888;

  --border:       rgba(255,255,255,0.09);
  --border-hover: rgba(255,107,43,0.45);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --font: 'Be Vietnam Pro', sans-serif;
  --font-display: 'Sora', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =============================================
   TOPBAR
   ============================================= */
/* =============================================
   EVENT TICKER BAR
   ============================================= */
.event-ticker-bar {
  background: var(--orange);
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 200;
  transition: background 0.4s;
}
.event-ticker-bar.hidden { display: none; }

/* Scrolling track */
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Ticker items */
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: default;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.ticker-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ticker-item img {
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  vertical-align: middle;
}
.ticker-item video {
  height: 32px;
  border-radius: 4px;
  vertical-align: middle;
}
.ticker-sep {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  margin: 0 8px;
  flex-shrink: 0;
}
.ticker-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  margin-right: 6px;
}

/* Buttons on bar */
.ticker-admin-btn {
  flex-shrink: 0;
  background: rgba(0,0,0,0.18);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.2s;
  opacity: 0.7;
}
.ticker-admin-btn:hover { background: rgba(0,0,0,0.35); opacity: 1; }
.ticker-close-btn {
  flex-shrink: 0;
  background: rgba(0,0,0,0.18);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
  opacity: 0.7;
}
.ticker-close-btn:hover { background: rgba(0,0,0,0.35); opacity: 1; }

/* =============================================
   TICKER ADMIN MODAL
   ============================================= */
.ticker-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ticker-modal {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.ticker-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-modal-header h3 { font-size: 16px; font-weight: 700; color: #fff; }
.ticker-modal-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ticker-modal-body h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-add-section,
.ticker-settings-section,
.ticker-items-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 16px;
}
.ticker-form-grid { display: flex; flex-direction: column; gap: 12px; }
.ticker-form-row { display: flex; flex-direction: column; gap: 6px; }
.ticker-form-row label { font-size: 12px; font-weight: 600; color: #aaa; }
.ticker-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  width: 100%;
  font-family: var(--font);
  transition: border 0.2s;
}
.ticker-input:focus { outline: none; border-color: var(--orange); }
.ticker-type-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ttype-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.ttype-btn.active,
.ttype-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.tfield-group { display: flex; flex-direction: column; gap: 10px; }
.ticker-color-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ticker-color-pick {
  width: 36px;
  height: 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  background: none;
}
.ticker-preset-colors { display: flex; gap: 5px; flex-wrap: wrap; }
.pcolor {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
}
.pcolor:hover { border-color: #fff; transform: scale(1.15); }
.ticker-add-btn {
  margin-top: 14px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
  width: 100%;
}
.ticker-add-btn:hover { background: var(--orange-dark); }
.t-count-badge {
  background: var(--orange);
  color: #fff;
  border-radius: 30px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 800;
}
.ticker-items-list { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow-y: auto; }
.ticker-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 12px;
}
.ticker-item-row .item-preview {
  flex: 1;
  font-size: 12px;
  color: #ccc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ticker-item-row .item-type-tag {
  font-size: 10px;
  background: rgba(255,107,43,0.2);
  color: var(--orange);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
  flex-shrink: 0;
}
.ticker-item-row .item-del-btn {
  background: rgba(255,80,80,0.15);
  border: none;
  color: #ff6b6b;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ticker-item-row .item-del-btn:hover { background: rgba(255,80,80,0.3); }
.ticker-empty {
  text-align: center;
  color: #555;
  font-size: 13px;
  padding: 16px 0;
}
.ticker-modal-footer {
  display: flex;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ticker-save-btn {
  flex: 1;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.ticker-save-btn:hover { background: var(--orange-dark); }
.ticker-reset-btn {
  background: rgba(255,80,80,0.12);
  color: #ff6b6b;
  border: 1px solid rgba(255,80,80,0.2);
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.ticker-reset-btn:hover { background: rgba(255,80,80,0.25); }
@media (max-width: 600px) {
  .ticker-modal { max-height: 95vh; }
  .ticker-type-tabs { gap: 4px; }
  .ttype-btn { font-size: 11px; padding: 5px 9px; }
}

/* =============================================
   HEADER
   ============================================= */
.main-header {
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.4px;
}
.logo-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.2s;
  white-space: nowrap;
  text-shadow: none;
}
.main-nav a:hover {
  color: var(--text-1);
  background: var(--bg-3);
}
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: var(--r-sm) !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.orb-1 {
  width: 520px; height: 520px;
  background: rgba(255,107,43,0.2);
  top: -160px; left: -120px;
}
.orb-2 {
  width: 420px; height: 420px;
  background: rgba(108,99,255,0.15);
  bottom: -80px; right: -80px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 64px;
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,43,0.13);
  border: 1px solid rgba(255,107,43,0.35);
  color: #ff8a55;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}

/* Title — plain white, no gradient tricks */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow: none;
}
.hero-accent {
  color: var(--orange);
  display: block;
  text-shadow: none;
}

/* Slogan — italic, viền cam nổi bật, Be Vietnam Pro */
.hero-slogan {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  font-style: italic;
  border-left: 5px solid var(--orange);
  background: rgba(255,107,43,0.08);
  padding: 14px 18px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 22px;
  line-height: 1.5;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  box-shadow: inset 0 0 0 1px rgba(255,107,43,0.12);
}

/* Desc */
.hero-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  text-shadow: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,43,0.4);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,43,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  font-weight: 600;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--orange); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1;
}
.stat span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-top: 3px;
}
.stat-line {
  width: 1px;
  height: 34px;
  background: var(--border);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 360px;
}
.vis-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.vis-main {
  width: 280px;
  padding: 18px;
  top: 20px; right: 0;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.vis-bar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.vis-dots { display: flex; gap: 5px; }
.vis-dots i {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.vis-filename {
  font-size: 11px;
  color: var(--text-3);
  margin-left: 2px;
}
.vis-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 12px;
}
.vis-bar {
  flex: 1;
  background: var(--c);
  height: var(--h);
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
  animation: growUp 0.8s ease-out both;
  animation-delay: var(--d);
}
@keyframes growUp {
  from { height: 0; opacity: 0; }
  to   { height: var(--h); opacity: 0.9; }
}
.vis-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vis-up {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}
.vis-sub {
  font-size: 11px;
  color: var(--text-3);
}

.vis-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  left: 20px; bottom: 70px;
  animation: float 5s 1.2s ease-in-out infinite;
}
.vis-badge div { display: flex; flex-direction: column; }
.vis-badge b {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
}
.vis-badge span {
  font-size: 11px;
  color: var(--text-3);
}

.vis-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  right: 30px; bottom: 10px;
  animation: float 5s 2.4s ease-in-out infinite;
}
.tag-hot {
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}
.vis-tag div { display: flex; flex-direction: column; }
.vis-tag b {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
}
.vis-tag span {
  font-size: 11px;
  color: var(--text-3);
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.trust-item svg { color: var(--orange); flex-shrink: 0; }
.trust-sep {
  width: 1px;
  height: 18px;
  background: var(--border);
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section { padding: 88px 0; }
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -1px;
  margin-bottom: 12px;
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}
.section-desc {
  font-size: 15px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products-section { background: var(--bg); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Override các class được render bởi app.js */
.product-card {
  background: var(--bg-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  padding: 0 !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
  position: relative !important;
}
.product-card::before { display: none !important; }
.product-card:hover {
  border-color: var(--border-hover) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5) !important;
}

.product-image {
  width: 100% !important;
  height: 195px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
  display: block;
}

.product-card-body-wrap { padding: 0 20px 20px; }

.product-name {
  font-family: var(--font-display) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--text-1) !important;
  text-shadow: none !important;
  margin: 16px 20px 8px !important;
  display: block;
}
.product-description {
  font-size: 13px !important;
  color: var(--text-2) !important;
  line-height: 1.65 !important;
  margin: 0 20px 12px !important;
}
.product-price {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--orange) !important;
  text-shadow: none !important;
  margin: 0 20px 16px !important;
}
.product-actions {
  display: flex !important;
  gap: 10px !important;
  padding: 0 20px 20px !important;
  margin: 0 !important;
}

/* Button overrides */
.btn-info, .btn-demo {
  flex: 1;
  background: var(--bg-3) !important;
  color: var(--text-2) !important;
  border: 1px solid var(--border) !important;
  padding: 10px 14px !important;
  border-radius: var(--r-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s !important;
  box-shadow: none !important;
}
.btn-info:hover, .btn-demo:hover {
  color: var(--text-1) !important;
  border-color: rgba(255,255,255,0.15) !important;
  transform: none !important;
}
.btn-buy {
  flex: 1.3;
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 14px !important;
  border-radius: var(--r-sm) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s !important;
  box-shadow: 0 4px 16px rgba(255,107,43,0.35) !important;
}
.btn-buy:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(255,107,43,0.5) !important;
}

/* =============================================
   DEMO
   ============================================= */
.demo-section { background: var(--bg-2); }
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.demo-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.25s;
}
.demo-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.demo-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}
.demo-card-body { padding: 18px; }
.demo-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.demo-card-body a {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.demo-card-body a:hover { gap: 8px; }

/* =============================================
   WHY US
   ============================================= */
.why-section { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: all 0.25s;
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.why-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* =============================================
   POPUPS
   ============================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-content {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  position: relative;
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  transition: all 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.popup-overlay.active .popup-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.close-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.close-btn:hover {
  color: var(--text-1);
  border-color: rgba(255,255,255,0.2);
}

.popup-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.popup-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.popup-description {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.popup-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 20px;
}

/* Payment popup */
.payment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.payment-header .popup-title { margin-bottom: 0; font-size: 19px; }
.payment-qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.qr-code-image {
  width: 200px; height: 200px;
  border-radius: 12px;
  border: 4px solid var(--orange);
  box-shadow: 0 0 28px rgba(255,107,43,0.3);
}
.payment-details {
  width: 100%;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
}
.payment-details p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.payment-details p:last-child { border-bottom: none; }
.payment-details strong {
  color: var(--text-1);
  font-weight: 600;
  white-space: nowrap;
}
.payment-note {
  color: var(--orange);
  font-weight: 800;
  font-family: 'Courier New', monospace;
  font-size: 15px;
}
.payment-instruction {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.6;
  margin-top: 6px;
}
#payment-status-msg {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  margin-top: 8px;
  width: 100%;
}

/* =============================================
   FOOTER — Logo nổi bật + slogan + copyright
   Không có link mạng xã hội / hỗ trợ
   ============================================= */
.main-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
}
.footer-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-left { flex: 1; }
.footer-left .logo { margin-bottom: 18px; }
.footer-slogan {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  font-style: italic;
  border-left: 4px solid var(--orange);
  padding: 8px 14px;
  border-radius: 0 6px 6px 0;
  background: rgba(255,107,43,0.07);
  margin-bottom: 14px;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.footer-copy {
  font-size: 12px;
  color: var(--text-3);
  text-shadow: none;
}
.footer-nav {
  display: flex;
  gap: 48px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  margin-bottom: 4px;
  text-shadow: none;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s;
  text-shadow: none;
}
.footer-col a:hover { color: var(--orange); }

/* =============================================
   PLATFORMS
   ============================================= */
.platforms-section { background: var(--bg-2); }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.platform-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.platform-web::before   { background: #FF6B2B; }
.platform-exe::before   { background: #6C63FF; }
.platform-apk::before   { background: #00C896; }

.platform-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
}

.platform-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.platform-web .platform-icon   { background: rgba(255,107,43,0.13); color: #FF6B2B; }
.platform-exe .platform-icon   { background: rgba(108,99,255,0.13); color: #6C63FF; }
.platform-apk .platform-icon   { background: rgba(0,200,150,0.13);  color: #00C896; }

.platform-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-shadow: none;
}
.platform-web .platform-badge   { color: #FF6B2B; }
.platform-exe .platform-badge   { color: #6C63FF; }
.platform-apk .platform-badge   { color: #00C896; }

.platform-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
  text-shadow: none;
}

.platform-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 18px;
}
.platform-desc strong { color: #FFFFFF; font-weight: 700; }
.platform-desc code {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  color: var(--orange);
  text-shadow: none;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.platform-tags span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 3px 10px;
  color: var(--text-3);
  text-shadow: none;
}

.platform-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
  justify-content: center;
  padding: 12px 20px;
  background: rgba(255,107,43,0.06);
  border: 1px solid rgba(255,107,43,0.15);
  border-radius: var(--r-md);
  text-shadow: none;
}

@media (max-width: 900px) {
  .platform-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .footer-inner { flex-direction: column; gap: 32px; }
}

@media (max-width: 768px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .hero-title { font-size: 34px; letter-spacing: -1px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { flex-direction: column; gap: 24px; }
}

@media (max-width: 520px) {
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .stat-line { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .popup-content { padding: 24px 18px; }
  .payment-details p { flex-direction: column; gap: 2px; }
  .trust-sep { display: none; }
  .footer-nav { flex-direction: row; gap: 32px; }
}

/* =============================================
   FEATURES — Cart Button in Nav
   ============================================= */
.cart-btn {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--r-sm);
  padding: 8px 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cart-btn:hover {
  background: var(--bg-4);
  border-color: var(--border-hover);
  color: var(--text-1);
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  line-height: 1;
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100dvh;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-1);
}
.cart-title h3 {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-display);
}
.cart-close-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  border-radius: var(--r-sm);
  padding: 6px;
  cursor: pointer;
  display: flex;
  transition: all 0.2s;
}
.cart-close-btn:hover { color: var(--text-1); background: var(--bg-4); }

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
  transition: border-color 0.2s;
}
.cart-item:hover { border-color: var(--border-hover); }
.cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.cart-item-remove:hover { color: #ff4d4d; background: rgba(255,77,77,0.1); }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 20px;
  text-align: center;
}
.cart-empty p {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
}
.cart-empty span { font-size: 13px; color: var(--text-3); }

.cart-footer {
  padding: 16px 22px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-2);
}
.cart-total-row strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  font-family: var(--font-display);
}
.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}
.cart-checkout-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Product card extra buttons */
.btn-cart-add {
  background: rgba(255,107,43,0.12);
  border: 1px solid rgba(255,107,43,0.3);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  white-space: nowrap;
  margin-top: 8px;
}
.btn-cart-add:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-1px);
}
.btn-share {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  padding: 7px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s;
  margin-top: 8px;
  margin-left: 6px;
}
.btn-share:hover {
  color: var(--text-1);
  border-color: var(--border-hover);
  background: var(--bg-4);
}

/* =============================================
   CONTACT / SOCIAL SECTION
   ============================================= */
.contact-section { background: var(--bg-2); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s;
  width: 100%;
}
.social-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.social-card--fb:hover { border-color: #1877F2; box-shadow: 0 12px 32px rgba(24,119,242,0.2); }
.social-card--tt:hover { border-color: #ff0050; box-shadow: 0 12px 32px rgba(255,0,80,0.2); }
.social-card--yt:hover { border-color: #FF0000; box-shadow: 0 12px 32px rgba(255,0,0,0.2); }

.social-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}
.social-card--fb .social-icon-wrap { background: rgba(24,119,242,0.15); color: #1877F2; }
.social-card--tt .social-icon-wrap { background: rgba(255,0,80,0.12); color: #ff0050; }
.social-card--yt .social-icon-wrap { background: rgba(255,0,0,0.12); color: #FF0000; }
.social-card--fb:hover .social-icon-wrap { background: rgba(24,119,242,0.25); }
.social-card--tt:hover .social-icon-wrap { background: rgba(255,0,80,0.22); }
.social-card--yt:hover .social-icon-wrap { background: rgba(255,0,0,0.22); }

.social-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.social-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  font-family: var(--font-display);
}
.social-sub {
  font-size: 12px;
  color: var(--text-3);
}
.social-arrow { color: var(--text-3); flex-shrink: 0; transition: transform 0.2s; }
.social-card:hover .social-arrow { transform: translateX(3px); color: var(--text-2); }

/* =============================================
   SHARE MODAL
   ============================================= */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.share-overlay.open { opacity: 1; pointer-events: all; }

.share-modal {
  position: fixed;
  bottom: -400px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  max-width: calc(100vw - 32px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  z-index: 1500;
  padding: 0;
  transition: bottom 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
}
.share-modal.open { bottom: 0; }

.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.share-modal-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.share-close-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-3);
  border-radius: var(--r-sm);
  padding: 5px;
  cursor: pointer;
  display: flex;
  transition: all 0.2s;
}
.share-close-btn:hover { color: var(--text-1); }

.share-modal-body { padding: 18px 20px 24px; }
.share-label { font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }

.share-quick-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  border: 1px solid;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.share-quick-fb {
  background: rgba(24,119,242,0.12);
  border-color: rgba(24,119,242,0.3);
  color: #1877F2;
}
.share-quick-fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }

.share-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.share-link-input {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 13px;
  padding: 9px 12px;
  outline: none;
  font-family: var(--font);
}
.share-copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: var(--font);
}
.share-copy-btn:hover { background: var(--orange-dark); }

/* =============================================
   TOAST
   ============================================= */
.tt-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-4);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.tt-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tt-toast--success { border-color: rgba(0,200,150,0.4); background: rgba(0,200,150,0.15); color: #00C896; }
.tt-toast--info { border-color: rgba(108,99,255,0.4); background: rgba(108,99,255,0.15); color: #8b85ff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cart-sidebar { width: 100vw; }
  .social-card { padding: 16px; }
  .nav-contact { display: none; }
}
@media (max-width: 580px) {
  .share-modal { border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

/* =============================================
   FREE PRODUCTS SECTION
   ============================================= */
.free-section { background: var(--bg-2); }

.free-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 60px 0;
  color: var(--text-3);
  font-size: 14px;
  grid-column: 1 / -1;
}
.free-spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.free-product-card { position: relative; }

.free-card-banner {
  background: linear-gradient(135deg, #1a3a1a 0%, #0d2a0d 100%);
  border-bottom: 1px solid rgba(0,200,100,0.15);
  padding: 12px 20px;
  display: flex;
  align-items: center;
}
.free-badge-pill {
  background: rgba(0,200,100,0.15);
  color: #00c864;
  border: 1px solid rgba(0,200,100,0.3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  text-transform: uppercase;
}

/* Override buy button for free */
.btn-free-use {
  flex: 1.3;
  background: #00c864 !important;
  color: #fff !important;
  border: none !important;
  padding: 10px 14px !important;
  border-radius: var(--r-sm) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s !important;
  box-shadow: 0 4px 16px rgba(0,200,100,0.3) !important;
}
.btn-free-use:hover {
  background: #00a050 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(0,200,100,0.45) !important;
}

/* =============================================
   FREE MODAL (iframe viewer)
   ============================================= */
.free-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: stretch;
  justify-content: stretch;
}
.free-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(4px);
}
.free-modal-box {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-2);
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}
.free-modal-box--guide {
  max-width: 520px;
  height: auto;
  min-height: unset;
}
.free-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-3);
  flex-shrink: 0;
}
.free-modal-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-1);
}
.free-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.free-modal-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}
.free-modal-close {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--r-sm);
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.free-modal-close:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.free-modal-iframe {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: none;
  background: #fff;
  overflow: auto;
}

/* Guide modal body */
.guide-body { padding: 28px 28px 32px; }
.guide-app-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 14px;
}
.guide-text {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--bg-3);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.guide-num {
  width: 24px; height: 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
#guide-use-btn {
  width: 100%;
  padding: 14px !important;
  font-size: 15px !important;
  border-radius: var(--r-md) !important;
}

@media (max-width: 768px) {
  .free-modal-box { width: 100vw; height: 100dvh; border-radius: 0; border: none; }
  .free-modal-box--guide { height: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; position: absolute; bottom: 0; left: 0; right: 0; max-width: 100%; }
}

/* Hero — visual removed, center content */
.hero-inner {
  grid-template-columns: 1fr !important;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.hero-content { max-width: 100%; }

/* =============================================
   HERO VIDEO PLAYER
   ============================================= */
.hero-video-wrap {
  margin: 20px 0 24px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(255,107,43,0.15),
    0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  transition: box-shadow 0.3s ease;
}
.hero-video-wrap:hover {
  box-shadow:
    0 0 0 1px rgba(255,107,43,0.4),
    0 24px 70px rgba(0,0,0,0.7);
}

/* 16:9 aspect ratio container */
.hero-video-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #0a0a0a;
}
.hero-video-inner > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* iframe (YouTube / Vimeo) */
.hero-video-iframe {
  border: none;
  display: block;
}

/* Local <video> element */
.hero-video-local {
  display: block;
  object-fit: cover;
  background: #000;
}

/* Label bar at bottom */
.hero-video-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.3px;
}
.hero-video-label svg {
  color: var(--orange);
  flex-shrink: 0;
}
.hero-video-label span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Error fallback */
.hero-video-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .hero-video-wrap { margin: 16px 0 20px; border-radius: var(--r-sm); }
}

/* ── FAQ Section ─────────────────────────────────────────────── */
.faq-section { background: var(--bg-section, #0f0f0f); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--card-bg, #181818);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(255,107,43,.4); }

.faq-q {
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1, #fff);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: #FF6B2B;
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding: 0 1.4rem 1.1rem;
  color: var(--text-2, #aaa);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-a p { margin: 0; }
.faq-a strong { color: var(--text-1, #fff); }

/* Nav link for FAQ */
.main-nav a[href="#faq"] { display: inline; }
