:root {
  --bg: #0b0c10;
  --bg-alt: #11131a;
  --accent: #1e6bff;
  --accent-soft: #4fb4ff;
  --accent-glow: rgba(30, 107, 255, 0.55);
  --text: #f4f6f9;
  --muted: #b1b6c2;
  --panel: rgba(20, 20, 28, 0.92);
  --border: rgba(70, 120, 255, 0.3);
  --shadow: 0 24px 70px rgba(10, 20, 40, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lato", sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(25, 60, 140, 0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(30, 100, 255, 0.28), transparent 40%),
    linear-gradient(180deg, #0a0b10 0%, #050608 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .site-footer {
  text-align: right;
}

.site-header,
.hero-copy,
.hero-visual,
.goals h2,
.goal-buttons,
.programs,
.testimonials h2,
.testimonial-grid,
.site-footer,
.logos {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.9s ease forwards;
}

.hero-copy {
  animation-delay: 0.1s;
}

.hero-visual {
  animation-delay: 0.25s;
}

.logos {
  animation-delay: 0.35s;
}

.goals h2,
.goal-buttons {
  animation-delay: 0.45s;
}

.programs {
  animation-delay: 0.55s;
}

.testimonials h2 {
  animation-delay: 0.65s;
}

.testimonial-grid {
  animation-delay: 0.75s;
}

.site-footer {
  animation-delay: 0.85s;
}

.nebula {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(40, 90, 220, 0.35), transparent 45%),
    radial-gradient(circle at 70% 10%, rgba(30, 120, 255, 0.28), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(40, 100, 240, 0.2), transparent 45%),
    radial-gradient(circle at 30% 80%, rgba(30, 90, 220, 0.18), transparent 50%),
    radial-gradient(#ffffff 1px, transparent 1px),
    radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 160px 160px, 280px 280px;
  background-position: center, center, center, center, 0 0, 60px 80px;
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-30px);
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1,
h2,
h3,
h4 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw 10px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.92), rgba(8, 8, 12, 0.12));
  z-index: 10;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(10, 20, 50, 0.7);
  color: var(--text);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: rgba(200, 230, 255, 0.9);
  border-radius: 999px;
}

.logo {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  direction: ltr;
}

.logo-mark {
  width: 46px;
  height: 46px;
  position: relative;
  z-index: 0;
  isolation: isolate;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(80, 180, 255, 0.8), rgba(15, 20, 40, 0.9));
  border: 1px solid rgba(70, 130, 255, 0.6);
  box-shadow: 0 10px 26px rgba(20, 70, 160, 0.55);
  text-decoration: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.logo-mark--paid {
  overflow: hidden;
}

.logo-mark--paid img {
  border-radius: 12px;
  box-shadow: none;
}

.logo-initials {
  display: none;
  font-weight: 800;
  color: #02112b;
}

