/* ========== ROOT & GLOBAL ========== */

:root {
  --bg-body: #020308;
  --bg-elevated: #090b12;
  --accent: #ff6b3d;
  --accent-soft: rgba(255, 107, 61, 0.18);
  --accent-strong: #ff824e;
  --text-main: #f7f7fa;
  --text: var(--text-main);

  --text-soft: #b1b5c6;
  --divider: #222432;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --blur-soft: 18px;
  --transition-fast: 140ms ease-out;
  --transition-med: 220ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0d101a 0, #020308 55%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Genel container */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ========== INTRO (JOIN NOW EKRANI) ========== */

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #000;
  transition: opacity 320ms ease-out, transform 320ms ease-out,
    visibility 320ms ease-out;
}

.intro-screen.intro-hidden {
  opacity: 0;
  transform: scale(1.01);
  visibility: hidden;

  pointer-events: none;
}

.intro-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform-origin: center;
  /* YENİ: yumuşak zoom in / out animasyonu */
  animation: intro-zoom 18s ease-in-out infinite alternate;
}

/* Dosyanın uygun bir yerine ekle (örneğin intro bölümünün hemen altına) */
@keyframes intro-zoom {
  0% {
    transform: scale(1.02);
  }
  50% {
    transform: scale(1.08);  /* hafif zoom in */
  }
  100% {
    transform: scale(1.02);  /* geri zoom out */
  }
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at left center,
      rgba(0, 0, 0, 0.38) 0,
      rgba(0, 0, 0, 0.38) 35%,
      rgba(0, 0, 0, 0.22) 60%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.42) 0,
      rgba(0, 0, 0, 0.32) 40%,
      rgba(0, 0, 0, 0.52) 100%
    );
}

/* Intro içerik – üstte Welcome kutusu, altta Join Now */

.intro-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 2.5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* BUTONU BİR TIK YUKARI ALMAK İÇİN bottom padding'i biraz artırdık */
  padding: 2rem 1.8rem 3.4rem;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none; /* sadece iç elemanlar tıklanabilir */
}

/* Üstteki "Welcome to Evrendefitness" kutusu */
.intro-pill {
  margin-top: 2.5rem; /* Bir tık aşağıda, daha dengeli */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fefefe;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.9);
  pointer-events: auto;
}

/* Diğer intro yazıları gizli */
.intro-title,
.intro-text,
.intro-note {
  display: none;
}

/* JOIN NOW – boyutu/çerçevesi korunuyor, bir tık yukarı + glow efekti */

.intro-btn {
  pointer-events: auto;
  align-self: center;

  /* Slightly smaller button, more "gym/hero" typography */
  width: min(220px, 74%);
  padding: 0.62rem 1.25rem;

  font-family: "Bebas Neue", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;

  margin: 0;
  box-shadow: 0 18px 40px rgba(255, 107, 61, 0.6);
  position: relative;
  overflow: hidden;
}

/* Glow efekt – soldan sağa kayan ışık */
.intro-btn::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 45%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-130%);
  animation: intro-btn-glow 2.8s infinite;
  pointer-events: none;
}

/* Glow animasyonu */
@keyframes intro-btn-glow {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    transform: translateX(130%);
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

/* ========== MAIN CONTENT WRAPPER ========== */

.main-content {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}

.main-content.main-visible,
.main-content.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ========== HEADER ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 3, 10, 0.95),
    rgba(2, 3, 10, 0.88),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.logo-glow {
  position: absolute;
  inset: -14px -20px;
  background: radial-gradient(
    circle at left,
    rgba(255, 107, 61, 0.32),
    transparent 60%
  );
  opacity: 0.45;
  filter: blur(18px);
  pointer-events: none;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: contain;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.logo-text {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.logo-tagline {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Nav + language */

.header-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.78rem;
}

.nav-link {
  position: relative;
  font-size: 0.85rem;
  padding-block: 0.25rem;
  color: var(--text-soft);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width var(--transition-med);
}

.nav-link:hover {
  color: #fff;
}


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

.nav-link:focus-visible::after{
  width: 100%;
}
.nav-link.active {
  color: #fff;
  font-weight: 500;
}

.nav-link.active::after {
  width: 100%;
}


/* ========== HEADER ACTIONS (Member Login + Language) ========== */
.header-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
}


.header-login-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 61, 0.55);
  background: rgba(255, 106, 61, 0.06);
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  width: max-content;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;}



.header-login-icon{
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.9;}

.header-login-btn:hover{
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.82);
  background: rgba(255, 106, 61, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 107, 61, 0.18);
}

.header-login-btn:active{
  transform: translateY(0px);
}

/* ========== LANGUAGE SELECTOR (Dropdown) ========== */
.lang-selector{
  position: relative;
  display: flex;
  align-items: center;
}

.lang-trigger{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  outline: none;
  box-shadow: none;
}


.lang-trigger:hover{
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.75);
  background: rgba(255, 106, 61, 0.10);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.10), 0 18px 50px rgba(0,0,0,0.35);
}


.lang-trigger:active{
  transform: translateY(0px);
}

/* Keep trigger "active" while hovering the whole language area (button + dropdown) */
.lang-selector:hover .lang-trigger{
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.75);
  background: rgba(255, 106, 61, 0.10);
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.18), 0 10px 24px rgba(255, 107, 61, 0.18);
}

/* Accessible keyboard focus without the default ring */
.lang-trigger:focus-visible{
  color: var(--text);
  border-color: rgba(255, 106, 61, 0.75);
  background: rgba(255, 106, 61, 0.10);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.22), 0 10px 24px rgba(255, 107, 61, 0.18);
}

.lang-globe{
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.9;
}



.lang-trigger-text{
  display: none;
}
.lang-dropdown{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 150px;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), rgba(0,0,0,0.88));
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 999;
}

.lang-dropdown[hidden]{ display: none; }

.lang-option{
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.02);
  color: var(--text-soft);
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lang-option:hover{
  transform: translateY(-1px);
  border-color: rgba(255, 106, 61, 0.45);
  color: var(--text);
}

.lang-option.active{
  background: linear-gradient(135deg, rgba(255,106,61,0.95), rgba(255,129,72,0.88));
  border-color: rgba(255,106,61,0.9);
  color: #111;
  font-weight: 600;
}

@media (max-width: 900px){
  .lang-trigger{ padding: 0.34rem 0.52rem; font-size: 0.74rem;  width: auto; gap: 0.4rem; justify-content: center; }
  .lang-dropdown{ min-width: 140px; }
  .lang-option{ font-size: 0.82rem; }  .lang-trigger-text{ display: inline; margin-left: 0.45rem; }
}


/* ========== GENERIC BUTTONS ========== */


.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: rgba(0, 0, 0, 0.7);
  color: #0a0503;
  box-shadow: 0 14px 30px rgba(255, 107, 61, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(255, 107, 61, 0.55);
}

.btn-cta {
  padding-inline: 1.6rem;
}



/* Hover-only "shine" effect (left → right) for consultation CTAs */
.shine{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.shine::after{
  content: "";
  position: absolute;
  top: -25%;
  left: -70%;
  width: 45%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg) translateX(-120%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.shine:hover::after,
.shine:focus-visible::after{
  opacity: 1;
  animation: btn-shine 900ms ease-in-out;
}
@keyframes btn-shine{
  from{ transform: skewX(-18deg) translateX(-120%); }
  to{ transform: skewX(-18deg) translateX(420%); }
}
@media (prefers-reduced-motion: reduce){
  .shine:hover::after,
  .shine:focus-visible::after{
    animation: none;
    opacity: 0;
  }
}
.btn-ghost {
  background: rgba(5, 6, 15, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(18, 20, 35, 0.95);
}

/* Daha agresif kutu şekli – sadece JOIN NOW ve Home sayfasındaki
   ana CTA için (Book free consultation / ana CTA butonu) */
.intro-btn,
.hero-actions .btn-cta {
  border-radius: 14px;
}

/* ========== LAYOUT: PAGE SECTIONS ========== */

.page-section {
  display: none;
  padding-block: 3.5rem 3.75rem;
}

.page-section.active-section {
  display: block;
}

.section {
  padding-block: 3.3rem 4rem;
}

.section-alt {
  background: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.04),
      transparent 60%
    ),
    #05060d;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

/* Membership: center the "Online Coaching System" heading above plan cards */
.membership-plans-heading{
  text-align: center;
  margin-bottom: 2.2rem;
}
.membership-plans-heading .section-title{
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}

.section-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

/* ========== HERO (HOME) ========== */

.hero {
  padding-top: 0.5rem;
}

/* Hero banner – FOTOĞRAF BURADA BELİRGİN */
/* === HERO / INTRO === */
.intro, .intro-screen {
  background-image: url("Evrendefitness intro.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.intro-content {
  background: rgba(0, 0, 0, 0.4); /* Hafif karartma */
  padding: 2rem;
  border-radius: 12px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* === Responsive Mobile === */
.intro, .intro-screen {
    background-image: url("Evrendefitness Intro Mobile.jpg");
    background-size: cover;
    background-position: center;
    padding: 2rem 1rem;
  }

  .intro-content {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .intro h1 {
    font-size: 1.8rem;
  }

  .intro-btn {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
  }


.hero-banner {
  position: relative;
  min-height: min(82vh, 780px);
  display: flex;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.04);
  transform-origin: center;
  z-index: -2;
}

/* Fotoğrafı boğmayan, hafif bir gölge */
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(2, 3, 10, 0.92) 0,
      rgba(2, 3, 10, 0.80) 32%,
      rgba(2, 3, 10, 0.35) 60%,
      rgba(0, 0, 0, 0.06) 100%
    );
  z-index: -1;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  padding-block: 3.4rem;
}

/* Sol ana metin */

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #47ff9e;
  box-shadow: 0 0 12px rgba(71, 255, 158, 0.85);
}

.hero-main h1 {
  font-size: clamp(2rem, 2.6vw + 1.4rem, 2.7rem);
  margin: 0;
  line-height: 1.1;
}

.hero-text {
  margin: 0.4rem 0 1.1rem;
  font-size: 0.98rem;
  color: rgba(235, 237, 249, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-note {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-soft);
}

.hero-audience {
  margin: 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Sağ taraftaki kart – hafif, fotoğrafı boğmuyor */

.hero-card {
  align-self: center;
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 18px;
  background: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.08),
      transparent 65%
    ),
    rgba(3, 4, 10, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  margin-left: auto;
}

.hero-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.7rem;
  align-items: flex-start;
}

.metric-value {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.metric-label {
  font-size: 0.86rem;
  color: rgba(231, 232, 244, 0.95);
}

/* WHY SECTION */

.subsection {
  margin-top: 3.2rem;
}

.hero-why-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.hero-why-title {
  margin: 0;
  font-size: 1.2rem;
}

.hero-why-subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
}

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

.why-card {
  padding: 1rem 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(6, 7, 16, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card:hover,
.panel-card:hover,
.why-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
  border-color: var(--accent-strong);
  background: radial-gradient(
      circle at top left,
      rgba(255, 107, 61, 0.18),
      transparent 60%
    ),
    rgba(5, 6, 14, 0.98);
  filter: drop-shadow(0 0 14px rgba(255, 107, 61, 0.45));
}

.why-pill {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.why-card h4 {
  margin: 0 0 0.25rem;
  font-size: 0.97rem;
}

.why-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Kartların hover geçişini yumuşatıyoruz */
.card,
.panel-card,
.why-card {
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med),
    background var(--transition-med),
    filter var(--transition-med);
}

/* ========== GENERIC CARDS & GRIDS ========== */

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

.card {
  padding: 1.2rem 1.2rem 1.25rem;
  background: rgba(7, 8, 18, 0.98);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.85);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
}

.card-list li {
  font-size: 0.88rem;
  color: rgba(233, 235, 248, 0.9);
  margin-bottom: 0.25rem;
}

/* PANEL */

.panel-subsection {
  margin-top: 2.8rem;
}

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

.panel-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 16px;
  background: radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    ),
    rgba(5, 6, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.panel-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-soft);
}

