:root {
  --bg: #000D1A;
  --bg2: #05101E;
  --bg3: #0B192C;
  --surface: rgba(11, 25, 44, 0.7);
  --surface-hover: rgba(16, 36, 64, 0.85);
  --border: rgba(35, 60, 100, 0.45);
  --border-hl: rgba(0, 102, 255, 0.55);
  --accent: #0066FF;
  --accent2: #1A75FF;
  --cyan: #00D4FF;
  --glow: rgba(0, 102, 255, 0.35);
  --glow-strong: rgba(0, 102, 255, 0.6);
  --text: #F1F5F9;
  --text2: #94A3B8;
  --text3: #64748B;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;
  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  background-color: #000D1A;
  background-image: radial-gradient(circle at 50% 0%, #0D2040 0%, #040A14 40%, #000D1A 80%);
  background-repeat: no-repeat;
  background-size: 100% 1200px;
}

/* ─── Particles Canvas ─── */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Utilities ─── */
.mobile-only {
  display: none;
}

.chip {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  margin-bottom: 14px;
}

/* ─── NAVBAR ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: rgba(0, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-wordmark {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px var(--glow));
  transition: transform 0.2s;
}

.brand-link:hover .nav-wordmark {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  font-family: var(--ff);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: var(--r-md);
}

.btn-accent {
  background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #1A75FF 0%, #0066FF 100%);
  box-shadow: 0 6px 30px var(--glow-strong);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hl);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text3);
}

/* ─── HERO ─── */
.hero {
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-gradient {
  background: linear-gradient(135deg, #00D4FF 0%, #0066FF 45%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text2);
  max-width: 680px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 50px;
}

.hero-meta .sep {
  opacity: 0.3;
}

/* ─── FLAGSHIP HERO SHOWCASE (One Main Device with Floating Badges) ─── */
.hero-flagship-wrap {
  position: relative;
  max-width: 960px;
  min-height: 580px;
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badges-wrap {
  display: contents;
}

.flagship-phone {
  position: relative;
  width: 320px;
  z-index: 5;
  transition: transform 0.4s var(--ease);
}

.flagship-phone:hover {
  transform: translateY(-8px) scale(1.02);
}

.phone-frame {
  background: #081120;
  border: 3px solid rgba(0, 102, 255, 0.4);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.9), 0 0 50px var(--glow);
}

.flagship-screen {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--r-xl) - 6px);
}

.phone-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.35) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Floating Glass Badges */
.floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: rgba(10, 22, 42, 0.85);
  border: 1px solid var(--border-hl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 102, 255, 0.2);
  text-align: left;
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.floating-badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--cyan);
}

.f-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(0, 102, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.badge-left {
  top: 18%;
  left: 20px;
  animation-delay: 0s;
}

.badge-right {
  top: 22%;
  right: 20px;
  animation-delay: 1.5s;
}

.badge-bottom-left {
  bottom: 18%;
  left: 30px;
  animation-delay: 2.2s;
}

.badge-bottom-right {
  bottom: 14%;
  right: 30px;
  animation-delay: 0.8s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(4, 12, 24, 0.6);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-item strong span {
  color: var(--accent);
}

.trust-item span {
  font-size: 0.86rem;
  color: var(--text2);
}

/* ─── SECTION ─── */
.section {
  padding: 100px 0;
  overflow: hidden;
}

.section-dark {
  background: var(--bg2);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text2);
  font-size: 1.05rem;
}

/* ─── DEEP DIVE FEATURE STORIES (Dual Phones Showcase) ─── */
.story-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.story-row.reverse {
  flex-direction: row-reverse;
}

.story-row:last-child {
  margin-bottom: 0;
}

.story-media {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  justify-content: center;
}

.dual-phone-wrap {
  position: relative;
  width: 380px;
  height: 520px;
}

.dual-phone-wrap .story-phone {
  position: absolute;
  width: 250px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #081120;
  border: 2px solid rgba(0, 102, 255, 0.3);
  padding: 5px;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 30px var(--glow);
  transition: all 0.4s var(--ease);
}

.dual-phone-wrap .phone-back {
  top: 0;
  left: 10px;
  z-index: 1;
  opacity: 0.8;
  transform: scale(0.92) rotate(-4deg);
}

.dual-phone-wrap .phone-front {
  bottom: 0;
  right: 10px;
  z-index: 2;
  transform: scale(1) rotate(2deg);
}

.dual-phone-wrap:hover .phone-back {
  transform: scale(0.96) translateX(-20px) rotate(-6deg);
  opacity: 1;
}

.dual-phone-wrap:hover .phone-front {
  transform: scale(1.03) translateX(15px) rotate(0deg);
  border-color: var(--border-hl);
}

.story-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--r-xl) - 6px);
}

