/* ═══════════════════════════════════════════════════════════════
   TRIBI WEB — INFORMATIONAL LANDING PAGE
   Design System:
     Primary Blue:   #0065FC
     Deep Navy:      #001540
     Purple Accent:  #6A00F4
     Darker Blue:    #0050CA
     Background:     #FAFAFA
     Font:           Outfit (body), Inter (logo)
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ──────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Outfit', sans-serif;
  color: #1A1A1A;
  background: #FAFAFA;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

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

/* ── BUTTON SYSTEM ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-white {
  background: #fff;
  color: #001540;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.2rem;
}

/* ── SECTION HEADERS ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #0065FC;
  background: rgba(0, 101, 252, 0.08);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #001540;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 21, 64, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo-img {
  height: 30px;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0065FC;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.nav-cta {
  background: linear-gradient(135deg, #0065FC, #6A00F4);
  color: #fff;
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 101, 252, 0.4);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001540 0%, #0065FC 50%, #6A00F4 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: #0065FC;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: #6A00F4;
  bottom: -150px;
  left: -100px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: #00D1FF;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes orbFloat {

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

  25% {
    transform: translate(30px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(20px, 30px) scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-tri {
  display: inline-block;
  animation: slideInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.5s backwards;
}

.hero-b {
  display: inline-block;
  animation: fadeInFloat 0.9s ease 1s backwards;
}

.hero-i {
  display: inline-block;
  animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.4s backwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes fadeInFloat {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }

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

@keyframes bounceIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 1.6s backwards;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1.8s backwards;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.8s ease 2.2s backwards;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}

.hero-stat-plus {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease 2.6s backwards;
}

.hero-scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(14px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   APP SHOWCASE
   ═══════════════════════════════════════════════════════════════ */
.app-showcase {
  padding: 60px 0 40px;
  background: #fff;
  overflow: hidden;
}

.showcase-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.showcase-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scrollbar-width: none;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
}

.showcase-item img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.showcase-item img:hover {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.how-it-works {
  padding: 120px 0;
  background: #fff;
}

/* Perspective Toggle */
.perspective-toggle {
  display: flex;
  position: relative;
  background: #f0f4f8;
  border-radius: 16px;
  padding: 4px;
  max-width: 500px;
  margin: 0 auto 60px;
}

.perspective-btn {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #666;
  cursor: pointer;
  border-radius: 12px;
  z-index: 1;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.perspective-btn.active {
  color: #001540;
}

.perspective-icon {
  font-size: 1.2rem;
}

.perspective-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.perspective-slider.right {
  transform: translateX(100%);
}

/* Flow panels */
.flow-panel {
  display: none;
}

.flow-panel.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Flow steps */
.flow-step {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 80px;
  position: relative;
}

.flow-step.reverse {
  flex-direction: row-reverse;
}

.flow-step-number {
  position: absolute;
  top: -10px;
  left: -20px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0065FC, #6A00F4);
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 101, 252, 0.3);
}

.flow-step.reverse .flow-step-number {
  left: auto;
  right: -20px;
}

.flow-step-content {
  flex: 1;
}

.flow-step-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #001540;
  margin-bottom: 12px;
}

.flow-step-content p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

.flow-step-visual {
  flex: 0 0 300px;
  max-width: 300px;
}

.flow-step-visual img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.flow-step-visual img:hover {
  transform: scale(1.03) rotate(1deg);
}

/* Completion card */
.flow-completion-card {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(67, 160, 71, 0.15);
}

.completion-check {
  width: 64px;
  height: 64px;
  background: #43A047;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.flow-completion-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2E7D32;
  margin-bottom: 8px;
}

