  * {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: #060B18;
    color: #E8EAF0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 4px;
  }

  ::-webkit-scrollbar-track {
    background: #0A1128;
  }

  ::-webkit-scrollbar-thumb {
    background: #F5B800;
    border-radius: 4px;
  }

  /* Hero Titles or Headers (Extra-bold or Black) */
  h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
  }

  /* Oswald only applies when you add this class */
  .oswald {
    font-family: 'Oswald', sans-serif;
  }

  /* Glass card */
  .glass {
    background: rgba(14, 26, 58, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 184, 0, 0.1);
  }

  .glass-light {
    background: rgba(21, 35, 71, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* Gradient text */
  .gradient-text {
    background: linear-gradient(135deg, #FFD97A 0%, #F5B800 40%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .gradient-text-green {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .shimmer-text-dark {
    background: linear-gradient(-60deg, #111827 35%, #9CA3AF 50%, #111827 65%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shimmerDark 2.5s infinite linear;
  }

  @keyframes shimmerDark {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: 0% 0;
    }
  }

  .shimmer-text-white {
    background: linear-gradient(-60deg, #E8EAF0 35%, #FFFFFF 50%, #E8EAF0 65%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shimmerWhite 2.5s infinite linear;
  }

  @keyframes shimmerWhite {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: 0% 0;
    }
  }

  .shimmer-text-gold {
    background: linear-gradient(-60deg, #F5B800 35%, #FFFFFF 50%, #F5B800 65%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: shimmerGold 2.5s infinite linear;
  }

  @keyframes shimmerGold {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: 0% 0;
    }
  }

  /* Gradient borders */
  .gold-border {
    border: 1px solid rgba(245, 184, 0, 0.35);
  }

  .gold-border-glow {
    border: 1px solid rgba(245, 184, 0, 0.5);
    box-shadow: 0 0 20px rgba(245, 184, 0, 0.1);
  }

  /* Gradient backgrounds */
  .hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245, 184, 0, 0.15) 0%, transparent 70%), radial-gradient(ellipse 60% 40% at 90% 50%, rgba(52, 211, 153, 0.08) 0%, transparent 60%), #060B18;
  }

  .section-gradient {
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(245, 184, 0, 0.06) 0%, transparent 70%), #060B18;
  }

  .cta-gradient {
    background: linear-gradient(135deg, #0E1A3A 0%, #152347 50%, #0A1128 100%);
  }

  /* Button */
  .btn-primary {
    background: linear-gradient(135deg, #F5B800 0%, #D9A200 100%);
    color: #060B18;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #FFD97A 0%, #F5B800 100%);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .btn-primary:hover::before {
    opacity: 1;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 184, 0, 0.4);
  }

  .btn-primary>* {
    position: relative;
    z-index: 1;
  }

  .btn-outline {
    border: 1.5px solid rgba(245, 184, 0, 0.5);
    color: #F5B800;
    font-family: 'Sora', sans-serif;
    transition: all 0.3s ease;
  }

  .btn-outline:hover {
    background: rgba(245, 184, 0, 0.1);
    border-color: #F5B800;
    transform: translateY(-2px);
  }

  /* Card hover */
  .feature-card {
    transition: all 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(245, 184, 0, 0.25);
  }

  /* Nav */
  .nav-scrolled {
    background: rgba(6, 11, 24, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 32px rgba(0, 0, 0, 0.5);
  }

  /* Stats shimmer */
  .shimmer-line {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 2.5s linear infinite;
  }

  /* Reviews */
  .reviews-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .review-card {
    flex: 0 0 300px;
  }

  /* Line clamp for review text — max 3 lines */
  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 3;
  }

  @media (min-width: 768px) {
    .review-card {
      flex: 0 0 360px;
    }
  }

  /* Floating elements */
  .orb {
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    position: absolute;
  }

  /* Mobile menu */
  .mobile-menu {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Progress ring */
  .ring-progress {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
  }

  /* Intersection Observer animation */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger children */
  .stagger>*:nth-child(1) {
    transition-delay: 0.05s;
  }

  .stagger>*:nth-child(2) {
    transition-delay: 0.15s;
  }

  .stagger>*:nth-child(3) {
    transition-delay: 0.25s;
  }

  .stagger>*:nth-child(4) {
    transition-delay: 0.35s;
  }

  .stagger>*:nth-child(5) {
    transition-delay: 0.45s;
  }

  .stagger>*:nth-child(6) {
    transition-delay: 0.55s;
  }

  /* Icon glow */
  .icon-glow {
    filter: drop-shadow(0 0 8px rgba(245, 184, 0, 0.5));
  }

  .icon-glow-green {
    filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
  }

  /* Gradient divider */
  .divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 184, 0, 0.3), transparent);
  }

  /* Notification popup */
  #notification-popup {
    position: fixed;
    bottom: 24px;
    left: 16px;
    z-index: 100;
    max-width: calc(100vw - 100px);
  }

  @media (min-width: 640px) {
    #notification-popup {
      bottom: 32px;
      left: 24px;
      max-width: 320px;
    }
  }

  /* Telegram FAB */
  #telegram-fab {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 99;
  }

  @media (min-width: 640px) {
    #telegram-fab {
      bottom: 32px;
      right: 28px;
    }
  }

  /* Hero phone mockup */
  .phone-screen {
    background: linear-gradient(180deg, #0E1A3A 0%, #060B18 100%);
  }

  /* Number counter */
  .counter {
    font-variant-numeric: tabular-nums;
  }

  /* ──────────────────────────────────────────────
     Attention CTA — bounce 3x, pause 3s, repeat
     Total cycle ≈ 4.2s (3 bounces ~1.2s + 3s hold)
  ────────────────────────────────────────────── */
  @keyframes ctaBounce {
    0% {
      transform: translateY(0);
    }

    7% {
      transform: translateY(-14px);
    }

    14% {
      transform: translateY(0);
    }

    21% {
      transform: translateY(-14px);
    }

    28% {
      transform: translateY(0);
    }

    35% {
      transform: translateY(-14px);
    }

    42% {
      transform: translateY(0);
    }

    /* hold still until the loop restarts */
    100% {
      transform: translateY(0);
    }
  }

  .cta-bounce {
    animation: ctaBounce 4.2s ease-in-out infinite;
    will-change: transform;
  }

  /* keep the lift-on-hover feel without fighting the bounce */
  .cta-bounce:hover {
    animation-play-state: paused;
  }

  @media (prefers-reduced-motion: reduce) {
    .cta-bounce {
      animation: none;
    }
  }

  /* ──────────────────────────────────────────────
     Mobile app tiles — gentle float + glow pop
  ────────────────────────────────────────────── */
  @keyframes appFloat {

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

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

  .app-tile {
    animation: appFloat 4s ease-in-out infinite;
    will-change: transform;
  }

  .app-tile .app-chip {
    transition: all 0.3s ease;
  }

  .app-tile:hover .app-chip {
    border-color: rgba(245, 184, 0, 0.6);
    box-shadow: 0 0 24px rgba(245, 184, 0, 0.25);
    transform: scale(1.06);
  }

  @media (prefers-reduced-motion: reduce) {
    .app-tile {
      animation: none;
    }
  }

  /* ──────────────────────────────────────────────
     MOBILE PERFORMANCE
     The hero phone mockup stacks several GPU-heavy
     effects (moving image + animated box-shadow glow
     + backdrop-blur glass) that cause jank/lag on
     phones. On small / touch screens we calm them
     down. Desktop look is unchanged.
  ────────────────────────────────────────────── */
  @media (max-width: 1023px) {

    /* Stop continuously repainting the heavy photo */
    .animate-float {
      animation: none !important;
    }

    /* box-shadow animation is expensive — drop it on mobile */
    .animate-pulse-glow {
      animation: none !important;
    }

    /* Huge blur radii are the main cost; shrink them */
    .orb {
      filter: blur(50px);
    }

    .blur-3xl {
      filter: blur(28px) !important;
    }

    /* Hint the compositor so the phone stays on its own layer */
    .phone-screen {
      transform: translateZ(0);
      backface-visibility: hidden;
    }

    .phone-screen img {
      transform: translateZ(0);
    }
  }

  /* Touch devices (covers tablets too): kill backdrop-blur
     on the floating glass badges over the phone image —
     backdrop-filter over a moving layer is the worst offender. */
  @media (hover: none) {
    .glass {
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      background: rgba(14, 26, 58, 0.85);
    }
  }

  /* ──────────────────────────────────────────────
     LIVE HEARTS — Facebook/TikTok-style likes that
     keep floating up from the bottom and fade out.
  ────────────────────────────────────────────── */
  #live-hearts {
    pointer-events: none;
  }

  .live-heart {
    position: absolute;
    bottom: 0;
    will-change: transform, opacity;
    animation: heartRise var(--dur, 4s) ease-in forwards;
  }

  .live-heart svg {
    display: block;
    animation: heartSway var(--sway, 1.6s) ease-in-out infinite;
  }

  @keyframes heartRise {
    0% {
      transform: translateY(0) scale(0.4);
      opacity: 0;
    }

    12% {
      transform: translateY(-8px) scale(1);
      opacity: 0.95;
    }

    70% {
      opacity: 0.9;
    }

    100% {
      transform: translateY(var(--rise, -230px)) scale(0.85);
      opacity: 0;
    }
  }

  @keyframes heartSway {

    0%,
    100% {
      transform: translateX(-5px);
    }

    50% {
      transform: translateX(7px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #live-hearts {
      display: none;
    }
  }

  @keyframes ctaPing {

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

    50% {
      transform: scale(1.08);
    }
  }

  .animate-cta-ping {
    animation: ctaPing 1.8s ease-in-out infinite;
  }