/*
Theme Name: Mixlexa Premium
Theme URI: https://mixlexa.org
Author: Mixlexa Organization
Author URI: https://mixlexa.org
Description: Ultra-Premium Mobile-First WordPress Theme for Mixlexa Organization.
Version: 9.0.0
License: GNU General Public License v2 or later
Text Domain: mixlexa
*/

/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --bg-base:      #05050A;
  --bg-elevated:  #0C0C14;
  --card-bg:      #0F0F18;
  --card-bg-2:    #14141E;
  --card-border:  #1C1C28;
  --gold:         #FFC000;
  --gold-dim:     rgba(255, 192, 0, 0.55);
  --gold-glow:    rgba(255, 192, 0, 0.14);
  --gold-glow-2:  rgba(255, 192, 0, 0.32);
  --green:        #22C55E;
  --green-wa:     #25D366;
  --text-primary: #FFFFFF;
  --text-secondary:#C4C4D8;
  --text-muted:   #888898;
  --text-dim:     #4A4A60;
  --radius-xs:    8px;
  --radius-sm:    12px;
  --radius-md:    18px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --shadow-card:  0 8px 40px rgba(0,0,0,0.55);
  --shadow-gold:  0 8px 32px rgba(255,192,0,0.22);
  --t:            all 0.25s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --nav-h:        66px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--card-bg);
}
html::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-track { background: var(--card-bg); }
html::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: #000; }

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, #FF8C00 100%);
  z-index: 10000;
  box-shadow: 0 0 12px rgba(255,192,0,0.6);
  transition: width 0.1s linear;
}

/* ================================================
   SITE HEADER / NAVBAR
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(5,5,10,0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: rgba(5,5,10,0.97);
  border-bottom-color: rgba(255,192,0,0.08);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  color: var(--text-primary);
  transition: var(--t);
}
.site-logo:hover { opacity: 0.85; }
.site-logo img {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,192,0,0.38);
  object-fit: cover;
}
.site-logo .dot { color: var(--gold); }

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-desktop a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  transition: var(--t);
}
.nav-desktop a:hover, .nav-desktop a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* Header CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.03);
  transition: var(--t);
}
.hamburger:hover { border-color: rgba(255,192,0,0.3); background: rgba(255,192,0,0.05); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Overlay */
#navOverlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
#navOverlay.open { opacity: 1; pointer-events: all; }

/* Mobile Drawer */
#navDrawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(82vw, 310px);
  height: 100dvh;
  background: #0A0A12;
  border-left: 1px solid rgba(255,192,0,0.1);
  z-index: 998;
  transition: right 0.36s cubic-bezier(0.4,0,0.2,1);
  padding: 20px 0 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
#navDrawer.open { right: 0; }

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 20px;
  border-bottom: 1px solid var(--card-border);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
}
.drawer-brand img { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,192,0,0.35); }
.drawer-brand .dot { color: var(--gold); }

.drawer-links {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: var(--t);
}
.drawer-link:hover, .drawer-link.active {
  background: rgba(255,192,0,0.07);
  color: var(--gold);
}
.drawer-link .link-icon { font-size: 18px; width: 24px; text-align: center; }