.logo-text {
  font-weight: 600;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a.btn::after {
  content: none;
}

.site-nav a,
.btn {
  position: relative;
}

.btn {
  font-family: "Lato", sans-serif;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #1f6bff, #55bfff);
  color: #0b0f1c;
  box-shadow: 0 12px 30px rgba(30, 107, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(60, 150, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(80, 130, 255, 0.6);
  box-shadow: inset 0 0 12px rgba(40, 100, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(50, 110, 255, 0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(25, 28, 40, 0.7);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(70, 150, 255, 0.3);
  transform: translateY(-1px);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 1px solid rgba(80, 140, 255, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn:hover::after {
  opacity: 1;
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 20% 20%, rgba(80, 160, 255, 0.25), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.2), transparent 45%),
    linear-gradient(160deg, rgba(8, 15, 40, 0.98), rgba(3, 6, 20, 0.98));
  display: grid;
  place-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

#page-loader .loader-core {
  display: grid;
  gap: 14px;
  place-items: center;
  color: var(--muted);
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#page-loader .loader-core img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  animation: loaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(70, 180, 255, 0.8));
}

@keyframes loaderPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.7;
  }
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  padding: 60px 8vw 40px;
  align-items: center;
}

.home-hero {
  padding-top: 40px;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 18px;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(50, 120, 255, 0.55);
}

.hero-title span {
  color: var(--accent-soft);
  text-shadow: 0 0 24px rgba(80, 150, 255, 0.65);
}

.hero-brand {
  color: var(--accent);
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 0 30px rgba(80, 160, 255, 0.65);
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(30, 90, 255, 0.2);
  border: 1px solid rgba(70, 120, 255, 0.6);
  color: var(--muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(80, 120, 255, 0.25);
}

.hero-metrics .metric {
  display: grid;
  gap: 6px;
  padding-left: 14px;
  border-left: 2px solid rgba(70, 120, 255, 0.5);
}

.hero-metrics .metric:first-child {
  border-left: none;
  padding-left: 0;
}

.hero-metrics .metric {
  display: grid;
  gap: 6px;
}

.hero-metrics h3 {
  font-size: 1.35rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-section {
  margin: 50px 8vw 30px;
  padding: 0;
}

.about-header h2 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.about-lead {
  color: var(--muted);
  max-width: 720px;
}

.about-grid {
  display: grid;
  gap: 22px;
  margin-top: 18px;
  grid-template-columns: minmax(220px, 1fr);
  align-items: center;
}

.captain-card {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 28px;
  padding: 26px 28px;
  border-radius: 22px;
  border: 1px solid rgba(90, 170, 255, 0.28);
  background: radial-gradient(circle at top left, rgba(90, 170, 255, 0.14), transparent 45%),
    linear-gradient(135deg, rgba(6, 14, 36, 0.98), rgba(4, 8, 26, 0.98));
  align-items: start;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.captain-identity {
  display: grid;
  justify-items: start;
  gap: 10px;
  text-align: left;
}

.captain-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(90, 170, 255, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.captain-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.captain-title {
  color: var(--muted);
  margin: 2px 0 6px;
}

.captain-details {
  display: grid;
  gap: 8px;
  align-self: center;
}

.captain-bio {
  color: var(--muted);
  margin: 0;
  text-align: left;
  max-width: 560px;
}


@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .captain-card {
    grid-template-columns: 1fr;
  }
  .about-visual img {
    height: 260px;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  background: var(--panel);
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stats h3 {
  font-size: 1.3rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
  justify-self: center;
}

.home-hero .hero-visual {
  height: 520px;
}

.home-hero .hero-visual::before,
.home-hero .hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.7;
}

.home-hero .hero-visual::before {
  width: 48px;
  height: 48px;
  background: rgba(40, 120, 255, 0.7);
  top: 80px;
  left: 60px;
  box-shadow: 0 0 30px rgba(40, 120, 255, 0.7);
}

.home-hero .hero-visual::after {
  width: 28px;
  height: 28px;
  background: rgba(80, 170, 255, 0.65);
  bottom: 70px;
  right: 40px;
  box-shadow: 0 0 24px rgba(80, 170, 255, 0.6);
}

.hero-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 100, 255, 0.7), rgba(20, 30, 60, 0.25));
  filter: blur(2px);
  box-shadow: 0 0 80px rgba(30, 110, 255, 0.65);
}

.hero-portrait {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1 / 1.2;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(40, 90, 255, 0.35), rgba(10, 12, 20, 0.95));
  border: 2px solid rgba(70, 120, 255, 0.6);
  box-shadow: 0 24px 60px rgba(0, 20, 70, 0.55);
  overflow: hidden;
  display: grid;
  place-items: end center;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
}

.stat-chip {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(12, 14, 22, 0.9);
  border: 1px solid rgba(70, 120, 255, 0.6);
  color: var(--text);
  font-size: 0.85rem;
  box-shadow: 0 16px 30px rgba(0, 20, 60, 0.45);
  backdrop-filter: blur(6px);
}

.stat-chip strong {
  font-size: 1rem;
}

.stat-chip span {
  color: var(--muted);
  font-size: 0.75rem;
}

.chip-top {
  top: 30px;
  right: 10px;
}

.chip-left {
  top: 45%;
  left: -20px;
}

.chip-bottom {
  bottom: 10px;
  left: 20px;
}

.chip-right {
  bottom: 60px;
  right: -10px;
}

.badge {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 1 / 1.1;
  border-radius: 30px;
  background: radial-gradient(circle at top, rgba(80, 200, 255, 0.5), transparent 70%),
    linear-gradient(135deg, rgba(20, 40, 90, 0.9), rgba(5, 10, 30, 0.9));
  border: 2px solid #46aaffcc;
  box-shadow: 0 0 30px #46aaff99;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: pulse 3.2s ease-in-out infinite;
}

.badge-core {
  text-align: center;
  z-index: 2;
}

.logo-image {
  width: min(360px, 80vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 24px rgba(70, 200, 255, 0.6));
  animation: logo-glow 3.6s ease-in-out infinite;
}

.badge-back {
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(90, 200, 255, 0.5);
  border-radius: 22px;
  transform: rotate(8deg);
  box-shadow: inset 0 0 30px rgba(0, 160, 255, 0.4);
}

.silhouette {
  position: absolute;
  width: 200px;
  height: 280px;
  border-radius: 100px 100px 40px 40px;
  background: linear-gradient(180deg, rgba(120, 200, 255, 0.5), rgba(20, 40, 90, 0.9));
  filter: blur(0.2px);
  top: 20px;
  left: 50%;
  transform: translateX(45%);
  opacity: 0.9;
  animation: float 5s ease-in-out infinite alternate;
}

.goals {
  padding: 60px 8vw 40px;
  text-align: center;
}

.goals h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}

.goal-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
}

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

.programs-vertical .program-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.program-card {
  background: linear-gradient(180deg, rgba(12, 24, 52, 0.8), rgba(6, 12, 32, 0.7));
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(40, 120, 255, 0.35);
}

.program-card .icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(70, 170, 255, 0.25);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.program-card h3 {
  margin-bottom: 10px;
}

.program-card p {
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.feature-banner {
  position: relative;
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(90, 200, 255, 0.8);
  background: radial-gradient(circle at top, rgba(100, 220, 255, 0.6), rgba(10, 18, 45, 0.95));
  box-shadow: 0 0 40px rgba(70, 170, 255, 0.5);
  text-align: center;
  display: grid;
  place-items: center;
  animation: shimmer 4s ease-in-out infinite;
}

.feature-inner span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  display: block;
  margin-bottom: 8px;
}

.feature-inner p {
  color: var(--muted);
}

.testimonials {
  padding: 60px 8vw 80px;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 32px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  text-align: left;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite alternate;
}

.testimonial:nth-child(2) {
  animation-delay: 1s;
}

.testimonial:nth-child(3) {
  animation-delay: 2s;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #46e4ff, #0a1b40);
  border: 2px solid rgba(90, 200, 255, 0.8);
  margin-bottom: 16px;
}

.stars {
  color: #ffd976;
  margin-bottom: 12px;
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.site-footer {
  padding: 32px 8vw 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(60, 140, 220, 0.3);
  background: rgba(5, 8, 23, 0.7);
}

.site-footer p {
  color: var(--muted);
  margin-top: 6px;
}

.calculator {
  padding: 60px 8vw 80px;
  display: grid;
  gap: 32px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.calc-form {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.calc-results {
  display: grid;
  gap: 18px;
}

.calc-value {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  margin: 8px 0;
  color: var(--text);
}

.meal-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
}

.meal-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: center;
}

.meal-image {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(120, 220, 255, 0.7), rgba(10, 20, 50, 0.8));
  border: 1px solid rgba(90, 170, 255, 0.45);
  box-shadow: inset 0 0 16px rgba(30, 120, 255, 0.4);
}

.meal-details {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.diet-page .meal-card {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(90, 170, 255, 0.28);
  background: rgba(8, 16, 38, 0.45);
  margin-bottom: 10px;
}

.diet-page .meal-title {
  font-size: 1.25rem;
  letter-spacing: 0.03em;
}

.diet-page .meal-details {
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.workout-grid {
  display: grid;
  gap: 16px;
}

.workout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(90, 170, 255, 0.2);
}

.workout-content {
  display: grid;
  gap: 4px;
}

.workout-reps {
  color: var(--muted);
}

.workout-video {
  padding: 6px 12px;
  white-space: nowrap;
}

.workout-day-card {
  border: 1px solid rgba(90, 170, 255, 0.35);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  background: rgba(10, 20, 50, 0.25);
}

.workout-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.workout-day-header h3 {
  margin: 0;
}

.collapse-toggle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(90, 170, 255, 0.14);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.collapse-arrow {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.collapse-toggle[aria-expanded="true"] .collapse-arrow {
  transform: rotate(90deg);
}

.collapse-content:not([hidden]) {
  display: grid;
  gap: 12px;
}

.collapse-content[hidden] {
  display: none !important;
}

.workout-day-form {
  display: grid;
  gap: 12px;
}

.workout-rest-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(90, 170, 255, 0.12);
  width: fit-content;
}

.workout-card:last-child {
  border-bottom: none;
}

.workout-image {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(70, 200, 255, 0.7), rgba(10, 20, 50, 0.8));
  border: 1px solid rgba(90, 170, 255, 0.45);
  box-shadow: inset 0 0 16px rgba(30, 120, 255, 0.4);
}

.measure-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.measure-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 20, 50, 0.5);
  border: 1px solid rgba(90, 170, 255, 0.35);
  color: var(--muted);
}