.panel-tag {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* ========== CALCULATORS (BMI, HR, CALORIE) ========== */

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.calculator {
  padding: 1.2rem 1.1rem 1.25rem;
  border-radius: 16px;
  background: rgba(5, 6, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.calculator label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.calculator input,
.calculator select,
textarea,
.form-grid input,
.form-grid select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 3, 9, 0.96);
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.calculator input:focus,
.calculator select:focus,
textarea:focus,
.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 107, 61, 0.3);
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.3rem 0 0.6rem;
}

.form-error {
  display: none;
  color: #ff9b8f;
  font-size: 0.85rem;
  margin: 0.2rem 0 0;
}

.result-box {
  display: none;
  margin-top: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.87rem;
}

.result-box p {
  margin: 0.1rem 0;
}

/* BMI category colors */

.bmi-category {
  font-weight: 600;
}

.bmi-category.normal {
  color: #5bffaf;
}

.bmi-category.warning {
  color: #ffd86b;
}

.bmi-category.danger {
  color: #ff7a7a;
}

.muted {
  color: var(--text-soft);
  font-size: 0.86rem;
}

/* ========== MEMBERSHIP FORM ========== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.86rem;
  margin-bottom: 0.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.checkbox-group {
  align-items: flex-start;
}

.checkbox-label {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
}

.form-success {
  display: none;
  font-size: 0.86rem;
  color: #8ae6a2;
  margin-top: 0.3rem;
}

/* ========== ABOUT ========== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2.1rem;
  align-items: center;
}

.about-photo-card {
  display: flex;
  justify-content: center;
}

.about-photo-img {
  width: 100%;
  max-width: 360px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.about-text p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  color: rgba(236, 238, 249, 0.92);
}

/* ========== CONTACT & FOOTER ========== */

.contact-grid {
  display: grid;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: rgba(233, 234, 247, 0.92);
}

#contact .section-title {
  text-align: center;
}

#contact .contact-grid {
  text-align: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-icons {
  margin-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(233, 234, 247, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
  background: rgba(255, 255, 255, 0.085);
}

.contact-icon-svg {
  width: 22px;
  height: 22px;
}


.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.6rem 2rem;
  background: radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.05),
      transparent 55%
    ),
    #020308;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.84rem;
  align-items: center;
  text-align: center;
}

.footer-text {
  text-align: center;
}

.footer-text.muted {
  color: var(--text-soft);
}

/* ========== 3D TILT / HOVER STATE ========== */

.tilt-active {
  transition: transform 80ms linear;
}

/* ========== RESPONSIVE ========== */

/* === Intro & Hero küçük düzenlemeler (renk değiştirmez) === */

/* Daha büyük ekranlarda intro içeriğini ortaya almak */
@media (min-width: 900px) {
  .intro-content {
    justify-content: center;
    gap: 2.6rem;           /* Welcome + buton arası dengeli boşluk */
  }

  .intro-pill {
    margin-top: 0;         /* Çok yukarı kaçmasın diye */
  }

  .intro-btn {
    margin-top: 1rem;      /* Buton Welcome’dan çok kopmasın */
  }
}

/* Küçük ekranlarda (telefon) intro’yu rahatlatma */
@media (max-width: 768px) {
  .intro-content {
    padding-inline: 1.5rem;
    padding-bottom: 2.6rem;  /* Buton, alt kenara yapışmasın */
  }

  .intro-pill {
    margin-top: 1.8rem;
    font-size: 0.76rem;
    text-align: center;
    line-height: 1.4;
  }
}


/* 600px altı – hero fotoğrafı ve yazılar mobil için daha dengeli */
@media (max-width: 600px) {
  .intro-content {
    padding-inline: 1.4rem;
  }

  .hero-banner {
    border-radius: 0 0 18px 18px;
  }

  .hero-grid {
    padding-block: 2.7rem;
  }

  .hero-main h1 {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero-text {
    font-size: 0.9rem;
  }

  .hero-banner-img {
    transform: scale(1.0) !important;
    object-position: center top;
  }

  /* --- BURASI YENİ: SADECE MOBİLDE INTRO FOTOĞRAFINI DEĞİŞTİRİYOR --- */
  .intro-screen {
    background: #000 url("Evrendefitness Intro Mobile.jpg") center/cover
      no-repeat;
  }

  .intro-image {
    display: none;
  }
}

/* =========================================================
   FIX: Intro görseli mobilde kaybolmasın
   - Intro'da <picture> ile responsive görsel seçiliyor.
   - Bu yüzden 600px altında .intro-image'ı gizleyen kuralı override ediyoruz.
   ========================================================= */

@media (max-width: 600px) {
  .intro-screen {
    background: #000; /* Görsel <img> üzerinden gelir; arka plan sadece fallback */
  }

  .intro-image {
    display: block;
  }
}
/* ========== EF COACHING PLANS – ORANGE PHONE MOCKUPS ========== */



.ef-plans-sub {
  margin: 0 0 1.6rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}


/* MEMBERSHIP – 3 plan kutusunun aralığı ve hizası */
.ef-plans-grid {
  max-width: 1000px;        /* Tüm blok daha dar ve ortada */
  margin: 0 auto;
  gap: 1.2rem;              /* Kutular arasındaki boşluk – ne çok uzak, ne çok yakın */
  justify-items: center;    /* Her kolon içindeki kart ortalansın */
}


/* Telefon çerçevesi – EF logosundaki kırmızı tonuna yakın, animasyona hazır */

/* İç kart da hafifçe hareket edebilsin */
.ef-plan-inner {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}



.ef-plan-card.ef-plan-featured .ef-plan-phone {
  transform: translateY(-4px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.95);
}



.ef-plan-inner {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(150deg, #06050b, #171420);
  color: #fefefe;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}



.ef-plan-header {
  padding: 1.1rem 1.1rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ef-plan-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ff6b3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.ef-plan-heading {
  font-size: 1rem;           /* 0.94 → 1.0 */
  font-weight: 600;
}

.ef-plan-label {
  font-size: 0.8rem;         /* 0.76 → 0.8 */
  color: rgba(255, 255, 255, 0.7);
}

.ef-plan-text {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;        /* 0.8 → 0.86 */
  color: #e4e4ff;
}

.ef-plan-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;        /* 0.8 → 0.84 */
}


.ef-plan-footer {
  padding: 0.6rem 1.1rem 1.1rem;
}

.ef-plan-cta {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 0.9rem;    /* biraz daha yüksek */
  font-size: 0.86rem;        /* 0.82 → 0.86 */
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, #ff824e, #ff6b3d);
  color: #1a0804;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
}


.ef-plan-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
}
/* Küçük animasyonlar için plan içi kart */
.ef-plan-inner {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

/* Hover'da plan kartını öne çıkar (masaüstü) */
@media (hover: hover) and (pointer: fine) {
  .ef-plan-card:hover .ef-plan-phone {
    transform: translateY(-12px) scale(1.03);  /* Hafif büyü + yukarı kalkma */
    box-shadow:
      0 40px 110px rgba(0, 0, 0, 0.98),        /* Derin gölge */
      0 0 38px rgba(255, 107, 61, 0.55);       /* Turuncu glow */
    background: radial-gradient(circle at top, var(--accent), #1b0907);
  }

  .ef-plan-card:hover .ef-plan-inner {
    transform: translateY(2px);
  }
}

/* Responsive – small screens */

@media (max-width: 960px) {
  .ef-plans-grid {
    grid-template-columns: 1fr;
  }

 .ef-plan-phone {
  width: 290px;             /* kart genişliği */
  height: 390px;            /* kart yüksekliği */
  border-radius: 22px;
  padding: 6px;
  background: radial-gradient(circle at top, var(--accent), #05050a); /* EF logosu rengi */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 240ms ease;
}

}
/* Hero başlık ve metin için maksimum satır genişliği */
.hero-main h1 {
  max-width: 26ch;   /* Satır başına yaklaşık 26 karakter, daha rahat okuma */
}

.hero-text {
  max-width: 40ch;   /* Açıklama paragrafı çok uzun satıra yayılmasın */
}

/* Küçük ekranlarda hero düzeni */
@media (max-width: 768px) {
  .hero-grid {
    /* Zaten grid-template-columns tek kolona düşüyor,
       burada sadece boşlukları biraz ayarlıyoruz. */
    gap: 1.8rem;
    padding-block: 2.8rem;
  }

  .hero-card {
    margin: 0;
    max-width: 100%;
  }
}
.ef-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;              /* kutular arası mesafe */
  max-width: 1000px;        /* tüm blok ortada, daha dar alanda */
  margin: 0 auto;
  justify-items: center;    /* her kart kendi kolonunda ortalı */
}

/* Sadece mouse olan cihazlarda (telefonu rahatsız etmesin) */
@media (hover: hover) and (pointer: fine) {
  .ef-plan-card:hover .ef-plan-phone {
    transform: translateY(-12px) scale(1.03);  /* Hafif büyü + yukarı kalkma */
    box-shadow:
      0 40px 110px rgba(0, 0, 0, 0.98),        /* Derin gölge */
      0 0 38px rgba(255, 107, 61, 0.55);       /* Turuncu glow */
    background: radial-gradient(circle at top, var(--accent), #1b0907);
  }

  .ef-plan-card:hover .ef-plan-inner {
    transform: translateY(2px);
  }
}
/* ================================
   MONTHLY COACHING SYSTEM – NEW STYLING
=================================== */

.coaching-section {
  text-align: center;
  padding: 4rem 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #cfcfcf;
  margin-bottom: 2.8rem;
}

/* GRID */
.coaching-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  justify-items: center;
}

/* CARD */
.coach-card {
  background: linear-gradient(145deg, #0d0d12, #09090c);
  padding: 2rem;
  border-radius: 22px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 107, 61, 0.3);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

/* Selected plan card (when user chooses a plan) */
.coach-card.ef-selected{
  border-color: rgba(0, 255, 120, 0.55) !important;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(0, 255, 120, 0.25) !important;
}
.coach-card.ef-selected .coach-btn{
  border-color: rgba(0, 255, 120, 0.55) !important;
}

/* HOVER EFFECT */
@media (hover: hover) and (pointer: fine) {
  .coach-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow:
      0 40px 70px rgba(0, 0, 0, 0.9),
      0 0 32px rgba(255, 107, 61, 0.45);
    border-color: #ff6b3d;
  }
}

/* ICON */
.coach-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff6b3d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1.2rem auto;
  color: #fff;
}

/* TITLE */
.coach-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.coach-plan {
  color: #bbbbbb;
  margin-bottom: 1.4rem;
}

/* LIST */
.coach-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.8rem;
  text-align: left;
  color: #e5e5e5;
  font-size: 0.95rem;
}

.coach-list li {
  margin-bottom: 0.6rem;
  padding-left: 1rem;
  position: relative;
}

.coach-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff6b3d;
}

/* BUTTON */
.coach-btn {
  display: inline-block;
  background: #ff6b3d;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 26px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 200ms ease;
}

.coach-btn:hover {
  opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .coaching-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}
/* --- PREMIUM COACHING CARD FRAME --- */

.coach-card {
  background: rgba(15, 15, 20, 0.7);
  border-radius: 24px;
  padding: 2.2rem;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 110, 70, 0.25); /* EF kırmızı tonuna yakın yumuşak çerçeve */
  box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.6),
      0 0 12px rgba(255, 110, 70, 0.2);
  transition: 
      transform 260ms ease,
      box-shadow 320ms ease,
      border 320ms ease,
      background 260ms ease;
}

