/* --------------------------------------------------
   CSS RESET & NORMALIZATION
-------------------------------------------------- */

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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #181923;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: linear-gradient(120deg, #181923 60%, #272940 100%);
  color: #F4F4F4;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a {
  color: #D72638;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #F4F4F4;
}

ul, ol {
  list-style-position: inside;
}

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

:focus {
  outline: 2px solid #D72638;
  outline-offset: 2px;
}

/* --------------------------------------------------
   VARIABLES (with fallbacks)
-------------------------------------------------- */

:root {
  --color-primary: #D72638;
  --color-secondary: #181923;
  --color-accent: #F4F4F4;
  --color-neon: #12FFE9;
  --color-neon2: #5856FF;
  --color-bg-card: #23233A;
  --color-bg-hero: #1A1B29;
  --font-display: 'Oswald', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius: 20px;
  --shadow: 0 6px 32px 0 rgba(18,255,233,0.08), 0 1.5px 10px 0 #d7263829;
  --shadow-hover: 0 6px 36px 0 rgba(18,255,233,0.13), 0 3px 14px 0 #d7263855;
  --transition: 0.28s cubic-bezier(.65,.05,.36,1);
}

/* --------------------------------------------------
   MAIN LAYOUT / CONTAINERS
-------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 20px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.03);
}

.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 {
  background: #F4F4F4;
  color: #181923;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 5px 24px 0 rgba(18,255,233,0.13), 0 1.5px 10px 0 #d7263840;
  margin-bottom: 20px;
  min-width: 260px;
  min-height: 140px;
  position: relative;
  z-index: 1;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03) translateY(-4px);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid, .plan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.features-grid .feature, .plan-grid .plan-card {
  background: #23233A;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px 28px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 240px;
  transition: box-shadow var(--transition), border 0.16s;
  border: 2px solid transparent;
}

.features-grid .feature:hover, .plan-grid .plan-card:hover {
  border: 2px solid var(--color-neon2);
  box-shadow: var(--shadow-hover);
}

.services-list, .nutrition-benefits, .core-values, .challenge-list, .benefits-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
  font-size: 1.04em;
}

.order-steps, .consultation-steps, .challenge-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.06em;
}

.footer-top, .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom {
  padding-top: 12px;
  font-size: 0.99em;
  color: #aaa;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  font-size: 1.03em;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.97em;
}

.faq-preview {
  margin-top: 28px;
  padding: 20px;
  border-radius: 15px;
  background: #23233A;
  box-shadow: 0 1.5px 10px 0 #d7263817;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.faq-preview h3 { font-size: 1.10em; font-family: var(--font-display); color: var(--color-primary); margin-bottom: 2px; }
.faq-preview ul { margin-left: 16px; }
.faq-preview a { margin-top: 6px; display: inline-block; color: var(--color-neon); font-weight: bold; }
.faq-preview a:hover { color: var(--color-primary); }

/* --------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #F4F4F4;
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.8em;
  line-height: 1.15;
}
h2 {
  font-size: 2.0em;
  line-height: 1.16;
}
h3 {
  font-size: 1.36em;
}
h4 {
  font-size: 1.15em;
}

.hero h1, .hero .subheadline {
  color: #fff;
}

.subheadline {
  font-size: 1.22em;
  line-height: 1.4;
  color: #12FFE9;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 16px;
}

p { margin-bottom: 10px; }

b, strong { color: var(--color-primary); font-weight: 700; }

/* --------------------------------------------------
   HERO & CALL TO ACTION
-------------------------------------------------- */