.drawer-footer {
  padding: 20px 16px 0;
  border-top: 1px solid var(--card-border);
  margin-top: 8px;
}
.drawer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-wa);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: 50px;
  transition: var(--t);
  width: 100%;
}
.drawer-wa:hover { background: #1fbc5a; transform: translateY(-2px); }

/* ================================================
   FLOATING WHATSAPP BUTTON
   ================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 56px; height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4);
  transition: var(--t);
  animation: wa-ring 3s ease-in-out infinite;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,0.6);
  animation: none;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; flex-shrink: 0; }

@keyframes wa-ring {
  0%,100% { box-shadow: 0 6px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.35); }
  50%  { box-shadow: 0 6px 28px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); }
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.display-xl { font-size: clamp(38px,7vw,70px); letter-spacing:-2px; line-height:1.04; }
.display-lg { font-size: clamp(30px,5vw,52px); letter-spacing:-1.5px; }
.display-md { font-size: clamp(24px,3.5vw,40px); letter-spacing:-1px; }
.display-sm { font-size: clamp(20px,2.5vw,28px); letter-spacing:-0.5px; }

.gold-text   { color: var(--gold); }
.muted-text  { color: var(--text-muted); }
.sec-text    { color: var(--text-secondary); }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--gold) 55%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #000;
  font-weight: 800; font-size: 14px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: var(--t);
  box-shadow: 0 4px 20px var(--gold-glow);
  white-space: nowrap; text-decoration: none;
}
.btn-gold:hover { background: #FFD333; transform:translateY(-2px); box-shadow:0 8px 32px var(--gold-glow-2); }
.btn-gold:active { transform:translateY(0); }
.btn-gold.lg { padding:15px 32px; font-size:15px; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.11);
  transition: var(--t); white-space: nowrap; text-decoration: none;
}
.btn-ghost:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.28); transform:translateY(-2px); }

.btn-green {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green-wa); color: #fff;
  font-weight: 800; font-size: 14px;
  padding: 13px 22px; border-radius: 50px;
  transition: var(--t); white-space: nowrap; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-green:hover { background:#1fbc5a; transform:translateY(-2px); box-shadow:0 8px 28px rgba(37,211,102,0.45); }

.btn-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

/* ================================================
   BADGES / TAGS
   ================================================ */
.badge-gold {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,192,0,0.09); border: 1px solid rgba(255,192,0,0.28);
  color: var(--gold); padding: 6px 14px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
}
.badge-free {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.09); border: 1px solid rgba(34,197,94,0.28);
  color: var(--green); padding: 6px 14px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.app-tag {
  display: inline-block;
  background: rgba(255,192,0,0.09); color: var(--gold);
  border: 1px solid rgba(255,192,0,0.22);
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 9px; border-radius: 6px; text-transform: uppercase;
}

/* ================================================
   GLASS CARDS
   ================================================ */
.glass-card {
  background: linear-gradient(145deg, rgba(18,18,28,0.92), rgba(11,11,18,0.96));
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: rgba(255,192,0,0.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
/* Glow shimmer on hover */
.glass-card::after {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse at top left, rgba(255,192,0,0.05) 0%, transparent 60%);
  opacity:0; transition:opacity 0.4s ease;
  pointer-events:none; border-radius:inherit;
}
.glass-card:hover::after { opacity:1; }

/* ================================================
   HERO SECTION
   ================================================ */
.site-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 80px 5%;
  overflow: hidden;
}

/* Ambient orbs */
.orb {
  position:absolute; border-radius:50%;
  filter:blur(100px); pointer-events:none; z-index:0;
}
.orb-gold  { width:600px;height:500px; background:rgba(255,192,0,0.06); top:-80px; right:-120px; }
.orb-amber { width:400px;height:400px; background:rgba(255,100,0,0.04); bottom:-60px; left:-80px; }
.orb-blue  { width:300px;height:300px; background:rgba(80,80,255,0.03); top:40%; left:40%; }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 22px; }
.hero-h1 { margin-bottom: 20px; }
.hero-desc {
  color: var(--text-secondary);
  font-size: 17px; line-height: 1.75;
  margin-bottom: 36px; max-width: 500px;
}

/* Floating brand card on the right */
.hero-brand-card {
  background: linear-gradient(150deg, #13131C 0%, #0A0A12 100%);
  border: 1px solid rgba(255,192,0,0.18);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card), 0 0 80px rgba(255,192,0,0.05);
  animation: float-card 6s ease-in-out infinite;
}
@keyframes float-card {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-brand-card img.hbc-logo {
  width: 110px; height: 110px;
  border-radius: 22px;
  border: 2px solid rgba(255,192,0,0.5);
  margin: 0 auto 16px;
  box-shadow: 0 12px 40px rgba(255,192,0,0.2);
}
.hero-brand-card h3 {
  font-size: 20px; margin-bottom: 4px; font-family:var(--font-display);
}
.hero-brand-card .hbc-sub { color:var(--text-muted); font-size:13px; margin-bottom:22px; }
.hero-stat-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap:0; border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px; margin-top: 0;
}
.hstat { text-align:center; }
.hstat strong { display:block; font-size:22px; font-weight:900; color:var(--gold); font-family:var(--font-display); }
.hstat span   { font-size:10px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.4px; }

