/* === CSS RESET & NORMALIZE === */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #161622;
  color: #fff;
}
ul, ol, li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --color-primary: #202052;
  --color-secondary: #F5E06F;
  --color-accent: #FFFFFF;
  --color-bg: #161622;
  --color-bg-section: #232347;
  --color-neon: #00ffe7;
  --color-darktext: #181825;
  --shadow-md: 0 4px 16px 0 rgba(32,32,82,0.10);
  --shadow-lg: 0 8px 32px 0 rgba(32,32,82,0.20);
  --radius-md: 16px;
  --radius-lg: 32px;
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

/* === BASE TYPOGRAPHY === */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  font-size: 16px;
  color: #fff;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.36rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 14px;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 14px;
  margin-left: 20px;
}
ul li,
ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 0.6em;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--color-secondary);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 6px var(--color-neon);
  vertical-align: middle;
}
strong {
  color: var(--color-secondary);
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
  color: #fff;
  transition: transform 0.16s cubic-bezier(.6,.05,.16,1), box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-neon);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: var(--color-darktext);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-neon);
  position: relative;
  transition: box-shadow 0.16s, border-color 0.22s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: linear-gradient(90deg, #202052 70%, #00ffe7 170%);
  box-shadow: 0 2px 14px rgba(32,32,82,0.07);
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
  padding: 0 0;
  min-height: 72px;
}
header .logo {
  display: flex;
  align-items: center;
  height: 60px;
  margin-left: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: 32px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding: 2px 0;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-secondary);
}
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 8px rgba(245,224,111,0.15);
  font-size: 1.02rem;
  margin-left: auto;
  margin-right: 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-neon);
  color: #232347;
  box-shadow: 0 4px 24px 0 rgba(0,255,231,0.18);
}
.btn-secondary {
  background: var(--color-bg-section);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 24px;
  border: 2px solid var(--color-secondary);
  font-size: 0.98rem;
  margin-right: 16px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-neon);
}
header .mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  display: none;
  margin-right: 16px;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s;
}
header .mobile-menu-toggle:hover { color: var(--color-secondary); }

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 22, 34, 0.94);
  box-shadow: 0 2px 32px 0 rgba(32,32,82,0.16);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-bottom: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2rem;
  margin-left: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  z-index: 210;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.22rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245,224,111,0.14);
  width: 100%;
  transition: color 0.18s;
  letter-spacing: 0.01em;
  border-radius: 5px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-neon);
  background: rgba(0,255,231,0.05);
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(135deg, #202052 65%, #161622 100%);
  padding: 60px 0 52px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
}
.hero h1 {
  color: var(--color-secondary);
  text-shadow: 0 6px 28px rgba(245,224,111,0.09);
  font-size: 2.2rem;
}
.hero .tagline {
  color: var(--color-accent);
  font-size: 1.22rem;
  font-family: var(--font-display);
  background: rgba(0,255,231,0.09);
  border-left: 4px solid var(--color-neon);
  padding-left: 16px;
  border-radius: 4px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px 0 rgba(0,255,231,0.11);
}

