/*
Theme Name: TTRPay Landing
Theme URI: https://pay.ttr.dev
Author: hoangash@ttr.group
Author URI: https://ttr.group
Description: Custom lightweight landing theme for TTRPay based on Figma design.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: ttrpay-landing
*/

:root {
  --blue-25: #f5faff;
  --blue-50: #eff8ff;
  --blue-100: #d1e9ff;
  --blue-500: #2e90fa;
  --blue-600: #1570ef;
  --blue-700: #175cd3;
  --blue-900: #194185;
  --gray-100: #f5f5f5;
  --gray-200: #e9eaeb;
  --gray-300: #d5d7da;
  --gray-600: #535862;
  --gray-700: #414651;
  --gray-900: #181d27;
  --white: #ffffff;
  --shadow-lg: 0px 12px 16px -4px rgba(10, 13, 18, 0.08), 0px 4px 6px -2px rgba(10, 13, 18, 0.03), 0px 2px 2px -1px rgba(10, 13, 18, 0.04);
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Stagger delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Subtle pulse animation for hero gradient.
   Centering is handled by left-1/2 + translate(-50%) here (single source:
   Tailwind v4 uses the `translate` property, which would stack with the
   keyframes `transform` and push the element off-screen). Opacity moves from
   0.3 to 0.5 to preserve the original 0.4 resting look. */
@keyframes hero-glow {
  0%, 100% { transform: translate(-50%, 0) scale(0.9); opacity: 0.3; }
  50% { transform: translate(-50%, 0) scale(1.05); opacity: 0.5; }
}

.animate-hero-glow {
  transform: translate(-50%, 0) scale(0.975);
  opacity: 0.4;
  animation: hero-glow 8s ease-in-out infinite;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .animate-hero-glow {
    animation: none !important;
  }
}
