/* ==========================================================================
   TRIVMO — Global Stylesheet
   ========================================================================== */

/* ----- Reset & Variables ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --primary: #EF0F00;
  --primary-light: rgba(239, 15, 0, 0.70);
  --primary-glow: rgba(239, 15, 0, 0.15);
  --primary-subtle: rgba(239, 15, 0, 0.06);
  --bg: #0A0A0A;
  --bg-card: #141414;
  --bg-card-hover: #1A1A1A;
  --text: #FFFFFF;
  --text-s: rgba(255, 255, 255, 0.60);
  --text-m: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --border-h: rgba(255, 255, 255, 0.15);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 9999px;
  --font: 'Poppins', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.35s var(--ease);
  --nav-overlay: rgba(10, 10, 10, 0.9);
  --menu-overlay: rgba(10, 10, 10, 0.97);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --surface-raised: rgba(255, 255, 255, 0.06);
  --surface-raised-hover: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --grid-line: rgba(255, 255, 255, 0.02);
  --grain-opacity: 1;
}

[data-theme="light"] {
  color-scheme: light;
  --primary-glow: rgba(239, 15, 0, 0.12);
  --primary-subtle: rgba(239, 15, 0, 0.08);
  --bg: #F6F1EA;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #FFFCF8;
  --text: #171311;
  --text-s: rgba(23, 19, 17, 0.72);
  --text-m: rgba(23, 19, 17, 0.5);
  --border: rgba(23, 19, 17, 0.10);
  --border-h: rgba(23, 19, 17, 0.18);
  --nav-overlay: rgba(246, 241, 234, 0.88);
  --menu-overlay: rgba(246, 241, 234, 0.96);
  --surface-soft: rgba(23, 19, 17, 0.035);
  --surface-raised: rgba(255, 255, 255, 0.72);
  --surface-raised-hover: rgba(255, 255, 255, 0.95);
  --surface-strong: rgba(23, 19, 17, 0.10);
  --grid-line: rgba(23, 19, 17, 0.06);
  --grain-opacity: 0.32;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Subtle grain overlay ----- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 10000;
}

/* ----- Keyframes ----- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 40px rgba(239, 15, 0, 0.2);
  }

  50% {
    box-shadow: 0 0 80px rgba(239, 15, 0, 0.35);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Scroll reveal */
.aos {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.aos.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--t), padding var(--t);
}

.nav.scrolled {
  background: var(--nav-overlay);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
}