.measure-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.measure-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(10, 20, 50, 0.5);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  font-family: "Lato", sans-serif;
}

.measure-tab.is-active {
  background: rgba(70, 150, 255, 0.25);
  color: var(--text);
  border-color: rgba(90, 200, 255, 0.6);
}

.notif-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notif-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(70, 150, 255, 0.9);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.notif-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  width: 320px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(10, 20, 50, 0.9);
  border: 1px solid rgba(90, 170, 255, 0.4);
  box-shadow: 0 20px 40px rgba(5, 10, 30, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.notif-menu:focus-within .notif-dropdown,
.notif-menu:hover .notif-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.notif-list {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.notif-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.2);
  background: rgba(10, 20, 50, 0.6);
}

.notif-item.is-unread {
  border-color: rgba(90, 200, 255, 0.6);
  background: rgba(20, 40, 90, 0.5);
}

.notif-title {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.notif-body {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.notif-time {
  color: var(--muted);
  font-size: 12px;
}

.notif-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.notif-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.measure-panel {
  display: grid;
  gap: 18px;
}

.measure-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.measure-unit {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  color: var(--muted);
}

.measure-form {
  gap: 12px;
}

.measure-history ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.page {
  padding: 80px 8vw 60px;
  min-height: 70vh;
  display: grid;
  gap: 28px;
}

.flash-wrap {
  padding: 22px 8vw 0;
}

.flash-wrap .pill {
  margin-bottom: 0;
}

.page-hero {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  text-shadow: 0 0 30px rgba(80, 160, 255, 0.55);
}

.page-hero p {
  color: var(--muted);
  line-height: 1.6;
}

.page-card {
  background: linear-gradient(180deg, rgba(12, 24, 52, 0.82), rgba(6, 12, 32, 0.74));
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.chart-card {
  padding: 20px;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.chart-panel {
  background: rgba(8, 12, 22, 0.85);
  border: 1px solid rgba(80, 130, 255, 0.35);
  border-radius: 16px;
  padding: 14px;
  min-height: 200px;
  display: grid;
  gap: 10px;
  position: relative;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.chart-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.chart-header span {
  color: var(--muted);
  font-size: 0.8rem;
}

.chart-canvas {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background: rgba(5, 8, 16, 0.6);
}

.chart-tooltip {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -100%);
  background: rgba(4, 10, 24, 0.95);
  border: 1px solid rgba(90, 170, 255, 0.65);
  color: #d7e8ff;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.78rem;
  line-height: 1.2;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

.alt-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.25);
  background: rgba(8, 16, 35, 0.45);
  margin-bottom: 12px;
}

.alt-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.alt-control input[type="checkbox"] {
  accent-color: #4aa3ff;
}

.alt-control-range {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.alt-control-range input[type="range"] {
  width: 180px;
}

.alt-control-value {
  color: var(--text);
  font-weight: 600;
}

.alt-results {
  display: grid;
  gap: 10px;
}

.alt-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(10, 20, 50, 0.35);
}

.alt-title {
  font-weight: 600;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.alt-qty,
.alt-macros {
  color: var(--muted);
  font-size: 0.9rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.alt-macros {
  text-align: right;
}

.diet-page .diet-alternatives {
  width: 100%;
}

.diet-page .alt-row {
  grid-template-columns: minmax(0, 1.4fr) auto minmax(180px, 1fr);
}

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

  .diet-page .alt-row {
    grid-template-columns: 1fr;
  }

  .alt-macros {
    text-align: left;
  }
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-link:hover {
  color: var(--text);
}

.toast-host {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  z-index: 9999;
}

#toast-host {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  z-index: 9999;
}

.toast {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(12, 24, 56, 0.95);
  border: 1px solid rgba(80, 140, 255, 0.45);
  color: var(--text);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-error {
  border-color: rgba(255, 88, 110, 0.55);
  background: rgba(36, 10, 16, 0.95);
}

.logos {
  padding: 20px 8vw 30px;
  text-align: center;
}

.promo-stack {
  display: grid;
  gap: 18px;
  padding: 10px 8vw 60px;
  justify-items: center;
}

.promo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(90, 170, 255, 0.25);
  background: rgba(10, 20, 50, 0.35);
  width: min(420px, 92vw);
  aspect-ratio: 4 / 5;
}

.promo-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(5, 10, 24, 0.2), rgba(5, 10, 24, 0.55));
}

.promo-overlay h3 {
  margin: 0 0 10px 0;
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
}

.promo-overlay p {
  margin: 0 0 14px 0;
  color: var(--muted);
}

@media (max-width: 800px) {
  .promo-card {
    width: min(360px, 92vw);
  }
}

.logos p {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 18px;
}

.logo-track {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.logo-track-inner {
  display: flex;
  gap: 34px;
  width: max-content;
  padding-right: 34px;
  animation: marquee 22s linear infinite;
}

.logo-track span {
  color: rgba(160, 200, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  border-radius: 999px;
  background: rgba(10, 20, 50, 0.5);
  box-shadow: inset 0 0 12px rgba(30, 120, 255, 0.25);
}

.services {
  padding: 30px 8vw 70px;
}

.services-header {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  max-width: 680px;
}

.services-header h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  text-transform: uppercase;
}

.services-sub {
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(70, 120, 255, 0.35);
  background: linear-gradient(160deg, rgba(12, 14, 22, 0.98), rgba(8, 10, 16, 0.98));
  box-shadow: 0 20px 40px rgba(0, 10, 30, 0.45);
  overflow: hidden;
  display: grid;
  gap: 14px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(50, 110, 255, 0.25), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.service-top span {
  font-family: "Lato", sans-serif;
  color: rgba(120, 170, 255, 0.8);
  font-size: 0.9rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.service-link {
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-link:hover {
  color: var(--text);
}

.gallery {
  padding: 80px 6vw;
  display: grid;
  gap: 32px;
}

.gallery-header h2 {
  font-family: "Bebas Neue", sans-serif;
  margin: 8px 0;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(10, 20, 50, 0.6);
  border: 1px solid rgba(90, 170, 255, 0.35);
}

.gallery-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-images img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(6, 16, 36, 0.7);
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  font-size: 0.9rem;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(90, 170, 255, 0.35);
  background: rgba(6, 16, 36, 0.7);
  color: var(--text);
  font-family: "Lato", sans-serif;
}

.form select option,
.form select optgroup {
  color: #eaf3ff;
  background: #071634;
}

.ts-control {
  background: rgba(6, 16, 36, 0.9);
  border: 1px solid rgba(90, 170, 255, 0.45);
  border-radius: 12px;
  color: var(--text);
  padding: 10px 12px;
  box-shadow: 0 0 0 1px rgba(40, 110, 255, 0.15);
}

.ts-control input {
  color: var(--text);
}

.ts-wrapper.single .ts-control {
  background: rgba(6, 16, 36, 0.9) !important;
  color: var(--text) !important;
}

.ts-wrapper.single .ts-control .item,
.ts-wrapper.single .ts-control input {
  color: var(--text) !important;
}

.ts-wrapper.single .ts-control input::placeholder {
  color: rgba(170, 190, 220, 0.6) !important;
}

.ts-control .item {
  background: rgba(30, 90, 255, 0.25);
  border: 1px solid rgba(90, 170, 255, 0.45);
  border-radius: 10px;
  color: var(--text);
}

.ts-dropdown {
  background: rgba(8, 12, 22, 0.98);
  border: 1px solid rgba(90, 170, 255, 0.45);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 20, 60, 0.45);
}

.ts-dropdown,
.ts-dropdown-content {
  background: rgba(8, 12, 22, 0.98) !important;
  color: var(--text) !important;
}

.ts-dropdown .option {
  padding: 10px 12px;
  color: var(--text) !important;
  background: transparent;
}

.ts-dropdown .option.active {
  background: rgba(40, 110, 255, 0.35) !important;
}

.ts-dropdown .option:hover {
  background: rgba(40, 110, 255, 0.2) !important;
}

.ts-dropdown .option.selected {
  background: rgba(30, 90, 255, 0.25) !important;
}

.ts-dropdown .option[data-selectable] {
  color: var(--text);
}

.ts-dropdown .option[data-selectable]:active,
.ts-dropdown .option[data-selectable].active {
  color: var(--text);
}

.ts-dropdown .optgroup-header {
  padding: 8px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted) !important;
  background: rgba(10, 20, 40, 0.6) !important;
}

.ts-dropdown .create,
.ts-dropdown .no-results,
.ts-dropdown .option[data-disabled] {
  color: var(--muted);
}

.ts-wrapper.single .ts-control {
  background: rgba(6, 16, 36, 0.85);
}

.ts-wrapper.single .ts-control input::placeholder {
  color: rgba(170, 190, 220, 0.6);
}

.ts-wrapper.single .ts-control:focus-within {
  border-color: rgba(90, 170, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(60, 140, 255, 0.2);
}

.ts-wrapper.single .ts-control .item {
  background: rgba(30, 90, 255, 0.35);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 4px;
  border: 1px solid rgba(90, 170, 255, 0.45);
  background: rgba(6, 16, 36, 0.7);
  accent-color: rgba(90, 170, 255, 0.9);
}

.admin-actions-row {
  flex-wrap: wrap;
}

.admin-simple-list {
  display: grid;
  gap: 14px;
}

.admin-simple-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 20, 50, 0.6);
  border: 1px solid rgba(90, 170, 255, 0.35);
}

.admin-simple-row h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.admin-muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-simple-row {
  align-items: start;
  grid-template-columns: minmax(250px, 1fr) minmax(620px, 2fr);
}

.application-user-meta {
  min-width: 0;
}

.application-controls {
  width: 100%;
  justify-content: start;
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(240px, 320px) auto;
  align-items: start;
  gap: 12px;
}

.application-dates-form {
  min-width: 0;
}

.application-payment-card {
  background: rgba(8, 18, 42, 0.7);
  border: 1px solid rgba(90, 170, 255, 0.35);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.application-reject-form {
  margin-top: 10px;
}

.application-request-reject {
  align-self: start;
}

.admin-tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 90, 0.5);
  color: #ffd7a1;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 190, 90, 0.15);
  white-space: nowrap;
}

.admin-tag-neutral {
  border-color: rgba(120, 180, 255, 0.45);
  color: #b9d9ff;
  background: rgba(120, 180, 255, 0.15);
}

.admin-tag-ready {
  border-color: rgba(90, 255, 200, 0.45);
  color: #a9ffe3;
  background: rgba(90, 255, 200, 0.15);
}

.admin-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 16px;
}

