/* 
=========================================
  KING GYM - PREMIUM STYLE SHEET
  Design: Dark, Modern, Glassmorphic
  Accents: Cyan Blue & Energetic Orange
=========================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #08090c;
  --bg-secondary: #11141a;
  --bg-card: rgba(20, 24, 33, 0.7);
  --bg-card-hover: rgba(28, 34, 46, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow-blue: rgba(0, 210, 255, 0.2);
  --border-glow-orange: rgba(255, 107, 0, 0.2);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  
  --accent-blue: #00d2ff;
  --accent-blue-hover: #00b4db;
  --accent-orange: #ff6b00;
  --accent-orange-hover: #e05e00;
  --accent-grad-blue: linear-gradient(135deg, #b57edc, #00d2ff);
  --accent-grad-orange: linear-gradient(135deg, #ff4b2b, #ff416c);
  --accent-grad-dark: linear-gradient(135deg, #11141a, #08090c);
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-neon-blue: 0 0 20px rgba(0, 210, 255, 0.25);
  --shadow-neon-orange: 0 0 20px rgba(255, 107, 0, 0.25);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

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

li {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* Grid & Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.highlight-blue {
  color: var(--accent-blue);
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.highlight-orange {
  color: var(--accent-orange);
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 9, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  padding: 10px 0;
  background: rgba(8, 9, 12, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-wrapper {
  height: 65px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fff 40%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  background: var(--accent-grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad-blue);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

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

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

.nav-btn {
  background: var(--accent-grad-orange);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-neon-orange);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.45);
}

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

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  header.scrolled .nav-menu {
    top: 65px;
    height: calc(100vh - 65px);
  }
  
  .nav-menu.active {
    left: 0;
  }
}

/* Hero & Assistant Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-cols: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-cols: 1fr;
    gap: 60px;
  }
}

.hero-content {
  z-index: 10;
}

.hero-tag {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--accent-blue);
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-grad-blue);
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-neon-blue);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* Chatbot Interface Container */
.chatbot-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  height: 580px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease;
}

.chatbot-container.active-talking {
  border-color: var(--border-glow-blue);
  box-shadow: var(--shadow-neon-blue);
}

/* Chat Header with Avatar */
.chat-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(8, 9, 12, 0.4);
}

/* The Animated Avatar CSS */
.avatar-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1b263b 0%, #0d131f 100%);
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.avatar-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--bg-secondary);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.avatar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* SVG Avatar Keyframe Animations */
#avatar-head {
  transform-origin: 30px 42px;
  animation: headBob 4s ease-in-out infinite alternate;
}

#avatar-eye-left, #avatar-eye-right {
  transform-origin: 22px 28px;
  animation: blink 5s ease-in-out infinite;
}

#avatar-eye-right {
  transform-origin: 38px 28px;
}

#avatar-mouth {
  transform-origin: 30px 38px;
  transition: var(--transition-smooth);
}

/* Speaking State (When chatbot responds) */
.avatar-wrapper.speaking #avatar-mouth {
  animation: speak 0.25s ease-in-out infinite alternate;
}

.avatar-wrapper.speaking #avatar-head {
  animation: headBobFast 0.5s ease-in-out infinite alternate;
}

/* Eye Blinking */
@keyframes blink {
  0%, 90%, 100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}

/* Head Bobbing */
@keyframes headBob {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(1.5px) rotate(1.5deg);
  }
}

@keyframes headBobFast {
  0% {
    transform: translateY(0) rotate(-1deg);
  }
  100% {
    transform: translateY(1px) rotate(1deg);
  }
}

/* Speak (Mouth scaling) */
@keyframes speak {
  0% {
    transform: scaleY(0.4) scaleX(0.9);
  }
  100% {
    transform: scaleY(1.4) scaleX(1.1);
  }
}

.assistant-info {
  flex-grow: 1;
}

.assistant-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.assistant-badge {
  background: var(--accent-orange);
  color: white;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 5px rgba(255, 107, 0, 0.3);
}

.assistant-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Chat Messages Box */
.chat-messages {
  flex-grow: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: messageSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
  opacity: 0;
  transform: translateY(15px);
}

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

.message-bubble.incoming {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-top-left-radius: 4px;
}