.nav-logo span {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-s);
  transition: color var(--t);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--t);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.theme-toggle {
  min-width: 108px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--r-full);
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t), background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.theme-toggle:hover {
  background: var(--surface-raised-hover);
  border-color: var(--border-h);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--r-full);
  font-weight: 600;
  transition: transform var(--t), box-shadow var(--t);
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(239, 15, 0, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--menu-overlay);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-s);
  transition: color var(--t);
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .theme-toggle {
  min-width: 160px;
  height: 48px;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .nav-links {
    gap: 18px;
  }

  .theme-toggle {
    min-width: 96px;
    padding: 0 14px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    gap: 10px;
  }

  .theme-toggle {
    min-width: 96px;
    padding: 0 14px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-p {
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  transition: transform var(--t), box-shadow var(--t);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-p:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px rgba(239, 15, 0, 0.35);
}

.btn-s {
  background: var(--surface-raised);
  color: var(--text);
  padding: 16px 36px;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all var(--t);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-s:hover {
  background: var(--surface-raised-hover);
  border-color: var(--border-h);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section Commons
   ========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-tag-line {
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-s);
  max-width: 520px;
  line-height: 1.7;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .g {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
}

.hero-bg .g1 {
  background: var(--primary);
  width: 600px;
  height: 600px;
  top: -10%;
  right: -5%;
  animation: float 8s ease-in-out infinite;
}

.hero-bg .g2 {
  background: #ff6b3d;
  width: 500px;
  height: 500px;
  bottom: -15%;
  left: -10%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

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

.hero-text {
  animation: fadeUp 1s var(--ease) both;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary), #ff6b3d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text>p {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: var(--text-s);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero – Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1s var(--ease) 0.2s both;
}

.hero-phone {
  width: 260px;
  height: 530px;
  background: linear-gradient(160deg, #1a1a1a, #111);
  border-radius: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #0A0A0A;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 6px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a0800, #0a0a0a);
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 38px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.profile-card {
  margin: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  position: relative;
}

.profile-img {
  width: 100%;
  height: 58%;
  position: relative;
  overflow: hidden;
}

.profile-img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff6b3d 0%, var(--primary) 50%, #cc0a00 100%);
}

.profile-img-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 180px;
}

.profile-img-person .head {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-img-person .body {
  width: 80px;
  height: 100px;
  border-radius: 40px 40px 0 0;
  background: rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.profile-info {
  padding: 12px 14px;
}

.profile-info h6 {
  font-size: 0.95rem;
  font-weight: 700;
}

.profile-info span {
  font-size: 0.7rem;
  color: var(--text-m);
}

.profile-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.profile-tag {
  background: rgba(239, 15, 0, 0.12);
  color: var(--primary);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-full);
}

.phone-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 10px 12px 16px;
}

.phone-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.phone-btn.pass {
  background: rgba(255, 255, 255, 0.08);
}

.phone-btn.like {
  background: var(--primary);
}

.phone-btn.super {
  background: rgba(255, 200, 0, 0.15);
}

/* Hero – Floating cards */
.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  z-index: 3;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.float-card.fc1 {
  top: 8%;
  right: -10%;
  animation: float 5s ease-in-out infinite;
}

.float-card.fc2 {
  bottom: 15%;
  left: -14%;
  animation: float 6s ease-in-out infinite 0.5s;
}

.float-card.fc3 {
  top: 45%;
  right: -16%;
  animation: float 7s ease-in-out infinite 1s;
}

.float-card.fc4 {
  bottom: 38%;
  left: -8%;
  animation: float 6.5s ease-in-out infinite 1.5s;
}

.float-card-icon {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.float-card-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-s);
}

.float-card-sub {
  font-size: 0.6rem;
  color: var(--text-m);
}

.hero-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.1;
  animation: pulse-glow 4s ease infinite;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text>p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .float-card {
    display: none;
  }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-m);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
  padding: 120px 0;
  position: relative;
}

.features-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.features-header .section-sub {
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--t);
}

.feature-card:hover {
  border-color: rgba(239, 15, 0, 0.2);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: all var(--t);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-s);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Image Banner
   ========================================================================== */
.img-banner {
  padding: 80px 0;
  overflow: hidden;
}

.img-banner-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 320px;
}

.img-banner-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.img-banner-item .img-fill {
  position: absolute;
  inset: 0;
}