.admin-users-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-user-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 20, 50, 0.6);
  border: 1px solid rgba(90, 170, 255, 0.35);
}

.admin-user-meta h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.admin-user-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.admin-edit-form {
  margin-top: 10px;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-plan-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 20, 50, 0.6);
  border: 1px solid rgba(90, 170, 255, 0.35);
}

.admin-plan-row h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.admin-plan-row-media {
  align-items: flex-start;
}

.admin-media-thumb {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: radial-gradient(circle at top, rgba(70, 200, 255, 0.7), rgba(10, 20, 50, 0.8));
  border: 1px solid rgba(90, 170, 255, 0.45);
  color: rgba(190, 230, 255, 0.9);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}

.admin-link {
  color: rgba(150, 210, 255, 0.9);
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
}

.admin-link:hover {
  color: var(--text);
}

.admin-inline-form {
  display: grid;
  gap: 12px;
}

.admin-shell {
  padding: 70px 8vw 80px;
  display: grid;
  gap: 32px;
}

.admin-hero {
  display: grid;
  gap: 22px;
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.admin-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  text-shadow: 0 0 24px rgba(90, 180, 255, 0.55);
}

.admin-actions {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.admin-metric {
  background: linear-gradient(145deg, rgba(10, 24, 56, 0.9), rgba(8, 14, 40, 0.8));
  border: 1px solid rgba(100, 190, 255, 0.4);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-metric h3 {
  font-size: 1.7rem;
  margin: 10px 0 6px;
}

.admin-metric p {
  color: rgba(140, 200, 255, 0.8);
  font-size: 0.9rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: start;
}

.admin-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.admin-card-header p {
  color: var(--muted);
  margin-top: 6px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 18, 40, 0.6);
  border: 1px solid rgba(80, 160, 255, 0.2);
}

.admin-table-head {
  background: rgba(15, 40, 90, 0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(150, 210, 255, 0.9);
}

.admin-table-row span:last-child {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.status {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-review {
  background: rgba(255, 190, 90, 0.2);
  color: #ffd7a1;
  border: 1px solid rgba(255, 190, 90, 0.5);
}

.status-waiting {
  background: rgba(120, 180, 255, 0.2);
  color: #b9d9ff;
  border: 1px solid rgba(120, 180, 255, 0.45);
}

.status-ready {
  background: rgba(90, 255, 200, 0.2);
  color: #a9ffe3;
  border: 1px solid rgba(90, 255, 200, 0.45);
}

.admin-form {
  gap: 16px;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-notes {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.admin-notes strong {
  color: var(--text);
}

.admin-timeline {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-timeline div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(12, 26, 58, 0.75);
  border: 1px solid rgba(80, 160, 255, 0.25);
}

.timeline-date {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(70, 150, 255, 0.25);
  color: rgba(190, 230, 255, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(70, 170, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 50px rgba(70, 220, 255, 0.8);
  }
}

@keyframes shimmer {
  0%,
  100% {
    box-shadow: 0 0 40px rgba(70, 170, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 60px rgba(90, 230, 255, 0.7);
  }
}

@keyframes logo-glow {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.02);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 40px;
  }

  .home-hero .hero-visual {
    height: 440px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .logo-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow: hidden;
  }

  .logo-track-inner {
    animation: marquee 22s linear infinite;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
  }

  .site-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .admin-simple-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-row-actions {
    justify-content: flex-start;
  }

  .admin-users-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-user-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-plan-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-media-thumb {
    width: 100%;
    height: 160px;
  }

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

  .admin-card-header {
    flex-direction: column;
  }

  .admin-table-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-table-row span:last-child {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 1400px) {
  .application-controls {
    grid-template-columns: minmax(230px, 1fr) minmax(230px, 1fr);
  }

  .application-request-reject {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .admin-simple-row {
    grid-template-columns: 1fr;
  }

  .application-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .application-payment-card img {
    max-height: 220px;
    object-fit: contain;
    background: rgba(6, 16, 36, 0.6);
  }
}

@media (max-width: 600px) {
  .admin-simple-list {
    gap: 10px;
  }

  .admin-simple-row {
    padding: 10px;
    gap: 10px;
  }

  .application-dates-form {
    gap: 8px;
  }

  .application-payment-card {
    padding: 8px;
  }

  .application-payment-card img {
    max-height: 170px;
    object-fit: contain;
    background: rgba(6, 16, 36, 0.6);
  }
}

@media (max-width: 600px) {
  .site-header {
    position: sticky;
    z-index: 40;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    order: 1;
    margin-right: auto;
  }

  .nav-toggle {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: absolute;
    top: calc(100% + 8px);
    left: 6vw;
    right: 6vw;
    width: auto;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(90, 170, 255, 0.4);
    background: rgba(8, 16, 35, 0.96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  }

  .site-nav a,
  .site-nav .btn,
  .site-nav form {
    width: 100%;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 40px 6vw 30px;
  }

  .hero-visual {
    height: 320px;
  }

  .home-hero .hero-visual {
    height: auto;
    align-content: start;
    justify-items: center;
  }

  .stat-chip {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .home-hero .hero-visual {
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-metrics .metric {
    border-left: none;
    padding-left: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(70, 120, 255, 0.35);
  }

  .hero-metrics .metric:first-child {
    border-top: none;
    padding-top: 0;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .page {
    padding: 60px 6vw 40px;
  }

  .page-card {
    padding: 18px;
  }

  .badge-title {
    font-size: 1.8rem;
  }

  .badge-sub {
    font-size: 1rem;
  }

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

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

  .meal-image {
    width: 100%;
    height: 160px;
  }

  .meal-details {
    flex-direction: column;
    align-items: flex-start;
  }

  .workout-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .workout-video {
    align-self: flex-start;
  }

  .measure-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .measure-tabs {
    justify-content: flex-start;
  }

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

  .gallery-images img {
    height: 200px;
  }

  .notif-dropdown {
    width: min(90vw, 360px);
    right: 0;
  }
}