.completion-stars {
  font-size: 1.5rem;
  color: #FFB300;
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.flow-completion-card p {
  color: #555;
  font-size: 0.95rem;
  font-style: italic;
}

/* Wallet card */
.flow-wallet-card {
  background: linear-gradient(135deg, #43A047, #66BB6A);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(67, 160, 71, 0.25);
}

.wallet-header {
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 12px;
}

.wallet-balance {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.wallet-label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 20px;
}

.wallet-action {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════
   USE CASE — TIMELINE
   ═══════════════════════════════════════════════════════════════ */
.use-case {
  padding: 120px 0;
  background: linear-gradient(180deg, #FAFAFA 0%, #f0f4f8 100%);
}

.story-timeline {
  display: flex;
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.story-side {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}

.story-avatar-wrap {
  text-align: center;
  position: sticky;
  top: 120px;
}

.story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 8px;
}

.story-avatar-client {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  border: 3px solid #0065FC;
}

.story-avatar-worker {
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  border: 3px solid #43A047;
}

.story-role {
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
}

.story-role-tag {
  display: block;
  font-size: 0.7rem;
  color: #0065FC;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.story-role-tag.worker-tag {
  color: #43A047;
}

.story-center {
  flex: 1;
  position: relative;
  padding: 0 20px;
}

.story-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #0065FC, #6A00F4, #43A047);
  border-radius: 3px;
  transform: translateX(-50%);
}

.story-event {
  position: relative;
  margin-bottom: 40px;
}

.story-dot {
  width: 16px;
  height: 16px;
  background: #0065FC;
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(0, 101, 252, 0.2);
}

.story-dot-final {
  background: linear-gradient(135deg, #FFB300, #FF6F00);
  width: 24px;
  height: 24px;
  box-shadow: 0 0 0 6px rgba(255, 179, 0, 0.2);
}

.story-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 420px;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.story-card-left {
  margin-right: auto;
  margin-left: 0;
}

.story-card-right {
  margin-left: auto;
  margin-right: 0;
}

.story-card-center {
  margin: 0 auto;
  background: linear-gradient(135deg, #FFF8E1, #FFF3E0);
  border: 1px solid rgba(255, 179, 0, 0.2);
}

.story-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0065FC;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.story-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001540;
  margin-bottom: 8px;
  line-height: 1.4;
}

.story-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.story-result {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-result-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

.result-emoji {
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════════════ */
.features {
  padding: 120px 0;
  background: #fff;
}

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

.feature-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0065FC, #6A00F4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #001540;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   TIERS
   ═══════════════════════════════════════════════════════════════ */
.tiers {
  padding: 120px 0;
  background: linear-gradient(180deg, #001540 0%, #0B2459 100%);
  color: #fff;
}

.tiers .section-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.tiers .section-title {
  color: #fff;
}

.tiers .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.tiers-track {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tier-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

.tier-card {
  flex: 0 0 220px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}

.tier-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.tier-card[data-tier="diamond"] {
  border-color: rgba(0, 209, 255, 0.3);
  background: rgba(0, 209, 255, 0.08);
}

.tier-medal {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.tier-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tier-commission {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0065FC, #00D1FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.tier-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 16px;
}

.tier-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.tier-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0065FC, #00D1FF);
  border-radius: 4px;
  transition: width 1s ease;
}

.tier-cta-text {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-cta-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.tier-cta-text strong {
  color: #FFB300;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES (Infinite Scroll)
   ═══════════════════════════════════════════════════════════════ */
.categories {
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

.category-scroll {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.category-track {
  display: flex;
  gap: 16px;
  animation: scrollCategories 30s linear infinite;
  width: max-content;
}

.category-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #f0f4f8;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.category-pill:hover {
  background: #fff;
  border-color: #0065FC;
  color: #0065FC;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 101, 252, 0.15);
}

.category-pill span {
  font-size: 1.3rem;
}

@keyframes scrollCategories {
  0% {
    transform: translateX(0);
  }

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

/* ═══════════════════════════════════════════════════════════════
   TRUST
   ═══════════════════════════════════════════════════════════════ */
.trust {
  padding: 120px 0;
  background: #FAFAFA;
}

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

.trust-item {
  text-align: center;
  padding: 36px 24px;
}

.trust-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(0, 101, 252, 0.1), rgba(106, 0, 244, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #0065FC;
  transition: all 0.3s ease;
}

.trust-item:hover .trust-icon-wrap {
  background: linear-gradient(135deg, #0065FC, #6A00F4);
  color: #fff;
  transform: scale(1.1);
}

.trust-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #001540;
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

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

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001540, #0065FC, #6A00F4);
  z-index: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: #6A00F4;
  top: -100px;
  right: -50px;
  animation: orbFloat 10s ease-in-out infinite;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: #00D1FF;
  bottom: -80px;
  left: -50px;
  animation: orbFloat 10s ease-in-out infinite 5s;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-content>p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 14px;
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.store-badge small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.store-badge strong {
  font-size: 1rem;
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px auto;
  max-width: 300px;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.cta-divider span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.cta-email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-email-form input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  outline: none;
}

.cta-email-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cta-email-form button {
  padding: 14px 28px;
  background: #fff;
  color: #001540;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-email-form button:hover {
  background: #f0f0f0;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: #0A0E1A;
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-made {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links h4 {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0065FC;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-socials a {
  font-size: 1.3rem;
  transition: transform 0.3s;
}

.footer-socials a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tiers-track {
    gap: 8px;
  }

  .tier-card {
    flex: 0 0 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  /* Navbar */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 21, 64, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    display: none;
  }

  .lang-switcher {
    margin-right: 8px;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(3.5rem, 15vw, 6rem);
    letter-spacing: -2px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  /* How it works */
  .flow-step,
  .flow-step.reverse {
    flex-direction: column;
    text-align: center;
  }

  .flow-step-number {
    position: static;
    margin: 0 auto 16px;
  }

  .flow-step-visual {
    flex: none;
    max-width: 260px;
    margin: 0 auto;
  }

  /* Use case */
  .story-side {
    display: none;
  }

  .story-timeline {
    padding: 0;
  }

  .story-center {
    padding: 0;
  }

  .story-line {
    left: 16px;
  }

  .story-dot {
    left: 16px;
  }

  .story-card {
    margin-left: 40px !important;
    margin-right: 0 !important;
    max-width: 100%;
  }

  .story-card-center {
    margin-left: 40px !important;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Tiers */
  .tiers-track {
    flex-direction: column;
    align-items: center;
  }

  .tier-arrow {
    transform: rotate(90deg);
  }

  .tier-card {
    flex: none;
    width: 100%;
    max-width: 300px;
  }

  /* Trust */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTA */
  .cta-email-form {
    flex-direction: column;
    border-radius: 14px;
  }

  .cta-email-form button {
    border-radius: 0 0 14px 14px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .perspective-toggle {
    flex-direction: column;
  }

  .perspective-slider {
    width: calc(100% - 8px);
    height: calc(50% - 4px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .perspective-slider.right {
    transform: translateY(100%);
  }

  .perspective-btn {
    font-size: 0.85rem;
    padding: 12px 16px;
  }
}