.message-bubble.outgoing {
  background: var(--accent-grad-blue);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

/* Quick Reply Buttons Panel */
.quick-replies-panel {
  padding: 8px 16px 16px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  scrollbar-width: none; /* Hide standard Firefox scrollbar */
}

.quick-replies-panel::-webkit-scrollbar {
  display: none; /* Hide Chrome scrollbar */
}

.quick-reply-btn {
  background: rgba(0, 210, 255, 0.07);
  border: 1px solid rgba(0, 210, 255, 0.15);
  color: var(--accent-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.quick-reply-btn:hover {
  background: var(--accent-blue);
  color: #08090c;
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}

/* Chat Input Bar */
.chat-input-bar {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  background: rgba(8, 9, 12, 0.4);
  align-items: center;
}

.chat-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.chat-input:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-grad-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-neon-blue);
}

/* Modalities Section */
.modalities-grid {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .modalities-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .modalities-grid {
    grid-template-cols: 1fr;
  }
}

.modality-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  transition: var(--transition-bounce);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.modality-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-grad-blue);
  opacity: 0;
  transition: var(--transition-smooth);
}

.modality-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow-blue);
  box-shadow: var(--shadow-neon-blue);
}

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

.modality-card:nth-child(even)::before {
  background: var(--accent-grad-orange);
}

.modality-card:nth-child(even):hover {
  border-color: var(--border-glow-orange);
  box-shadow: var(--shadow-neon-orange);
}

.modality-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.modality-icon img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  display: block;
}

#modal-icon img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  display: inline-block;
  vertical-align: middle;
}

.modality-card:hover .modality-icon {
  transform: scale(1.1) rotate(5deg);
}

