/* ============================================================
   Thread Hunter — Premium Landing Page
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-warm: #F7F8FA;
  --bg-mute: #ECEFF3;
  --ink: #0E0F11;
  --ink-2: #181A1F;
  --line-light: rgba(255, 255, 255, 0.12);

  --accent: #FF5A1F;
  --accent-hover: #E84D15;
  --accent-soft: #FFF1EC;
  --accent-border: rgba(255, 90, 31, 0.18);
  --accent-ink: #D94816;

  --text-1: #111214;
  --text-2: #3D4148;
  --text-3: #6D737C;
  --text-4: #A4ABB5;

  --border: rgba(0, 0, 0, 0.07);
  --border-hi: rgba(0, 0, 0, 0.12);

  /* Premium shadow system — ambient + cast */
  --shadow-xs: 0 1px 2px rgba(14, 15, 17, 0.05);
  --shadow-sm: 0 1px 2px rgba(14, 15, 17, 0.06), 0 8px 24px rgba(14, 15, 17, 0.04);
  --shadow-md: 0 2px 6px rgba(14, 15, 17, 0.06), 0 18px 42px -18px rgba(14, 15, 17, 0.22);
  --shadow-lg: 0 6px 16px rgba(14, 15, 17, 0.08), 0 28px 72px -28px rgba(14, 15, 17, 0.32);
  --shadow-xl: 0 12px 28px rgba(14, 15, 17, 0.10), 0 44px 110px -34px rgba(14, 15, 17, 0.40);
  --shadow-hover: 0 20px 60px -24px rgba(14, 15, 17, 0.34);

  --radius: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --smooth: cubic-bezier(.77, 0, .175, 1);
  --t: 0.35s var(--ease);
  --ts: 0.25s var(--ease);

  --font: 'Inter', -apple-system, system-ui, sans-serif;
}

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

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.92) 0%, #fff 24%, #fff 62%, rgba(247, 248, 250, 0.86) 100%);
}

img,
svg {
  display: block;
}

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

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

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

h1,
h2,
h3,
h4 {
  color: var(--text-1);
  letter-spacing: 0;
  line-height: 1.08;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform var(--ts), box-shadow var(--ts), background var(--ts);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(180deg, #ff6c31 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 26px -14px rgba(255, 90, 31, 0.9), var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ff7440 0%, var(--accent-hover) 100%);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 18px 40px -18px rgba(255, 90, 31, 0.95), var(--shadow-md);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-1);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn-secondary:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
  border-radius: 8px;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 17px;
  border-radius: 8px;
}

/* =========================================================
   NAV — collapses to floating pill on scroll
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: padding 0.4s var(--smooth), background 0.4s var(--smooth);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: max-width 0.5s var(--smooth), padding 0.5s var(--smooth),
    background 0.5s var(--smooth), border-radius 0.5s var(--smooth),
    box-shadow 0.5s var(--smooth), border-color 0.5s var(--smooth);
  border: 1px solid transparent;
  border-radius: 0;
}

/* Pill state */
.nav.scrolled {
  padding: 12px 0;
  background: transparent;
}

.nav.scrolled .nav-inner {
  max-width: 740px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  padding: 7px 8px 7px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text-1);
  letter-spacing: 0;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 90, 31, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s var(--spring);
}

.logo:hover .logo-mark {
  transform: rotate(-8deg) scale(1.05);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s;
}

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

.nav .btn-primary {
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(255, 90, 31, 0.25), var(--shadow-sm);
}

.nav .btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(255, 90, 31, 0.35), var(--shadow-md);
}

.nav .btn-sm {
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
}

.nav .logo-mark {
  border-radius: 10px;
}

.nav-inner {
  border-radius: 0;
}

.nav.scrolled .nav-inner {
  border-radius: 20px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 176px 0 124px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 248, 250, 0.92) 0%, rgba(255, 255, 255, 0.9) 48%, #fff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 15, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 15, 17, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.74) 42%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.74) 42%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 112px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 90, 31, 0.34) 42%, rgba(14, 15, 17, 0.16) 58%, transparent 100%);
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow {
  display: none;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(14, 15, 17, 0.10);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85)
  }
}

