/*
Theme Name: Jitsu
Theme URI: https://littleredjet.com/jitsu
Author: Little Red Jet
Author URI: https://littleredjet.com
Description: Bold landing page theme for the Jitsu Brazilian Jiu-Jitsu app. Single-page marketing layout with hero, features, AI Coach showcase, learning library, belt progression, pricing, testimonials and CTA sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jitsu
Tags: one-page, dark, custom-colors, custom-menu, full-width-template, landing-page
*/

/* ------------------------------------------------------------------
   Jitsu — WordPress Theme Styles
   ------------------------------------------------------------------ */

:root {
  --jitsu-yellow: #FFC72C;
  --jitsu-yellow-soft: #FFD75E;
  --jitsu-yellow-dark: #E5AE16;
  --jitsu-black: #0B0B0B;
  --jitsu-bg: #111111;
  --jitsu-card: #1A1A1A;
  --jitsu-card-2: #222222;
  --jitsu-border: #2A2A2A;
  --jitsu-text: #FFFFFF;
  --jitsu-muted: #B0B0B0;
  --jitsu-dim: #6E6E6E;
  --radius: 16px;
  --radius-lg: 28px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jitsu-black);
  color: var(--jitsu-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jitsu-yellow);
  margin-bottom: 16px;
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; color: var(--jitsu-muted); }
.lead { font-size: 18px; color: #D4D4D4; max-width: 640px; }
.text-yellow { color: var(--jitsu-yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--jitsu-yellow); color: #111; }
.btn-primary:hover { background: var(--jitsu-yellow-soft); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--jitsu-text); border: 1.5px solid #3A3A3A; }
.btn-outline:hover { border-color: var(--jitsu-yellow); color: var(--jitsu-yellow); }
.btn-ghost { background: transparent; color: var(--jitsu-text); }
.btn-ghost:hover { color: var(--jitsu-yellow); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11,11,11,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--jitsu-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  font-family: 'Bowlby One', sans-serif;
  font-size: 28px;
  color: var(--jitsu-yellow);
  letter-spacing: 0.04em;
  line-height: 1;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: #CFCFCF; transition: color .15s ease; }
.nav-links a:hover { color: var(--jitsu-yellow); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: transparent; color: var(--jitsu-text); padding: 8px; border-radius: 8px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 100px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(255,199,44,0.10), transparent 60%),
    radial-gradient(700px 500px at 90% 80%, rgba(255,199,44,0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 .accent {
  display: inline-block;
  font-family: 'Bowlby One', sans-serif;
  color: var(--jitsu-yellow);
  letter-spacing: 0.03em;
  font-weight: 400;
}
.hero-copy p.lead { margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1F1F1F; border: 1px solid #2C2C2C;
  border-radius: 14px; padding: 10px 18px;
  transition: border-color .2s ease, transform .15s ease;
}
.store-badge:hover { border-color: var(--jitsu-yellow); transform: translateY(-1px); }
.store-badge .icon { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge .lbl { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .lbl small { font-size: 10px; color: #B0B0B0; letter-spacing: 0.06em; text-transform: uppercase; }
.store-badge .lbl strong { font-size: 15px; font-weight: 700; color: #fff; }

.hero-stats {
  display: flex; gap: 36px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--jitsu-border);
}
.hero-stat .num {
  font-family: 'Bowlby One', sans-serif;
  font-size: 28px; color: var(--jitsu-yellow);
}
.hero-stat .lbl { font-size: 13px; color: var(--jitsu-muted); }

/* Phone mockup */
.phone-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 600px; }
.phone {
  position: relative; width: 290px; height: 580px;
  background: #0B0B0B; border-radius: 44px;
  border: 8px solid #1F1F1F;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px #2A2A2A inset, 0 0 80px rgba(255,199,44,0.1);
  overflow: hidden; z-index: 2;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #000; border-radius: 999px; z-index: 3;
}
.phone-screen { position: absolute; inset: 0; background: #0B0B0B; padding: 50px 26px 26px; display: flex; flex-direction: column; align-items: center; }
.phone-logo { font-family: 'Bowlby One', sans-serif; font-size: 56px; color: var(--jitsu-yellow); letter-spacing: 0.04em; margin-top: 38px; line-height: 1; }
.phone-tag { color: var(--jitsu-yellow); font-size: 14px; font-weight: 600; margin-top: 14px; }
.phone-field { margin-top: 24px; width: 100%; height: 46px; border: 1px solid #2E2E2E; border-radius: 8px; display: flex; align-items: center; padding: 0 14px; gap: 10px; color: #777; font-size: 13px; }
.phone-field svg { color: #777; flex-shrink: 0; }
.phone-btn { margin-top: 22px; width: 100%; height: 46px; background: var(--jitsu-yellow); color: #111; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.phone-foot { margin-top: 20px; font-size: 11px; color: #888; }
.phone-foot a { color: #fff; }

.belt-deco { position: absolute; width: 56px; height: 18px; border-radius: 6px; z-index: 1; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.belt-deco::after { content: ""; position: absolute; right: 4px; top: 3px; width: 14px; height: 12px; background: repeating-linear-gradient(90deg, #000 0 2px, #fff 2px 4px); }
.belt-1 { top: 10%; left: 8%; background: #fff; transform: rotate(-14deg); }
.belt-2 { top: 22%; right: 6%; background: #1F4FCC; transform: rotate(18deg); }
.belt-3 { bottom: 22%; left: 4%; background: #6B2EBF; transform: rotate(12deg); }
.belt-4 { bottom: 12%; right: 10%; background: #6B3A1A; transform: rotate(-10deg); }
.belt-5 { top: 50%; right: -2%; background: #111; transform: rotate(6deg); border: 1px solid #2A2A2A; }
.belt-5::after { background: repeating-linear-gradient(90deg, #C2272D 0 2px, #fff 2px 4px); }

@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { min-height: 500px; }
  .phone { width: 250px; height: 510px; }
  .phone-logo { font-size: 46px; }
  .hero-stats { gap: 22px; }
}

/* ---------- Trust strip ---------- */
.trust { padding: 30px 0; border-top: 1px solid var(--jitsu-border); border-bottom: 1px solid var(--jitsu-border); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { font-size: 12px; color: var(--jitsu-dim); letter-spacing: 0.16em; text-transform: uppercase; }
.trust-logos { display: flex; gap: 36px; flex-wrap: wrap; font-family: 'Bowlby One', sans-serif; color: #4A4A4A; letter-spacing: 0.06em; font-size: 18px; }
.trust-logos span { transition: color .2s ease; }
.trust-logos span:hover { color: #888; }

/* ---------- Sections ---------- */
.jitsu-section { padding: 100px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-head p { color: var(--jitsu-muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--jitsu-card);
  border: 1px solid var(--jitsu-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255,199,44,0.35); background: #1D1D1D; }
.feature .icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,199,44,0.12); color: var(--jitsu-yellow); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; margin: 0; color: var(--jitsu-muted); }

@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Showcases ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-copy h2 { margin-bottom: 20px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; color: #D8D8D8; font-size: 15px; }
.checklist li svg { color: var(--jitsu-yellow); flex-shrink: 0; margin-top: 2px; }

.showcase-visual {
  background: linear-gradient(180deg, #181818, #0F0F0F);
  border: 1px solid var(--jitsu-border);
  border-radius: var(--radius-lg);
  padding: 36px; min-height: 460px;
  position: relative; overflow: hidden;
}
.showcase-visual::after { content: ""; position: absolute; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,199,44,0.18), transparent 70%); top: -60px; right: -60px; pointer-events: none; }

.chat-mockup { position: relative; z-index: 2; }
.chat-user, .chat-ai { background: #1F1F1F; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; font-size: 14px; line-height: 1.5; max-width: 90%; }
.chat-user { background: #2A2410; border: 1px solid rgba(255,199,44,0.3); margin-left: auto; }
.chat-ai .who { display: flex; align-items: center; gap: 8px; color: var(--jitsu-yellow); font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid #333; font-size: 12.5px; color: #CFCFCF; background: #161616; transition: all .15s ease; }
.chip:hover { border-color: var(--jitsu-yellow); color: var(--jitsu-yellow); }

.lesson-card { background: #161616; border: 1px solid var(--jitsu-border); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 88px 1fr; gap: 14px; margin-bottom: 12px; position: relative; }
.lesson-thumb { position: relative; aspect-ratio: 1/1; border-radius: 10px; background: linear-gradient(135deg, #2a2a2a, #161616); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lesson-thumb .play { width: 28px; height: 28px; background: var(--jitsu-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #111; }
.badge-360 { position: absolute; bottom: 6px; left: 6px; background: rgba(0,0,0,0.7); color: var(--jitsu-yellow); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 6px; letter-spacing: 0.05em; }
.lesson-meta h4 { font-size: 14px; margin: 0 0 4px; color: #fff; }
.lesson-meta small { color: var(--jitsu-muted); font-size: 12px; }
.progress { height: 4px; background: #2A2A2A; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--jitsu-yellow); border-radius: 3px; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 30px; }
  .showcase.reverse { direction: ltr; }
}

/* ---------- Belts ---------- */
.belts-section { background: linear-gradient(180deg, #0B0B0B, #131313); border-top: 1px solid var(--jitsu-border); border-bottom: 1px solid var(--jitsu-border); }
.belt-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.belt-card { background: var(--jitsu-card); border: 1px solid var(--jitsu-border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: transform .2s ease, border-color .2s ease; }
.belt-card:hover { transform: translateY(-4px); border-color: var(--jitsu-yellow); }
.belt-svg { width: 80px; height: 28px; border-radius: 6px; margin: 0 auto 16px; position: relative; box-shadow: 0 6px 14px rgba(0,0,0,0.4); }
.belt-svg::after { content: ""; position: absolute; right: 6px; top: 5px; width: 18px; height: 18px; background: repeating-linear-gradient(90deg, #000 0 2px, #fff 2px 4px); }
.belt-card h4 { font-size: 15px; margin: 0 0 4px; color: #fff; }
.belt-card small { font-size: 12px; color: var(--jitsu-muted); }
.b-white { background: #F5F5F5; }
.b-blue { background: #1F4FCC; }
.b-purple { background: #6B2EBF; }
.b-brown { background: #6B3A1A; }
.b-black { background: #111; border: 1px solid #2A2A2A; }
.b-black::after { background: repeating-linear-gradient(90deg, #C2272D 0 2px, #fff 2px 4px); }

@media (max-width: 900px) { .belt-rail { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan { background: var(--jitsu-card); border: 1px solid var(--jitsu-border); border-radius: var(--radius-lg); padding: 36px; position: relative; }
.plan.featured { background: var(--jitsu-yellow); color: #111; border-color: var(--jitsu-yellow); }
.plan.featured p, .plan.featured ul li { color: #1A1A1A; }
.plan .tag { position: absolute; top: 22px; right: 22px; background: #111; color: var(--jitsu-yellow); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 999px; text-transform: uppercase; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan .price { font-family: 'Bowlby One', sans-serif; font-size: 48px; line-height: 1; margin: 16px 0 4px; }
.plan .price small { font-size: 16px; font-family: 'Inter', sans-serif; opacity: 0.7; font-weight: 500; }
.plan .save { font-size: 13px; color: var(--jitsu-yellow); margin-bottom: 18px; font-weight: 600; }
.plan.featured .save { color: #1A1A1A; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; }
.plan ul li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.plan.featured ul li { border-top-color: rgba(0,0,0,0.1); }
.plan .btn { width: 100%; }
.plan.featured .btn-primary { background: #111; color: var(--jitsu-yellow); }
.plan.featured .btn-primary:hover { background: #000; }

.legal { margin-top: 24px; text-align: center; font-size: 12px; color: var(--jitsu-dim); max-width: 700px; margin-left: auto; margin-right: auto; }

@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.test { background: var(--jitsu-card); border: 1px solid var(--jitsu-border); border-radius: var(--radius); padding: 28px; }
.test .stars { color: var(--jitsu-yellow); margin-bottom: 12px; letter-spacing: 2px; }
.test p { color: #DADADA; font-size: 15px; margin: 0 0 18px; }
.test .who { display: flex; align-items: center; gap: 12px; }
.test .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--jitsu-yellow), #B98700); color: #111; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.test .who strong { display: block; font-size: 14px; }
.test .who small { color: var(--jitsu-muted); font-size: 12px; }

@media (max-width: 900px) { .tests { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.cta-section { position: relative; padding: 100px 0; }
.cta-card { background: linear-gradient(135deg, var(--jitsu-yellow), var(--jitsu-yellow-dark)); color: #111; border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before, .cta-card::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(0,0,0,0.07); }
.cta-card::before { top: -90px; left: -90px; }
.cta-card::after { bottom: -90px; right: -90px; }
.cta-card h2 { color: #111; font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; position: relative; }
.cta-card p { color: #1A1A1A; font-size: 17px; max-width: 600px; margin: 0 auto 28px; position: relative; }
.cta-card .store-badges { justify-content: center; position: relative; }
.cta-card .store-badge { background: #111; border-color: #111; color: #fff; }
.cta-card .store-badge:hover { background: #000; }
.cta-card .store-badge .lbl small { color: #BBB; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--jitsu-border); padding: 60px 0 30px; background: #080808; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .brand { font-size: 36px; }
.foot-brand p { font-size: 14px; max-width: 320px; margin-top: 12px; }
.foot-col h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jitsu-yellow); margin: 0 0 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 14px; color: #BFBFBF; transition: color .15s ease; }
.foot-col a:hover { color: var(--jitsu-yellow); }
.foot-bottom { border-top: 1px solid var(--jitsu-border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--jitsu-dim); }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--jitsu-border); border-radius: 50%; transition: all .2s ease; }
.socials a:hover { border-color: var(--jitsu-yellow); color: var(--jitsu-yellow); }

@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; background: rgba(11,11,11,0.97); backdrop-filter: blur(8px); z-index: 60; display: none; padding: 80px 24px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 16px 0; font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--jitsu-border); color: #fff; }
.mobile-menu .close { position: absolute; top: 22px; right: 22px; background: transparent; color: #fff; padding: 8px; }

/* ---------- WordPress core required classes ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--jitsu-muted); text-align: center; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.sticky, .gallery-caption, .bypostauthor { display: block; }
