/*==================================================
  LifeGenie Vibrant & Energetic Style CSS
  Matching requirement: FLEXBOX ONLY, NO CSS GRID
===================================================*/
/*------ CSS RESET & BASE ------*/
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;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FDFDF8;
  color: #244C5A;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #244C5A;
  text-decoration: none;
  transition: color 0.2s;
}
strong, b {
  font-weight: bold;
  letter-spacing: 0.5px;
}

/*------ VARIABLES & UTILS ------*/
:root {
  --color-primary: #244C5A;
  --color-secondary: #7CB518;
  --color-accent: #FFEECF;
  --color-electric: #11C7ED;
  --color-hot: #EE427B;
  --color-energy: #FCB900;
  --color-bg: #FDFDF8;
  --color-dark: #162B32;
  --color-light: #fff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius-xlarge: 2.4rem;
  --radius-lg: 1.2rem;
  --radius-md: 0.8rem;
  --radius-sm: 0.5rem;
  --shadow-main: 0 4px 24px rgba(30,63,78,0.10);
  --shadow-strong: 0 2px 10px 0 rgba(30,63,78,0.18);
  /* Fallbacks */
}

/*------ TYPOGRAPHY ------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--color-hot);
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--color-energy);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-secondary);
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
p, ul li, ol li, blockquote {
  font-family: var(--font-body);
  font-size: 1.10rem;
  color: var(--color-dark);
  margin-bottom: 10px;
}

/* Typography scale for distinct hierarchy */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.08rem; }
}

/*------ GENERAL CONTAINERS ------*/
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Responsive content grid pattern */
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  .content-wrapper, .content-grid { gap: 14px; }
}

/*------ HEADER & NAVIGATION ------*/
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  box-shadow: 0 1px 8px 0 rgba(30,63,78,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5vw 12px 5vw;
}
header .logo img {
  height: 40px;
  width: auto;
  transition: transform 0.2s;
}
header .logo:hover img {
  transform: scale(1.07) rotate(-3deg);
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 9px;
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-hot);
  color: var(--color-light);
  box-shadow: 0 2px 10px var(--color-hot, #EE427B, 0.03);
}
.cta-btn {
  margin-left: 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  background-color: var(--color-secondary);
  color: var(--color-light);
  border: none;
  padding: 10px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px 0 rgba(124,181,24,0.12);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: background 0.17s, transform 0.18s, box-shadow 0.17s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background-color: var(--color-hot);
  color: var(--color-light);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 4px 20px 0 rgba(238,66,123,0.16);
}

/* Hide mobile menu toggle by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/*------ MOBILE NAVIGATION ------*/
/* Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-hot);
  cursor: pointer;
  margin-left: 18px;
  z-index: 1101;
  transition: color 0.18s, transform 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-electric);
}

/* Mobile Slide Menu Overlay */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--color-dark);
  color: var(--color-light);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.44s cubic-bezier(.71,-0.21,.43,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 2px 0 32px 0 rgba(30,63,78,0.23);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--color-hot);
  margin: 20px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-electric);
}
.mobile-nav {
  width: 100%;
  margin: 44px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 28px;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-light);
  background: transparent;
  border-radius: var(--radius-xlarge);
  padding: 8px 6px;
  margin-bottom: 2px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-hot);
  color: var(--color-light);
}

@media (max-width: 1025px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1026px) {
  .mobile-menu {
    display: none !important;
  }
}

