﻿@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@600;700&display=swap");

:root {
  --zfit-purple: #5f45fe;
  --zfit-purple-dark: #4b38d9;
  --zfit-gray: #323133;
  --zfit-gray-dark: #1f1f22;
  --zfit-gray-light: #f2f2f5;
  --zfit-white: #ffffff;
  --zfit-border: #e0e0e6;
  --zfit-muted: #c9cad1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--zfit-white);
  background: var(--zfit-gray);
  line-height: 1.6;
}

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

a:hover {
  color: var(--zfit-purple);
}

h1, h2, h3, h4 {
  font-family: "Sora", sans-serif;
  margin: 0 0 0.6em 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1.5em 0;
  color: var(--zfit-muted);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(31, 31, 34, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1em 0;
  gap: 1em;
}

.brand {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--zfit-white);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
}

.brand span {
  color: var(--zfit-purple);
}

.zfit-logo-svg {
  width: auto;
  height: 28px;
  display: block;
}

.hero-logo {
  margin: 0.6em 0 1em 0;
}

.hero-logo .zfit-logo-svg {
  height: 52px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  font-size: 0.95em;
  color: var(--zfit-muted);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--zfit-white);
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--zfit-purple);
  outline-offset: 2px;
}

.menu-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--zfit-white);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: var(--zfit-purple);
  color: #fff;
}

.button-primary:hover {
  background: var(--zfit-purple-dark);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.button-secondary:hover {
  border-color: var(--zfit-purple);
  color: #fff;
}

.hero {
  position: relative;
  padding: 6em 0 5em;
  background: url("../../images/pic01.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 31, 34, 0.95), rgba(31, 31, 34, 0.65));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3em;
  z-index: 2;
  align-items: start;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--zfit-purple);
  margin-bottom: 1em;
}

.hero-actions {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35em 0.8em;
  font-size: 0.85em;
  color: var(--zfit-muted);
}

.hero-card {
  background: rgba(32, 32, 37, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2em;
}

.app-preview {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  align-self: end;
}

.app-preview-header p {
  margin-bottom: 0;
}

.phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(270px, 100%);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(145deg, #1b1b22, #0b0b0f);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 12px;
  border-radius: 999px;
  background: #000;
  opacity: 0.6;
  z-index: 2;
}

.phone-screen {
  position: relative;
  background: #1e1e25;
  border-radius: 24px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 460px;
  height: 470px;
}

.app-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.6em;
  color: #e5e5eb;
}

.status-dots {
  display: inline-flex;
  gap: 4px;
}

.status-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e5e5eb;
  display: inline-block;
}

.app-bar {
  background: #1f2735;
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-wordmark {
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: -0.03em;
  color: #fff;
  font-style: italic;
}

.app-wordmark span {
  color: var(--zfit-purple);
}

.app-actions {
  display: inline-flex;
  gap: 6px;
}

.app-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  border: none;
  padding: 0;
  cursor: pointer;
}

.app-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-content {
  flex: 1;
  padding: 2px;
  overflow: hidden;
}

.app-view {
  display: none;
  height: 100%;
  overflow: hidden;
  padding-right: 2px;
}

.app-view.is-active {
  display: block;
}

.app-view[data-view="tabata"].is-active {
  display: flex;
  flex-direction: column;
}

.app-view h4 {
  margin: 0 0 0.75em 0;
  font-size: 0.9em;
  color: #fff;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6em;
}

.app-tile {
  border-radius: 16px;
  padding: 0.85em 0.75em;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  font-size: 0.7em;
  color: #fff;
  min-height: 86px;
}

.app-tile-button {
  border: none;
  cursor: pointer;
  text-align: left;
}

.app-tile strong {
  font-size: 0.85em;
}

.app-tile span {
  color: var(--zfit-muted);
  font-size: 0.8em;
}