/* === FEATURES SECTION === */
.features {
  background: var(--color-bg-section);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 40px 0px;
}
.features .content-wrapper {
  gap: 32px;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .feature-grid > div {
  background: #1e1e3a;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
  flex: 1 1 230px;
  transition: box-shadow 0.14s, border 0.17s;
  border: 2px solid transparent;
  margin-bottom: 20px;
}
.features .feature-grid > div:hover {
  border: 2px solid var(--color-neon);
  box-shadow: 0 8px 32px 0 rgba(0,255,231,0.09);
}
.features .feature-grid img {
  width: 48px; height: 48px;
}
.features .feature-grid h3 {
  color: var(--color-secondary);
  margin-bottom: 6px;
  font-size: 1.18rem;
}
.features .feature-grid p {
  color: #ddd;
  font-size: 1rem;
}

/* === ABOUT SNAPSHOT === */
.about-snapshot {
  background: var(--color-bg);
  margin-bottom: 60px;
}
.text-section {
  background: rgba(32,32,82,0.09);
  border-radius: var(--radius-md);
  padding: 32px 24px;
}
.text-section h2, .text-section h3 {
  color: var(--color-secondary);
}
.text-section ul li:before {
  background: var(--color-secondary);
}
.text-section ul li {
  color: #f6f6f7;
}

/* === TESTIMONIAL SLIDER === */
.testimonial-slider {
  background: linear-gradient(100deg, #1b1b36 80%, #202052 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 56px 0 47px 0;
}
.testimonial-slider h2 {
  color: var(--color-secondary);
  margin-bottom: 28px;
}
.stars {
  font-size: 1.3rem;
  color: #ffd800;
  letter-spacing: 2px;
}
.name-location {
  font-family: var(--font-display);
  font-size: 1.03rem;
  color: #444a5a;
  opacity: 0.82;
}

/* === CALL TO ACTION SECTION === */
.cta {
  background: linear-gradient(80deg, var(--color-secondary) 55%, #00ffe7 140%);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  padding: 48px 0 46px 0;
  box-shadow: 0 4px 18px 0 rgba(245,224,111,0.12);
}
.cta h2 {
  color: var(--color-primary);
  text-shadow: 0 2px 28px rgba(32,32,82,0.10);
}
.cta .btn-primary {
  background: var(--color-primary);
  color: var(--color-secondary);
  margin-top: 22px;
}
.cta .btn-primary:hover {
  background: var(--color-neon);
  color: #181825;
}

/* === BLOG === */
.blog-intro {
  background: var(--color-bg-section);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  padding: 36px 0;
}
.blog-intro h1, .blog-intro h2 {
  color: var(--color-secondary);
}
.blog-intro ul li {
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.blog-intro .blog-feature {
  background: #1e1e3a;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  color: #fff;
}
.categories {
  margin-bottom: 48px;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}
.category-tags span {
  background: var(--color-neon);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 13px;
  padding: 6px 18px;
  font-size: 0.94rem;
  box-shadow: 0 2px 7px 0 rgba(0,255,231,0.09);
}
.filter-options {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-options label {
  color: var(--color-secondary);
  font-size: 0.97rem;
}
.filter-options select {
  background: #14142a;
  color: var(--color-accent);
  border: 1px solid var(--color-secondary);
  border-radius: 9px;
  padding: 6px 15px;
  font-size: 1rem;
}

/* === TRAINER LIST === */
.trainer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0;
}
.trainer-list > div {
  background: #1e1e3a;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  flex: 1 1 260px;
  min-width: 230px;
  padding: 24px 22px 14px 22px;
  margin-bottom: 20px;
  color: #fff;
  transition: box-shadow 0.14s, border 0.17s;
  border: 2px solid transparent;
}
.trainer-list > div:hover {
  border: 2px solid var(--color-neon);
  box-shadow: 0 8px 32px 0 rgba(0,255,231,0.09);
}
.trainer-list h2 {
  color: var(--color-secondary);
  font-size: 1.23rem;
}
.trainer-list p {
  font-size: 1rem;
}

/* === FAQ SECTION === */
.faq ul li {
  margin-bottom: 30px;
  background: #1e1e3a;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 2px 13px 0 rgba(32,32,82,0.09);
  color: #fff;
  font-size: 1rem;
}
.faq ul li strong {
  color: var(--color-secondary);
}

/* === FOOTER === */
footer {
  background: #181825;
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}
.footer-nav a {
  color: var(--color-neon);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  opacity: 0.88;
  transition: color 0.19s, opacity 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  color: #c9c9de;
  font-size: 0.98rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact img {
  width: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #22224f;
  color: #fff;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  box-shadow: 0 -2px 16px 0 rgba(0,255,231,0.17);
  z-index: 9999;
  animation: fadein-banner 0.77s cubic-bezier(.61,-0.2,.51,1.2);
}
@keyframes fadein-banner {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  font-size: 1.01rem;
  color: #ededf7;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.cookie-banner button {
  border: none;
  border-radius: 22px;
  font-family: var(--font-display);
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner button:hover { background: var(--color-neon); color: #22224f; }
.cookie-banner .btn-secondary { background: var(--color-secondary); color: var(--color-primary); }
.cookie-banner .btn-secondary:hover { background: var(--color-neon); color: #22224f; }

/* --- COOKIE MODAL POPUP --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(15,15,32,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.35s cubic-bezier(.54,.17,.61,1.3);
}
.cookie-modal-backdrop.open {
  display: flex;
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-darktext);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  padding: 36px 24px 22px 24px;
  min-width: 270px;
  font-size: 1rem;
  position: relative;
  z-index: 10010;
  animation: modalSlideIn 0.48s cubic-bezier(.38,.82,.42,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  margin-bottom: 5px;
}
.cookie-category label {
  font-weight: bold;
}
.cookie-toggle, input[type="checkbox"] {
  appearance: none;
  width: 35px;
  height: 20px;
  background: #d8d8f0;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-neon);
}
.cookie-toggle:after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1px;
  transition: left 0.19s;
}
.cookie-toggle:checked:after {
  left: 15px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal .btn-cancel {
  background: #eaeafd; color: var(--color-primary);
}
.cookie-modal .btn-secondary:hover, .cookie-modal .btn-cancel:hover {
  background: var(--color-neon); color: var(--color-darktext);
}
.cookie-modal .modal-close {
  position: absolute;
  right: 18px; top: 15px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* === ANIMATIONS === */
a, .btn-primary, .btn-secondary, .card, .card-container > * {
  transition: color .16s, background .17s, box-shadow .19s, border-color .17s, transform .18s;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1140px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .features .feature-grid, .trainer-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
  .container { padding: 0 10px; }
  .content-wrapper { gap: 20px; }
  .section { margin-bottom: 36px; padding: 24px 8px; }
  .card { padding: 14px; }
  .hero, .features, .testimonial-slider, .cta, .blog-intro {
    border-radius: 0;
    padding-left: 0; padding-right: 0;
  }
  .footer-nav { flex-direction: column; gap: 13px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .features .feature-grid > div,
  .trainer-list > div { min-width: 100%; flex: 1 1 100%; }
  .footer-contact { font-size: 0.95rem; }
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 600px) {
  header {
    flex-direction: row;
    min-height: 60px;
  }
  header nav, .btn-primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
}
@media (max-width: 450px) {
  .hero h1, h1 { font-size: 1.10rem; }
  .section, .content-wrapper, .text-section { padding: 10px 3px; }
  .footer-contact { font-size: 0.88rem; }
}

/* === UTILITY CLASSES === */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-12 { margin-bottom: 12px !important; }
.pad-0 { padding: 0 !important; }

/* === OVERRIDES FOR CONTRAST (TESTIMONIALS) === */
.testimonial-card {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-neon);
}

/* === NEON GLOW ACCENTS === */
.neon-glow {
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
}

/* Spinner for loading (example utility, if needed) */
.spinner {
  border: 3px solid #e4e4e4;
  border-top: 3px solid var(--color-neon);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* === HIDE MOBILE MENU BY DEFAULT ON DESKTOP === */
@media (min-width: 601px) {
  .mobile-menu { display: none !important; }
}