.hero-h1 {
  font-size: 84px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 8px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-4);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-dot {
  width: 3px;
  height: 3px;
  background: var(--text-4);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Browser Mockup ---- */
.hero-mockup {
  width: 100%;
  max-width: 940px;
  position: relative;
  perspective: 1800px;
}

.hero-mockup::after {
  content: '';
  position: absolute;
  bottom: -32px;
  left: 8%;
  right: 8%;
  height: 64px;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 15, 17, 0.14) 18%, rgba(255, 90, 31, 0.12) 50%, rgba(14, 15, 17, 0.14) 82%, transparent 100%);
  filter: blur(18px);
  pointer-events: none;
}

.browser {
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
  border: 1px solid rgba(14, 15, 17, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.6s var(--spring), box-shadow 0.6s var(--spring);
  transform: rotateX(1.5deg);
}

.browser:hover {
  transform: translateY(-8px) rotateX(0deg);
  box-shadow: 0 14px 30px rgba(14, 15, 17, 0.10), 0 56px 120px -34px rgba(14, 15, 17, 0.44);
}

.browser-bar {
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f6 100%);
  border-bottom: 1px solid var(--border);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.browser-dots {
  display: flex;
  gap: 7px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) {
  background: #FF5F57;
}

.browser-dots span:nth-child(2) {
  background: #FFBD2E;
}

.browser-dots span:nth-child(3) {
  background: #28C840;
}

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.url-lock {
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--text-4);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
}

.url-lock::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 5px;
  border: 1.5px solid var(--text-4);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  top: -5px;
  left: 0.5px;
}

.browser-body {
  position: relative;
  height: 420px;
  background: #F5F6F8;
  overflow: hidden;
  display: flex;
}

/* Faded X.com background */
.x-bg {
  flex: 1;
  display: flex;
  opacity: 0.5;
  filter: blur(1.5px);
  pointer-events: none;
}

.x-sidebar {
  width: 68px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.x-sidebar span {
  display: block;
  height: 20px;
  background: var(--bg-mute);
  border-radius: 6px;
}

.x-feed {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.x-post {
  background: var(--bg);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}

.x-row {
  height: 9px;
  background: var(--bg-mute);
  border-radius: 5px;
}

.x-row.short {
  width: 55%;
}

.x-row.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-mute);
  flex-shrink: 0;
}

.x-head {
  display: flex;
  gap: 8px;
  align-items: center;
}

.x-name {
  flex: 1;
  height: 9px;
  background: var(--bg-mute);
  border-radius: 5px;
}

/* Thread Hunter Panel */
.th-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 256px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 1px solid rgba(14, 15, 17, 0.12);
  box-shadow: -18px 0 46px rgba(14, 15, 17, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.th-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.th-logo-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: 0;
}

.th-logo-icon {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.th-count {
  padding: 3px 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
}

.th-meta {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.th-author {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.th-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.th-author-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1);
}

.th-author-handle {
  font-size: 10.5px;
  color: var(--text-3);
}

.th-pills {
  display: flex;
  gap: 5px;
}

.th-pill {
  font-size: 10px;
  color: var(--text-3);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 100px;
}

.th-tweets {
  flex: 1;
  overflow: hidden;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.th-tweet {
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(14, 15, 17, 0.08);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(5px);
  animation: tweet-in 0.45s var(--spring) forwards;
  box-shadow: var(--shadow-xs);
}

.th-tweet:nth-child(1) {
  animation-delay: 0.5s;
}

.th-tweet:nth-child(2) {
  animation-delay: 0.8s;
}

.th-tweet:nth-child(3) {
  animation-delay: 1.1s;
}

@keyframes tweet-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.th-num {
  font-size: 10px;
  font-weight: 900;
  color: var(--accent);
  min-width: 14px;
  flex-shrink: 0;
  padding-top: 1px;
}

.th-tweet p {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.th-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.th-exports {
  display: flex;
  gap: 4px;
}

.th-export-btn {
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-3);
  cursor: pointer;
}

.th-export-btn.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.th-socials {
  display: flex;
  gap: 4px;
}

.th-social {
  flex: 1;
  padding: 7px 4px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ts);
  font-style: normal;
}

.th-social.li {
  color: #0A66C2;
}

.th-social.fb {
  color: #1877F2;
}

.th-social.ig {
  color: #E1306C;
}

.th-fab {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
}

.th-fab-btn {
  background: linear-gradient(180deg, #ff6c31 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px -14px rgba(255, 90, 31, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

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

  50% {
    transform: translateY(-4px)
  }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 18px 0;
  overflow: hidden;
}

.marquee-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

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

@keyframes scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}

.m-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
}