.tile-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.tile-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-purple { background: #5f45fe; }
.tile-green { background: #1f9d62; }
.tile-gray { background: #0ea5a4; }
.tile-pink { background: #e63b6f; }
.tile-orange { background: #f57c00; }
.tile-amber { background: #c9861f; }

.app-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5em;
  color: var(--zfit-muted);
  font-size: 0.75em;
}

.app-list li {
  background: #2b2b34;
  border-radius: 12px;
  padding: 0.6em 0.8em;
}

.app-list-strong strong {
  display: block;
  color: #ffffff;
  font-size: 0.95em;
}

.app-list-strong span {
  color: var(--zfit-muted);
  font-size: 0.85em;
}

.app-routines-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.6em;
}

.app-routines-header h4 {
  margin-bottom: 0.2em;
}

.app-subtitle {
  margin: 0;
  font-size: 0.65em;
  color: var(--zfit-muted);
}

.app-chip {
  font-size: 0.6em;
  padding: 0.3em 0.6em;
  border-radius: 8px;
  background: rgba(245, 124, 0, 0.22);
  color: #ffd2a1;
  white-space: nowrap;
}

.app-routine-card {
  background: #262833;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7em 0.8em;
  display: grid;
  gap: 0.6em;
}

.app-routine-header {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  font-size: 0.7em;
}

.app-routine-header strong {
  color: #ffffff;
  display: block;
  margin-bottom: 0.3em;
}

.app-routine-header span {
  color: var(--zfit-muted);
  font-size: 0.9em;
  line-height: 1.3;
}

.app-routine-arrow {
  color: var(--zfit-muted);
  font-size: 1.1em;
  padding-top: 0.2em;
}

.app-routine-stats {
  display: flex;
  gap: 0.8em;
  font-size: 0.65em;
  color: var(--zfit-muted);
}

.app-routine-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.app-routine-stats svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #b6b8c2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-day-row {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.55em 0.6em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.7em;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.app-day-row div {
  flex: 1;
  display: grid;
  gap: 0.2em;
}

.app-day-row span {
  color: var(--zfit-muted);
  font-size: 0.85em;
}

.day-pill {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(95, 69, 254, 0.25);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
}

.app-arrow {
  color: var(--zfit-muted);
  font-size: 1.2em;
}

.app-rutinas-view {
  display: none;
  gap: 0.6em;
}

.app-rutinas-view.is-active {
  display: grid;
}

.app-profile-hero {
  background: linear-gradient(180deg, #5f45fe 0%, #3b2d79 100%);
  border-radius: 14px;
  padding: 1em 0.8em 0.9em;
  display: grid;
  place-items: center;
  gap: 0.25em;
  text-align: center;
}

.app-profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.app-profile-avatar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-profile-hero strong {
  font-size: 0.85em;
  color: #ffffff;
}

.app-profile-hero span {
  font-size: 0.65em;
  color: rgba(255, 255, 255, 0.7);
}

.app-profile-card {
  background: #2b2b34;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7em 0.8em;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0.6em;
  align-items: center;
  margin: 0.7em 0;
}

.app-profile-divider {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.app-profile-label {
  display: block;
  font-size: 0.7em;
  color: #ffffff;
  font-weight: 600;
}

.app-profile-sub {
  display: block;
  font-size: 0.6em;
  color: var(--zfit-muted);
  margin-top: 0.2em;
}

.app-profile-muted {
  display: block;
  font-size: 0.55em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.2em;
}

.app-profile-metrics {
  background: #2b2b34;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7em 0.8em;
  display: grid;
  gap: 0.6em;
}

.app-profile-metrics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}

.app-profile-metrics-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.7em;
  color: #ffffff;
}

.app-profile-metrics-title svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #b9b2ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-profile-add {
  border: none;
  border-radius: 10px;
  padding: 0.3em 0.6em;
  font-size: 0.6em;
  background: #5f45fe;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
}

.app-profile-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.2em;
  padding: 0.5em 0;
}

.app-profile-empty svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #9aa0b2;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-profile-empty p {
  margin: 0;
  font-size: 0.65em;
  color: #ffffff;
}

.app-profile-empty span {
  font-size: 0.6em;
  color: var(--zfit-muted);
}

.app-ranking-item {
  background: #2b2b34;
  border-radius: 12px;
  padding: 0.6em 0.7em;
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.5em;
  font-size: 0.7em;
}

.app-ranking-item div {
  flex: 1;
  display: grid;
  gap: 0.2em;
}

.app-ranking-item strong {
  color: #ffffff;
}

.app-ranking-item span {
  color: var(--zfit-muted);
  font-size: 0.85em;
}

.app-ranking-badge {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(95, 69, 254, 0.3);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75em;
}

.app-ranking-score {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.9em;
}

.app-notifications-hero {
  background: linear-gradient(180deg, #241954 0%, #0f1020 100%);
  border-radius: 14px;
  padding: 1.3em 0 1.6em;
  display: grid;
  place-items: center;
  margin-bottom: -1.4em;
}

.app-notifications-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
}