/* HOVER: Apple ürün kartı efekti */
@media (hover: hover) and (pointer: fine) {
  .coach-card:hover {
    transform: translateY(-10px) scale(1.03);
    background: rgba(25, 25, 30, 0.85);
    border: 1px solid rgba(255, 110, 70, 0.6);
    box-shadow:
        0 32px 70px rgba(0, 0, 0, 0.9),
        0 0 32px rgba(255, 110, 70, 0.45); /* Soft glow */
  }
}
/* Ultra-wide screens – coaching section center alignment fix */
@media (min-width: 1400px) {
  .coaching-grid {
    max-width: 1100px;      /* Mockup alanını daralt */
    margin-inline: auto;    /* Tam ortaya al */
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.6rem;            /* Aralarındaki mesafe sabit kalsın */
  }

  .coach-card {
    max-width: 340px;       /* Kartların çok genişlemesini engelle */
  }
}
/* ===========================================
   PREMIUM FITNESS COACHING CARDS
=========================================== */

.membership-section {
  padding-top: 1.5rem;
  padding-bottom: 3.5rem;
}

.membership-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

/* Title that sits above the membership form (below the plan cards) */
.membership-form-heading {
  margin-top: 3rem;
}

.membership-title {
  font-size: 1.9rem;
  margin: 0;
}

.membership-subtitle {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
}

/* GRID ----------------------------------- */

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1100px;
  margin-inline: auto;
}

/* CARD ----------------------------------- */

.coach-card {
  background: rgba(10, 12, 18, 0.85);
  border-radius: 22px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
  transition: transform .25s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}
/* ==== MEMBERSHIP – MOBILE & TABLET DÜZENİ ==== */

/* Telefonlar: hepsi tek sütunda, aynı genişlikte, ortalı */
@media (max-width: 600px) {
  .membership-grid {
    grid-template-columns: 1fr;
    justify-items: center;          /* Kartları ortala */
  }

  .coach-card {
    width: 100%;
    max-width: 360px;               /* Hepsi aynı genişlik */
  }
}

/* Tabletler: 3 kart da eşit genişlikte, düzgün grid */
@media (min-width: 601px) and (max-width: 1024px) {
  .membership-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .coach-card {
    width: 100%;
    max-width: 320px;
  }
}

/* Glow efekt — Hover'da Apple-style */
.coach-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(255, 107, 61, 0.6);
  box-shadow:
    0 38px 80px rgba(0,0,0,0.9),
    0 0 26px rgba(255,107,61,0.45);
}

/* Kart üst kısmı */
.coach-card-top {
  text-align: center;
  margin-bottom: 1.4rem;
}

.coach-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.coach-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.coach-type {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ÖZELLİKLER LİSTESİ -------------------------------- */

.coach-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.6rem;
  color: #ddd;
  font-size: 0.92rem;
}

.coach-features li {
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.coach-features li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* BUTON ---------------------------------------------- */

.coach-btn {
  display: block;
  text-align: center;
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  padding: 0.7rem 1rem;
  color: #000;
  border-radius: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}

.coach-btn:hover {
  opacity: 0.85;
}

/* RESPONSIVE ----------------------------------------- */

@media (max-width: 600px) {
  .coach-card {
    padding: 1.5rem 1.3rem 1.7rem;
  }
}
/* === INTRO GENEL STİL === */
.intro, .intro-screen {
  background-image: url("Evrendefitness hero photo.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* === MOBILE GÖRÜNÜM (max-width: 768px) === */
@media (max-width: 768px) {
.intro, .intro-screen {
    background-image: url("Evrendefitness Intro Mobile.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    padding: 2rem 1rem;
  }

  .intro-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro-btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }
}


/* Intro ve hero mobilde düzgün gözüksün */
@media (max-width: 768px) {
  .intro-content {
    padding: 2rem 1rem;
    /* Mobilde Welcome + Get Started aynı blokta, alt tarafta kalsın */
    justify-content: flex-end;
    gap: 1.2rem;
    padding-bottom: clamp(3.5rem, 16vh, 7.5rem);
  }

  .intro-pill {
    margin-top: 0;
  }

  .intro-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr; /* Hero tek sütuna insin */
    gap: 1.5rem;
  }

  .hero-card {
    max-width: 100%;
    margin: 0 auto; /* Hero kart ortalansın */
  }
}

/* === MOBİL: TÜM GRID’LERİ TEK SÜTUNA İNDİR === */
@media (max-width: 768px) {

  .card-grid,
  .panel-grid,
  .calculator-grid,
  .about-grid,
  .membership-grid,
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .page-section {
    display: none;
  }

  .page-section.active-section {
    display: block;
  }

  html, body {
    overflow-x: hidden;
  }
}


  /* Yazı okunabilirliği artırmak için arka plan overlay */
  .intro::before,
  .intro-screen::before,
  .coaching-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }


  /* Her bir nav-link’i daha ufak padding’lerle yan yana sığdır */
  .nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

/* Online coaching mockup’ını mobilde ortala */
@media (max-width: 768px) {
  .online-coaching-section { /* Bu class ismini kendi HTML’indeki ilgili kısma göre ayarla */
    text-align: center; /* Ortala */
    padding: 1rem; /* Biraz iç padding ekle */
  }
}

.intro-overlay {
  background: rgba(0, 0, 0, 0.4);
  /* Diğer stil kuralları */
}
.intro-inner {
  background: rgba(0, 0, 0, 0.6); /* Varsa bu arka planı kaldır veya değiştir */
  /* Diğer stil kuralları */
}
/* ===== INTRO EKRANINDAKİ KARE PANELİ ZORLA KALDIR ===== */

#intro-screen div {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Sadece pill ve butonun görünümü geri gelsin */
#intro-screen .intro-pill {
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.9) !important;
  color: #fefefe !important;
}

#intro-screen .intro-btn {
  background: linear-gradient(135deg, #ff6b3d, #ff824e) !important;
  color: #0a0503 !important;
  border-radius: 999px !important;
  box-shadow: 0 18px 40px rgba(255, 107, 61, 0.6) !important;
}
/* ===== INTRO EKRANI OVERLAY & KARE PANEL DÜZELTME ===== */

/* Arka plandaki resmi daha fazla karartan overlay */
#intro-screen .intro-overlay {
  background: rgba(0, 0, 0, 0.7) !important;  /* daha koyu şeffaf siyah */
}

/* Fotoğrafın ortasındaki kare paneli kaldır */
#intro-screen .intro-content {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* MOBİL/TABLET: ÜSTTE LOGO ORTALI, ALTTA MENÜ YATAY */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;      /* logo üstte, menü altta */
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-block: 1rem;
  }

  .logo {
    justify-content: center;
  }

  .logo-text-wrapper {
    align-items: center;
    text-align: center;
  }

  .header-right {
    width: 100%;
    display: flex;
    flex-direction: row;         /* nav + dil aynı satırda */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;             /* sığmazsa 2. satıra kırılsın */
    gap: 0.6rem;
  }

  .nav {
    display: flex;
    flex-direction: row;         /* menü YATAY */
    justify-content: center;
    flex-wrap: wrap;             /* sığmazsa 2 satır olabilir ama yine yatay */
    gap: 0.55rem;
  }

  .nav-link {
    width: auto;
    padding: 0.3rem 0.55rem;
    font-size: 0.85rem;
    white-space: nowrap;
    text-align: center;
  }

  .lang-selector {
    margin-top: 0;
  }
}

/* Mobilde de masaüstü tarzı yatay menü */
@media (max-width: 900px) {
  /* ÜST: Logo + marka ortada */
  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .logo {
    justify-content: center;
  }

  .logo-text-wrapper {
    align-items: center;
    text-align: center;
  }

  /* ALT: Menü yan yana (gerekirse 2 satıra kırılır) + dil seçimi */
  .header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
  }

  .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
  }

  .nav-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    width: auto;
    text-align: center;
    white-space: nowrap;
  }

  .lang-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: auto;
    margin-top: 0;
  }
}



/* =========================================================
   FIX: Workouts içindeki Online Coaching System başlığı ile mockup/kartlar arasını yakınlaştır
   (Sadece #workouts-coaching alanını etkiler)
   ========================================================= */
#workouts-coaching .section-header{
  text-align: center;
  margin-bottom: 0.6rem; /* 2rem yerine daha sıkı */
}

#workouts-coaching .section-subtitle{
  margin-bottom: 0.7rem; /* subtitle alt boşluğu */
}

#workouts-coaching.coaching-subsection{
  margin-top: 2.2rem; /* workouts içindeki diğer alt bölümlerle uyumlu ama fazla değil */
}

#workouts-coaching .coaching-grid{
  margin-top: 0.2rem;
}


/* === GLOBAL SECTION TABS (JS uses .active-section) === */
.page-section{display:none;}
.page-section.active-section{display:block;}


/* =========================================================
   FIX: INTRO MUST NOT PUSH PAGE DOWN (no "empty black screen")
   The file contained legacy rules that set .intro-screen to
   position:relative / min-height:100vh in normal flow.
   We hard-override intro to be a true fixed overlay.
   ========================================================= */

body.intro-lock {
  overflow: hidden !important;
}

.intro-screen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: 100vh !important;
  background-image: none !important;
  background: #000 !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.intro-screen.intro-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(1.01) !important;
}

.intro-screen .intro-content {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
  pointer-events: none !important;
}

.intro-screen .intro-pill,
.intro-screen .intro-btn,
.intro-screen .intro-btn * {
  pointer-events: auto !important;
}


/* =========================
   Featured plan (Membership)
   ========================= */
.coach-card.featured{
  border-color: rgba(255, 107, 61, 0.75);
  box-shadow:
    0 42px 90px rgba(0,0,0,0.92),
    0 0 34px rgba(255,107,61,0.35);
  transform: translateY(-12px) scale(1.04);
  z-index: 2;
}

.coach-card.featured:hover{
  transform: translateY(-14px) scale(1.05);
  box-shadow:
    0 48px 110px rgba(0,0,0,0.95),
    0 0 44px rgba(255,107,61,0.50);
}

.coach-card .plan-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: rgba(255, 107, 61, 0.18);
  border: 1px solid rgba(255, 107, 61, 0.55);
  color: #fff;
  backdrop-filter: blur(10px);
}

.coach-card .plan-badge--limited{
  left: auto;
  right: 14px;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 107, 61, 0.45);
  font-size: 0.72rem;
}

.coach-card.featured .plan-badge{
  background: rgba(255, 107, 61, 0.28);
  border-color: rgba(255, 107, 61, 0.8);
}


/* =========================================
   PRICING: CENTER + 3-MONTH CAMPAIGN HIGHLIGHT
   ========================================= */

.coach-card{
  display: flex;
  flex-direction: column;
}

.coach-features{
  flex: 1 1 auto;
}

.coach-price{
  text-align: center;
  margin-top: auto;
  padding-top: 0.8rem;
}

.price-month{
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem;
}