/* ================================================
   APP PAGE HERO
   ================================================ */
.app-hero {
  padding: 56px 5% 48px;
  background: linear-gradient(180deg, rgba(255,192,0,0.035) 0%, transparent 100%);
  border-bottom: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}
.app-hero::before {
  content:'';
  position:absolute; top:-100px; right:-100px;
  width:400px; height:400px;
  background:rgba(255,192,0,0.05);
  border-radius:50%; filter:blur(80px); z-index:0;
}
.app-hero-inner {
  position:relative; z-index:1;
  max-width:1200px; margin:0 auto;
  display:flex; align-items:center; gap:32px; flex-wrap:wrap;
}
.app-hero-icon img {
  width:96px; height:96px;
  border-radius:22px;
  border:2px solid rgba(255,192,0,0.45);
  box-shadow: 0 12px 40px rgba(255,192,0,0.22);
}
.app-hero-text h1 { margin:12px 0 14px; }
.app-hero-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:24px; }
.app-hero-actions { display:flex; gap:12px; flex-wrap:wrap; }

/* ================================================
   SCROLL SUBBAR
   ================================================ */
.scroll-subbar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 10px 5%;
  background: rgba(8,8,14,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  scrollbar-width: none;
}
.scroll-subbar::-webkit-scrollbar { display:none; }
.scroll-subbar a {
  color: var(--text-muted);
  padding: 7px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  flex-shrink: 0;
  transition: var(--t);
  border: 1px solid transparent;
}
.scroll-subbar a:hover, .scroll-subbar a.active {
  color: #000; background: var(--gold); border-color: var(--gold);
}

/* ================================================
   LAYOUT CONTAINERS
   ================================================ */
.container { max-width:1200px; margin:0 auto; padding:0 5%; }
.section-block    { padding:80px 5%; }
.section-block-sm { padding:52px 5%; }
.section-block-lg { padding:110px 5%; }

.section-label { text-align:center; margin-bottom:54px; }
.section-label h2 { margin-bottom:10px; }
.section-label p  { color:var(--text-muted); font-size:16px; max-width:540px; margin:0 auto; }

.section-divider {
  height:1px;
  background: linear-gradient(90deg, transparent, var(--card-border) 30%, var(--card-border) 70%, transparent);
  margin:0 5%;
}

/* ================================================
   GRIDS
   ================================================ */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }

/* App card in grid */
.app-card {
  padding:30px;
  display:flex; flex-direction:column; justify-content:space-between; gap:18px;
}
.app-card-hdr { display:flex; align-items:center; gap:16px; margin-bottom:8px; }
.app-card-hdr img {
  width:60px; height:60px; border-radius:14px;
  border:1px solid rgba(255,192,0,0.28); object-fit:cover; flex-shrink:0;
}
.app-card-hdr h3 { font-size:18px; font-weight:700; margin-bottom:4px; }
.app-card p { color:var(--text-muted); font-size:14px; line-height:1.7; }

/* Feature card */
.feat-card { padding:28px; }
.feat-card .feat-ico { font-size:30px; margin-bottom:14px; display:block; }
.feat-card h3 { font-size:16px; font-weight:700; margin-bottom:8px; }
.feat-card p  { color:var(--text-muted); font-size:13.5px; line-height:1.65; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  display:grid; grid-template-columns:repeat(4,1fr);
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--radius-lg); overflow:hidden;
}
.stat-item {
  padding:28px 18px; text-align:center;
  border-right:1px solid var(--card-border);
}
.stat-item:last-child { border-right:none; }
.stat-num  { display:block; font-family:var(--font-display); font-size:32px; font-weight:900; color:var(--gold); margin-bottom:4px; }
.stat-lbl  { font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; font-weight:600; }

