/* ══════════════════════════════════════════════
   FITNESS FIRST v2 — NEW STYLES ONLY
   Imports original style.css, adds enhancements
   ══════════════════════════════════════════════ */

/* ─── SCROLL PROGRESS BAR ─────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 10000;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #E01C24, #ff4d4d);
  transition: width .05s linear;
  box-shadow: 0 0 8px rgba(224,28,36,0.6);
}

/* ─── CUSTOM CURSOR ───────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }
}
.cursor-dot {
  width: 8px; height: 8px;
  background: #E01C24;
  border-radius: 50%;
  position: fixed; z-index: 99999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform .1s ease, width .2s, height .2s, background .2s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(224,28,36,0.6);
  border-radius: 50%;
  position: fixed; z-index: 99998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform .15s ease, width .25s ease, height .25s ease, border-color .2s;
}
.cursor-dot.hovered { width: 14px; height: 14px; }
.cursor-ring.hovered { width: 56px; height: 56px; border-color: rgba(224,28,36,0.9); }

/* ─── LOGO DUMBBELL ANIMATION ────────────────── */
.logo-db {
  color: #E01C24;
  font-size: .55em;
  margin: 0 2px;
  display: inline-block;
  transform-origin: top center;
  animation: dbDrop .8s ease-out both;
}
@keyframes dbDrop {
  0%   { transform: rotate(-60deg) scale(.6); opacity: 0; }
  50%  { transform: rotate(8deg) scale(1); opacity: 1; }
  70%  { transform: rotate(-4deg); }
  85%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
.logo:hover .logo-db {
  animation: dbSwing 1.2s ease-in-out;
}
@keyframes dbSwing {
  0%,100% { transform: rotate(0deg); }
  25%     { transform: rotate(8deg); }
  75%     { transform: rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-db { animation: none; opacity: 1; transform: none; }
  .logo:hover .logo-db { animation: none; }
}

/* ─── AI BADGE IN NAVBAR ──────────────────────── */
.ai-nav-link { position: relative; display: flex; align-items: center; gap: 6px; }
.ai-badge {
  font-size: .5rem; font-weight: 700; letter-spacing: .12em;
  background: #E01C24; color: #fff;
  padding: 2px 6px; border-radius: 4px;
  vertical-align: super;
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%,100% { opacity: 1; }
  50% { opacity: .6; }
}

/* ─── TYPEWRITER ──────────────────────────────── */
.typewriter-wrap {
  margin-top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.5);
  min-height: 1.6em;
  animation: fadeIn .8s ease .6s forwards;
  opacity: 0;
}
.typewriter-text { color: rgba(255,255,255,0.6); }
.tw-cursor {
  color: #E01C24; font-weight: 300;
  animation: blink .8s step-end infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── SECTION DIVIDERS ────────────────────────── */
.sec-divider {
  width: 100%; overflow: hidden; line-height: 0;
  height: 40px; position: relative;
}
.divider-red {
  background: linear-gradient(135deg, #E01C24 0%, #0A0A0A 100%);
  clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
  height: 2px;
  opacity: .4;
}

/* ──────────────────────────────────────────────
   EQUIPMENT SECTION
   ────────────────────────────────────────────── */
.equip-sec { background: #0A0A0A; }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eq-card {
  background: #111111;
  border: 1px dashed #E01C24;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow .3s ease, transform .3s ease;
}
.eq-card:hover {
  box-shadow: 0 0 28px rgba(224,28,36,0.35);
  transform: translateY(-4px);
}
.eq-photo {
  height: 200px;
  border-radius: 8px;
  background: #0D0D0D;
  border: 1px dashed rgba(224,28,36,0.4);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: rgba(224,28,36,0.5);
  margin-bottom: 16px;
}
.eq-photo i { font-size: 2rem; }
.eq-photo span {
  font-size: .72rem; letter-spacing: .12em;
  color: rgba(255,255,255,0.2);
  text-align: center;
}
.eq-info { display: flex; align-items: center; justify-content: space-between; }
.eq-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: .06em;
}
.eq-tag {
  font-size: .62rem; font-weight: 600; letter-spacing: .14em;
  color: #E01C24;
  border: 1px solid rgba(224,28,36,0.35);
  padding: 3px 10px; border-radius: 20px;
}

/* ──────────────────────────────────────────────
   JOIN FORM SECTION
   ────────────────────────────────────────────── */
.join-sec { background: #111111; }
.join-form-wrap {
  max-width: 680px; margin: 0 auto;
  background: #0D0D0D;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 48px 40px;
}
.join-form { display: flex; flex-direction: column; gap: 20px; }
.jf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jf-group { display: flex; flex-direction: column; gap: 8px; }
.jf-label {
  font-size: .65rem; font-weight: 600; letter-spacing: .2em;
  color: #E01C24;
}
.jf-input {
  background: #1a1a1a;
  border: 1px solid #1E1E1E;
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.jf-input::placeholder { color: rgba(255,255,255,0.2); }
.jf-input:focus {
  border-color: #E01C24;
  box-shadow: 0 0 0 3px rgba(224,28,36,0.12);
}
.jf-input.error { border-color: #ff4d4d; }
.jf-select { 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='%23E01C24' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.jf-select option { background: #1a1a1a; }
.jf-textarea { resize: vertical; min-height: 80px; }
.jf-submit { width: 100%; font-size: 1rem; padding: 16px; margin-top: 8px; }

.join-success { text-align: center; padding: 40px 0; }
.js-icon { font-size: 3.5rem; margin-bottom: 16px; }
.js-head { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: .06em; margin-bottom: 8px; }
.js-txt  { color: rgba(255,255,255,0.6); font-size: .95rem; line-height: 1.6; }

/* ──────────────────────────────────────────────
   INSTAGRAM SECTION
   ────────────────────────────────────────────── */
.insta-sec { background: #0A0A0A; }
.insta-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.insta-profile { margin-bottom: 48px; }
.insta-icon {
  font-size: 4rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 16px;
}
.insta-handle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem; letter-spacing: .12em;
  margin-bottom: 12px;
}
.insta-sub { color: rgba(255,255,255,0.5); font-size: .9rem; margin-bottom: 28px; max-width: 420px; margin-left: auto; margin-right: auto; }
.insta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: .1em;
  transition: all .3s;
  color: #fff;
}
.insta-btn:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366);
  border-color: transparent;
  transform: translateY(-2px);
}
.insta-posts {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  margin-bottom: 16px;
}
.insta-post {
  background: #111;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255,255,255,0.15);
  font-size: 1.8rem;
  transition: border-color .3s, transform .3s;
}
.insta-post span { font-size: .7rem; letter-spacing: .14em; color: rgba(255,255,255,0.15); }
.insta-post:hover { border-color: rgba(224,28,36,0.4); transform: scale(1.02); }
.insta-cta-txt { color: rgba(255,255,255,0.3); font-size: .8rem; letter-spacing: .15em; }

/* ──────────────────────────────────────────────
   MAP SECTION ENHANCEMENT
   ────────────────────────────────────────────── */
.map-glow-wrap {
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(224,28,36,0.3), 0 0 40px rgba(224,28,36,0.1);
  margin-bottom: 20px;
  overflow: hidden;
}
.dir-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem;
}

/* ──────────────────────────────────────────────
   PRO PLAN PARTICLES
   ────────────────────────────────────────────── */
.particles {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
}
.particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #E01C24;
  opacity: 0;
  animation: floatUp 1.5s ease-in forwards;
}
@keyframes floatUp {
  0%   { opacity: .8; transform: translateY(0) scale(1); }
  100% { opacity: 0;  transform: translateY(-80px) scale(.4); }
}
#proPlan { position: relative; overflow: visible; }

/* ──────────────────────────────────────────────
   RESPONSIVE UPDATES
   ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-posts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .jf-row { grid-template-columns: 1fr; }
  .join-form-wrap { padding: 28px 20px; }
  .insta-posts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .equip-grid { grid-template-columns: 1fr; }
  .insta-posts { grid-template-columns: repeat(3, 1fr); }
  .cursor-dot, .cursor-ring { display: none; }
}