.price-main{
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.price-period{
  color: var(--text-soft);
  font-weight: 500;
}

.price-campaign{
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.price-3m{
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 61, 0.45);
  background: rgba(255, 107, 61, 0.12);
}

.price-3m-amount{
  font-weight: 800;
}

.save-pill{
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
}

.coach-btn{
  margin-top: 1rem;
}

/* Make the featured plan's campaign feel like the "best value" */
.coach-card.featured .price-3m{
  border-color: rgba(255, 107, 61, 0.85);
  background: rgba(255, 107, 61, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 107, 61, 0.20),
    0 0 26px rgba(255, 107, 61, 0.22);
}

.coach-card.featured .save-pill{
  background: rgba(255, 107, 61, 0.18);
  border-color: rgba(255, 107, 61, 0.35);
  color: #fff;
}



/* ========== TRANSFORMATIONS (Before / After) ========== */

.transformations {
  padding: 3.75rem 0 4.25rem;
  border-top: 1px solid var(--divider);
  background: radial-gradient(900px 420px at 20% 10%, rgba(255, 90, 30, 0.08), transparent 60%),
              radial-gradient(900px 420px at 80% 0%, rgba(255, 255, 255, 0.05), transparent 55%);
}

.section-head.center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.section-head.center h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  margin: 0;
}

.section-head.center p {
  margin: 0.75rem auto 0;
  color: var(--muted);
  max-width: 60ch;
}

.trans-carousel {
  position: relative;
  margin-top: 2rem;
}

.trans-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  -webkit-overflow-scrolling: touch;
}

.trans-track::-webkit-scrollbar {
  height: 10px;
}
.trans-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.trans-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.ba-card {
  flex: 0 0 min(440px, 86vw);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
}

.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0b10;
  --pos: 50%;
  --before-img: none;
  --after-img: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-after {
  background-image: var(--after-img);
}

.ba-before {
  background-image: var(--before-img);
  filter: grayscale(1) contrast(1.08) brightness(0.86);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 18px 45px rgba(0,0,0,0.45);
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(15, 16, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.ba-handle::before {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
  z-index: 1;
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
}

.ba-label-before { left: 12px; }
.ba-label-after  { right: 12px; }

.ba-caption {
  padding: 1rem 1.1rem 1.1rem;
}

.ba-caption h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.ba-caption p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trans-note {
  margin: 1.1rem auto 0;
  text-align: center;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10, 11, 16, 0.7);
  color: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.carousel-btn span {
  font-size: 22px;
  line-height: 1;
}

.carousel-btn.prev { left: -10px; }
.carousel-btn.next { right: -10px; }

@media (max-width: 900px) {
  .carousel-btn { display: none; }
  .trans-track { padding-bottom: 0.75rem; }
}


/* ====== Transformations: trust line ====== */
.trans-disclaimer {
  margin: 0.75rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 72ch;
}

.trans-disclaimer::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 61, 0.65), transparent);
}

/* ====== Membership: FAQ ====== */
.membership-faq {
  max-width: 940px;
  margin: 2.2rem auto 0;
  padding: 1.35rem 1.35rem 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.faq-title {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.faq-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:first-of-type {
  border-top: none;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(255,255,255,0.92);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  font-size: 1.1rem;
  color: rgba(255, 107, 61, 0.9);
  flex: 0 0 auto;
  transition: transform var(--transition-med);
}

.faq-item[open] summary::after {
  content: "－";
}

.faq-item p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

/* ====== Membership: form focus pulse ====== */
#membership-form.form-pulse {
  animation: ef-form-pulse 900ms ease-out;
}

@keyframes ef-form-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 61, 0.0);
  }
  35% {
    box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.35),
      0 18px 60px rgba(0, 0, 0, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 61, 0.0);
  }
}


/* --- Membership pricing: dual actions (Apply + Checkout) --- */
.plan-actions{
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.plan-actions .coach-btn{
  width: 100%;
  text-align: center;
}

.coach-btn--secondary{
  background: transparent;
  border: 1px solid rgba(255, 107, 61, 0.55);
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 0.7rem 1.4rem;
  border-radius: 26px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.coach-btn--secondary:hover{
  background: rgba(255, 107, 61, 0.12);
  border-color: rgba(255, 107, 61, 0.85);
  transform: translateY(-1px);
  opacity: 1;
}

/* --- Waitlist modal --- */
body.modal-open{
  overflow: hidden;
}

.modal[hidden]{
  display: none !important;
}

.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.modal-card{
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 26px;
  padding: 1.6rem 1.6rem 1.2rem;
  background: rgba(15, 15, 20, 0.92);
  border: 1px solid rgba(255, 107, 61, 0.35);
  box-shadow: 0 18px 48px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
}

.modal-title{
  margin: 0 2.2rem 0.4rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-text{
  margin: 0 0 1.2rem 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}

.modal-close{
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.modal-close:hover{
  background: rgba(255, 107, 61, 0.14);
  border-color: rgba(255, 107, 61, 0.35);
  transform: translateY(-1px);
}

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

.waitlist-submit{
  width: 100%;
}

.waitlist-success{
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-weight: 600;
}

/* ========== AI COACH SEARCH UI ========== */
.ai-hero-search{
  margin-top: 14px;
  max-width: 560px;
}
.ai-hero-input{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 135, 0, 0.35);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}
.ai-hero-icon{
  opacity: .8;
  font-size: 14px;
}
#ai-hero-query{
  flex:1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
.ai-hero-hint{
  margin-top: 8px;
  opacity: .75;
  font-size: 12px;
}

.ai-launcher{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 135, 0, 0.45);
  background: rgba(8,8,8,0.9);
  color: #fff;
  cursor:pointer;
  box-shadow: 0 16px 42px rgba(0,0,0,0.45);
}
.ai-launcher:hover{
  transform: translateY(-1px);
}
.ai-launcher-icon{
  font-size: 16px;
}
.ai-launcher-text{
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2px;
}
@media (max-width: 900px){
  /* Tablet / small laptop: image crop changes slightly */
  #contact.contact-hero{
    --email-x: 27%;
    --email-y: 60%;
    --ig-x: 83%;
    --ig-y: 60%;
  }
}

@media (max-width: 520px){
  /* Mobile: keep icons aligned with hands (slightly above) */
  #contact.contact-hero{
    --email-x: 20%;
    --email-y: 62%;
    --ig-x: 86%;
    --ig-y: 62%;
  }
  #contact .contact-link{
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  #contact .contact-link-icon{
    width: 19px;
    height: 19px;
  }
}

/* Very small phones / tall aspect ratios */
@media (max-width: 390px), (max-aspect-ratio: 3/4){
  #contact.contact-hero{
    --email-x: 18%;
    --email-y: 64%;
    --ig-x: 88%;
    --ig-y: 64%;
  }
  #contact .contact-link{
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
}


/* AI positioning while intro overlay is visible */
body.intro-lock .ai-launcher{
  top: 18px;
  bottom: auto;
  right: 18px;
  padding: 10px 10px;
}
body.intro-lock .ai-launcher-text{
  display: none;
}
body.intro-lock .ai-panel{
  top: 70px;
  bottom: auto;
  right: 18px;
}
.ai-panel{
  position: fixed;
  right: 18px;
  bottom: 76px;
  width: min(400px, calc(100vw - 36px));
  max-height: min(72vh, 600px);
  z-index: 9999;
  display:flex;
  flex-direction:column;
  border-radius: 18px;
  border: 1px solid rgba(255, 135, 0, 0.28);
  background: rgba(8,8,8,0.96);
  overflow:hidden;
  box-shadow: 0 18px 52px rgba(0,0,0,0.55);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;

}

.ai-panel-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ai-panel-title{
  display:flex;
  align-items:flex-start;
  gap: 10px;
}
.ai-status-dot{
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(0, 255, 140, 0.8);
  box-shadow: 0 0 0 4px rgba(0, 255, 140, 0.12);
}
.ai-panel-title-line{
  font-weight: 700;
  font-size: 13px;
}
.ai-panel-subtitle{
  opacity: .75;
  font-size: 12px;
  margin-top: 2px;
}
.ai-close{
  pointer-events: auto;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
  padding: 0 4px;
}

.ai-quick{
  display:flex;
  gap: 8px;
  padding: 10px 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ai-chip{
  border: 1px solid rgba(255, 135, 0, 0.25);
  background: rgba(255, 135, 0, 0.08);
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor:pointer;
}
.ai-chip:hover{
  background: rgba(255, 135, 0, 0.16);
}

.ai-messages{
  padding: 12px 12px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.ai-msg{
  display:flex;
}
.ai-msg-user{ justify-content:flex-end; }
.ai-msg-ai{ justify-content:flex-start; }

.ai-bubble{
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.35;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
}
.ai-msg-user .ai-bubble{
  border: 1px solid rgba(255, 135, 0, 0.32);
  background: rgba(255, 135, 0, 0.10);
}

.ai-typing{
  display:flex;
  gap: 6px;
  align-items:center;
}
.ai-typing span{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  display:inline-block;
  animation: aiDot 1.1s infinite ease-in-out;
}
.ai-typing span:nth-child(2){ animation-delay: .15s; }
.ai-typing span:nth-child(3){ animation-delay: .30s; }
@keyframes aiDot{
  0%, 100%{ transform: translateY(0); opacity: .55; }
  50%{ transform: translateY(-3px); opacity: 1; }
}

.ai-panel-footer{
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ai-form{
  display:flex;
  gap: 10px;
}
.ai-input{
  flex:1;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 10px 12px;
  outline:none;
  font-size: 13px;
}
.ai-input:focus{
  border-color: rgba(255, 135, 0, 0.40);
  box-shadow: 0 0 0 4px rgba(255, 135, 0, 0.10);
}
.ai-send{
  padding-left: 14px;
  padding-right: 14px;
}
.ai-footer-note{
  margin-top: 8px;
  opacity: .7;
  font-size: 11px;
}


.ai-panel.is-open{
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
}



/* ========== SHOP ========== */

.shop-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 61, 0.35);
  background: rgba(255, 107, 61, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.shop-note {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 1.2rem;
}

.shop-filter {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 3, 9, 0.65);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.42rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.86rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.shop-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

.shop-filter.active {
  border-color: rgba(255, 107, 61, 0.65);
  background: rgba(255, 107, 61, 0.16);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 107, 61, 0.12);
}

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 55%), rgba(5, 6, 14, 0.96);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.78);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), filter var(--transition-med);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 61, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.92);
  filter: drop-shadow(0 0 16px rgba(255, 107, 61, 0.3));
}

.product-media {
  position: relative;
  height: 182px;
  background: radial-gradient(circle at top, rgba(255, 107, 61, 0.18), transparent 55%), rgba(2, 3, 9, 0.9);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.02);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
}

.product-tag--new {
  border-color: rgba(117, 255, 173, 0.35);
}

.product-tag--accent {
  border-color: rgba(255, 107, 61, 0.55);
  background: rgba(255, 107, 61, 0.18);
}