/* ================================================
   FAQ ACCORDION
   ================================================ */
.faq-list { display:flex; flex-direction:column; gap:8px; }
.faq-item {
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:border-color 0.25s ease;
}
.faq-item.open { border-color:rgba(255,192,0,0.28); }
.faq-q {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 22px; cursor:pointer;
  font-weight:600; font-size:15px; color:var(--text-primary);
  transition:var(--t); user-select:none; -webkit-user-select:none;
}
.faq-q:hover { color:var(--gold); }
.faq-chev {
  flex-shrink:0; width:22px; height:22px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.06); border-radius:50%;
  font-size:11px; transition:transform 0.3s ease;
  color:var(--text-muted);
}
.faq-item.open .faq-chev {
  transform:rotate(180deg);
  background:rgba(255,192,0,0.14); color:var(--gold);
}
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.38s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a { max-height:600px; }
.faq-a-inner {
  padding:0 22px 18px; padding-top:14px;
  color:var(--text-muted); font-size:14px; line-height:1.78;
  border-top:1px solid rgba(255,255,255,0.05);
}

/* ================================================
   SCREENSHOT SCROLL GALLERY
   ================================================ */
.ss-gallery {
  display:flex; gap:14px;
  overflow-x:auto;
  padding:8px 0 16px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.ss-gallery::-webkit-scrollbar { display:none; }
.ss-gallery img {
  width:220px; flex-shrink:0;
  border-radius:var(--radius-md);
  border:1px solid var(--card-border);
  transition:var(--t);
}
.ss-gallery img:hover {
  border-color:rgba(255,192,0,0.4);
  transform:scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ================================================
   SECURITY BADGES
   ================================================ */
.security-row { display:flex; flex-wrap:wrap; gap:10px; }
.sec-badge {
  display:inline-flex; align-items:center; gap:7px;
  background:rgba(255,192,0,0.06); border:1px solid rgba(255,192,0,0.18);
  color:var(--gold); padding:8px 16px; border-radius:50px;
  font-size:12px; font-weight:600;
}

/* ================================================
   PLAY STORE DETAILS BOX
   ================================================ */
.ps-box {
  background:var(--card-bg); border:1px solid var(--card-border);
  border-radius:var(--radius-lg); padding:28px 30px;
}
.ps-box details summary {
  cursor:pointer; font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:space-between;
  list-style:none;
  color:var(--text-primary);
}
.ps-box details summary::-webkit-details-marker { display:none; }
.ps-arrow { transition:transform 0.3s ease; font-size:13px; color:var(--gold); }
.ps-box details[open] .ps-arrow { transform:rotate(180deg); }
.ps-desc {
  margin-top:18px; padding-top:18px;
  border-top:1px solid var(--card-border);
  color:var(--text-secondary); font-size:14px; line-height:1.8;
  white-space:pre-wrap;
}

/* ================================================
   LEGAL / TEXT PAGE
   ================================================ */
.legal-wrap {
  max-width:800px; margin:0 auto; padding:60px 5%;
}
.legal-wrap h1 { margin-bottom:8px; }
.legal-meta {
  color:var(--text-muted); font-size:13px;
  margin-bottom:36px; padding-bottom:22px;
  border-bottom:1px solid var(--card-border);
}
.legal-wrap h2 {
  font-size:19px; color:var(--gold); margin:32px 0 10px;
}
.legal-wrap p, .legal-wrap li {
  color:var(--text-secondary); font-size:15px; line-height:1.8; margin-bottom:10px;
}
.legal-wrap ul, .legal-wrap ol { padding-left:20px; margin-bottom:14px; }
.legal-wrap li { margin-bottom:6px; }
.legal-wrap strong { color:var(--text-primary); }
.legal-wrap a { color:var(--gold); text-decoration:underline; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  padding:64px 5% 40px;
  background:#030307;
  border-top:1px solid var(--card-border);
}
.footer-inner { max-width:1200px; margin:0 auto; }
.footer-grid {
  display:grid;
  grid-template-columns:1.6fr repeat(3,1fr);
  gap:48px;
  margin-bottom:40px;
}
.footer-brand .fbrand-logo {
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:900; font-size:17px;
  margin-bottom:12px;
}
.footer-brand .fbrand-logo img { width:34px;height:34px;border-radius:8px;border:1px solid rgba(255,192,0,0.3); }
.footer-brand p { color:var(--text-muted); font-size:14px; line-height:1.7; max-width:230px; }
.footer-col h4 {
  font-size:12px; font-weight:700; color:var(--text-dim,#555568);
  text-transform:uppercase; letter-spacing:0.8px; margin-bottom:16px;
}
.footer-col a {
  display:block; color:var(--text-muted); font-size:14px;
  margin-bottom:10px; transition:var(--t);
}
.footer-col a:hover { color:var(--gold); padding-left:4px; }
.footer-bottom {
  padding-top:22px; border-top:1px solid var(--card-border);
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  font-size:13px; color:var(--text-dim,#444460);
}
.footer-bottom a { color:var(--text-dim,#444460); transition:var(--t); }
.footer-bottom a:hover { color:var(--gold); }

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity:0; transform:translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.rd1 { transition-delay:0.08s; }
.rd2 { transition-delay:0.16s; }
.rd3 { transition-delay:0.24s; }
.rd4 { transition-delay:0.32s; }

/* ================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ================================================ */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; gap:40px; }
  .hero-brand-card { max-width:460px; }
  .grid-3 { grid-template-columns:repeat(2,1fr); }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px; }
  .stats-bar  { grid-template-columns:repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right:none; }
  .stat-item:nth-child(3) { border-top:1px solid var(--card-border); }
  .stat-item:nth-child(4) { border-top:1px solid var(--card-border); border-right:none; }
}

/* ================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ================================================ */
@media (max-width:768px) {
  :root { --nav-h:58px; }

  .site-header { padding:0 16px; }
  .nav-desktop { display:none; }
  .hamburger   { display:flex; }

  .site-hero   { padding:52px 16px 48px; min-height:auto; }
  .hero-inner  { grid-template-columns:1fr; gap:32px; }
  .hero-desc   { font-size:15px; }
  .hero-brand-card { animation:none; }

  .app-hero    { padding:32px 16px; }
  .app-hero-inner { flex-direction:column; gap:16px; }
  .app-hero-icon img { width:72px;height:72px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
  .section-block    { padding:52px 16px; }
  .section-block-sm { padding:32px 16px; }
  .scroll-subbar    { padding:10px 16px; }
  .stats-bar        { grid-template-columns:repeat(2,1fr); }

  .btn-gold, .btn-ghost { padding:12px 20px; font-size:13px; }
  .btn-row .btn-gold, .btn-row .btn-ghost { flex:1; min-width:120px; }

  .footer-grid  { grid-template-columns:1fr; gap:24px; }
  .footer-brand p { max-width:100%; }

  .ss-gallery img { width:180px; }
  .legal-wrap { padding:40px 16px; }
}

/* ================================================
   RESPONSIVE — SMALL PHONES (≤ 480px)
   ================================================ */
@media (max-width:480px) {
  .display-xl { font-size:34px; letter-spacing:-1px; }
  .display-lg { font-size:28px; }
  .display-md { font-size:22px; }
  .hero-stat-grid { grid-template-columns:repeat(3,1fr); }
  .hstat strong { font-size:18px; }
  .feat-card { padding:20px 16px; }
  .app-card  { padding:22px 16px; }
  .faq-q     { padding:16px 18px; font-size:14px; }
  .faq-a-inner { padding:0 18px 16px; }
  .stat-num  { font-size:24px; }
}