.app-notifications-avatar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-notifications-card {
  background: #2b2b34;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.8em;
  display: grid;
  gap: 0.5em;
}

.app-notifications-card h4 {
  margin: 0;
  font-size: 0.8em;
  color: #ffffff;
}

.app-notifications-card p {
  margin: 0;
  font-size: 0.62em;
  color: var(--zfit-muted);
}

.app-notification-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.6em;
  display: grid;
  gap: 0.35em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.62em;
  color: var(--zfit-muted);
}

.app-notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  font-size: 1em;
}

.app-notification-header strong {
  color: #ffffff;
}

.app-notification-close {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.app-notification-close svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-notification-date {
  font-size: 0.55em;
  color: rgba(255, 255, 255, 0.4);
}

.app-rutinas-top {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.7em;
  color: #ffffff;
}

.app-rutinas-top strong {
  display: block;
}

.app-rutinas-top span {
  color: var(--zfit-muted);
  font-size: 0.85em;
}

.app-back-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.app-back-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5em;
}

.app-mini-stat {
  background: #2a2b33;
  border-radius: 12px;
  padding: 0.45em 0.4em;
  text-align: center;
  font-size: 0.6em;
  color: var(--zfit-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-mini-stat strong {
  display: block;
  font-size: 1.3em;
  color: #ffffff;
}

.stat-purple strong {
  color: #a08bff;
}

.stat-blue strong {
  color: #5fb4ff;
}

.stat-green strong {
  color: #56d39b;
}

.app-exercise-card {
  background: #2b2b34;
  border-radius: 12px;
  padding: 0.6em 0.7em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}

.app-exercise-info {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.7em;
}

.app-exercise-info strong {
  display: block;
  color: #ffffff;
}

.app-exercise-info span {
  color: var(--zfit-muted);
  font-size: 0.85em;
}

.app-exercise-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(95, 69, 254, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.app-exercise-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.app-exercise-actions {
  display: inline-flex;
  gap: 0.3em;
}

.app-mini-btn {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.app-mini-btn svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-block {
  background: #2b2b34;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75em 0.8em;
  display: grid;
  gap: 0.45em;
  margin-bottom: 0.6em;
}

.app-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7em;
  color: #ffffff;
}

.app-badge {
  font-size: 0.62em;
  padding: 0.2em 0.5em;
  border-radius: 999px;
  background: rgba(95, 69, 254, 0.25);
  color: #ffffff;
}

.app-badge-muted {
  background: rgba(255, 255, 255, 0.12);
  color: var(--zfit-muted);
}

.app-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7em;
  color: #e5e5eb;
}

.app-row span {
  color: var(--zfit-muted);
}

.app-slot {
  background: #2b2b34;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.7em 0.8em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.app-slot div {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  font-size: 0.7em;
  color: #ffffff;
}

.app-slot div span {
  color: var(--zfit-muted);
  font-size: 0.85em;
}

.app-status-badge {
  font-size: 0.6em;
  padding: 0.2em 0.5em;
  border-radius: 999px;
  background: rgba(95, 69, 254, 0.25);
  color: #e4deff;
}

.app-status-badge.pending {
  background: rgba(245, 124, 0, 0.22);
  color: #ffd2a1;
}

.app-status-badge.available {
  background: rgba(31, 157, 98, 0.2);
  color: #b9f2d3;
}

.app-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5em;
  margin-bottom: 0.6em;
}

.app-metric {
  background: #2b2b34;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.6em 0.55em;
  font-size: 0.65em;
  color: var(--zfit-muted);
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  text-align: center;
}

.app-metric strong {
  color: #ffffff;
  font-size: 1.1em;
}

.app-tabata-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65em;
  color: var(--zfit-muted);
  margin-bottom: 0.6em;
}

.app-tabata-title {
  color: #6b63ff;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.app-tabata-time {
  color: #ffffff;
  font-weight: 600;
}

.app-tabata-settings {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: none;
  background: rgba(95, 69, 254, 0.2);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.app-tabata-settings svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #b9b2ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-tabata-prep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0.25em 0.8em;
  border-radius: 10px;
  background: rgba(243, 176, 0, 0.25);
  color: #ffd56a;
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.6em;
}

.app-tabata-timer {
  font-size: 2.6em;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 0.6em;
}

.app-tabata-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 0.8em;
}

.app-tabata-stat {
  text-align: center;
  font-size: 0.6em;
  color: var(--zfit-muted);
}