.product-body {
  padding: 1.05rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-title {
  margin: 0;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.product-desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.product-points {
  margin: 0;
  padding-left: 1.15rem;
}

.product-points li {
  margin-bottom: 0.25rem;
  font-size: 0.86rem;
  color: rgba(233, 235, 248, 0.9);
}

.product-footer {
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-price {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.shop-bottom {
  margin-top: 1.1rem;
}

/* Shop responsive */
@media (max-width: 980px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    height: 170px;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-buy {
    width: 100%;
    text-align: center;
  }
}


/* ========== NUTRITION (NEW) ========== */

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

.nutrition-layout {
  display: grid;
  gap: 1.8rem;
  margin-top: 0.2rem;
}

@media (min-width: 980px) {
  .nutrition-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.nutrition-block {
  margin-top: 1.4rem;
}

.nutrition-block-grid {
  margin-top: 1.4rem;
}

.block-title {
  font-size: 1.12rem;
  margin: 0 0 0.25rem;
  letter-spacing: 0.01em;
}

.block-subtitle {
  margin: 0 0 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 60ch;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-badge {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a0a0a;
  background: rgba(255, 107, 61, 0.95);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.clean-list li {
  color: #f0f0f0;
  font-size: 0.93rem;
  line-height: 1.45;
}

.clean-list strong {
  color: #ffffff;
  font-weight: 800;
}

.small {
  font-size: 0.82rem;
}

.sample-list {
  margin-top: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  width: fit-content;
  border: 1px solid rgba(255, 107, 61, 0.38);
  background: rgba(255, 107, 61, 0.10);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.55rem;
}

.faq {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 8, 18, 0.72);
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 750;
  color: #ffffff;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: rgba(255, 107, 61, 0.32);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
}

.faq-body {
  margin-top: 0.65rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.cta-row {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}


/* ========== SHOP / NUTRITION UPDATES (LIGHT, SALES-FOCUSED) ========== */
.nutrition-sale{
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,140,64,0.18), transparent 55%),
              radial-gradient(900px 520px at 80% 10%, rgba(255,140,64,0.10), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.0));
}

#nutrition .section-header{
  text-align: center;
}
#nutrition .section-header .section-subtitle{
  margin-left: auto;
  margin-right: auto;
}

/* --- Nutrition consultation layout polish (v2) --- */
.nutrition-sale-card{
  display: flex;
  flex-direction: column;
  padding-top: 1.55rem;
}
.nutrition-cta-stack{
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0.9rem;
  padding-bottom: 0.35rem;
}
.nutrition-cta-stack .cta-row{
  margin-top: 0.9rem;
}
.nutrition-cta-stack .nutrition-micro{
  margin-top: 0.85rem;
  max-width: 52ch;
}
.nutrition-sale-card{
  height: 100%;
}
.nutrition-sale-proof{
  height: 100%;
  display: flex;
}
.nutrition-sale-proof .proof-card{
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nutrition-sale-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.nutrition-sale-card{
  background: rgba(16,16,16,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.nutrition-pill{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,140,64,0.55);
  color: rgba(255,220,200,0.95);
  font-size: 0.82rem;
  letter-spacing: 0.2px;
  margin: 0 0 0.7rem 0;
  background: rgba(255,140,64,0.12);
}

/* Same size badge used inside the "What you’ll get" proof box */
.nutrition-pill-proof{
  /* remove default h4 margins */
  font-weight: 600;
}

.nutrition-sale-head{
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
}

.bullet-list{
  list-style:none;
  padding:0;
  margin:0 0 1rem;
  display:grid;
  gap:0.55rem;
}

.bullet-list li{
  position:relative;
  padding-left:1.05rem;
  color: rgba(235,235,235,0.92);
  line-height: 1.35;
}
.bullet-list li:before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  color: rgba(255,140,64,0.95);
}

.nutrition-micro{
  margin: 0.9rem 0 0;
  color: rgba(210,210,210,0.9);
  font-size: 0.92rem;
}

.nutrition-sale-proof .proof-card{
  background: rgba(16,16,16,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 1.2rem;
}

.proof-list{
  display:grid;
  gap:0.9rem;
  margin-top:0.7rem;
}

.proof-kicker{
  display:inline-block;
  font-size: 0.78rem;
  letter-spacing:0.35px;
  text-transform: uppercase;
  color: rgba(255,190,150,0.95);
  margin-bottom: 0.2rem;
}

.nutrition-sale-note{
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(200,200,200,0.9);
  opacity: 0.95;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.85rem;
}

@media (max-width: 860px){
  .nutrition-sale-grid{ grid-template-columns: 1fr; }
}

/* Scroll offset for fixed header when jumping to the membership form */
#membership-form{
  scroll-margin-top: 120px;
}


/* Sticky CTA (mobile) */
.sticky-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(10,10,12,0.0), rgba(10,10,12,0.65));
  backdrop-filter: blur(8px);
  display: none;
}
.sticky-btn{
  width: 100%;
  border: 1px solid rgba(255,140,0,0.45);
  border-radius: 16px;
  background: rgba(16,16,20,0.92);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.sticky-title{
  font-weight: 700;
  letter-spacing: 0.2px;
}
.sticky-sub{
  font-size: 12px;
  opacity: 0.85;
  white-space: nowrap;
}
@media (max-width: 820px){
  .sticky-cta{ display:block; }
  body{ padding-bottom: 78px; }
}

/* Testimonials */
.trust-section{ margin-top: 28px; padding-top: 14px; }
.section-heading h2{ margin: 0 0 6px 0; }
.section-heading p{ margin: 0; opacity: 0.9; }
.trust-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.trust-card{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 14px 14px 12px 14px;
  background: rgba(255,255,255,0.04);
}
.trust-quote{ margin:0 0 10px 0; line-height: 1.35; }
.trust-name{ margin:0; opacity: 0.85; font-size: 13px; }
.trust-disclaimer{ margin: 12px 0 0 0; font-size: 12px; opacity: 0.75; }
@media (max-width: 980px){
  .trust-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .trust-grid{ grid-template-columns: 1fr; }
}

/* FAQ */
.faq-section{ margin-top: 18px; padding-bottom: 10px; }
.faq-list{ margin-top: 14px; display: grid; gap: 10px; }
.faq-item{
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  padding: 14px 14px;
  cursor: pointer;
  color: rgba(255,255,255,0.92);
  font: inherit;
  letter-spacing: inherit;
  line-height: 1.25;
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "q icon"
    "a a";
  gap: 10px 12px;
}
.faq-item:focus-visible{ outline: 2px solid rgba(255,107,61,0.8); outline-offset: 2px; }
.faq-q{ grid-area: q; font-weight: 700; }
.faq-icon{grid-area: icon; font-weight: 800; opacity: 0.9; color: var(--accent); }
.faq-a{ grid-area: a; display: none; opacity: 0.9; line-height: 1.45; color: rgba(255,255,255,0.72); }
.faq-item[aria-expanded="true"] .faq-a{ display: block; }
.faq-item[aria-expanded="true"] .faq-icon{ content: "-"; }
.faq-item[aria-expanded="true"] .faq-icon{ transform: rotate(45deg); }

/* Before/After meta */
.ba-meta{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.85;
}

/* Shop bundle + shipping */
.shop-top{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}
.bundle-card, .ship-card{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
  padding: 16px;
}
.bundle-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,140,0,0.55);
  color: rgba(255,210,150,0.95);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 10px;
}
.bundle-title{ margin: 0 0 6px 0; }
.bundle-sub{ margin: 0 0 12px 0; opacity: 0.9; }
.bundle-list{ margin: 0 0 14px 18px; opacity: 0.92; }
.bundle-row{ display:flex; align-items:center; justify-content: space-between; gap: 14px; }
.bundle-price{ display:flex; flex-direction: column; gap: 2px; }
.bundle-now{ font-weight: 800; font-size: 18px; }
.bundle-was{ opacity: 0.7; font-size: 12px; text-decoration: line-through; }
.bundle-note{ margin: 10px 0 0 0; font-size: 12px; opacity: 0.75; }

.ship-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ship-item{
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(0,0,0,0.10);
}
.ship-k{ font-size: 12px; opacity: 0.75; }
.ship-v{ font-weight: 800; margin-top: 3px; }
.ship-fine{ margin: 10px 0 0 0; font-size: 12px; opacity: 0.75; }

@media (max-width: 980px){
  .shop-top{ grid-template-columns: 1fr; }
  .ship-grid{ grid-template-columns: 1fr; }
}



/* =========================
   COACH PORTAL (MVP)
   ========================= */
.coach-page {
  min-height: 100vh;
  /* Force the same dark site background even if a browser caches an older body rule */
  background: radial-gradient(circle at top, #0d101a 0, #020308 55%, #000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

.coach-header .logo { text-decoration: none; color: inherit; }

.coach-main { padding-top: 110px; padding-bottom: 80px; }

.coach-hero {
  margin-top: 12px;
  margin-bottom: 26px;
  background: radial-gradient(1200px 700px at 15% 10%, rgba(255,255,255,0.08), transparent 55%),
              radial-gradient(900px 600px at 85% 30%, rgba(255,255,255,0.06), transparent 55%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.coach-title {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 0.02em;
  margin: 0 0 8px 0;
}

.coach-subtitle {
  margin: 0 0 14px 0;
  max-width: 68ch;
  color: rgba(255,255,255,0.82);
}

.coach-note {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.80);
}

.coach-section-head h2 { margin: 0 0 6px 0; }
.coach-section-head .muted { margin: 0 0 16px 0; }

.coach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .coach-grid { grid-template-columns: 1fr; }
}

.coach-filters {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.28);
}

.coach-input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  outline: none;
}

.coach-input:focus {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.coach-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.coach-pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.coach-pill:hover { transform: translateY(-1px); }
.coach-pill.active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.95);
}

.coach-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .coach-select-row { grid-template-columns: 1fr; }
}

.coach-select-label span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 6px;
}

.coach-select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  outline: none;
}

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

@media (max-width: 860px) {
  .coach-cards { grid-template-columns: 1fr; }
}

.coach-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.24);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

.coach-card-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: rgba(255,255,255,0.95);
}

.coach-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.coach-tag {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

.coach-tag.small { padding: 4px 8px; font-size: 11px; opacity: 0.9; }

.coach-cues {
  margin: 0 0 12px 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
}

.coach-card-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.coach-btn { padding: 10px 12px; border-radius: 14px; }

.coach-sidebar {
  position: sticky;
  top: 106px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.28);
}

@media (max-width: 980px) {
  .coach-sidebar { position: relative; top: auto; }
}

.coach-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.coach-sidebar-head h3 { margin: 0; }

.coach-mini-btn {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.90);
  cursor: pointer;
}

.coach-mini-btn:hover { background: rgba(255,255,255,0.10); }
.coach-mini-btn.danger { border-color: rgba(255,255,255,0.18); }

.coach-day-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.coach-day {
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.86);
  cursor: pointer;
  font-size: 12px;
}

.coach-day.active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.95);
}

.coach-draft-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  margin-bottom: 10px;
}

.coach-draft-name {
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.coach-draft-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.coach-draft-empty {
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
}

.coach-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.coach-modal.open { display: flex; }

.coach-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.coach-modal-card {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,12,0.92);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  padding: 18px 18px 16px 18px;
  backdrop-filter: blur(8px);
}

.coach-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.coach-modal-title { margin: 6px 0 10px 0; }
.coach-modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.coach-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.30);
}

.coach-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.coach-video-placeholder {
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.25);
}

.coach-modal-cues {
  margin-top: 12px;
  padding-left: 18px;
  color: rgba(255,255,255,0.85);
}

.small { font-size: 12px; }


/* --- Member Portal helpers --- */

.member-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0d101a 0, #020308 55%, #000 100%);
  color: var(--text-main);
  overflow-x: hidden;
}

.member-page .button-row{
  display:flex;
  flex-wrap:wrap;
  gap:0.8rem;
  margin-top:1rem;
}
.member-page .mini-note{
  margin-top:0.85rem;
  font-size:0.95rem;
  color:var(--text-soft);
}
.member-page .mini-list{
  margin:0.75rem 0 0;
  padding-left:1.15rem;
  color:var(--text-soft);
}
.member-page .mini-list li{
  margin:0.45rem 0;
}


