/*
Theme Name: Conquer Ninja Gyms
Theme URI: https://conquerninjagyms.com
Author: Building Brands Marketing
Author URI: https://buildingbrandsmarketing.com
Description: Landing page theme for Conquer Ninja Gyms free class campaign.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conquer-ninja
Tags: landing-page, one-page, fitness
*/

/* ====== TOKENS ====== */
:root {
  --blue: #1E40AF;
  --blue-dark: #142D7A;
  --red: #E11D2E;
  --red-dark: #B91C25;
  --cream: #FFFFFF;
  --cream-2: #F5F5F5;
  --ink: #0F1729;
  --ink-soft: #3D4255;
  --line: rgba(15, 23, 41, 0.12);
  --shadow-sm: 0 2px 8px rgba(15, 23, 41, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 64, 175, 0.12);
  --shadow-lg: 0 24px 60px rgba(30, 64, 175, 0.20);
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Outfit', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 28px;
}

/* ====== BASE ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ====== TYPOGRAPHY ====== */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 0.95;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
}
h2.display { font-size: clamp(40px, 5vw, 68px); }
h3.display { font-size: clamp(28px, 3vw, 40px); }

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 8px 24px rgba(225, 29, 46, 0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 29, 46, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: white;
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ====== NAV ====== */
nav {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--display);
  font-size: 24px;
  color: var(--blue);
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  align-items: center;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.logo span { color: var(--red); }
.nav-phones {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-phones a:hover { color: var(--red); }
.nav-cta {
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red); }
@media (max-width: 768px) {
  .nav-phones { display: none; }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(225, 29, 46, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.08), transparent 50%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15, 23, 41, 0.06) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
h1.hero-h1 {
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
h1.hero-h1 .accent { color: var(--red); display: inline-block; }
h1.hero-h1 .underline {
  position: relative;
  display: inline-block;
}
h1.hero-h1 .underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--blue);
  z-index: -1;
  transform: skewX(-10deg);
}
.hero-sub {
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.5;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.stars {
  color: #F5A524;
  font-size: 18px;
  letter-spacing: 2px;
}
.hero-trust strong { color: var(--ink); font-weight: 700; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--blue-dark);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.image-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.image-label::before {
  content: 'IMAGE: ';
  color: var(--red);
  font-weight: 800;
}

/* ====== SECTION BASE ====== */
section { padding: 96px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* ====== OFFER STRIP ====== */
.offer-strip {
  background: var(--ink);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.offer-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(225, 29, 46, 0.18), transparent 50%);
}
.offer-strip .container { position: relative; z-index: 1; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .offer-grid { grid-template-columns: 1fr; }
}
.offer-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.offer-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  flex-shrink: 0;
}
.offer-item h3 {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.offer-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

/* ====== BENEFITS ====== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
}
.benefit-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 24px;
  background: var(--cream-2);
}
.benefit-card:nth-child(1) .benefit-icon { background: rgba(225, 29, 46, 0.12); }
.benefit-card:nth-child(2) .benefit-icon { background: rgba(30, 64, 175, 0.12); }
.benefit-card:nth-child(3) .benefit-icon { background: rgba(245, 165, 36, 0.18); }
.benefit-card h3 {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.benefit-card p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ====== TESTIMONIALS ====== */
.testimonials { background: var(--cream-2); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  color: #F5A524;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink);
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}
.avatar.b1 { background: var(--blue); }
.avatar.b2 { background: var(--red); }
.avatar.b3 { background: #F5A524; }
.testimonial-meta strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
.testimonial-meta span {
  color: var(--ink-soft);
  font-size: 13px;
}
.stat-strip {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 32px;
}
@media (max-width: 768px) {
  .stat-strip { grid-template-columns: 1fr; padding: 32px; }
}
.stat-num {
  font-family: var(--display);
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* ====== HOW IT WORKS ====== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step { text-align: center; position: relative; }
.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: var(--display);
  font-size: 36px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.3);
}
.step h3 {
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.step p { color: var(--ink-soft); font-size: 16px; }

/* ====== FORM SECTION ====== */
.form-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(225, 29, 46, 0.22), transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.08), transparent 50%);
}
.form-section .container { position: relative; z-index: 1; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
}
.form-intro .eyebrow { color: #F8B4BB; }
.form-intro h2 { color: white; margin-bottom: 20px; }
.form-intro > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 480px;
}
.form-trust { display: flex; flex-direction: column; gap: 14px; }
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
}
.form-trust-item .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.form-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 600px) {
  .form-card { padding: 28px 22px; }
}
.form-card-head { text-align: center; margin-bottom: 4px; }
.form-card-head h3 {
  font-family: var(--display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.form-card-head p { font-size: 14px; color: var(--ink-soft); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-field input,
.form-field select {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230F1729' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-submit {
  background: var(--red);
  color: white;
  font-family: var(--body);
  font-weight: 700;
  font-size: 17px;
  padding: 18px;
  border-radius: 999px;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(225, 29, 46, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 29, 46, 0.45);
}
.form-fineprint {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 2px;
  line-height: 1.5;
}

/* ====== LOCATIONS ====== */
.locations { background: var(--cream-2); }
.location-state { margin-bottom: 48px; }
.state-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.state-header h3 {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.state-header span { color: var(--ink-soft); font-size: 14px; font-weight: 600; }
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.location-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.location-card h4 {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.location-card .addr {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
  flex-grow: 1;
}
.location-card .phone { font-weight: 700; color: var(--blue); font-size: 14px; }
.location-card .book {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.location-card .book:hover { background: var(--red-dark); }

/* ====== FAQ ====== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--cream); }
.faq-q .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--red); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner {
  padding: 0 28px 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 300px; }

/* ====== FINAL CTA ====== */
.final-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(225, 29, 46, 0.28), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 50%);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .eyebrow { color: #F8B4BB; }
.final-cta h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.final-cta h2 .accent { color: #F8B4BB; }
.final-cta p {
  font-size: 20px;
  max-width: 580px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.85);
}
.final-cta .btn-primary {
  background: white;
  color: var(--blue-dark);
  padding: 22px 44px;
  font-size: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.final-cta .btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.final-cta-phones {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.final-cta-phones a { color: white; font-weight: 700; margin: 0 8px; }
.final-cta-phones a:hover { color: #F8B4BB; }

/* ====== FOOTER ====== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}
footer .logo { color: white; }
footer .logo span { color: var(--red); }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: white; }
.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* ====== ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