.app-tabata-stat strong {
  display: block;
  font-size: 1.4em;
  color: #ffffff;
}

.app-tabata-play {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #5f45fe;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(95, 69, 254, 0.4);
}

.app-tabata-play svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.app-tabata-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6em;
  margin-top: auto;
}

.app-tabata-action {
  border: none;
  border-radius: 12px;
  padding: 0.8em 0.4em;
  background: #2b2b34;
  color: #ffffff;
  font-size: 0.62em;
  display: grid;
  place-items: center;
  gap: 0.4em;
  cursor: pointer;
}

.app-tabata-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-tabata-action:first-child {
  background: #2f64f1;
}

.app-tabata-action:nth-child(2) {
  background: #3a3a44;
}

.app-tabata-action.is-green {
  background: #1f9d62;
}

.app-timer {
  background: #2b2b34;
  border-radius: 16px;
  padding: 1em;
  display: grid;
  place-items: center;
  gap: 0.3em;
  margin-bottom: 0.8em;
}

.app-timer span {
  font-size: 1.3em;
  font-weight: 700;
  color: #fff;
}

.app-timer small {
  color: var(--zfit-muted);
}

.app-muted {
  font-size: 0.75em;
  color: var(--zfit-muted);
  margin: 0;
}

.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3em;
  background: #1b1b20;
  border-radius: 14px;
  padding: 0.35em;
}

.app-bottom-nav button {
  background: transparent;
  border: none;
  color: #c9cad1;
  font-size: 0.6em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  padding: 0.4em 0.2em;
  border-radius: 10px;
  cursor: pointer;
}

.app-bottom-nav button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-bottom-nav button.is-active {
  background: rgba(95, 69, 254, 0.2);
  color: #fff;
}

.hero-card ul {
  padding-left: 1em;
  margin: 0 0 1.5em 0;
  color: var(--zfit-muted);
}

.section {
  padding: 5em 0;
  background: var(--zfit-gray);
}

.section-light {
  background: #f7f7fb;
  color: #1f1f22;
}

.section-light h2,
.section-light p,
.section-light strong,
.section-light a {
  color: #1f1f22;
}

.section-dark {
  background: var(--zfit-gray-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 3em;
}

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

.card {
  background: #2e2e34;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2em 1.8em;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 69, 254, 0.6);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(95, 69, 254, 0.18);
  display: grid;
  place-items: center;
  margin-bottom: 1em;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--zfit-purple);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2em;
}

.panel-card {
  background: #2a2a30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 2.2em;
}

.panel-card ul {
  margin: 0;
  padding-left: 1em;
  color: var(--zfit-muted);
}

.timeline-list {
  display: grid;
  gap: 1.2em;
  max-width: 640px;
  margin: 0 auto;
}

.timeline-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2em;
  align-items: center;
  padding-bottom: 1.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: center;
}

.timeline-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-step {
  background: #5f45fe;
  color: #ffffff;
  border-radius: 14px;
  padding: 0.5em 0.7em;
  display: grid;
  gap: 0.15em;
  min-width: 62px;
  text-align: center;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 0 0);
}

.timeline-step span {
  font-size: 0.6em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-step strong {
  font-size: 1.2em;
  font-weight: 700;
}

.timeline-content h4 {
  margin-bottom: 0.3em;
  color: #ffffff;
}

.timeline-content p {
  margin: 0;
  color: var(--zfit-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  align-items: center;
}

.contact-card {
  background: #ffffff;
  color: #1f1f22;
  border-radius: 18px;
  padding: 2em;
  border: 1px solid var(--zfit-border);
}

.contact-card p {
  color: #1f1f22;
  margin: 0 0 1em 0;
}

.site-footer {
  background: #1a1a1e;
  color: var(--zfit-muted);
  padding: 2em 0;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: space-between;
  font-size: 0.9em;
}

@media (max-width: 820px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .app-preview {
    align-self: center;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 52px;
  }

  .hero {
    padding: 4em 0;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0.45em 0;
    gap: 0.5em;
  }

  .nav-links {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    font-size: 0.9em;
    gap: 0.75em;
    padding: 0.6em 0 0.2em;
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .menu-toggle {
    order: 3;
    display: inline-flex;
    margin-left: auto;
    width: 36px;
    height: 34px;
  }

  .zfit-logo-svg {
    height: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .site-header .button {
    width: auto;
    padding: 0.55em 1em;
    font-size: 0.9em;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