/* Coach Members */
.coach-members-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){
  .coach-members-grid{ grid-template-columns: 1fr; }
}

.coach-members-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

.coach-mini-title{
  margin: 0 0 10px;
  font-size: 16px;
}

/* --- Coach Drive panels (Program / Nutrition / PAR-Q) --- */
.coach-page a.coach-ui-btn{ text-decoration: none; }

.coach-page .coach-ui-btn.small{
  min-height: 38px;
  padding: 0.58rem 0.95rem;
  border-radius: 14px;
  font-size: 0.9rem;
}

.coach-page .ef-drive-panels{
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.coach-page .ef-panel-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.coach-page .ef-panel-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.coach-page .ef-panel-search{
  min-width: 220px;
  max-width: 320px;
}

.coach-page .ef-files-list{
  margin-top: 12px;
}

.coach-page .ef-file-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

.coach-page .ef-file-row + .ef-file-row{
  margin-top: 10px;
}

.coach-page .ef-file-name{
  font-weight: 650;
  letter-spacing: 0.01em;
}

.coach-page .ef-file-actions a{
  text-decoration: none;
}



.coach-members-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .coach-members-form{ grid-template-columns: 1fr; }
}
.coach-field{ min-width: 0; }
.coach-field-wide{ grid-column: 1 / -1; }

.coach-label{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0 0 6px;
}

.tiny{ font-size: 12px; opacity: 0.8; }

.coach-members-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.coach-divider{
  height: 1px;
  background: rgba(255,255,255,0.10);
  margin: 16px 0;
}

.coach-table-wrap{
  overflow:auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
}

.coach-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.coach-table th,
.coach-table td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
}

.coach-table th{
  text-align:left;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.04);
}

.coach-actions-cell{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content:flex-start;
}

.coach-toast{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.coach-toast.show{
  opacity: 1;
  transform: translateY(0);
}


/* ===================== COACH PORTAL BUTTON NORMALIZATION ===================== */
/* Avoid conflicts with legacy .coach-btn styles used in other marketing sections */

.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.btn-secondary:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.34);
  border-color: rgba(255,106,61,0.35);
}

/* Coach portal uses .coach-ui-btn (not .coach-btn) so sizes stay consistent */
.coach-page .coach-ui-btn{
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}

/* Make "quick" buttons full-width on coach portal for neat alignment */
.coach-page .coach-members-quick .coach-ui-btn{
  flex: 1 1 220px;
}

/* File-import label should look exactly like buttons */
.coach-page .coach-file-btn{
  cursor: pointer;
}

.coach-page .coach-ui-btn.danger{
  border-color: rgba(255, 70, 70, 0.35);
  background: rgba(255, 70, 70, 0.10);
  color: rgba(255,255,255,0.95);
}
.coach-page .coach-ui-btn.danger:hover{
  background: rgba(255, 70, 70, 0.16);
  border-color: rgba(255, 70, 70, 0.55);
}

/* Ensure primary buttons keep existing gradient but text stays readable */
.coach-page .btn-primary.coach-ui-btn{
  color: #0a0503;
}

/* Responsive: keep button text readable on small screens */
@media (max-width: 520px){
  .coach-page .coach-ui-btn{ font-size: 0.9rem; min-height: 42px; }
}


/* --- Member Portal upgrades (v2) --- */
.member-page .panel-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 980px){
  .member-page .panel-grid{ grid-template-columns: 1fr; }
}

/* Make small action buttons consistent */
.member-page .btn-mini{
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border-radius: 14px;
  font-size: 0.9rem;
}
.member-page button.btn-ghost{ cursor:pointer; }

/* Status pills */
.member-page .member-kpi{
  display:flex;
  flex-wrap:wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.member-page .member-kpi .kpi{
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
}

/* Weekly goals counter */
.member-page .member-counter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
}
.member-page .counter-controls{
  display:flex;
  align-items:center;
  gap: 0.55rem;
}
.member-page .counter-btn{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-size: 20px;
  line-height: 1;
}
.member-page .counter-btn:hover{
  background: rgba(255,255,255,0.10);
}
.member-page .counter-value{
  min-width: 88px;
  text-align:center;
  font-weight: 750;
}
.member-page .counter-label{
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* Checklist rows */
.member-page .member-checklist{
  display:flex;
  flex-direction:column;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.member-page .member-check{
  display:flex;
  align-items:center;
  gap: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.16);
  color: rgba(255,255,255,0.90);
}
.member-page .member-check input{
  width: 18px;
  height: 18px;
}

/* Video frame */
.member-page .member-video-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
}
.member-page .member-video-frame iframe{
  width:100%;
  height:100%;
  border:0;
}


/* Keep header logo text color consistent (avoid default visited/link colors on pages where logo is a link) */
.logo,
.logo:visited {
  color: var(--text);
  text-decoration: none;
}
.logo .logo-text {
  color: var(--text);
}


/* =========================================================
   HOME: HERO SINGLE COLUMN (Hero card removed)
   ========================================================= */
.hero-grid.hero-grid--single{
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 1.6rem;
  align-items: stretch;
}

/* =========================================================
   CONSULTATION-ONLY MODE (Book Free Consultation)
   - Shows only the membership form screen, like a dedicated page
   - Does NOT affect other pages unless body has .consultation-only
   ========================================================= */
body.consultation-only #membership .membership-plans-heading,
body.consultation-only #membership .membership-grid,
body.consultation-only #membership .membership-faq{
  display:none !important;
}

body.consultation-only #membership{
  padding-block: 2rem 3rem;
}

body.consultation-only #membership .container{
  min-height: calc(100vh - 96px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

body.consultation-only #membership .membership-form-heading{
  width:100%;
  text-align:center;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

body.consultation-only #membership #membership-form{
  width: min(1120px, 100%);
  margin-inline:auto;
}



/* Hide the "Interested in" field on Book Free Consultation (so only consultation form is visible) */
body.consultation-only #membership #plan-group{
  display:none !important;
}

/* =========================================================
   PROFILE-ONLY MODE (Apply for Foundation / Coaching / Elite)
   - Shows only the membership form screen, like a dedicated page
   - Keeps "Interested in" visible so the member can see the chosen plan
   ========================================================= */
body.profile-only #membership .membership-plans-heading,
body.profile-only #membership .membership-grid,
body.profile-only #membership .membership-faq{
  display:none !important;
}

body.profile-only #membership{
  padding-block: 2rem 3rem;
}

body.profile-only #membership .container{
  min-height: calc(100vh - 96px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

body.profile-only #membership .membership-form-heading{
  width:100%;
  text-align:center;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

body.profile-only #membership #membership-form{
  width: min(1120px, 100%);
  margin-inline:auto;
}

/* Highlight the selected "Interested in" plan in green */
#membership-form select.plan-selected{
  color: #2aff8a;
  font-weight: 700;
}
/* =========================================================
   HERO: Kicker + Headline + Turn (typography upgrade)
   ========================================================= */

.hero-kicker--big{
  margin: 0 0 12px;
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.96;
}

.hero-headline{
  margin: 0 0 14px;
  font-family: "Bebas Neue","Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-text--big{
  margin: 0 0 18px;
  font-size: clamp(20px, 1.9vw, 28px);
  font-weight: 600;
  opacity: 0.96;
  max-width: 46ch;
}

.hero-turn--focus{
  margin: 0 0 22px;
  font-family: "Bebas Neue","Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(46px, 5.4vw, 84px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent, #ff6a2a);
  text-shadow: 0 0 26px rgba(255, 107, 61, 0.38);
}

@media (max-width: 600px){
  .hero-kicker--big{
    font-size: 0.95rem;
    letter-spacing: 0.10em;
  }

  .hero-headline{
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.05;
  }

  .hero-text--big{
    font-size: clamp(16px, 4.6vw, 20px);
  }

  .hero-turn--focus{
    font-size: clamp(40px, 11vw, 56px);
    line-height: 0.96;
  }
}

/* =========================================================
   HERO: Background blur + readability overlay
   - Soft blur/contrast on the hero image
   - Gradient overlay to make text pop
   ========================================================= */

.hero-banner{
  position: relative;
  overflow: hidden;
}

.hero-banner-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: blur(3px) brightness(0.80) saturate(1.08);
  transform: scale(1.04);
}

.hero-banner-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background:
    radial-gradient(circle at 20% 25%, rgba(255, 107, 61, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.62), rgba(0,0,0,0.48) 40%, rgba(0,0,0,0.70));
}

.hero-banner .hero-grid{
  position: relative;
  z-index: 2;
}

/* =========================================================
   HERO: Screenshot-like typography (bigger, more motivational)
   ========================================================= */

