/* =========================================================
   AME FITNESS PAGE STYLES
   ========================================================= */

.hero {
padding: 72px 0 42px;
}

.hero-panel,
.hero-card,
.body-stage,
.info-panel,
.training-card,
.cta-panel {
background: var(--panel);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);
}

.hero-panel {
padding: 38px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(0, 240, 255, 0.055), transparent 36%),
        rgba(9, 16, 28, 0.72);
}

.hero-grid {
display: grid;
      grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
      gap: 24px;
      align-items: stretch;
}

.hero-copy h1 {
margin: 0;
      font-size: clamp(2.8rem, 6vw, 5.8rem);
      line-height: 0.92;
      letter-spacing: -0.055em;
      text-transform: uppercase;
      max-width: 860px;
}

.accent {
background: linear-gradient(90deg, #ffffff 0%, #9dfbff 36%, #59b8ff 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
}

.hero-copy p,
.section-head p,
.training-card p,
.info-panel p {
color: var(--muted);
      line-height: 1.8;
      text-transform: uppercase;
}

.hero-copy p {
margin: 24px 0 0;
      max-width: 780px;
      font-size: 1.04rem;
}

.hero-actions {
display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
}

.hero-card {
padding: 24px;
      display: grid;
      gap: 14px;
      align-content: stretch;
}

.metric-grid {
display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
}

.metric {
min-height: 136px;
      padding: 20px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,0.07);
      background: rgba(255,255,255,0.035);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
}

.metric strong {
font-size: clamp(1.55rem, 2.4vw, 2rem);
      line-height: 1;
      text-transform: uppercase;
}

.metric span {
color: var(--muted);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      line-height: 1.5;
}

.section {
padding: 76px 0;
}

.section-head {
display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 30px;
}

.section-head h2,
.cta-panel h2 {
margin: 0;
      font-size: clamp(2rem, 3.6vw, 3.8rem);
      line-height: 1.02;
      letter-spacing: -0.045em;
      text-transform: uppercase;
      max-width: 820px;
}

.section-head p {
max-width: 620px; margin: 0;
}

.muscle-system {
display: grid;
      grid-template-columns: minmax(0, 1fr) 390px;
      gap: 22px;
      align-items: stretch;
}

.body-stage {
min-height: 760px;
      padding: 24px;
      overflow: hidden;
      background:
        radial-gradient(circle at 50% 7%, rgba(0, 240, 255, 0.16), transparent 35%),
        linear-gradient(180deg, rgba(8,18,35,0.94), rgba(2,6,14,0.96));
}

.stage-top {
display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 16px;
}

.body-label,
.view-toggle button {
border: 1px solid rgba(255,255,255,0.08);
      border-radius: 999px;
      background: rgba(2,4,10,0.64);
      color: #c8f9ff;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.13em;
      text-transform: uppercase;
}

.body-label {
padding: 10px 13px;
}

.view-toggle {
display: flex;
      gap: 8px;
      padding: 4px;
      border-radius: 999px;
      background: rgba(255,255,255,0.035);
      border: 1px solid rgba(255,255,255,0.06);
}

.view-toggle button {
padding: 9px 12px;
      cursor: pointer;
      transition: 0.22s ease;
}

.view-toggle button.active {
color: #ffffff;
      border-color: rgba(0,240,255,0.32);
      background: rgba(0,240,255,0.13);
      box-shadow: 0 0 18px rgba(0,240,255,0.08);
}

.muscle-svg-wrap {
display: grid;
      place-items: center;
      min-height: 675px;
      position: relative;
}

.muscle-svg-wrap svg {
width: min(100%, 740px);
      height: 670px;
      filter: drop-shadow(0 28px 50px rgba(0,0,0,0.55));
}

.body-view {
display: none;
}

.body-view.active {
display: inline;
}

.skin {
fill: #151b26; stroke: rgba(255,255,255,0.08); stroke-width: 2;
}

.inner-shade {
fill: rgba(255,255,255,0.025);
}

.bone-line {
stroke: rgba(255,255,255,0.09); stroke-width: 2; fill: none;
}

.muscle-shape {
fill: #202a38;
      stroke: rgba(255,255,255,0.09);
      stroke-width: 1.1;
      cursor: pointer;
      opacity: 0.94;
      transition: fill 0.18s ease, opacity 0.18s ease, filter 0.18s ease, stroke 0.18s ease, transform 0.18s ease;
      transform-box: fill-box;
      transform-origin: center;
}

.muscle-shape:hover,
.muscle-shape:focus {
fill: #58e4ff;
      stroke: rgba(255,255,255,0.74);
      filter: drop-shadow(0 0 10px rgba(0,240,255,0.65));
      outline: none;
      transform: scale(1.018);
}