.hero {
  background: linear-gradient(100deg, #1A1B29 68%, #23233A 100%);
  border-bottom: 2px solid #23233A;
  padding: 60px 0 44px 0;
  margin-bottom: 0;
}

.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  max-width: 650px;
  text-align: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #D72638 50%, #5856FF 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0.5px;
  padding: 15px 38px;
  border-radius: 30px;
  box-shadow: 0 2px 14px 0 #d7263820;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  border: none;
  transition: transform 0.16s, box-shadow 0.16s, background 0.22s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px 0 #12ffe964;
  background: linear-gradient(90deg,#5856FF 10%, #D72638 80%);
}
.cta-btn.secondary {
  background: linear-gradient(90deg,#181923 30%, #5856FF 100%);
  color: #12FFE9;
  border: 1.5px solid #5856FF;
}
.cta-btn.secondary:hover {
  background: #181923;
  color: #fff;
  border: 1.5px solid #D72638;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
header {
  background: #181923;
  width: 100%;
  border-bottom: 2px solid #23233A;
  padding: 0 0 0 0;
  z-index: 7;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 14px;
  position: relative;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 30px;
}

.main-nav a {
  color: #F4F4F4;
  font-family: var(--font-body);
  font-size: 1.11em;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 0;
  position: relative;
  transition: color 0.17s;
}

.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #D72638 40%, #12FFE9 100%);
  transition: width 0.18s; border-radius:2px;
  position: absolute;
  left: 0; bottom: -3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #12FFE9;
}
.main-nav a:hover:after, .main-nav a:focus:after{
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.25em;
  color: #12FFE9;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #D72638;
}

/* --------------------------------------------------
   MOBILE MENU
-------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,25,35,0.98);
  z-index: 120;
  transform: translateX(100vw);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 28px;
  box-shadow: 0 0 32px 0 #d726381a;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform var(--transition);
}
.mobile-menu-close {
  background: none;
  color: #12FFE9;
  font-size: 2.2em;
  border: none;
  margin: 14px 28px 14px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D72638;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
  align-items: flex-end;
  padding: 16px 40px 20px 0;
}
.mobile-nav a {
  background: none;
  color: #fff;
  font-size: 1.35em;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 16px 0 8px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover {
  color: #D72638;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: #1A1B29;
  border-top: 2px solid #23233A;
  margin-top: 60px;
  padding: 38px 0 18px 0;
  width: 100%;
}
footer .footer-top img {
  height: 44px;
  margin-bottom: 6px;
  filter: brightness(1.2) drop-shadow(0 0 6px #12FFE9b2);
}
footer .footer-top {
  margin-bottom: 12px;
}
footer .footer-bottom {
  border-top: 1px solid #23233A;
  margin-top: 8px;
  padding-top: 12px;
}
footer .footer-nav a {
  color: #F4F4F4;
  font-size: 1.07em;
  letter-spacing: 0.01em;
}
footer .footer-nav a:hover {
  color: #12FFE9;
}

/* --------------------------------------------------
   CARDS, TESTIMONIALS, FEATURES
-------------------------------------------------- */
.plan-card img, .feature img, .diet-icons img, .community-support-icons img {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px #12FFE940) brightness(1.18);
}
.plan-card h3, .feature h3 {
  font-family: var(--font-display);
  font-size: 1.25em;
  color: #12FFE9;
  margin-bottom: 6px;
}
.plan-card p, .feature p {
  color: #E7E7E7;
  line-height: 1.52;
  font-weight: 400;
  font-size: 1.04em;
}

.plan-grid {
  gap: 24px;
  margin-bottom: 32px;
}

/* Testimonials slider (horizontal flex wrap if overflow) */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.testimonial-card span {
  color: #181923;
  font-weight: 600;
  font-size: 1.01em;
  margin-bottom: -7px;
}
.bio-snippet {
  color: #34344C;
  font-size: 0.97em;
  font-style: italic;
}

/* Service Details, Pricing etc. */
.pricing-summary, .pricing-information {
  margin: 18px 0 14px 0;
  font-size: 1.22em;
  color: #12FFE9;
  font-weight: 600;
}

.quick-comparisons, .reward-details, .diet-coaching-snippets, .service-details-snippet, .progress-highlights {
  background: #23233A;
  border-radius: 15px;
  padding: 15px 18px;
  box-shadow: 0 1.5px 10px 0 #12FFE915;
  margin-bottom: 18px;
  color: #F4F4F4;
  font-size: 1.06em;
}

.diet-icons, .community-support-icons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  margin: 18px 0 8px 0;
}

.text-section, .service-overview {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --------------------------------------------------
   CUSTOM MICRO-INTERACTIONS & EFFECTS
-------------------------------------------------- */
@keyframes neon-glow {
  0%,100% { box-shadow: 0 2px 22px 0 #12FFE980, 0 0 8px #D7263840; }
  50%    { box-shadow: 0 6px 36px 0 #12FFE9F0, 0 0 16px #D7263866; }
}

.cta-btn, .plan-card, .feature {
  animation: neon-glow 3750ms infinite ease-in-out;
}


/* --------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #181923;
  color: #F4F4F4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 18px 18px;
  z-index: 350;
  box-shadow: 0 -3px 28px 0 #12FFE928;
  font-size: 1.07em;
  transition: transform var(--transition), opacity 0.22s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 7px;
}
.cookie-banner button {
  border-radius: 19px;
  padding: 9px 27px;
  font-size: 1.09em;
  font-weight: 600;
  background: linear-gradient(90deg,#181923,#5856FF);
  color: #fff;
  cursor: pointer;
  border: 1.5px solid #23233A;
  transition: background 0.14s, color 0.12s, border 0.12s;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg,#12FFE9,#D72638);
  color: #23233A;
}
.cookie-banner button.accept:hover {
  background: #D72638; color: #fff;
}
.cookie-banner button.reject {
  background: #23233A;
  color: #12FFE9;
  border: 1.5px solid #5856FF;
}
.cookie-banner button.reject:hover {
  background: #5856FF; color: #fff;
}
.cookie-banner button.settings {
  background: #181923;
  color: #F4F4F4;
  border: 1.5px solid #12FFE9;
}
.cookie-banner button.settings:hover {
  background: #12FFE9; color: #181923;
}

.cookie-modal {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(30, 33, 47, .93);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 400;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-dialog {
  background: #23233A;
  border-radius: 20px;
  max-width: 400px;
  width: 92vw;
  color: #F4F4F4;
  box-shadow: 0 2px 34px 0 #12FFE93b;
  padding: 32px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.7s both;
}
.cookie-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal .modal-header h2 {
  font-size: 1.25em;
  color: #12FFE9;
  margin-bottom: 0;
}
.cookie-modal .close {
  background: none;
  color: #D72638;
  font-size: 2.2em;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  align-self: flex-end;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 11px 0 17px 0;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06em;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #12FFE9;
  width: 18px; height: 18px;
}
.cookie-modal .AlwaysOn {
  color: #aaa; font-style:italic;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 16px;
  padding: 9px 24px;
  font-size: 1.05em;
  font-weight: 600;
  border: 1.5px solid #23233A;
  background: #12FFE9;
  color: #181923;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal button.save {
  background: #D72638; color: #fff;
}
.cookie-modal button.save:hover {
  background: #12FFE9; color: #23233A;
}
.cookie-modal button.cancel {
  background: #181923; color: #12FFE9; border: 1.5px solid #5856FF;
}
.cookie-modal button.cancel:hover {
  background: #5856FF; color: #fff;
}

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

/* --------------------------------------------------
   MEDIA QUERIES -- RESPONSIVENESS (Mobile-first)
-------------------------------------------------- */

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .main-nav {
    gap: 18px;
    font-size: 0.99em;
    margin-left: 14px;
  }
}

@media (max-width: 768px) {

  .container { padding: 0 10px; }

  header .container {
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    gap: 11px;
    font-size: 1em;
  }

  /* Flex containers: column direction */
  .content-wrapper, .section, .features-grid, .plan-grid, .testimonials-slider, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px;
  }

  .features-grid .feature, .plan-grid .plan-card {
    min-width: 90vw;
    max-width: 99vw;
    align-items: flex-start;
    text-align: left;
    padding: 22px 14px 18px;
  }
  .testimonials-slider {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 32px 0 24px 0;
  }
  .faq-preview {
    margin-top: 18px;
    padding: 15px 7px;
    font-size: 0.99em;
  }
  .footer-bottom, .contact-info {
    flex-direction: column;
    gap: 4px;
    text-align: left;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.65em; }
  h2 { font-size: 1.19em; }
  h3, .subheadline { font-size: 1em; }
  .container { padding: 0 3vw; }
  .footer-top img {
    height: 34px;
  }
}

/* --------------------------------------------------
   SCROLLBAR STYLE
-------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #23233A;
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background: #181923;
}

/* --------------------------------------------------
   SELECTION COLOR
-------------------------------------------------- */
::selection {
  background: #12FFE9;
  color: #181923;
}

/* --------------------------------------------------
   CUSTOM UTILITIES & OVERRIDES
-------------------------------------------------- */
.text-center { text-align: center; }
.text-section ul, .core-values, .methods, .team-highlights, .progress-stories, .service-overview, .joining-instructions {
  margin-bottom: 14px;
}

.hidden { display: none !important; }

/* --------------------------------------------------
   Z-INDEX LAYERING
-------------------------------------------------- */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 100; }
.cookie-banner.visible { z-index: 350; }
.cookie-modal.open { z-index: 400; }

/* --------------------------------------------------
   ACCESSIBILITY IMPROVEMENTS
-------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --------------------------------------------------
   END blaze engine style.css
-------------------------------------------------- */