.modality-name {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.modality-short {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.modality-more {
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.modality-card:nth-child(even) .modality-more {
  color: var(--accent-orange);
}

/* Modality Details Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 20px;
}

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

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  max-width: 600px;
  width: 100%;
  border-radius: 24px;
  padding: 36px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-orange);
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

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

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-info-grid {
  display: grid;
  grid-template-cols: 1fr 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .modal-info-grid {
    grid-template-cols: 1fr;
  }
}

.modal-info-item h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.modal-info-item p {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Plans Section */
.plans-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 48px auto;
}

@media (max-width: 992px) {
  .plans-grid {
    grid-template-cols: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-cols: 1fr;
    gap: 24px;
  }
}

.plans-grid-special {
  display: grid;
  grid-template-cols: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto 24px auto;
}

.plans-subsection-title {
  text-align: center;
  font-size: 1.5rem;
  margin: 16px 0 28px 0;
  color: var(--text-main);
}

.plan-card-subtitle {
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 0.92rem;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.check-dot {
  color: var(--accent-blue);
  font-weight: 800;
  margin-right: 6px;
}

.chat-plan-group {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 0;
}

.chat-plan-group-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.chat-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.88rem;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  gap: 8px;
}

.chat-plan-row:last-child {
  border-bottom: none;
}

.plan-badge-num {
  display: inline-block;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-blue);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  align-self: flex-start;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-card:nth-child(even) .plan-badge-num {
  background: rgba(255, 107, 0, 0.12);
  border-color: rgba(255, 107, 0, 0.3);
  color: var(--accent-orange);
}

.plan-dual-price-box {
  margin: 20px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-price-tier {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.plan-price-tier.with-modalities {
  background: rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.35);
}

.plan-tier-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-price-tier.with-modalities .plan-tier-label {
  color: var(--text-main);
}

.plan-tier-value {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.plan-price-tier.with-modalities .plan-tier-value {
  color: var(--accent-orange);
}

.plan-tier-value small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plans-highlights-grid {
  display: grid;
  grid-template-cols: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px auto;
}

@media (max-width: 768px) {
  .plans-highlights-grid {
    grid-template-cols: 1fr;
  }
}

.plan-highlight-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-orange);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.plan-highlight-banner.blue-accent {
  border-left-color: var(--accent-blue);
}

.plan-highlight-banner h4 {
  font-size: 1.05rem;
  color: var(--accent-orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-highlight-banner.blue-accent h4 {
  color: var(--accent-blue);
}

.plan-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.plan-modalities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.plan-modality-tag {
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.plan-card.compact {
  padding: 28px 24px;
  border-radius: 22px;
}

.plan-card.featured {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-neon-blue);
}

.plan-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 24px;
  right: -36px;
  background: var(--accent-orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 36px;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.plan-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
}

.plan-card:not(.featured):hover {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-neon-orange);
}

.plan-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.plan-price-box {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-currency {
  font-size: 1.1rem;
  font-weight: 600;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-title);
  line-height: 1;
}

.plan-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.plan-features {
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.plan-feature-item svg {
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card.featured .plan-feature-item svg {
  color: var(--accent-orange);
}

.plan-btn {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.plan-card.featured .plan-btn {
  background: var(--accent-grad-blue);
  color: white;
  box-shadow: var(--shadow-neon-blue);
}

.plan-card.featured .plan-btn:hover {
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.45);
}

.plan-card:not(.featured) .plan-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
}

.plan-card:not(.featured) .plan-btn:hover {
  background: var(--text-main);
  color: #08090c;
}

/* Schedule Section */
.schedule-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 24px;
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 750px;
}

.schedule-table th, .schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.schedule-table th {
  font-family: var(--font-title);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 1rem;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-time {
  font-weight: 700;
  color: var(--text-main);
}

.schedule-class-name {
  font-weight: 600;
}

.schedule-class-instructor {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Location Section */
.location-grid {
  display: grid;
  grid-template-cols: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .location-grid {
    grid-template-cols: 1fr;
  }
}

.location-info {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.location-item:last-child {
  margin-bottom: 0;
}

.location-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.location-item:nth-child(even) .location-item-icon {
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange);
}

.location-item-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.location-item-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 400px;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
footer {
  background: #040507;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-admin-link {
  color: var(--text-dark);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.footer-admin-link:hover {
  color: var(--accent-orange);
}

/* Floating Elements */
.floating-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-bounce);
  font-size: 1.5rem;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.floating-btn.whatsapp {
  background-color: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.floating-btn.call {
  background: var(--accent-grad-blue);
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

/* Admin Dashboard Styles */
.admin-body {
  background-color: #060709;
}

.admin-header {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-btn-logout {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-btn-logout:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: white;
}

.admin-grid {
  display: grid;
  grid-template-cols: 240px 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .admin-grid {
    grid-template-cols: 1fr;
  }
}

.admin-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  height: fit-content;
}

.admin-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-muted);
  font-weight: 500;
}

.admin-menu-item.active, .admin-menu-item:hover {
  background: rgba(0, 210, 255, 0.08);
  color: var(--accent-blue);
}

.admin-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.admin-section {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  animation: fadeIn 0.4s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-section-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.admin-section-title {
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Admin Dashboard Stats Cards */
.stats-grid {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-cols: 1fr;
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

.stat-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--accent-blue);
}

.stat-card:nth-child(even) .stat-value {
  color: var(--accent-orange);
}

.stat-growth {
  font-size: 0.85rem;
  color: #10b981;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Forms & Inputs in Admin */
.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-cols: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-cols: 1fr;
  }
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.07);
}

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

.admin-btn {
  background: var(--accent-grad-blue);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-neon-blue);
}

.admin-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Q&A / Items Lists inside Admin */
.admin-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-item-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

@media (max-width: 576px) {
  .admin-item-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.admin-item-details {
  flex-grow: 1;
}

.admin-item-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.admin-item-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.admin-icon-btn.edit {
  color: var(--accent-blue);
}

.admin-icon-btn.delete {
  color: #ef4444;
}

/* Login Overlay Styles */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition-smooth);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
}

.login-logo {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: none;
}

/* Tab Management in Admin */
.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Background Glow Circles */
.bg-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
  animation: floatGlow 25s infinite alternate ease-in-out;
}

.bg-glow-1 {
  background: var(--accent-blue);
  top: 10%;
  left: -150px;
}

.bg-glow-2 {
  background: var(--accent-orange);
  top: 50%;
  right: -150px;
  animation-duration: 35s;
  animation-delay: -5s;
}

.bg-glow-3 {
  background: #b57edc; /* Lilac */
  top: 80%;
  left: 20%;
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(80px, 60px) scale(1.15);
  }
  100% {
    transform: translate(-40px, 120px) scale(0.95);
  }
}
