/* =============================================
   FOOXFPS — STYLES
   ============================================= */

:root {
  --purple:     #6600cc;
  --purple-light: #8833ee;
  --green:      #00ff88;
  --red:        #ff3366;
  --yellow:     #ffcc00;
  --bg:         #050508;
  --bg2:        #0b0b14;
  --bg3:        #12121f;
  --card:       #0f0f1c;
  --border:     rgba(102, 0, 204, 0.25);
  --text:       #e0e0f0;
  --text-muted: #8888aa;
  --white:      #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', sans-serif; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(102,0,204,0.2);
  color: var(--purple-light);
  border: 1px solid rgba(102,0,204,0.4);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all .25s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102,0,204,0.5);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--border);
  transition: all .25s;
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--purple-light);
  color: var(--white);
  background: rgba(102,0,204,0.1);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border);
  transition: all .2s;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--white); border-color: var(--purple-light); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { display: flex; justify-content: center; width: 100%; margin-top: 24px; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  transition: all .25s;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background .3s, backdrop-filter .3s, border-bottom .3s;
}
.navbar.scrolled {
  background: rgba(5,5,8,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--green); }
.logo-img { width: 32px; height: 32px; display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(102,0,204,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(0,255,136,0.08);
  color: var(--green);
  border: 1px solid rgba(0,255,136,0.25);
}
.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* APP WINDOW */
.app-window {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(102,0,204,0.3);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.app-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 8px;
}
.app-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.app-bar-wrap {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.app-bar {
  height: 100%;
  border-radius: 4px;
  transition: width .5s;
}
.app-row {
  display: flex;
  gap: 16px;
}
.app-mini-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg3);
  padding: 8px 12px;
  border-radius: 8px;
  flex: 1;
}
.app-mini-stat i { color: var(--purple-light); }
.app-mini-stat strong { color: var(--white); }
.app-tools-row { gap: 8px; }
.app-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.app-btn:hover, .app-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  border-color: transparent;
}

/* =============================================
   TOOLS
   ============================================= */
.tools { background: var(--bg2); }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: all .3s;
}
.tool-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(102,0,204,0.2);
}
.tool-card.featured {
  border-color: var(--purple-light);
  background: linear-gradient(135deg, var(--card), rgba(102,0,204,0.12));
  box-shadow: 0 0 40px rgba(102,0,204,0.2);
}
.tool-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(102,0,204,0.15);
  border: 1px solid rgba(102,0,204,0.3);
  border-radius: 12px;
  font-size: 22px;
  color: var(--purple-light);
  margin-bottom: 18px;
}
.tool-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.tool-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}
.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-features i { color: var(--green); font-size: 12px; }
.tool-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(102,0,204,0.2);
  color: var(--purple-light);
  border: 1px solid rgba(102,0,204,0.3);
}
.tool-badge.popular {
  background: rgba(0,255,136,0.1);
  color: var(--green);
  border-color: rgba(0,255,136,0.3);
}

/* =============================================
   COMPARISON
   ============================================= */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.compare-vs {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
}
.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.compare-card.after { border-color: rgba(0,255,136,0.3); }
.compare-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 24px;
}
.compare-card.before .compare-header i { color: var(--red); }
.compare-card.after .compare-header i { color: var(--green); }
.fps-display {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.fps-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}
.fps-num.unstable { color: var(--red); }
.fps-num.stable { color: var(--green); }
.fps-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
.fps-graph {
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.03);
}
.fps-graph svg { width: 100%; height: 100%; }
.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.compare-list.bad  li { color: var(--text-muted); }
.compare-list.bad  i { color: var(--red); }
.compare-list.good li { color: var(--text); }
.compare-list.good i { color: var(--green); }

/* =============================================
   PLANS
   ============================================= */
.plans { background: var(--bg2); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform .3s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.featured {
  border-color: var(--purple-light);
  background: linear-gradient(160deg, var(--card), rgba(102,0,204,0.15));
  box-shadow: 0 0 50px rgba(102,0,204,0.25);
  transform: scale(1.03);
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.plan-duration {
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 12px;
}
.plan-price {
  margin-bottom: 24px;
}
.price-old {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}
.price-current {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
}
.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.plan-features li.disabled { color: var(--text-muted); text-decoration: line-through; }
.plan-features i { font-size: 12px; }
.plan-features .fa-check { color: var(--green); }
.plan-features .fa-xmark { color: var(--red); }

/* =============================================
   DOWNLOADS
   ============================================= */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.download-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  text-align: center;
  transition: all .3s;
}
.download-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(102,0,204,0.2);
}
.dl-icon {
  font-size: 32px;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.download-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.download-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--bg2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all .3s;
}
.testi-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-3px);
}
.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.testi-header strong { display: block; font-size: 15px; }
.testi-header span { font-size: 12px; color: var(--text-muted); }
.stars {
  margin-left: auto;
  color: var(--yellow);
  font-size: 13px;
}
.testi-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* =============================================
   COMMUNITY
   ============================================= */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.community-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: all .3s;
}
.community-card:hover { transform: translateY(-4px); }
.community-card.discord { border-color: rgba(88,101,242,0.4); }
.community-card.whatsapp { border-color: rgba(37,211,102,0.3); }
.comm-icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.community-card.discord .comm-icon { color: #5865f2; }
.community-card.whatsapp .comm-icon { color: #25d366; }
.community-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.community-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 14px 0 20px;
  max-width: 260px;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 15px;
  transition: all .2s;
}
.social-links a:hover {
  background: rgba(102,0,204,0.3);
  color: var(--white);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  color: var(--white);
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .downloads-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg3);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    z-index: 999;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .app-window { max-width: 380px; margin: 0 auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { display: none; }
  .tools-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-4px); }
  .testi-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .downloads-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .downloads-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-wrap: wrap; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { justify-content: center; }
}