.img-banner-item:nth-child(1) .img-fill {
  background: linear-gradient(135deg, #ff6b3d, var(--primary));
}

.img-banner-item:nth-child(2) .img-fill {
  background: linear-gradient(135deg, #1a0800, #3d1200);
}

.img-banner-item:nth-child(3) .img-fill {
  background: linear-gradient(135deg, var(--primary), #cc0a00);
}

.img-banner-item:nth-child(4) .img-fill {
  background: linear-gradient(135deg, #ff8c5a, #ff4020);
}

.img-banner-item .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.img-banner-item .img-content {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

.img-banner-item .img-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.img-banner-item .img-content p {
  font-size: 0.7rem;
  color: var(--text-s);
}

.img-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

.img-scene svg {
  width: 80%;
  height: 80%;
}

@media (max-width: 768px) {
  .img-banner-inner {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .img-banner-item {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .img-banner-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.hiw {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(239, 15, 0, 0.015), transparent);
}

.hiw-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.hiw-header .section-sub {
  margin: 0 auto;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
  opacity: 0.2;
}

.hiw-step {
  text-align: center;
  position: relative;
}

.hiw-num {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: all var(--t);
}

.hiw-step:hover .hiw-num {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 40px rgba(239, 15, 0, 0.3);
}

.hiw-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hiw-step p {
  font-size: 0.82rem;
  color: var(--text-s);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

.hiw-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.hiw-mode-card {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(239, 15, 0, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.hiw-mode-intro {
  margin-bottom: 24px;
}

.hiw-mode-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(239, 15, 0, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hiw-mode-intro h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.hiw-mode-intro p {
  color: var(--text-s);
  line-height: 1.7;
  max-width: 44ch;
}

.hiw-mode-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hiw-mode-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hiw-mode-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.hiw-mode-step-num {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.hiw-mode-step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.hiw-mode-step p {
  color: var(--text-s);
  line-height: 1.6;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hiw-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .hiw-steps::before {
    display: none;
  }

  .hiw-modes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hiw-steps {
    grid-template-columns: 1fr;
  }

  .hiw-mode-card {
    padding: 24px;
    border-radius: 22px;
  }
}

/* ==========================================================================
   Why Trivmo – Stacked Phones
   ========================================================================== */
.why-trivmo {
  padding: 100px 0;
  overflow: hidden;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text .section-heading {
  margin-bottom: 16px;
}

.why-text>p {
  font-size: 0.95rem;
  color: var(--text-s);
  line-height: 1.7;
  margin-bottom: 24px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.why-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.why-list-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.why-list-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.why-list-item p {
  font-size: 0.8rem;
  color: var(--text-m);
  margin-bottom: 0;
}

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.why-phone {
  width: 200px;
  height: 410px;
  background: linear-gradient(160deg, #1a1a1a, #111);
  border-radius: 32px;
  border: 2.5px solid rgba(255, 255, 255, 0.08);
  position: absolute;
  overflow: hidden;
}

.why-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: #0A0A0A;
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

.why-phone.wp1 {
  transform: rotate(-8deg) translateX(-60px);
  z-index: 1;
}

.why-phone.wp2 {
  transform: rotate(4deg) translateX(60px);
  z-index: 2;
  border-color: rgba(239, 15, 0, 0.25);
  box-shadow: 0 30px 80px rgba(239, 15, 0, 0.1);
}

.wp-screen {
  position: absolute;
  inset: 5px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wp-screen.wps1 {
  background: linear-gradient(180deg, #0a0a14, #0a0a0a);
}

.wp-screen.wps2 {
  background: linear-gradient(180deg, #1a0800, #0a0a0a);
}

.wp-top {
  padding: 28px 12px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.wp-body {
  flex: 1;
  margin: 6px 8px;
  border-radius: 14px;
  overflow: hidden;
}

.wp-body.chat-body {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wp-body.discover-body {
  background: linear-gradient(135deg, #ff6b3d, var(--primary));
  position: relative;
}

.wp-chat-bubble {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.55rem;
  max-width: 80%;
  line-height: 1.4;
}

.wp-chat-bubble.them {
  background: rgba(255, 255, 255, 0.08);
  align-self: flex-start;
  color: var(--text-s);
}

.wp-chat-bubble.me {
  background: var(--primary);
  align-self: flex-end;
  color: #fff;
}

.wp-discover-person {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.wp-discover-person .dh {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 3px;
}

.wp-discover-person .db {
  width: 54px;
  height: 66px;
  border-radius: 27px 27px 0 0;
  background: rgba(255, 255, 255, 0.15);
}

.wp-discover-name {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-visual {
    min-height: 360px;
    margin-bottom: 40px;
    order: -1;
  }

  .why-list-item {
    justify-content: center;
    text-align: left;
  }
}

/* ==========================================================================
   App Showcase – 3 Phones
   ========================================================================== */
.showcase {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(239, 15, 0, 0.02), transparent);
}

.showcase-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.showcase-header .section-sub {
  margin: 0 auto;
}

.showcase-phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  perspective: 1200px;
  position: relative;
}

.showcase-phone {
  width: 220px;
  height: 450px;
  background: linear-gradient(160deg, #1a1a1a, #111);
  border-radius: 36px;
  border: 2.5px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
  flex-shrink: 0;
}

.showcase-phone:nth-child(1) {
  transform: rotateY(6deg) translateZ(-30px) scale(0.92);
}

.showcase-phone:nth-child(2) {
  transform: scale(1.04);
  z-index: 2;
  border-color: rgba(239, 15, 0, 0.3);
  box-shadow: 0 30px 80px rgba(239, 15, 0, 0.12);
}

.showcase-phone:nth-child(3) {
  transform: scale(1.04);
  z-index: 2;
  border-color: rgba(239, 15, 0, 0.3);
  box-shadow: 0 30px 80px rgba(239, 15, 0, 0.12);
}

.showcase-phone:nth-child(4) {
  transform: rotateY(-6deg) translateZ(-30px) scale(0.92);
}

.showcase-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0A0A0A;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.sp-screen {
  position: absolute;
  inset: 5px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sp-screen.sc-discover {
  background: linear-gradient(180deg, #1a0800, #0a0a0a);
}

.sp-screen.sc-chat {
  background: linear-gradient(180deg, #0a0a14, #0a0a0a);
}

.sp-screen.sc-profile {
  background: linear-gradient(180deg, #0a1400, #0a0a0a);
}

.sp-top {
  padding: 32px 14px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-card {
  margin: 6px 10px;
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* Discover card */
.sp-card.discover {
  background: linear-gradient(135deg, #ff6b3d, var(--primary));
}

.sp-card.discover .sp-person {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
}

.sp-card.discover .sp-person-head {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 4px;
}

.sp-card.discover .sp-person-body {
  width: 66px;
  height: 80px;
  border-radius: 33px 33px 0 0;
  background: rgba(255, 255, 255, 0.18);
}

.sp-card.discover .sp-name {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: 0.85rem;
  font-weight: 700;
}

.sp-card.discover .sp-loc {
  position: absolute;
  bottom: 0;
  left: 14px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Chat card */
.sp-card.chat {
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.chat-bubble {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.6rem;
  max-width: 80%;
  line-height: 1.4;
}

.chat-bubble.them {
  background: rgba(255, 255, 255, 0.08);
  align-self: flex-start;
  color: var(--text-s);
}

.chat-bubble.me {
  background: var(--primary);
  align-self: flex-end;
  color: #fff;
}

/* Profile card */
.sp-card.profile {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.sp-card.profile .sp-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff6b3d);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.sp-card.profile .sp-pname {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.sp-card.profile .sp-pbio {
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-m);
  margin-bottom: 10px;
}

.sp-card.profile .sp-prompt {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
}

.sp-card.profile .sp-prompt-q {
  font-size: 0.55rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.sp-card.profile .sp-prompt-a {
  font-size: 0.6rem;
  color: var(--text-s);
  line-height: 1.4;
}

.sp-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px 14px;
}

.sp-abtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sp-abtn.x {
  background: rgba(255, 255, 255, 0.06);
}

.sp-abtn.h {
  background: var(--primary);
}

.sp-abtn.s {
  background: rgba(255, 200, 0, 0.12);
}

@media (max-width: 768px) {
  .showcase-phones {
    gap: 12px;
    flex-wrap: wrap;
  }

  .showcase-phone {
    width: 160px;
    height: 340px;
    border-radius: 28px;
  }

  .showcase-phone:nth-child(1),
  .showcase-phone:nth-child(4) {
    display: none;
  }

  .showcase-phone:nth-child(2),
  .showcase-phone:nth-child(3) {
    transform: none;
  }
}

/* ==========================================================================
   Trust & Safety
   ========================================================================== */
.trust {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(239, 15, 0, 0.015), transparent);
}

.trust-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.trust-header .section-sub {
  margin: 0 auto;
}

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

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--t);
}

.trust-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
}

.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-s);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  padding: 120px 0;
}

.faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}

.faq-header .section-sub {
  margin: 0 auto;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item.open {
  border-color: rgba(239, 15, 0, 0.2);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  gap: 14px;
  width: 100%;
  background: none;
  color: var(--text);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
}

.faq-q:hover {
  background: var(--surface-soft);
}

.faq-tog {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.faq-item.open .faq-tog {
  background: var(--primary);
  transform: rotate(45deg);
}

.faq-tog svg {
  width: 12px;
  height: 12px;
  stroke: var(--primary);
  stroke-width: 2.5;
}

.faq-item.open .faq-tog svg {
  stroke: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a-inner {
  padding: 0 22px 18px;
  font-size: 0.85rem;
  color: var(--text-s);
  line-height: 1.7;
}

.faq-a-inner a {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   CTA / Download
   ========================================================================== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, #1a0500, #140a07);
  border: 1px solid rgba(239, 15, 0, 0.15);
  border-radius: var(--r-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
  top: -30%;
  right: -15%;
}

.cta-card::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: #ff6b3d;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
  bottom: -30%;
  left: -10%;
}

.cta-card>* {
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1rem;
  color: var(--text-s);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 24px;
  transition: all var(--t);
}

.store-btn:hover {
  background: var(--surface-raised-hover);
  border-color: var(--border-h);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 26px;
  height: 26px;
}

.store-btn-text small {
  font-size: 0.6rem;
  color: var(--text-m);
  display: block;
  font-weight: 500;
}

.store-btn-text span {
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .cta-card {
    padding: 48px 24px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-s);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--text);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 15px;
  height: 15px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-m);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-s);
  padding: 4px 0;
  transition: color var(--t);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-m);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-m);
  transition: color var(--t);
}

.footer-bottom-links a:hover {
  color: var(--text-s);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Legal Pages (Privacy, Terms, FAQ Help)
   ========================================================================== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page .legal-header {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.legal-page .legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.legal-page .legal-header p {
  color: var(--text-m);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}

.legal-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  font-size: 0.88rem;
  color: var(--text-s);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  list-style: disc;
  margin-bottom: 6px;
}

.legal-content li strong {
  color: var(--text);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content .contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.legal-content .contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: all var(--t);
  display: block;
}

.legal-content .contact-card:hover {
  border-color: rgba(239, 15, 0, 0.2);
}

.legal-content .contact-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.legal-content .contact-card p {
  font-size: 0.78rem;
  color: var(--text-m);
  margin: 0;
}

/* Help-specific */
.help-checks {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 24px 0;
}

.help-checks h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.help-checks li {
  font-size: 0.87rem;
  color: var(--text-s);
  line-height: 1.7;
  margin-bottom: 6px;
  padding-left: 8px;
  position: relative;
  list-style: none;
}

.help-checks li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: 700;
  position: absolute;
  left: -12px;
}

.help-path {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 16px 0;
  transition: all var(--t);
}

.help-path:hover {
  border-color: rgba(239, 15, 0, 0.15);
}

.help-path h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.help-path .help-path-sub {
  font-size: 0.78rem;
  color: var(--text-m);
  margin-bottom: 12px;
  font-style: italic;
}

.help-path li {
  font-size: 0.87rem;
  color: var(--text-s);
  line-height: 1.7;
  margin-bottom: 6px;
  list-style: disc;
  margin-left: 20px;
}

/* ==========================================================================
   Scroll-to-top
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--t);
  box-shadow: 0 4px 20px rgba(239, 15, 0, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(239, 15, 0, 0.4);
}

/* ==========================================================================
   New Float Cards (Trivia & Voice Note)
   ========================================================================== */
.float-card.fc5 {
  top: 18%;
  left: -18%;
  animation: float 5.5s ease-in-out infinite 0.8s;
}

.float-card.fc6 {
  bottom: 8%;
  right: -12%;
  animation: float 6s ease-in-out infinite 1.2s;
}

/* ==========================================================================
   Feature Highlight (New features badge)
   ========================================================================== */
.feature-highlight {
  border-color: rgba(239, 15, 0, 0.18);
  background: linear-gradient(160deg, rgba(239, 15, 0, 0.04), var(--bg-card));
  position: relative;
}

.feature-highlight::after {
  content: 'NEW';
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Showcase – Trivia Screen
   ========================================================================== */
.sp-screen.sc-trivia {
  background: linear-gradient(180deg, #1a0800, #0a0a0a);
}

.sp-card.trivia {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trivia-q-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trivia-question {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.trivia-option {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.55rem;
  color: var(--text-s);
  transition: all 0.2s ease;
}

.trivia-option.trivia-selected {
  background: rgba(239, 15, 0, 0.15);
  border-color: var(--primary);
  color: var(--text);
}

.trivia-score {
  margin-top: auto;
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-s);
  background: rgba(239, 15, 0, 0.08);
  padding: 6px 10px;
  border-radius: 8px;
}

.trivia-score strong {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ==========================================================================
   Showcase – Voice Note Screen
   ========================================================================== */
.sp-screen.sc-voice {
  background: linear-gradient(180deg, #0a0a14, #0a0a0a);
}

.sp-card.voice {
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sp-card.voice .sp-person {
  position: relative;
  margin-bottom: 4px;
}

.sp-card.voice .sp-person-head {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ff6b3d);
  margin: 0 auto 4px;
}

.sp-card.voice .sp-person-body {
  display: none;
}

.sp-card.voice .sp-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.sp-card.voice .sp-loc {
  font-size: 0.6rem;
  color: var(--text-m);
  text-align: center;
  margin-bottom: 8px;
}

.voice-note-player {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 15, 0, 0.08);
  border: 1px solid rgba(239, 15, 0, 0.15);
  border-radius: 20px;
  padding: 8px 14px;
  width: 100%;
}

.voice-play-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 24px;
}

.voice-wave span {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--primary);
  opacity: 0.6;
}

.voice-wave span:nth-child(1) {
  height: 8px;
}

.voice-wave span:nth-child(2) {
  height: 14px;
}

.voice-wave span:nth-child(3) {
  height: 20px;
}

.voice-wave span:nth-child(4) {
  height: 12px;
}

.voice-wave span:nth-child(5) {
  height: 18px;
}

.voice-wave span:nth-child(6) {
  height: 24px;
}

.voice-wave span:nth-child(7) {
  height: 16px;
}

.voice-wave span:nth-child(8) {
  height: 22px;
}

.voice-wave span:nth-child(9) {
  height: 10px;
}

.voice-wave span:nth-child(10) {
  height: 18px;
}

.voice-wave span:nth-child(11) {
  height: 14px;
}

.voice-wave span:nth-child(12) {
  height: 6px;
}

.voice-duration {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-s);
  min-width: 24px;
}

/* Showcase – 4 phones layout adjustment */
.showcase-phone:nth-child(4) {
  transform: rotateY(-8deg) translateZ(-20px) scale(0.95);
}

@media (max-width: 768px) {

  .showcase-phone:nth-child(1),
  .showcase-phone:nth-child(3),
  .showcase-phone:nth-child(4) {
    display: none;
  }
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at top right, rgba(239, 15, 0, 0.08), transparent 30%),
    radial-gradient(circle at left bottom, rgba(255, 107, 61, 0.08), transparent 24%),
    var(--bg);
}

[data-theme="light"] .hero-bg .g {
  opacity: 0.14;
}

[data-theme="light"] .phone-screen,
[data-theme="light"] .wp-screen.wps1,
[data-theme="light"] .wp-screen.wps2,
[data-theme="light"] .sp-screen.sc-discover,
[data-theme="light"] .sp-screen.sc-chat,
[data-theme="light"] .sp-screen.sc-profile,
[data-theme="light"] .sp-screen.sc-trivia,
[data-theme="light"] .sp-screen.sc-voice {
  background: linear-gradient(180deg, #FFFFFF, #F7F1EB);
}

[data-theme="light"] .feature-card,
[data-theme="light"] .trust-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .legal-content .contact-card,
[data-theme="light"] .help-checks,
[data-theme="light"] .help-path,
[data-theme="light"] .float-card {
  box-shadow: 0 18px 42px rgba(84, 48, 16, 0.08);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .trust-card:hover,
[data-theme="light"] .help-path:hover,
[data-theme="light"] .legal-content .contact-card:hover {
  box-shadow: 0 24px 56px rgba(84, 48, 16, 0.12);
}

[data-theme="light"] .cta-card {
  background: linear-gradient(135deg, #FFF3EC, #FFF9F4);
  box-shadow: 0 30px 70px rgba(84, 48, 16, 0.10);
}

[data-theme="light"] .store-btn {
  box-shadow: 0 12px 28px rgba(84, 48, 16, 0.08);
}

[data-theme="light"] .store-btn:hover,
[data-theme="light"] .theme-toggle:hover {
  box-shadow: 0 14px 30px rgba(84, 48, 16, 0.10);
}