.hero-main{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Main motto line (big, condensed) */
.hero-headline--screenshot{
  margin: 0;
  font-family: "Bebas Neue","Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(56px, 6.2vw, 96px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 16ch;
}

/* Supporting line */
.hero-text--screenshot{
  margin: 0;
  font-size: clamp(18px, 2.0vw, 26px);
  font-weight: 600;
  opacity: 0.95;
  max-width: 44ch;
}

/* Accent line (same highlight color) */
.hero-turn--screenshot{
  margin: 0;
  font-family: "Bebas Neue","Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(46px, 5.1vw, 78px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* LETS GO! (big, but below the accent line) */
.hero-go--screenshot{
  margin: 0;
  font-family: "Bebas Neue","Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size: clamp(34px, 3.7vw, 60px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.98;
}

@media (max-width: 600px){
  .hero-headline--screenshot{
    max-width: 18ch;
    font-size: clamp(44px, 11vw, 62px);
    line-height: 0.98;
  }
  .hero-turn--screenshot{
    font-size: clamp(40px, 10vw, 56px);
  }
  .hero-go--screenshot{
    font-size: clamp(30px, 8.8vw, 44px);
  }
}

/* =========================================================
   RESTORE EFFECTS + MINIMAL NAV SAFETY (NO THEME CHANGE)
   - Restores: orange line headings (Transformations / Trust / About / FAQ)
   - Restores: only "ONE REALISTIC CHANGE" orange accent via .hero-accent
   - Restores: CTA left-to-right glow slide on Book Free Consultation (btn-cta.shine)
   - Safety: background fallback + prevent horizontal overflow
   ========================================================= */

html, body{ background: var(--bg-body, #020308); overflow-x: hidden; }

/* 1) Hero accent (only the highlighted phrase) */
.hero-accent{
  color: var(--accent, #ff6b3d);
  text-shadow: 0 0 16px rgba(255, 107, 61, 0.22);
}

/* 2) Heading style: centered + orange line accents */

/* Transformations */
.transformations .section-head.center{ text-align: center; }
.transformations .section-head.center h2{
  display:flex; align-items:center; justify-content:center; gap:16px;
  text-align:center; margin-left:auto; margin-right:auto;
}
.transformations .section-head.center h2::before,
.transformations .section-head.center h2::after{
  content:""; height:2px; width:clamp(44px, 10vw, 120px);
  background: linear-gradient(90deg, transparent, var(--accent, #ff6b3d), transparent);
  border-radius:999px; box-shadow:0 0 14px rgba(255, 107, 61, 0.35); opacity:.95;
}
.transformations .section-head.center p{
  max-width:720px; margin-left:auto; margin-right:auto;
}

/* Testimonials / Trust */
.trust-section .section-heading{ text-align:center; }
.trust-section .section-heading h2{
  display:flex; align-items:center; justify-content:center; gap:16px;
  text-align:center; margin-left:auto; margin-right:auto;
}
.trust-section .section-heading h2::before,
.trust-section .section-heading h2::after{
  content:""; height:2px; width:clamp(44px, 10vw, 120px);
  background: linear-gradient(90deg, transparent, var(--accent, #ff6b3d), transparent);
  border-radius:999px; box-shadow:0 0 14px rgba(255, 107, 61, 0.35); opacity:.95;
}
.trust-section .section-heading p{
  max-width:720px; margin-left:auto; margin-right:auto;
}

/* About + FAQ */
#about .section-header, #faq .section-header{ text-align:center; }
#about .section-title, #faq .section-title{
  display:flex; align-items:center; justify-content:center; gap:16px;
  text-align:center; margin-left:auto; margin-right:auto;
}
#about .section-title::before, #about .section-title::after,
#faq .section-title::before, #faq .section-title::after{
  content:""; height:2px; width:clamp(44px, 10vw, 120px);
  background: linear-gradient(90deg, transparent, var(--accent, #ff6b3d), transparent);
  border-radius:999px; box-shadow:0 0 14px rgba(255, 107, 61, 0.35); opacity:.95;
}
#about .section-subtitle, #faq .section-subtitle{
  max-width:720px; margin-left:auto; margin-right:auto;
}

@media (max-width:520px){
  .transformations .section-head.center h2,
  .trust-section .section-heading h2,
  #about .section-title,
  #faq .section-title{ gap:10px; }

  .transformations .section-head.center h2::before,
  .transformations .section-head.center h2::after,
  .trust-section .section-heading h2::before,
  .trust-section .section-heading h2::after,
  #about .section-title::before, #about .section-title::after,
  #faq .section-title::before, #faq .section-title::after{ width:52px; }
}

/* 3) CTA glow slide on Book Free Consultation */
.btn-cta.shine{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-cta.shine::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-80%;
  width:55%;
  height:180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.18),
    rgba(255,107,61,0.28),
    rgba(255,255,255,0.18),
    transparent
  );
  transform: skewX(-18deg) translateX(-120%);
  opacity:.78;
  pointer-events:none;
  mix-blend-mode: screen;
  animation: ef-cta-glow-slide 3.4s ease-in-out infinite;
}
@keyframes ef-cta-glow-slide{
  0%   { transform: skewX(-18deg) translateX(-120%); opacity: 0.0; }
  12%  { opacity: 0.78; }
  55%  { opacity: 0.78; }
  70%  { opacity: 0.0; }
  100% { transform: skewX(-18deg) translateX(460%); opacity: 0.0; }
}
@media (prefers-reduced-motion: reduce){
  .btn-cta.shine::before{ animation:none; opacity:0; }
}

/* =========================================================
   REQUESTED CHANGES (minimal, no theme changes)
   1) FAQ page: orange subtle frame around each question + hover "pop" (Apple-like)
   2) Transformations (Before/After): make photos fit inside the frame so they are visible
   ========================================================= */

/* 1) FAQ (right-top menu -> FAQ section) */
#faq .faq-list .faq-item{
  border: 1px solid rgba(255, 107, 61, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
  will-change: transform;
}

#faq .faq-list .faq-item:hover,
#faq .faq-list .faq-item:focus-within{
  border-color: rgba(255, 107, 61, 0.52);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 107, 61, 0.22);
}

/* Optional: slightly stronger focus for keyboard users */
#faq .faq-list .faq-item:focus-within{
  outline: none;
}

/* 2) Transformations: ensure images are visible (no cropping) */
.transformations .ba-img{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* =========================================================
   REAL TRANSFORMATIONS: Make Before/After frames taller (Instagram Story-ish)
   Goal: portrait photos fit naturally inside the frame
   ========================================================= */

.transformations .ba{
  aspect-ratio: 9 / 16;          /* Instagram Story portrait */
  max-height: min(78vh, 720px);  /* tall but safe on desktop */
}

/* Keep cards from becoming too narrow on large screens */
@media (min-width: 900px){
  .transformations .ba-card{
    max-width: 420px;
  }
}

/* Mobile tuning */
@media (max-width: 600px){
  .transformations .ba{
    max-height: min(70vh, 640px);
  }
  .transformations .ba-card{
    max-width: 92vw;
  }
}


/* =========================================================
   Intro CTA button (Get Started / Hemen Başla)
   Motivational fitness-style typography + slightly smaller
   (Scoped to intro only so the rest of the site stays intact)
   ========================================================= */
.intro-screen .intro-btn{
  width: min(220px, 74%);
  padding: 0.62rem 1.25rem;

  font-family: "Bebas Neue", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 600px){
  .intro-screen .intro-btn{
    width: min(200px, 78%);
    padding: 0.58rem 1.1rem;
    font-size: 1.15rem;
  }
}

/* =========================================================
   Home HERO CTA button (Book Free Consultation)
   - Same motivational font as Get Started
   - Slightly smaller and constrained so it lines up better with the "TODAY" line
   (Scoped to hero only; does not affect other buttons)
   ========================================================= */
.hero .hero-actions .btn-cta{
  font-family: "Bebas Neue", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;

  /* a bit smaller / tighter */
  padding: 0.58rem 1.05rem;

  /* allow the button to be no wider than the line above on narrow screens */
  white-space: normal;
  width: min(22ch, 92vw);
  text-align: center;
  justify-content: center;
}

@media (max-width: 600px){
  .hero .hero-actions .btn-cta{
    font-size: 1.05rem;
    padding: 0.55rem 0.95rem;
    width: min(20ch, 92vw);
  }
}


/* ========== MEMBER LOGIN MODAL (open on Index) ========== */
body.ef-modal-lock{ overflow: hidden; }

.member-modal{
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  background: #05070a;
  isolation: isolate;
}
.member-modal.is-open{ display: block; }

.member-modal-backdrop{
  position: absolute;
  inset: 0;
  background: #05070a; /* fully opaque so page behind is not visible */
  backdrop-filter: none;
  z-index: 0;
}

/* Full-screen shell (no extra “frame”/chrome) */
.member-modal-dialog{
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  z-index: 1;
}

/* Minimal back button (no top bar) */
.member-modal-x{
  position: absolute;
  top: 16px;
  right: 18px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.member-modal-back-icon{
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}
.member-modal-back-text{
  line-height: 1;
  white-space: nowrap;
}
.member-modal-x:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
  transform: translateY(-1px);
}
.member-modal-x:active{ transform: translateY(0px); }

@media (max-width: 460px){
  .member-modal-back-text{ display:none; }
  .member-modal-x{ width: 44px; padding: 0; }
}


.member-modal-frame{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
}

@media (max-width: 680px){
  .member-modal-x{ top: 12px; right: 12px; }
}

/* --- Contact section layout (bottom-centered) --- */
#contact .contact-container{
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .contact-bottom{
  width: 100%;
  max-width: 780px;
  text-align: center;
  padding: 0 12px;
}

#contact .contact-subtitle{
  margin-top: 10px;
  font-size: 1.02rem;
  letter-spacing: 0.2px;
  opacity: 0.9;
}

#contact .contact-links{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 34px; /* more space between mail / instagram */
}

#contact .contact-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  text-decoration: none;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#contact .contact-link:hover{
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 130, 78, 0.35);
}

#contact .contact-link-icon{
  width: 20px;
  height: 20px;
}

#contact .contact-link-text{
  font-size: 0.98rem;
  letter-spacing: 0.2px;
}



/* ========== CONTACT HERO (FULL SCREEN PHOTO) ========== */
#contact.contact-hero{
  position: relative;
  min-height: 100vh;
  padding: 0 !important; /* override page-section padding */
  overflow: hidden;

  /* Hand-fit positions (tweak if needed) */
  --icon-y: 50%;
  --email-x: calc(50% - 110px);
  --email-y: var(--icon-y);
  --ig-x: calc(50% + 110px);
  --ig-y: var(--icon-y);
}

#contact .contact-hero-bg{
  position: absolute;
  inset: 0;
  background: url('contac.jpg') center / cover no-repeat;

  /* Photo mood */
  filter: grayscale(1) contrast(1.06) brightness(0.86);
  transform: scale(1.03);
}

#contact .contact-hero-overlay{
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* Soft blur + depth overlay on top of the photo */
#contact .contact-hero-overlay::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 55%, rgba(0,0,0,0.18), rgba(0,0,0,0.55));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Hand-positioned icons */
#contact .contact-hero-overlay{
  position: relative;
}
#contact .contact-top-center{
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
#contact .contact-top-links{
  display: flex;
  gap: 14px;
}
#contact .contact-top-accent{
  width: min(280px, 72vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,135,0,0), rgba(255,135,0,0.95), rgba(255,135,0,0));
  box-shadow: 0 12px 30px rgba(255,135,0,0.18);
}

#contact .contact-hand-icon{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Left hand (Email) */
#contact .contact-email{
  left: var(--email-x);
  top: var(--email-y);
}

/* Right hand (Instagram) */
#contact .contact-instagram{
  left: var(--ig-x);
  top: var(--ig-y);
}

/* Icon buttons */
#contact .contact-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(10, 12, 18, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px rgba(0,0,0,0.40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-strong);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

#contact .contact-link-icon{
  width: 20px;
  height: 20px;
}

#contact .contact-link:hover{
  transform: translateY(-4px) scale(1.06);
  background: rgba(10, 12, 18, 0.48);
  border-color: rgba(255, 130, 78, 0.55);
  box-shadow: 0 18px 44px rgba(0,0,0,0.55), 0 0 0 1px rgba(255, 130, 78, 0.22);
}

#contact .contact-link:active{
  transform: scale(0.98);
}

@media (max-width: 520px){
  #contact.contact-hero{
    /* On mobile, cover-cropping shifts the image a bit */
    --icon-y: 52%;
    --email-x: calc(50% - 90px);
    --email-y: var(--icon-y);
    --ig-x: calc(50% + 90px);
    --ig-y: var(--icon-y);
  }
  #contact .contact-link{
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
}



/* CONTACT HERO tiny phone spacing */
@media (max-width: 390px){
  #contact.contact-hero{
    --icon-y: 53%;
    --email-x: calc(50% - 78px);
    --email-y: var(--icon-y);
    --ig-x: calc(50% + 78px);
    --ig-y: var(--icon-y);
  }
}


/* --- Lined section titles (orange dividers) --- */
.lined-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  width: 100%;
}
.lined-title .section-title{
  margin: 0;
}
.lined-title-line{
  height: 2px;
  width: min(92px, 18vw);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,135,0,0), rgba(255,135,0,0.95), rgba(255,135,0,0));
  box-shadow: 0 10px 26px rgba(255,135,0,0.14);
}


/* --- Nutrition: center pill/head/bullets (v4) --- */
#nutrition .nutrition-sale-card{
  padding-top: 1.85rem;
}
#nutrition .nutrition-pill{
  display: inline-block;
  margin: 0 auto 0.75rem;
  text-align: center;
}
#nutrition .nutrition-sale-head{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.95rem;
  max-width: 30ch;
}
#nutrition .bullet-list{
  max-width: 46ch;
  margin: 0.1rem auto 0;
  text-align: left;
}
#nutrition .bullet-list li + li{
  margin-top: 0.35rem;
}
/* Slightly tighten the gap before the CTA so the card feels filled */
#nutrition .nutrition-cta-stack{
  padding-top: 0.95rem;
}


/* --- Hero consultation button length (v4) --- */
.hero-actions .btn-cta.shine[data-consultation="true"]{
  padding-left: 28px;
  padding-right: 28px;
  min-width: 260px;
}