/*------ FOOTER ------*/
footer {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  gap: 28px;
  margin-top: 0;
  border-top-left-radius: var(--radius-xlarge);
  border-top-right-radius: var(--radius-xlarge);
  box-shadow: 0 -4px 24px 0 rgba(30,63,78,0.13);
}
footer .logo-footer img {
  width: 52px;
  height: auto;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 700;
  margin-bottom: 4px;
  transition: color 0.15s;
}
footer nav a:hover {
  color: var(--color-energy);
}
.footer-contact {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
  text-align: center;
  margin-top: 4px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  footer {
    padding: 30px 8px;
    gap: 16px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
}

/*------ FLEXBOX LISTS AND CARD CONTAINERS ------*/
/* Feature cards, services, testimonials, etc. FLEX ONLY */
.feature-grid, .services-list, .service-cards, .category-grid, .tip-list, .step-list, .customer-story-cards, .quote-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > li, .services-list > li, .service-cards > li, .category-grid > li, .tip-list > li, .step-list > li {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  padding: 24px 18px;
  min-width: 190px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
  transition: box-shadow 0.17s, transform 0.15s, background 0.15s;
  border: 2px solid transparent;
}
.feature-grid > li:hover, .category-grid > li:hover,
.services-list > li:hover, .service-cards > li:hover,
.tip-list > li:hover {
  box-shadow: 0 8px 24px 0 rgba(17,199,237,0.14), var(--shadow-main);
  background: #FFF7DF;
  border-color: var(--color-electric);
  transform: translateY(-4px) scale(1.025) rotate(-1deg);
}
.feature-grid img, .category-grid img, .tip-list img, .service-cards img {
  width: 48px; height: 48px; margin-bottom: 6px;
}
.price-list,
.info-box {
  margin-top: 20px;
  background: var(--color-hot);
  color: var(--color-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 1px 8px 0 rgba(238,66,123,0.17);
  font-weight: 700;
  font-size: 1.06rem;
}
.price-list ul, .info-box ul {
  list-style: disc inside;
}

@media (max-width: 900px) {
  .feature-grid, .category-grid, .services-list, .service-cards, .tip-list, .step-list, .customer-story-cards {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > li, .category-grid > li, .services-list > li, .service-cards > li, .tip-list > li, .step-list > li {
    min-width: unset;
    width: 100%;
    margin-bottom: 0;
  }
}

/*----- CARDS CONTAINER PATTERN -----*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/*----- TESTIMONIALS -----*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 14px 0 rgba(36,76,90,0.10);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-energy);
  color: var(--color-dark);
  font-size: 1rem;
  min-width: 230px;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.07rem;
  font-family: var(--font-body);
  margin-bottom: 2px;
  line-height: 1.55;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
/* Review Stars special color*/
.testimonial-card span:nth-child(2) {
  color: var(--color-hot) !important;
  font-size: 1.19rem;
  letter-spacing: 0.13em;
}

.customer-story-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonial-card, .customer-story-cards {
    min-width: unset;
    width: 100%;
    gap: 14px;
  }
}

/*------ MISC FLEX/LAYOUTS -------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.category-selector,
.save-tip-note,
.support-link,
.adjust-preferences-link {
  margin-top: 14px;
  margin-bottom: 10px;
}
.category-selector label {
  font-family: var(--font-display);
  font-weight: 700;
}
.category-selector select {
  font-family: var(--font-body);
  background: var(--color-accent);
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  margin-left: 8px;
  font-size: 1.03rem;
  color: var(--color-dark);
  transition: border 0.15s;
}
input[type="search"] {
  margin-top: 12px;
  font-size: 1rem;
  padding: 10px 14px;
  width: 100%;
  max-width: 340px;
  background: var(--color-accent);
  border: 1.5px solid var(--color-secondary);
  border-radius: var(--radius-md);
  transition: border 0.2s;
}
input[type="search"]:focus {
  border: 1.8px solid var(--color-hot);
  background: #FFF7DF;
  outline: none;
}
.save-tip-note p, .support-link a, .adjust-preferences-link a {
  font-family: var(--font-display);
  color: var(--color-hot);
  font-weight: bold;
  font-size: 1.02rem;
}
.save-tip-note, .adjust-preferences-link {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 7px 13px;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px 0 rgba(124,181,24,0.15);
}

.motivational-blocks {
  margin-top: 20px;
  background: var(--color-electric);
  color: var(--color-dark);
  border-radius: var(--radius-md);
  padding: 17px;
  font-family: var(--font-display);
  font-weight: 700;
}

.map-placeholder {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 32px 12px 12px 12px;
  box-shadow: var(--shadow-main);
  min-width: 180px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
}

/*------ FORM & BUTTONS ------*/
button, [type="button"], [type="submit"], [type="reset"] {
  font-family: var(--font-display);
  cursor: pointer;
  outline: none;
  border: none;
}
button, .adjust-preferences-link a, .save-tip-note a, .support-link a {
  transition: background 0.16s, color 0.16s, transform 0.15s;
}

/*------ FAQ, QUOTES ------*/
.faq-list > li, .quote-list > li {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 10px 0 rgba(36,76,90,0.07);
  padding: 16px 14px;
  margin-bottom: 18px;
}
.faq-list strong {
  color: var(--color-hot);
  font-family: var(--font-display);
  margin-bottom: 6px;
  display: inline-block;
}

/*------ STEPS/INFO ---------*/
.step-list > li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
  background: #E0F8FC;
  border-left: 6px solid var(--color-electric);
}
.step-list img {
  width: 34px; height: 34px;
}

.info-box {
  margin: 0 0 10px 0;
}

/*------ HERO SECTION ------*/
section:first-of-type {
  background: linear-gradient(95deg, #FFEECF 65%, #11c7ed10 100%);
  box-shadow: 0 4px 24px 0 rgba(252,185,0,0.06);
}

/*------ CTA BANNERS ------*/
.content-wrapper > .cta-btn, .content-wrapper > a.cta-btn, .cta-btn {
  margin-top: 16px;
  margin-bottom: 12px;
}

/*------ RESPONSIVE ------*/
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 4px;
  }
  .section {
    padding: 20px 2px;
    margin-bottom: 28px;
  }
}