.m-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.42;
  flex-shrink: 0;
}

/* =========================================================
   SECTION SHARED
   ========================================================= */
.section-tag {
  display: inline-flex;
  padding: 6px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}

.section-h2 {
  font-size: 52px;
  font-weight: 800;
  max-width: 580px;
  letter-spacing: 0;
}

.section-sub {
  font-size: 17px;
  color: var(--text-3);
  max-width: 480px;
  line-height: 1.6;
  text-align: center;
}

/* =========================================================
   SHARED CARD — premium base with restrained hover treatment
   ========================================================= */
.card-base {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 15, 17, 0.10);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--spring), border-color 0.35s;
  box-shadow: var(--shadow-sm);
}

.card-base::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 90, 31, 0.035) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 0;
}

.card-base:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hi);
}

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

/* =========================================================
   STATS — INTEGRATED METRIC STRIP
   ========================================================= */
.stats {
  padding: 96px 0 108px;
}

.stats-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14, 15, 17, 0.12);
  border-bottom: 1px solid rgba(14, 15, 17, 0.12);
}

.stats-bento .stat-card:nth-child(1),
.stats-bento .stat-card:nth-child(2),
.stats-bento .stat-card:nth-child(3),
.stats-bento .stat-card:nth-child(4) {
  grid-column: auto;
}

.stat-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.stats .card-base {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.stats .card-base::before {
  display: none;
}

.stats .card-base:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.stats .stat-card+.stat-card {
  border-left: 1px solid rgba(14, 15, 17, 0.10);
}

.stat-n {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--text-1);
  line-height: 1;
}

.stat-n.is-accent {
  color: var(--accent);
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0;
}

.stat-desc {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.5;
}

.stats-bento .stat-card:nth-child(4)::after {
  content: '';
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  border-radius: 0;
  z-index: 1;
}

/* =========================================================
   FEATURES — BENTO
   3 cols, 3 rows
   [1×2 tall]  [2×1 wide]
   [  cont  ]  [1×1] [1×1]
   [2×1 wide]  [1×1]
   ========================================================= */
.features {
  padding: 128px 0;
  background:
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, rgba(0, 0, 0, 0.82) 58%, transparent 100%);
  pointer-events: none;
}

.features .container {
  position: relative;
  z-index: 1;
}

.features .section-tag {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.features .section-h2 {
  color: #fff;
}

.features .section-sub {
  color: rgba(255, 255, 255, 0.62);
}

.feat-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
}

.feat-bento .feat-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.feat-bento .feat-card:nth-child(2) {
  grid-column: 2 / 4;
  grid-row: 1;
}

.feat-bento .feat-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.feat-bento .feat-card:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.feat-bento .feat-card:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 3;
}

.feat-bento .feat-card:nth-child(6) {
  grid-column: 3;
  grid-row: 3;
}

.feat-card {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.features .feat-card {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 28px 72px -42px rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.features .feat-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 34px 86px -42px rgba(0, 0, 0, 0.86);
}

.features .feat-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 90, 31, 0.08) 100%);
}

/* Tall card — spread + subtle target watermark */
.feat-bento .feat-card:nth-child(1) {
  justify-content: space-between;
}

.feat-bento .feat-card:nth-child(1)::after {
  content: '';
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(255, 90, 31, 0.05);
  box-shadow: inset 0 0 0 16px rgba(255, 90, 31, 0.025), inset 0 0 0 32px rgba(255, 90, 31, 0.015);
  pointer-events: none;
  z-index: 0;
}

.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.feat-icon.orange {
  background: var(--accent-soft);
}

.feat-icon.blue {
  background: var(--bg-mute);
}

.feat-icon.green {
  background: var(--bg-mute);
}

.feat-icon.purple {
  background: var(--bg-mute);
}

