/* =====================================================
   TRUE AIM PRO — MAIN CSS
   Design System: Material Design 3 / BULLSEYE v3
   Fonts: Space Grotesk (headline) + Inter (body/label)
   ===================================================== */

/* =====================================================
   MATERIAL SYMBOLS UTILITY
   ===================================================== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fill-icon {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =====================================================
   BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #fcf9f8;
}
.font-headline { font-family: 'Space Grotesk', sans-serif; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: #E8850A;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* =====================================================
   PRELOADER
   ===================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #0e0e0e;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.preloader-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.04em;
  color: #f5f5f5;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.preloader-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.preloader-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: #f5f5f5;
  text-transform: uppercase;
}
.preloader-brand-icon {
  width: 36px;
  height: 36px;
  border: 2px solid #E8850A;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-bar-track {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
}
.preloader-bar-fill {
  height: 100%;
  background: #E8850A;
  width: 0%;
}

/* =====================================================
   NAV
   Solid light bar + dark text everywhere (no transparency over hero,
   no text-shadow). header#site-nav … wins over Tailwind CDN + body text color.
   ===================================================== */
header#site-nav {
  background: rgba(252, 249, 248, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

header#site-nav .nav-logo-text {
  color: #0a0a0a;
  transition: color 0.3s;
}

header#site-nav a.nav-link {
  color: #141414;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
header#site-nav a.nav-link:hover {
  color: #E8850A;
}

header#site-nav button#hamburger {
  color: #141414;
  transition: color 0.2s ease;
}
header#site-nav button#hamburger:hover {
  color: #0a0a0a;
}

/* =====================================================
   MOBILE MENU OVERLAY
   ===================================================== */
#mobile-menu {
  position: fixed;
  inset: 0;
  background: #0e0e0e;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: #f5f5f5;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}
.mobile-nav-link:hover { color: #E8850A; }

/* =====================================================
   HERO PHONE MOCKUP
   ===================================================== */
.phone-mockup {
  width: 280px;
  height: 540px;
  background: #1a1a1a;
  border-radius: 2.5rem;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 80px rgba(232,133,10,0.18), 0 0 140px rgba(232,133,10,0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-notch {
  width: 80px;
  height: 24px;
  background: #0e0e0e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-screen-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}
.phone-stat-card .stat-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
}
.phone-stat-card .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #f5f5f5;
  letter-spacing: -0.04em;
  margin-top: 2px;
}
.phone-stat-card.highlight .stat-value { color: #E8850A; }
.phone-bar-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}
.phone-bar-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}
.phone-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 4px;
}
.phone-bar-fill {
  height: 100%;
  background: #E8850A;
  border-radius: 9999px;
}
.phone-bar-fill.green { background: #a3f69c; }
.phone-bar-sub {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  font-family: 'Inter', sans-serif;
}
.phone-list-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}
.phone-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 9px;
  font-family: 'Inter', sans-serif;
}
.phone-list-item:last-child { border-bottom: none; }
.phone-list-label { color: rgba(255,255,255,0.55); }
.phone-list-val {
  font-weight: 600;
  color: #f5f5f5;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
}

/* =====================================================
   FEATURE CARD HOVER
   ===================================================== */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

/* =====================================================
   APP SHOWCASE PHONE FRAME
   ===================================================== */
.showcase-phone {
  width: 180px;
  min-width: 180px;
  height: 320px;
  background: #0e0e0e;
  border-radius: 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 32px rgba(232,133,10,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.showcase-phone .screen-icon {
  font-size: 2.5rem;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
  color: rgba(255,255,255,0.2);
}
.showcase-phone .screen-label {
  font-size: 9px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  text-align: center;
  padding: 0 16px;
}

/* =====================================================
   PLATFORM TOGGLE
   ===================================================== */
.platform-pill {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

/* =====================================================
   INNER PAGE HERO (non-homepage)
   ===================================================== */
.page-hero {
  background: #0e0e0e;
  padding: 6rem 1rem 4rem;
}
@media (min-width: 768px) {
  .page-hero { padding: 7rem 1rem 5rem; }
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* AOS fade animations default to opacity:0; on small viewports IO/scroll quirks can leave
   sections (e.g. features grid) permanently invisible. Show content without motion. */
@media (max-width: 767px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