.story-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.story-content {
  flex: 1;
}

.story-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.story-content h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.story-content p {
  color: var(--text2);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  position: relative;
  padding-left: 24px;
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

.feature-bullets strong {
  color: var(--text);
}

/* ─── DISCOVERY MOCK CARDS ─── */
.discover-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.disc-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  transition: all 0.25s var(--ease);
}

.disc-mini-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hl);
  transform: translateY(-2px);
}

.d-icon {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.disc-mini-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 3px;
}

.disc-mini-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.4;
}

/* ─── INTERACTIVE SCREENSHOTS TOUR (5 Screens) ─── */
.tour-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tour-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  font-family: var(--ff);
}

.tour-btn.active, .tour-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--glow);
}

.tour-display-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.tour-device {
  position: relative;
  width: 320px;
  flex: 0 0 320px;
}

.tour-phone-bezel {
  background: #081120;
  border: 3px solid rgba(0, 102, 255, 0.4);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 40px var(--glow);
}

.tour-phone-bezel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--r-xl) - 6px);
  transition: opacity 0.2s;
}

.tour-phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.tour-info-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.tour-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.tour-info-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.tour-info-card p {
  color: var(--text2);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tour-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.t-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

.th-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

/* ─── REDESIGNED HIGH-END COMPARISON MATRIX ─── */
.comparison-matrix {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(6, 14, 26, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 102, 255, 0.12);
}

.matrix-header {
  display: grid;
  grid-template-columns: 2.1fr 2fr 1.9fr;
  align-items: stretch;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(4, 10, 20, 0.95);
  border-bottom: 1px solid var(--border);
}

.matrix-header .col-feature {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.matrix-header .col-malplus {
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.matrix-header .col-official {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.matrix-header .brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.malplus-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.45);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  align-self: flex-start;
}

.official-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  align-self: flex-start;
}

.matrix-row {
  display: grid;
  grid-template-columns: 2.1fr 2fr 1.9fr;
  align-items: stretch;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(35, 60, 100, 0.3);
  transition: background 0.25s var(--ease);
}

.matrix-row:hover {
  background: rgba(16, 36, 68, 0.25);
}

.matrix-row:last-child {
  border-bottom: none;
}

.matrix-row .col-feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-feature strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}

.col-feature span {
  display: block;
  font-size: 0.82rem;
  color: var(--text3);
}

.matrix-row .col-malplus {
  background: rgba(0, 102, 255, 0.07);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  transition: all 0.2s var(--ease);
}

.matrix-row .col-official {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  transition: all 0.2s var(--ease);
}

.matrix-row:hover .col-malplus {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.45);
}

.matrix-row:hover .col-official {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.pill-good {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #38BDF8;
  font-weight: 650;
  font-size: 0.9rem;
}

.pill-good svg {
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}

.pill-bad {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text3);
  font-size: 0.88rem;
}

.pill-bad svg {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}

/* ─── USER GUIDE TIMELINE ─── */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--cyan));
}

.tl-item {
  display: flex;
  gap: 24px;
  padding: 22px 0;
}

.tl-dot {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 20px var(--glow);
  position: relative;
  z-index: 1;
}

.tl-body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-body p {
  color: var(--text2);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ─── BUILD CARDS ─── */
.tech-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text2);
}

.build-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.bcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
}

.bnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.bcard h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bcard p {
  color: var(--text2);
  font-size: 0.93rem;
  margin-bottom: 14px;
}

.bcard ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bcard li {
  padding-left: 18px;
  position: relative;
  color: var(--text2);
  font-size: 0.92rem;
}

.bcard li::before {
  content: '›';
  position: absolute;
  left: 4px;
  color: var(--cyan);
  font-weight: 700;
}

.bcard code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.code-box {
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #020810;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 12px;
}

.code-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--text3);
  font-family: var(--mono);
}

.cp-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text2);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--mono);
}