.feat-icon.rose {
  background: var(--bg-mute);
}

.feat-icon.slate {
  background: var(--bg-mute);
}

.features .feat-icon.orange {
  background: rgba(255, 90, 31, 0.14);
}

.features .feat-icon.blue {
  background: rgba(255, 255, 255, 0.08);
}

.features .feat-icon.green {
  background: rgba(255, 255, 255, 0.08);
}

.features .feat-icon.purple {
  background: rgba(255, 90, 31, 0.14);
}

.features .feat-icon.rose {
  background: rgba(255, 255, 255, 0.08);
}

.features .feat-icon.slate {
  background: rgba(255, 255, 255, 0.08);
}

.feat-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.feat-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}

.features .feat-card h3 {
  color: #fff;
}

.features .feat-card p {
  color: rgba(255, 255, 255, 0.64);
}

.feat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  position: relative;
  z-index: 1;
}

.chip {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-3);
}

/* Chips inside warm bg sections use white bg */
.features .chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   HOW IT WORKS — BENTO
   3 cols, 2 rows: [1×1] [2×1 wide] / [3×1 full]
   ========================================================= */
.how {
  padding: 128px 0;
  background: #fff;
  position: relative;
}

.how::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 15, 17, 0.12) 18%, rgba(255, 90, 31, 0.22) 50%, rgba(14, 15, 17, 0.12) 82%, transparent 100%);
}

.steps-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.steps-bento .step-card:nth-child(1) {
  grid-column: 1;
}

.steps-bento .step-card:nth-child(2) {
  grid-column: 2 / 4;
}

.steps-bento .step-card:nth-child(3) {
  grid-column: 1 / 4;
}

.step-card {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.step-n {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--bg-mute);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s;
}

.card-base:hover .step-n {
  color: var(--accent-soft);
}

.step-body {
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.step-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-3);
}

/* Full-width step: horizontal layout */
.steps-bento .step-card:nth-child(3) {
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.steps-bento .step-card:nth-child(3) .step-body {
  flex: 1;
}

.steps-bento .step-card:nth-child(3) .step-vis {
  flex-shrink: 0;
  width: 300px;
  height: 92px;
}

.step-vis {
  height: 92px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.step-vis-install::before {
  content: '+ Add to Chrome';
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 10px 22px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
}

.hunt-icon {
  animation: hunt-pop 2.5s ease-in-out infinite;
}

@keyframes hunt-pop {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.12)
  }
}

.step-vis-repurpose {
  gap: 8px;
  padding: 0 24px;
}

.sp {
  flex: 1;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  transition: border-color 0.2s, transform 0.2s;
}

.sp:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.sp-li {
  color: #0A66C2;
}

.sp-fb {
  color: #1877F2;
}

.sp-ig {
  color: #E1306C;
}

.sp-x {
  color: var(--text-1);
}

/* =========================================================
   PLATFORMS — BENTO
   3 cols — zigzag: [2×1] [1×1] / [1×1] [2×1]
   ========================================================= */
.platforms {
  padding: 128px 0;
  background:
    linear-gradient(180deg, var(--bg-warm) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.platforms::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1040px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 90, 31, 0.28) 42%, rgba(14, 15, 17, 0.12) 58%, transparent 100%);
}

.platforms .container {
  position: relative;
  z-index: 1;
}

.plat-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.plat-bento .plat-card:nth-child(1) {
  grid-column: 1 / 3;
}

.plat-bento .plat-card:nth-child(2) {
  grid-column: 3;
}

.plat-bento .plat-card:nth-child(3) {
  grid-column: 1;
}

.plat-bento .plat-card:nth-child(4) {
  grid-column: 2 / 4;
}

.plat-card {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.plat-logo {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 900;
  font-style: normal;
  position: relative;
  z-index: 1;
}

.plat-logo.li {
  background: #EEF4FF;
  color: #0A66C2;
}

.plat-logo.fb {
  background: #EEF4FF;
  color: #1877F2;
}

.plat-logo.ig {
  background: #FFF0F3;
  color: #E1306C;
  font-size: 16px;
}

.plat-logo.xx {
  background: var(--bg-mute);
  color: var(--text-1);
}

.plat-card h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.plat-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}