/*------ ANIMATIONS ------*/
.cta-btn, .feature-grid > li, .category-grid > li, .testimonial-card, .card {
  transition: box-shadow 0.19s, transform 0.17s, background 0.17s, border 0.15s;
}
.cta-btn:active { transform: scale(0.99) rotate(0.5deg); }
.feature-grid > li:active, .category-grid > li:active, .testimonial-card:active, .card:active {
  transform: scale(0.97); box-shadow: 0 2px 4px 0 rgba(17,199,237,0.11);
}

/* Electric hover highlight for links */
a:hover, a:focus {
  color: var(--color-electric);
}

/*------ COOKIE BANNER ------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  color: var(--color-light);
  z-index: 1200;
  padding: 19px 14px;
  box-shadow: 0 -2px 24px 0 rgba(36,76,90,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: banner-slide-up 0.4s cubic-bezier(.5,1.52,.62,1) 0s 1;
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: var(--color-hot);
  color: var(--color-light);
  font-family: var(--font-display);
  font-weight: 800;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.14s;
  font-size: 1rem;
}
.cookie-btn.settings {
  background: var(--color-energy);
  color: var(--color-dark);
}
.cookie-btn.reject {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cookie-btn:focus {
  outline: 2px solid var(--color-electric);
}
.cookie-btn:hover, .cookie-btn:active {
  background: var(--color-electric);
  color: var(--color-dark);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.98rem;
    padding: 13px 7px;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}

/*------ COOKIE PREFERENCES MODAL ------*/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 1300;
  background: rgba(36,76,90,0.79);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: modal-bg-fadein 0.25s ease;
}
@keyframes modal-bg-fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--color-light);
  color: var(--color-dark);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 36px 24px 28px 24px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 -8px 32px 0 rgba(17,199,237,0.15);
  position: relative;
  margin-bottom: 0;
  animation: modal-slideup 0.33s cubic-bezier(.57,1.4,.62,1) 0s 1;
}
@keyframes modal-slideup {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-hot);
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 20px 0;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #eee;
  font-family: var(--font-body);
}
.cookie-modal .category label {
  font-weight: 700;
  flex:1 1 60%;
}
.cookie-modal .category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-secondary);
  cursor: pointer;
  margin-right: 2px;
}
/* Essential cookies locked */
.cookie-modal .category input[disabled] {
  accent-color: var(--color-electric);
  opacity: 0.6;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: var(--color-hot);
  font-size: 2rem;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.18s, transform 0.2s;
}
.cookie-close:focus {
  outline: 2px solid var(--color-electric);
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: 90vw;
  }
  .cookie-modal .modal-actions {
    gap: 8px;
  }
}

/*------ MISC UI ------*/
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

[hidden] { display: none !important; }

/*------ END OF FILE ------*/
