/* ==========================================================================
   UK DEĞİŞİM - ELECTRIC LIME DESIGN SYSTEM & STYLESHEET
   Brand: UK Değişim (Umut Köreli Fitness & Transformation Coaching)
   Theme: Electric Lime (#CCFF00) & Deep Dark (#090A0D)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --bg-dark: #090A0D;
  --bg-card: #12151F;
  --bg-card-hover: #181C2A;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(204, 255, 0, 0.3);
  
  --accent-lime: #CCFF00;
  --accent-lime-glow: rgba(204, 255, 0, 0.4);
  --accent-cyan: #00F0FF;
  --accent-cyan-glow: rgba(0, 240, 255, 0.3);
  --accent-orange: #FF5E00;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #090A0D;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transition */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-lime {
  color: var(--accent-lime);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.3);
  color: var(--accent-lime);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--accent-lime);
  color: var(--text-dark);
  box-shadow: 0 0 25px var(--accent-lime-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px var(--accent-lime-glow);
  background: #d8ff26;
}

.btn-outline {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-lime);
  color: var(--accent-lime);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.7rem 0;
}

.navbar.scrolled .logo-img {
  height: 56px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Selected Horizontal Image Logo Styling - Perfect Sweet Spot Height */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  max-width: 350px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-fast);
}

.logo-img:hover {
  transform: scale(1.03);
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 70% 30%, rgba(204, 255, 0, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-metrics {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.metric-item h3 {
  font-size: 2.2rem;
  color: var(--accent-lime);
}

.metric-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(204, 255, 0, 0.15);
  max-width: 440px;
  width: 100%;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hero-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: rgba(18, 21, 31, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-highlight);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10;
}

.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--accent-lime);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.badge-text h4 {
  font-size: 1rem;
  color: #FFF;
}

.badge-text p {
  font-size: 0.8rem;
  color: var(--accent-lime);
}

/* Services Section */
.services {
  padding: 6rem 0;
  position: relative;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-lime), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(204, 255, 0, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.2);
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
  margin-top: auto;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.service-features li i {
  color: var(--accent-lime);
}

/* Transformations Section */
.transformations {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0E1119 100%);
}

.transformations-slider-container {
  position: relative;
  width: 100%;
}

.transformations-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0 2rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.transformations-grid.active {
  cursor: grabbing;
  scroll-snap-type: none;
}

.transformations-grid::-webkit-scrollbar {
  display: none;
}

.transform-card {
  flex: 0 0 calc(33.333% - 1.35rem);
  min-width: 300px;
  max-width: 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.transform-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
}

.transform-img-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  background: #090A0D;
  overflow: hidden;
  pointer-events: none;
}

.transform-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.transform-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-lime);
  color: var(--accent-lime);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 5;
}

.transform-img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 11, 0.7);
  backdrop-filter: blur(4px);
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 6;
}

.transform-img-wrapper:hover .img-zoom-overlay {
  opacity: 1;
}

.transform-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.transform-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.transform-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.transform-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 0.85rem;
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  font-size: 0.85rem;
}

.transform-stats span {
  color: var(--text-muted);
}

.transform-stats strong {
  color: var(--accent-lime);
}

/* Slider Arrow Buttons */
.slider-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(18, 21, 31, 0.95);
  border: 1px solid var(--accent-lime);
  color: var(--accent-lime);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition-fast);
  box-shadow: 0 5px 20px rgba(0,0,0,0.6);
}

.slider-arrow:hover {
  background: var(--accent-lime);
  color: var(--text-dark);
  box-shadow: 0 0 25px var(--accent-lime-glow);
}

.prev-arrow {
  left: -1.25rem;
}

.next-arrow {
  right: -1.25rem;
}