.plat-detail {
  font-size: 12.5px;
  color: var(--text-4);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* =========================================================
   CTA — dark panel with grid texture
   ========================================================= */
.cta {
  padding: 64px 0 140px;
  background: #fff;
}

.cta-box {
  background:
    linear-gradient(180deg, #15171c 0%, #0e0f11 100%);
  border-radius: var(--radius-xl);
  padding: 112px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 42%, rgba(255, 255, 255, 0.22) 58%, transparent 100%);
  pointer-events: none;
}

.cta-box .section-tag {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.cta-h2 {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0;
  color: #fff;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 440px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary {
  box-shadow: 0 4px 20px rgba(255, 90, 31, 0.5);
  position: relative;
  z-index: 1;
}

.cta-box .btn-primary:hover {
  box-shadow: 0 8px 36px rgba(255, 90, 31, 0.6);
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.cta-trust .trust-dot {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand .logo {
  font-size: 15px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-4);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s;
}

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

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

.footer-copy {
  font-size: 12.5px;
  color: var(--text-4);
}

.footer-built-by a {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-built-by a:hover {
  color: var(--accent);
}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.r {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
}

.r.on {
  opacity: 1;
  transform: none;
}

.r-line {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--spring), transform 0.6s var(--spring);
}

.r-line.on {
  opacity: 1;
  transform: none;
}

.r-line:nth-child(1) {
  transition-delay: 0.06s;
}

.r-line:nth-child(2) {
  transition-delay: 0.14s;
}

.r-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--spring), transform 0.65s var(--spring);
}

.r-up.on {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav.scrolled .nav-inner {
    max-width: 92%;
    border-radius: 20px;
  }

  .stats-bento {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bento .stat-card {
    grid-column: auto !important;
  }

  .stats .stat-card+.stat-card {
    border-left: 0;
  }

  .stats .stat-card:nth-child(even) {
    border-left: 1px solid rgba(14, 15, 17, 0.10);
  }

  .stats .stat-card:nth-child(n + 3) {
    border-top: 1px solid rgba(14, 15, 17, 0.10);
  }

  .feat-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .feat-bento .feat-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .feat-bento .feat-card:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .feat-bento .feat-card:nth-child(3),
  .feat-bento .feat-card:nth-child(4),
  .feat-bento .feat-card:nth-child(5),
  .feat-bento .feat-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .steps-bento .step-card:nth-child(1) {
    grid-column: 1;
  }

  .steps-bento .step-card:nth-child(2) {
    grid-column: 2;
  }

  .steps-bento .step-card:nth-child(3) {
    grid-column: 1 / 3;
  }

  .plat-bento {
    grid-template-columns: 1fr 1fr;
  }

  .plat-bento .plat-card {
    grid-column: auto !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav.scrolled .nav-inner {
    max-width: 100%;
    border-radius: 0;
    margin-top: 0;
    padding: 8px 20px;
  }

  .hero {
    padding: 128px 0 72px;
  }

  .hero-h1 {
    font-size: 56px;
  }

  .section-h2 {
    font-size: 40px;
  }

  .cta-h2 {
    font-size: 44px;
  }

  .browser-body {
    height: 320px;
  }

  .features,
  .how,
  .platforms {
    padding: 96px 0;
  }

  .stats-bento,
  .feat-bento,
  .steps-bento,
  .plat-bento {
    grid-template-columns: 1fr;
  }

  .stats-bento .stat-card,
  .feat-bento .feat-card,
  .steps-bento .step-card,
  .plat-bento .plat-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .steps-bento .step-card:nth-child(3) {
    flex-direction: column;
  }

  .steps-bento .step-card:nth-child(3) .step-vis {
    width: 100%;
  }

  .stats .stat-card:nth-child(even) {
    border-left: 0;
  }

  .stats .stat-card+.stat-card {
    border-left: 0;
    border-top: 1px solid rgba(14, 15, 17, 0.10);
  }

  .cta-box {
    padding: 72px 24px;
    border-radius: var(--radius-lg);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 480px) {
  .hero-h1 {
    font-size: 44px;
  }

  .section-h2 {
    font-size: 34px;
  }

  .cta-h2 {
    font-size: 38px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
