/*
 * File: assets/css/style.css
 * Location: mentality.sharkblocks00.com/assets/css/style.css
 * Description: Global stylesheet. Implements Sharx Design System v1.0.
 *              Dark mode, blue/cyan palette, Inter + Bebas Neue typography.
 *              Shared across all pages. No page-specific rules in here —
 *              those live in <style> blocks within each .php file.
 */

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   DESIGN TOKENS -Sharx Design System v1.0
================================================================ */
:root {
  /* Brand */
  --primary:        #2563EB;
  --primary-hover:  #1D4ED8;
  --primary-light:  #3B82F6;
  --cyan:           #06B6D4;
  --cyan-light:     #22D3EE;
  --blue-300:       #93C5FD;

  /* Dark Mode */
  --bg:             #0B1220;
  --surface:        #111827;
  --surface-2:      #1a2235;
  --border:         #1F2937;
  --border-light:   #2d3748;
  --text:           #E5E7EB;
  --text-muted:     #9CA3AF;
  --text-faint:     #4B5563;

  /* Status */
  --success:        #10B981;
  --warning:        #F59E0B;
  --error:          #EF4444;

  /* Spacing */
  --sp-xs:  4px;
  --sp-sm:  8px;
  --sp-md:  16px;
  --sp-lg:  24px;
  --sp-xl:  32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 80px;
  --sp-5xl: 100px;

  /* Radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-pill: 100px;

  /* Transitions */
  --t-fast:   150ms ease;
  --t-mid:    200ms ease;
  --t-slow:   300ms ease;
}

/* ================================================================
   GLOBAL AMBIENT BACKGROUND
================================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -5%,  rgba(37,99,235,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 105%, rgba(6,182,212,0.07)  0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* ================================================================
   PAGE WRAPPER
================================================================ */
.page { position: relative; z-index: 1; }

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: rgba(11,18,32,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  gap: 32px;
  transition: border-color var(--t-mid);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 30px;
  width: auto;
}
.nav-logo-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  padding-left: 12px;
  line-height: 1.25;
}
.nav-logo-label span {
  display: block;
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--primary-light); background: rgba(37,99,235,0.1); }

.nav-right { margin-left: auto; flex-shrink: 0; }

.nav-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.3);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(6,182,212,0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   TYPOGRAPHY UTILITIES
================================================================ */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title--gradient {
  background: linear-gradient(135deg, #E5E7EB 30%, #3B82F6 65%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
}

/* ================================================================
   LAYOUT UTILITIES
================================================================ */
.section { padding: var(--sp-5xl) 48px; }
.section-inner       { max-width: 1200px; margin: 0 auto; }
.section-inner--mid  { max-width: 1000px; margin: 0 auto; }
.section-inner--narrow { max-width: 760px; margin: 0 auto; }

.section-header { margin-bottom: var(--sp-3xl); }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin: 0 auto; }

.page-hero {
  padding: 136px 48px var(--sp-4xl);
  position: relative;
  z-index: 1;
}
.page-hero--center { text-align: center; }
.page-hero--center .section-desc { margin: 16px auto 36px; }
.page-hero--center .btn-group { justify-content: center; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: var(--sp-lg);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--border-light); }

.hero-title-xl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 14vw, 180px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 13px 28px;
  border-radius: var(--r-md);
  line-height: 1;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-fast), color var(--t-fast);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.btn-cyan {
  background: var(--cyan);
  color: #0B1220;
  font-weight: 700;
}
.btn-cyan:hover { background: var(--cyan-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(6,182,212,0.35); }
.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-lg { font-size: 17px; padding: 16px 36px; }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ================================================================
   BADGES
================================================================ */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.badge-blue  { background: rgba(37,99,235,0.12); color: var(--primary-light); border: 1px solid rgba(37,99,235,0.2); }
.badge-cyan  { background: rgba(6,182,212,0.1);  color: var(--cyan-light);    border: 1px solid rgba(6,182,212,0.2); }
.badge-green { background: rgba(16,185,129,0.1); color: #34d399;              border: 1px solid rgba(16,185,129,0.2); }
.badge-gold  { background: rgba(245,158,11,0.1); color: #fbbf24;              border: 1px solid rgba(245,158,11,0.2); }
.badge-red   { background: rgba(239,68,68,0.1);  color: #f87171;              border: 1px solid rgba(239,68,68,0.2); }

/* ================================================================
   CARDS
================================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: transform var(--t-mid) ease, border-color var(--t-mid) ease, box-shadow var(--t-mid) ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 12px 40px rgba(37,99,235,0.12);
}

/* ================================================================
   QUOTE BAND
================================================================ */
.quote-band {
  padding: var(--sp-4xl) 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #0891B2 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: '🦈';
  position: absolute;
  font-size: 300px;
  opacity: 0.05;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}
.quote-band blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #fff;
  max-width: 920px;
  margin: 0 auto var(--sp-lg);
  position: relative;
}
.quote-band cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.quote-band--dark {
  background: linear-gradient(135deg, #0d1828 0%, #141e30 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-band--dark blockquote {
  background: linear-gradient(135deg, #E5E7EB 30%, #3B82F6 65%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.quote-band--dark cite { color: rgba(229,231,235,0.35); }

/* ================================================================
   MARQUEE
================================================================ */
.marquee-wrap {
  overflow: hidden;
  background: rgba(37,99,235,0.05);
  border-top: 1px solid rgba(37,99,235,0.12);
  border-bottom: 1px solid rgba(37,99,235,0.12);
  padding: 13px 0;
}
.marquee-track {
  display: flex;
  animation: marquee 24s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  padding: 0 32px;
  white-space: nowrap;
}
.marquee-sep { color: var(--cyan); margin: 0 4px; }

/* ================================================================
   STATS BAND
================================================================ */
.stats-band {
  padding: var(--sp-4xl) 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-sm);
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ================================================================
   SCROLL REVEAL
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }
.reveal-d5 { transition-delay: 0.33s; }
.reveal-d6 { transition-delay: 0.40s; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: #070e1c;
  border-top: 1px solid var(--border);
  padding: var(--sp-3xl) 48px var(--sp-xl);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-2xl);
}
.footer-logo { height: 28px; width: auto; margin-bottom: var(--sp-md); }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.65; max-width: 240px; }
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-md);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 13px; color: var(--text-faint); }
.footer-bottom span { color: var(--cyan); }

/* ================================================================
   ANIMATIONS
================================================================ */
@keyframes fadeUp  { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes bob     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes swim    { 0%,100% { transform: translateX(0) rotate(0deg); } 25% { transform: translateX(10px) rotate(4deg); } 75% { transform: translateX(-10px) rotate(-4deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin    { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse   { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
@keyframes grow    { from { width: 0%; } to { width: var(--target-width); } }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; gap: 0; }
  .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(11,18,32,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 15px; padding: 10px 12px; width: 100%; }

  .section { padding: 60px 20px; }
  .page-hero { padding: 110px 20px 56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-band { padding: 56px 20px; }
  .stats-band { padding: 56px 20px; }

  .footer { padding: 48px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}