/* Member page - add lined title style to "Membership Profile" (portal.profileTitle) */
#profileCard h3{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

#profileCard h3::before,
#profileCard h3::after{
  content:"";
  height: 2px;
  width: clamp(44px, 10vw, 120px);
  background: linear-gradient(90deg, transparent, var(--accent, #ff6b3d), transparent);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(255, 107, 61, 0.35);
  opacity: .95;
}



/* ===== Membership form switch (Consultation vs Membership) ===== */
.form-switch{
  /* Make it a block-level flex container so margin: auto centers it reliably */
  display: flex;
  width: fit-content;
  gap: 0.5rem;
  margin: 1rem auto 1.2rem;
  padding: 0.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
}

.form-switch-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--text-soft, rgba(255,255,255,0.85));
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  font-weight: 600;
  line-height: 1;
}

.form-switch-btn:hover{
  border-color: rgba(255, 106, 61, 0.55);
  transform: translateY(-1px);
}

.form-switch-btn.active{
  background: rgba(255, 106, 61, 0.14);
  border-color: rgba(255, 106, 61, 0.75);
  color: var(--text, #fff);
}

.form-panels .form-panel[hidden]{ display: none; }

.form-panel-title{
  margin: 0.5rem 0 0.9rem;
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}


/* Interested In button group */
.interest-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;}
.interest-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:inherit;
  cursor:pointer;
  font-weight:650;
  transition:transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.interest-btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.interest-btn.is-selected{
  border-color: rgba(46, 204, 113, .85);
  background: rgba(46, 204, 113, .18);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, .16), 0 12px 34px rgba(0,0,0,.35);
}

/* =========================================================
   FIX: Home page language dropdown behind hero banner image
   - Ensure the header stack is above the hero on Home
   - Keep modals (z-index: 20000) above the header
   - Improve dropdown legibility over photo (more opaque + blur)
   ========================================================= */
.site-header{
  z-index: 18000 !important;
  isolation: isolate; /* creates a clean stacking context */
}

.site-header .header-inner,
.site-header .header-right,
.site-header .header-actions,
.site-header .lang-selector{
  position: relative;
  z-index: 18001 !important;
}

.site-header .lang-dropdown{
  z-index: 18002 !important;
  background: rgba(5, 7, 10, 0.95);
  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 22px 70px rgba(0,0,0,0.65);
}


/* FIX: Hero banner stacking (keeps Home language dropdown on top) */
.hero-banner{ z-index: 0; }

/* =========================================================
   Bulletproof language dropdown on Home
   - index.html portals the dropdown to <body> when opened.
   - Fixed positioning avoids any hero/transform stacking issues.
   - Keep modals (z-index: 20000) above the dropdown.
   ========================================================= */
.lang-dropdown--portal{
  position: fixed !important;
  right: auto !important;
  top: 0;
  left: 0;
  z-index: 19000 !important;
  max-width: calc(100vw - 20px);
}


/* ========== MEMBER: TOP-RIGHT BACK BUTTON (non-invasive) ========== */
body.member-page .ef-back-btn{
  position: fixed;
  top: 16px;
  right: 92px; /* leave room for language selector */
  z-index: 2600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28);
  color: rgba(255,255,255,.92);
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  transition: transform var(--transition-fast), opacity var(--transition-fast), border-color var(--transition-fast);
}
body.member-page .ef-back-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.26);
}
body.member-page .ef-back-btn:active{
  transform: translateY(0px);
  opacity: .92;
}
@media (max-width: 900px){
  body.member-page .ef-back-btn{ right: 74px; top: 12px; padding: 9px 11px; }
}
@media (max-width: 420px){
  body.member-page .ef-back-btn{ right: 66px; }
}


/* ============================================================
   2026-01-05 HOTFIX: Safari red-tile / GPU glitch prevention
   Symptom: random full-screen red blocks / browser crash while
   interacting with Membership cards.
   Fix: reduce heavy blur + big scale transforms on .coach-card.
   (Keeps the design, but makes rendering much more stable.)
   ============================================================ */

/* Remove blur layers on pricing cards (common Safari GPU trigger) */
.coach-card{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  contain: paint;
}

/* Plan badges: keep the look, drop the blur */
.coach-card .plan-badge{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Reduce aggressive scaling/glow on hover (still feels "premium") */
@media (hover: hover) and (pointer: fine){
  .coach-card:hover{
    transform: translateY(-6px) !important;
    box-shadow: 0 28px 60px rgba(0,0,0,0.85), 0 0 18px rgba(255,107,61,0.35) !important;
  }
}

/* Featured plan: remove scale to avoid GPU tile corruption */
.coach-card.featured{
  transform: translateY(-8px) !important;
}

@media (hover: hover) and (pointer: fine){
  .coach-card.featured:hover{
    transform: translateY(-10px) !important;
  }
}



/* ============================
   EFG Product Gallery (added)
   ============================ */

.product-card .product-media { cursor: zoom-in; }

.efg-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.efg-modal.efg-open { display: block; }

.efg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  /* Avoid Safari GPU issues */
  backdrop-filter: none !important;
}

.efg-window {
  position: relative;
  width: min(920px, calc(100% - 28px));
  margin: 42px auto;
  border-radius: 16px;
  border: 2px solid rgba(255, 122, 26, 0.85);
  background: rgba(12, 12, 14, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 122, 26, 0.20),
    0 18px 60px rgba(0,0,0,0.70),
    0 0 40px rgba(255, 122, 26, 0.14);
  overflow: hidden;
  transform: translateZ(0); /* stabilize */
}

.efg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.10), rgba(0,0,0,0));
}

.efg-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.efg-iconbtn, .efg-closebtn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 26, 0.65);
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.98);
  cursor: pointer;
  font-size: 22px;
  line-height: 36px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-shadow: 0 1px 0 rgba(0,0,0,0.65), 0 0 10px rgba(255, 122, 26, 0.25);
}


.efg-closebtn { font-size: 26px; }

.efg-iconbtn:focus-visible, .efg-closebtn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.28);
}

.efg-iconbtn:active, .efg-closebtn:active {
  transform: translateY(1px);
}

.efg-iconbtn:hover, .efg-closebtn:hover {
  border-color: rgba(255, 122, 26, 0.85);
  box-shadow: 0 0 0 2px rgba(255, 122, 26, 0.12);
}

.efg-body {
  padding: 14px;
}

.efg-mainwrap {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
  overflow: hidden;
}

.efg-main {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

.efg-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.efg-thumbs {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.efg-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 70px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

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

.efg-thumb.is-active {
  border-color: rgba(255, 122, 26, 0.95);
  box-shadow: 0 0 0 2px rgba(255, 122, 26, 0.12);
}

.efg-thumb.is-empty {
  cursor: not-allowed;
  color: rgba(255,255,255,0.55);
  font-weight: 700;
  letter-spacing: 0.4px;
  display: grid;
  place-items: center;
}

@media (max-width: 520px) {
  .efg-window { margin: 18px auto; }
  .efg-main { max-height: 52vh; }
}


/* EFG GALLERY STYLES */
.product-img.efg-placeholder {
  object-fit: contain;
  padding: 18px;
  opacity: 0.95;
  transform: none;
  filter: none;
  background: rgba(0,0,0,0.15);
}

.efg-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.efg-modal.open { display: block; }

.efg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}

.efg-window {
  position: relative;
  max-width: 980px;
  width: calc(100% - 28px);
  margin: 42px auto;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(12, 12, 14, 0.96);
  border: 2px solid rgba(255, 138, 0, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 138, 0, 0.25), 0 22px 70px rgba(0,0,0,0.6);
  animation: efgPop 180ms ease-out;
}

@keyframes efgPop {
  from { transform: translateY(6px) scale(0.985); opacity: 0.0; }
  to   { transform: translateY(0) scale(1); opacity: 1.0; }
}

.efg-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 26px;
  line-height: 42px;
  color: #fff;
  background: rgba(255, 138, 0, 0.16);
}

.efg-close:hover { background: rgba(255, 138, 0, 0.24); }

.efg-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 52px 12px 6px;
}

.efg-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.efg-counter {
  font-size: 0.95rem;
  opacity: 0.85;
}

.efg-mainwrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.efg-main {
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  display: block;
}

.efg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-size: 30px;
  line-height: 46px;
  color: #fff;
  background: rgba(255, 138, 0, 0.16);
  backdrop-filter: none;
}

.efg-nav:hover { background: rgba(255, 138, 0, 0.24); }

.efg-prev { left: 10px; }
.efg-next { right: 10px; }

.efg-thumbs {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6_tfW 0 2px;
}

.efg-thumb {
  border: 1px solid rgba(255, 138, 0, 0.22);
  border-radius: 14px;
  padding: 0;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  min-width: 96px;
  height: 74px;
  overflow: hidden;
}

.efg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.efg-thumb.active {
  border-color: rgba(255, 138, 0, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 138, 0, 0.35);
}

.efg-thumb.active img { opacity: 1; }

/* /EFG GALLERY STYLES */


/* ========== Home header: signed-in user pill ========== */
.ef-user-pill{
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.ef-user-pill:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.22);
}
.ef-user-pill:focus-visible{
  outline: 2px solid rgba(120,255,180,0.75);
  outline-offset: 2px;
}
.ef-user-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(120,255,180,0.95);
  box-shadow: 0 0 0 3px rgba(120,255,180,0.18);
}
.ef-user-name{
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ef-user-logout{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: inherit;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}
.ef-user-logout:hover{
  background: rgba(255, 107, 61, 0.14);
  border-color: rgba(255, 107, 61, 0.35);
}


/* ========== MEMBER: PROGRAM TILES ========== */
.program-tiles{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:12px;
}
.program-tile{
  flex:1 1 240px;
  max-width:360px;
  padding:14px 16px;
  border-radius:16px;
  background: rgba(0,0,0,0.22);
  border:1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(0,0,0,0.55);
  text-decoration:none;
  color: var(--text-main);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.program-tile:visited{ color: var(--text-main); }
.program-tile *{ color: inherit; }
.program-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.28);
}
.program-tile.is-disabled{
  opacity:0.55;
  pointer-events:none;
}
.program-tile.disabled,
.program-tile[aria-disabled="true"]{
  opacity:0.55;
  pointer-events:none;
}
.program-tile-title{
  font-weight:700;
  font-size:1rem;
  margin-bottom:6px;
}
.program-tile-sub{
  font-size:0.92rem;
  color: var(--text-soft);
  line-height:1.35;
}


/* --- Membership password: eye toggle inside input (no frame) --- */
.pw-wrap{position:relative;}
.pw-wrap input{padding-right:4.25rem;} /* room for Safari key + eye */
.pw-toggle{
  position:absolute;
  right:8px; /* micro tweak: a touch more right, still inside */
  top:50%;
  transform:translateY(-50%) translateY(-3px); /* micro tweak: lift ~3px for optical centering */
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:none;
  padding:0;
  margin:0;
  color:rgba(255,255,255,0.72);
  cursor:pointer;
}
.pw-toggle:hover{color:rgba(255,255,255,0.92);}
.pw-eye{width:18px;height:18px;display:block;fill:currentColor;}
.pw-eye-off{display:none;}
.pw-toggle.is-visible .pw-eye-open{display:none;}
.pw-toggle.is-visible .pw-eye-off{display:block;}

/* Hide Safari/Chrome credential icons that break symmetry */
input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button{
  visibility:hidden;
  display:none !important;
  pointer-events:none;
  position:absolute;
  right:0;
}