.cp-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.code-box pre {
  padding: 14px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: #CBD5E1;
  line-height: 1.5;
  white-space: pre-wrap;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: 0.2s;
}

.faq-item:hover {
  border-color: var(--border-hl);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 650;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 18px;
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── CTA ─── */
.cta-section {
  padding: 80px 0 110px;
}

.cta-box {
  text-align: center;
  padding: 72px 36px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(0, 102, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(124, 58, 237, 0.08) 50%, var(--surface) 100%);
  box-shadow: 0 30px 80px -20px rgba(0, 102, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--text2);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.86rem;
  color: var(--text3);
}

.cta-note .sep {
  opacity: 0.4;
}

/* ─── FOOTER ─── */
footer {
  background: #020710;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-wordmark {
  height: 32px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: var(--text2);
  font-size: 0.88rem;
}

.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h5 {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: var(--text3);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-flagship-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    margin: 20px auto 0;
    gap: 16px;
  }
  .flagship-phone {
    order: 1;
    width: min(290px, 78vw);
    margin: 10px auto 12px;
  }
  .hero-badges-wrap {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .floating-badge {
    position: static;
    margin: 0;
    width: 100%;
    animation: none;
    padding: 10px 12px;
    gap: 10px;
    border-radius: var(--r-md);
    background: rgba(10, 22, 42, 0.8);
    border: 1px solid var(--border-hl);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  }
  .floating-badge .f-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .floating-badge strong {
    font-size: 0.82rem;
    line-height: 1.25;
  }
  .floating-badge span {
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 2px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-row, .story-row.reverse {
    flex-direction: column;
    gap: 36px;
    text-align: center;
  }
  .story-media {
    flex: 0 0 auto;
  }
  .dual-phone-wrap {
    width: 320px;
    height: 440px;
  }
  .dual-phone-wrap .story-phone {
    width: 210px;
  }
  .tour-display-wrap {
    flex-direction: column;
    text-align: center;
  }
  .tour-device {
    flex: 0 0 auto;
  }
  .tour-highlights {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
  .comparison-matrix {
    font-size: 0.9rem;
  }
  .matrix-header, .matrix-row {
    grid-template-columns: 1.8fr 1.6fr 1.4fr;
    padding: 16px 18px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .nav-links {
    display: none;
  }
  .nav-right .btn-ghost {
    display: none; /* Hide GitHub in top bar on mobile so APK button + menu fit */
  }
  .mobile-menu-btn {
    display: block;
    margin-left: 6px;
  }
  .hero {
    padding-top: 96px;
  }
  .hero-badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    max-width: 100%;
    text-align: center;
    line-height: 1.35;
  }
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    line-height: 1.15;
    overflow-wrap: break-word;
  }
  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .btn-lg {
    width: 100%;
    max-width: 320px;
  }
  .section {
    padding: 60px 0;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-head h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.25;
    overflow-wrap: break-word;
  }
  .mobile-only {
    display: block;
  }
  .discover-preview-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  /* ─── Redesigned Mobile Comparison Matrix (Glass Cards) ─── */
  .comparison-matrix {
    border: none;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
  }
  .matrix-header {
    display: none;
  }
  .matrix-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(8, 17, 32, 0.75);
    border: 1px solid rgba(35, 60, 100, 0.45);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  }
  .matrix-row:hover {
    background: rgba(10, 24, 46, 0.85);
    border-color: rgba(0, 102, 255, 0.4);
  }
  .col-feature {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
  }
  .col-feature strong {
    font-size: 1.02rem;
    color: var(--text);
  }
  .col-feature span {
    font-size: 0.8rem;
    color: var(--text3);
    margin-top: 2px;
  }
  .matrix-row .col-malplus, .matrix-row .col-official {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .matrix-row .col-malplus {
    background: rgba(0, 102, 255, 0.09);
    border: 1px solid rgba(0, 102, 255, 0.35);
  }
  .matrix-row .col-malplus::before {
    content: "MAL+ (ENHANCED)";
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #38BDF8;
  }
  .matrix-row .col-official {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .matrix-row .col-official::before {
    content: "OFFICIAL APP";
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748B;
  }
  .pill-good, .pill-bad {
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-badges-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .container {
    padding: 0 14px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .dual-phone-wrap {
    width: 280px;
    height: 380px;
  }
  .dual-phone-wrap .story-phone {
    width: 180px;
  }
}

/* ─── Scroll Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