/* Calculator Section */
.calculator-section {
  padding: 6rem 0;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-group input, .input-group select, .input-group textarea {
  background: #12151F;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--accent-lime);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.15);
}

.input-group input[type="date"],
input[type="date"] {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 42px;
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  min-height: 1.2em;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.85;
  filter: invert(1);
}

/* SELECT DROPDOWN OPTION POPUP STYLING FIX FOR DARK THEME */
select option {
  background-color: #12151F !important;
  color: #F8FAFC !important;
  padding: 0.75rem 1rem;
}

select option:hover, select option:focus, select option:checked {
  background-color: var(--accent-lime) !important;
  color: #090A0D !important;
}

/* MEMBER MANAGEMENT MODAL & DRAWER STYLES */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-box {
  background: #12151F;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-lime-glow);
  position: relative;
  box-sizing: border-box;
  margin: auto;
}

/* Modal Form Grid System (Responsive for Desktop / Tablet / Mobile) */
.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

.modal-form-grid .input-group {
  min-width: 0;
  box-sizing: border-box;
}

.modal-form-grid input,
.modal-form-grid select,
.modal-form-grid textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.modal-service-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.modal-service-category-grid label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.modal-service-category-grid label input[type="radio"] {
  margin: 0 !important;
  padding: 0 !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  flex: 0 0 15px !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.modal-service-category-grid label span {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  text-align: center !important;
  display: inline-block !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.workout-log-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.workout-log-card:hover {
  border-color: rgba(204, 255, 0, 0.3);
}

.exercise-tag {
  display: inline-block;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.2);
  color: var(--accent-lime);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.calc-result-box {
  background: rgba(9, 10, 13, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.result-number {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--accent-lime);
  line-height: 1;
  margin: 1rem 0;
}

.result-category {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(204, 255, 0, 0.15);
  color: var(--accent-lime);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: #25D366;
  color: #FFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Footer */
.footer {
  background: #050608;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo-img {
  height: 70px;
  max-width: 300px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.footer-col ul li a i {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.footer-col ul li a:hover {
  color: var(--accent-lime);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Calculator Input Row */
.calc-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==================== MOBILE MENU ==================== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 13, 0.6);
  backdrop-filter: blur(8px);
  z-index: 998;
}

.mobile-menu-overlay.active {
  display: block;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(12, 14, 20, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-highlight);
  padding: 5rem 2rem 2rem;
  gap: 0.5rem;
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.nav-links.active .nav-link {
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  color: var(--text-main);
}

.nav-links.active .nav-link:hover {
  background: rgba(204, 255, 0, 0.08);
  color: var(--accent-lime);
}

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

/* Tablet Landscape */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .hero-image-wrapper {
    justify-content: center;
  }

  .hero-image-card {
    max-width: 380px;
  }

  .hero-image-card img {
    height: auto;
  }

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

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

  .transform-card {
    flex: 0 0 calc(50% - 1rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (min-width: 1025px) {
  .mobile-nav-buttons {
    display: none !important;
  }
}

/* Tablet & Mobile Breakpoint */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none !important;
  }

  .mobile-toggle {
    display: block !important;
  }

  .logo-img {
    height: 60px;
    max-width: 280px;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {

  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero-badge-float {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: none;
    border-top: 1px solid var(--border-highlight);
    background: rgba(18, 21, 31, 0.95);
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 1.5rem !important;
    margin-top: 0.5rem !important;
    border-top: 1px solid var(--border-glass) !important;
  }

  .metric-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-width: 0 !important;
  }

  .metric-item h3 {
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 0.3rem !important;
  }

  .metric-item p {
    font-size: clamp(0.72rem, 2.4vw, 0.85rem) !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    word-break: normal !important;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }

  /* Services */
  .services {
    padding: 3.5rem 0;
  }

  .service-card {
    padding: 1.75rem 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  /* Transformations */
  .transformations {
    padding: 3.5rem 0;
  }

  .transform-card {
    flex: 0 0 85%;
    min-width: 260px;
    max-width: none;
  }

  .transform-img-wrapper {
    height: 350px;
  }

  .prev-arrow {
    left: 0.25rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .next-arrow {
    right: 0.25rem;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Calculator */
  .calculator-section {
    padding: 3.5rem 0;
  }

  .calculator-card {
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .calculator-card h2 {
    font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  }

  .result-number {
    font-size: 3rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-logo-img {
    height: 58px;
    max-width: 240px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* WhatsApp Float */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.8rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  /* Lightbox */
  #image-lightbox-modal > div {
    max-width: 95vw;
  }

  #lightbox-img {
    max-width: 95vw !important;
    max-height: 75vh !important;
  }
}

/* Mobile Phone */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero-image-card {
    max-width: 100%;
  }

  .hero-badge-float {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .badge-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .metric-item h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem) !important;
    margin-bottom: 0.2rem !important;
  }

  .metric-item p {
    font-size: clamp(0.68rem, 2.2vw, 0.78rem) !important;
    line-height: 1.2 !important;
  }

  .btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
  }

  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* Services */
  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .service-features li {
    font-size: 0.82rem;
  }

  /* Transformations */
  .transform-card {
    flex: 0 0 90%;
    min-width: 240px;
  }

  .transform-img-wrapper {
    height: 300px;
  }

  .transform-info {
    padding: 1rem;
  }

  .transform-info h4 {
    font-size: 1rem;
  }

  .transform-stats {
    font-size: 0.78rem;
    gap: 0.5rem 0.75rem;
  }

  /* Calculator */
  .calculator-card {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .calc-result-box {
    padding: 1.5rem 1rem;
  }

  .result-number {
    font-size: 2.5rem;
  }

  #calorie-result {
    font-size: 1.4rem !important;
  }

  .input-group input, .input-group select {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-brand p {
    font-size: 0.85rem;
  }

  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-col ul li a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  /* Logo responsive */
  .logo-img {
    height: 60px;
    max-width: 250px;
  }

  .navbar {
    padding: 0.4rem 0;
  }

  /* Slider Arrows */
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .prev-arrow { left: 0.25rem; }
  .next-arrow { right: 0.25rem; }

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

/* Calculator Input Row */
.calc-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Very small screens */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }

  .hero-metrics {
    gap: 0.35rem !important;
  }

  .metric-item h3 {
    font-size: 1.1rem !important;
  }

  .metric-item p {
    font-size: 0.65rem !important;
  }

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

/* Prevent iOS input zoom & enhance touch UX */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
  }
}

/* Mem Sub Info Pills */
.mem-sub-pills-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.5rem;
}

.mem-sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Google Calendar Interactive Grid Slots & Layer Hierarchy */
.calendar-lessons-layer {
  z-index: 20 !important;
}

.calendar-lesson-card {
  z-index: 25 !important;
}

.lesson-delete-btn {
  z-index: 30 !important;
  position: relative;
}

.calendar-quarter-slot {
  height: 14px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.04);
  transition: background 0.12s ease, border-color 0.12s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.calendar-quarter-slot:hover {
  background: rgba(204, 255, 0, 0.25) !important;
  border-top: 1px solid var(--accent-lime) !important;
  border-bottom: 1px solid var(--accent-lime) !important;
  box-shadow: inset 0 0 12px rgba(204, 255, 0, 0.35);
  z-index: 5 !important;
}

.calendar-hour-cell:hover {
  background: rgba(204, 255, 0, 0.06);
}

.calendar-day-col:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* MEMBER HEADER KEY STAT GRID */
.member-header-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.member-header-stat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 75px;
  box-sizing: border-box;
}

.member-header-stat-card small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

/* Subtab 4 Status Cards Grid */
.subtab-pkg-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.subtab-pkg-stat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 74px;
  box-sizing: border-box;
}

.subtab-pkg-stat-card .pkg-stat-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.subtab-pkg-stat-card .pkg-stat-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFF;
}

/* Subtab 4 Responsive Table Styling */
.subtab-table-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-top: 0.5rem;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border-radius: var(--radius-sm);
  box-sizing: border-box !important;
}

.subtab-custom-table {
  width: 100% !important;
  min-width: 640px !important;
  table-layout: auto !important;
  border-collapse: collapse;
}

.subtab-custom-table th {
  white-space: nowrap !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  padding: 0.7rem 0.85rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--accent-lime) !important;
  border-bottom: 1px solid var(--border-glass) !important;
  text-transform: uppercase;
  text-align: left !important;
}

.subtab-custom-table td {
  white-space: nowrap !important;
  font-size: 0.85rem !important;
  padding: 0.7rem 0.85rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  text-align: left !important;
}

.subtab-custom-table th:last-child,
.subtab-custom-table td:last-child {
  text-align: center !important;
  padding-right: 1.25rem !important;
  padding-left: 0.5rem !important;
  min-width: 150px !important;
}

@media (max-width: 768px) {
  .subtab-custom-table {
    min-width: 620px !important;
    width: 620px !important;
    table-layout: auto !important;
  }
}

@media (max-width: 768px) {
  .member-header-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .subtab-pkg-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .admin-modal-overlay {
    padding: 0.4rem !important;
    align-items: center !important;
  }
  .admin-modal-box {
    padding: 1rem 0.65rem !important;
    max-width: 98vw !important;
    max-height: 94dvh !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  /* STRICT 2-COLUMN MODAL GRID ON MOBILE & TABLET */
  .modal-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .modal-form-grid .input-group {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .modal-form-grid .input-group > label {
    font-size: 0.74rem !important;
    margin-bottom: 0.2rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
  .modal-form-grid input,
  .modal-form-grid select,
  .modal-form-grid textarea {
    font-size: 0.78rem !important;
    padding: 0.45rem 0.35rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .modal-form-grid input[type="date"] {
    font-size: 0.72rem !important;
    padding: 0.4rem 0.2rem !important;
  }
  .modal-service-category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .modal-service-category-grid label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    padding: 0.45rem 0.15rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #FFF !important;
    text-align: center !important;
    margin: 0 !important;
  }
  .modal-service-category-grid label input[type="radio"] {
    margin: 0 !important;
    padding: 0 !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    flex: 0 0 14px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
  }
  .modal-service-category-grid label span {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    text-align: center !important;
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }
}

@media (max-width: 480px) {
  .member-header-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .subtab-pkg-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .admin-modal-box {
    padding: 0.85rem 0.5rem !important;
  }
}

.wo-template-checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-highlight);
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ADMIN CARD BOX & PROGRESS CHART TIME PILL STYLES FOR PORTAL */
.admin-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .admin-card-box {
    padding: 1.25rem 1rem;
  }
}

.chart-time-pill {
  padding: 0.4rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--border-glass) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.chart-time-pill:hover {
  border-color: var(--accent-lime) !important;
  color: var(--accent-lime) !important;
  background: rgba(204, 255, 0, 0.08) !important;
}

.chart-time-pill.active {
  background: var(--accent-lime) !important;
  color: #0F1117 !important;
  border-color: var(--accent-lime) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.3) !important;
}