.muscle-shape.is-selected {
fill: var(--primary);
      stroke: rgba(255,255,255,0.85);
      filter: drop-shadow(0 0 15px rgba(0,240,255,0.95));
      opacity: 1;
}

.muscle-line {
stroke: rgba(255,255,255,0.18); stroke-width: 1; fill: none; pointer-events: none;
}

.muscle-outline {
fill: #07101a;
      opacity: 0.94;
      stroke: rgba(255,255,255,0.04);
      stroke-width: 0.8;
}

.body-stage .body-label {
position: absolute;
      left: 24px;
      top: 24px;
      z-index: 4;
      border: 1px solid rgba(0,240,255,0.16);
      border-radius: 999px;
      background: rgba(2,4,10,0.72);
      color: #c8f9ff;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
}

.body-stage .muscle-svg-wrap {
min-height: 760px;
      padding-top: 20px;
}

.body-stage .muscle-svg-wrap svg[viewBox="0 0 1024 1024"] {
width: min(100%, 980px);
      height: min(78vh, 780px);
      min-height: 680px;
      max-height: 820px;
}

.info-panel {
padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 18px;
      background: linear-gradient(180deg, rgba(9,20,40,0.94), rgba(3,8,18,0.94));
}

.info-top {
display: flex; gap: 14px; align-items: center;
}

.info-icon {
width: 56px;
      height: 56px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(0,240,255,0.22), rgba(58,141,255,0.11));
      border: 1px solid rgba(255,255,255,0.08);
      font-size: 1.45rem;
}

.info-panel h3 {
margin: 0;
      font-size: 1.75rem;
      letter-spacing: -0.035em;
      text-transform: uppercase;
}

.info-panel .tag {
color: #9dfbff;
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
}

.info-panel p {
margin: 0;
}

.info-list {
display: grid; gap: 10px;
}

.info-item {
padding: 14px;
      border-radius: 18px;
      background: rgba(255,255,255,0.045);
      border: 1px solid rgba(255,255,255,0.08);
}

.info-item b {
display: block;
      margin-bottom: 5px;
      color: #fff;
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
}

.muscle-pills {
display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: auto;
}

.muscle-pill {
border: 1px solid rgba(255,255,255,0.1);
      background: rgba(255,255,255,0.045);
      color: #c7d6ec;
      border-radius: 999px;
      padding: 9px 11px;
      font-weight: 800;
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: 0.22s ease;
}

.muscle-pill:hover,
.muscle-pill.active {
background: rgba(0,240,255,0.16);
      border-color: rgba(0,240,255,0.55);
      color: #e8fbff;
}

.training-grid {
display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
}

.training-card {
padding: 28px;
      min-height: 260px;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.training-card:hover {
transform: translateY(-6px);
      border-color: rgba(0,240,255,0.14);
      background: rgba(10,17,30,0.78);
}

.training-card .icon {
width: 60px;
      height: 60px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255,255,255,0.08);
      background: rgba(255,255,255,0.035);
      font-size: 1.55rem;
      margin-bottom: 18px;
}

.training-card h3 {
margin: 0 0 10px;
      text-transform: uppercase;
      font-size: 1.25rem;
}

.training-card p {
margin: 0;
}

.cta-wrap {
padding: 0 0 100px;
}

.cta-panel {
padding: 38px;
      background:
        linear-gradient(135deg, rgba(0,240,255,0.08), transparent 38%),
        rgba(9,16,28,0.72);
}

.cta-inner {
display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      flex-wrap: wrap;
}

.cta-panel p {
margin: 12px 0 0;
      max-width: 780px;
      color: var(--muted);
      line-height: 1.8;
      text-transform: uppercase;
}

.reveal {
opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
opacity: 1; transform: translateY(0);
}

@media (max-width: 1180px) {
.hero-grid,
.muscle-system,
.section-head,
.cta-inner {
grid-template-columns: 1fr;
}

.training-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 980px) {
.body-stage {
min-height: auto;
}

.muscle-svg-wrap {
min-height: 620px;
}

.muscle-svg-wrap svg {
height: 590px;
}
}

@media (max-width: 760px) {
.hero {
padding: 42px 0 28px;
}

.hero-panel,
.body-stage,
.info-panel,
.training-card,
.cta-panel {
padding: 22px;
}

.hero-copy h1 {
font-size: clamp(2.35rem, 11vw, 4.5rem);
}

.metric-grid,
.training-grid {
grid-template-columns: 1fr;
}

.stage-top {
align-items: flex-start; flex-direction: column;
}

.muscle-svg-wrap {
min-height: 510px;
}

.muscle-svg-wrap svg {
height: 500px;
}

.section {
padding: 58px 0;
}
}

@media (max-width: 520px) {
.muscle-svg-wrap {
min-height: 440px;
}

.muscle-svg-wrap svg {
height: 430px;
}
}
