/* =====================================================
   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; }
}

/* =====================================================
   POLICY / LEGAL PAGE CONTENT
   ===================================================== */
.policy-content { color: #3d3d3d; line-height: 1.8; font-size: 15px; }
.policy-content h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: #1a1a1a; margin: 2.5rem 0 1rem; }
.policy-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin: 2rem 0 0.75rem; }
.policy-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin: 1.5rem 0 0.5rem; }
.policy-content h4 { font-size: 0.9375rem; font-weight: 700; color: #1a1a1a; margin: 1.25rem 0 0.5rem; }
.policy-content p  { margin: 0 0 1rem; }
.policy-content hr { border: none; border-top: 1px solid #e2e8f0; margin: 2rem 0; }
.policy-content ul,
.policy-content ol { padding-left: 1.5rem; margin: 0 0 1rem; }
.policy-content li { margin-bottom: 0.375rem; }
.policy-content strong { font-weight: 700; color: #1a1a1a; }
.policy-content em     { font-style: italic; }
.policy-content code   { font-family: 'Courier New', monospace; font-size: 0.875em; background: #f0f4f8; padding: 0.125em 0.375em; border-radius: 4px; }
.policy-content a { color: #1b6d24; text-decoration: underline; }
.policy-content a:hover { color: #155a1d; }
.policy-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.875rem; }
.policy-table th,
.policy-table td { text-align: left; padding: 0.625rem 0.875rem; border: 1px solid #e2e8f0; }
.policy-table th { background: #f7fafc; font-weight: 700; color: #1a1a1a; }
.policy-table tr:nth-child(even) td { background: #fbfcfd; }

/* =====================================================
   404 PAGE
   ===================================================== */
.not-found {
  min-height: calc(100vh - 64px);
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  text-align: center;
}
.nf-target-wrap {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.75rem;
  flex-shrink: 0;
}
.nf-target-svg { animation: nf-breathe 3.2s ease-in-out infinite; }
@keyframes nf-breathe {
  0%, 100% { transform: scale(1);   opacity: 1;    }
  50%       { transform: scale(1.04); opacity: 0.85; }
}
.nf-arrow-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -50%) rotate(-34deg);
  pointer-events: none;
}
.nf-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8850A;
  margin-bottom: 0.375rem;
}
.nf-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #f0f0f0;
  margin-bottom: 0.125rem;
}
.nf-number span { color: #E8850A; }
.nf-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f0f0f0;
  margin-bottom: 0.875rem;
}
.nf-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #6b6b6b;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 2.5rem;
}
.nf-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.nf-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border: 1px solid #2a2a2a;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #909090;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.nf-nav a:hover {
  border-color: #4a4a4a;
  color: #f0f0f0;
  background-color: rgba(255,255,255,0.04);
}
.nf-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #E8850A;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.2s, transform 0.15s;
}
.nf-cta:hover { background: #C96E00; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .nf-target-svg { animation: none; } }

/* =====================================================
   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;
  }
}
