/* ========================
   CSS RESET & BASE STYLES
   ======================== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #223344;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  background-color: #F6F5F3;
  word-break: break-word;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}

/* ==============================
   BRAND COLORS & CUSTOM PROPS
   ============================== */
:root {
  --clr-primary: #223344;
  --clr-secondary: #C0B283;
  --clr-accent: #F6F5F3;
  --clr-vibrant-orange: #FF5A36;
  --clr-vibrant-pink: #FF1590;
  --clr-vibrant-blue: #22D6F3;
  --clr-vibrant-green: #13E58C;
  --clr-dark: #161616;
  --clr-light: #ffffff;
  --clr-muted: #e8e6e1;
  --transition: 0.3s cubic-bezier(.29,1.01,1,1);
  --radius: 18px;
  --shadow-card: 0 8px 24px 0 rgba(34,51,68,0.10), 0 1.5px 2px 0 rgba(255,26,208,0.05);
  --shadow-hover: 0 12px 32px 0 rgba(34,51,68,0.15), 0 2.5px 5px rgba(255,26,208,0.10);
}

/* ======================
   TYPOGRAPHY
   ====================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

body {
  font-size: 16px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.2px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--clr-primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.12;
  color: var(--clr-vibrant-orange);
}
h2 {
  font-size: 2rem;
  color: var(--clr-vibrant-pink);
}
h3 {
  font-size: 1.25rem;
  color: var(--clr-vibrant-blue);
}
h4 {
  font-size: 1.125rem;
  color: var(--clr-primary);
}
p, ul li, ol li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--clr-primary);
}
strong {
  color: var(--clr-vibrant-orange);
  font-weight: 700;
  letter-spacing: 0.25px;
}

/* Links */
a:hover, .footer-bottom a:hover {
  color: var(--clr-vibrant-pink);
}

/* ==============================
   CONTAINER & SECTION LAYOUTS
   ============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 24px;
  }
}

.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: flex-start;
    gap: 18px;
  }
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--clr-light);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.04);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 24px;
  background: var(--clr-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-width: 230px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--clr-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .20s, transform 0.22s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}
.testimonial-content p {
  color: #223344;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.stars {
  color: var(--clr-vibrant-orange);
  font-size: 1.25rem;
  margin-bottom: 2px;
  font-weight: 900;
}
.testimonial-card span {
  color: var(--clr-vibrant-pink);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 0.1px;
}

/* Ensure proper color contrast for testimonial cards and review text */
.testimonial-card, .testimonial-content p, .testimonial-content span {
  background: var(--clr-accent);
  color: var(--clr-dark);
}

.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 20px;
}

/* ==============================
   HERO & CTA STYLES
   ============================== */
.hero {
  background: var(--clr-vibrant-blue);
  background: linear-gradient(87deg, var(--clr-vibrant-blue) 65%, var(--clr-vibrant-orange) 99%);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 60px;
  color: #fff;
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: hidden;
}
.hero .container {
  z-index: 1;
}
.hero h1 {
  color: #fff;
  font-size: 2.3rem;
  text-shadow: 0 5px 22px rgba(34,34,34,0.08);
}
.hero p {
  font-size: 1.20rem;
  color: #fff;
  margin-bottom: 18px;
  max-width: 700px;
}
.hero .btn-primary {
  background: var(--clr-vibrant-pink);
  color: #fff;
  border: none;
}

.cta {
  background: var(--clr-vibrant-orange);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  margin-bottom: 0;
}
.cta h2 {
  color: #fff;
  font-size: 2.1rem;
}
.cta p {
  color: #fff;
  font-size: 1.14rem;
  margin-bottom: 18px;
}

/* ==============================
   BUTTONS
   ============================== */
.btn-primary {
  display: inline-block;
  background: var(--clr-vibrant-pink);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  padding: 14px 36px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px 0 rgba(255,26,208, 0.12);
  font-size: 1.17rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.14s, transform 0.14s, box-shadow 0.16s;
  margin-right: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--clr-vibrant-orange);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(255,26,208,0.18);
}

.btn-secondary {
  display: inline-block;
  background: var(--clr-vibrant-blue);
  color: var(--clr-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(34,214,243,0.08);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  margin-right: 10px;
  transition: background 0.14s, color 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--clr-vibrant-pink);
  color: #fff;
}

/* ==============================
   NAVIGATION
   ============================== */
header {
  background: var(--clr-accent);
  box-shadow: 0 2px 8px 0 rgba(34,51,68,0.07);
  position: sticky;
  top: 0;
  z-index: 99;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 20px;
  max-width: 1160px;
  margin: 0 auto;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav img {
  width: 54px;
  height: auto;
  margin-right: 16px;
  flex-shrink: 0;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-block;
  vertical-align: middle;
  transition: background .13s, color .13s, box-shadow .1s;
}
.main-nav a:hover:not(.btn-primary),
.main-nav a:focus:not(.btn-primary) {
  background: var(--clr-vibrant-blue);
  color: var(--clr-vibrant-pink);
  box-shadow: 0 1.5px 4px 0 rgba(34,214,243,.08);
}
.main-nav a.btn-primary {
  margin-left: 18px;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.5rem;
  color: var(--clr-vibrant-pink);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1051;
  transition: color .15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--clr-vibrant-blue);
  outline-offset: 2px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--clr-accent);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform var(--transition);
  box-shadow: 0 0 70px 18px rgba(255,26,208,0.11);
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 26px;
  font-size: 2.2rem;
  color: var(--clr-vibrant-pink);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
  transition: color .2s;
}
.mobile-menu-close:hover {
  color: var(--clr-vibrant-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 76px;
  margin-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 16px 0;
  font-size: 1.2rem;
  color: var(--clr-primary);
  font-weight: 700;
  border-radius: 7px;
  transition: color .13s, background .11s;
}
.mobile-nav a:hover {
  background: var(--clr-vibrant-blue);
  color: var(--clr-vibrant-pink);
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==============================
   FOOTER
   ============================== */
footer {
  background: var(--clr-primary);
  color: #fff;
  padding-top: 40px;
  padding-bottom: 0;
  font-size: 1rem;
}
footer p {
  color: white;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 24px 20px;
  border-bottom: 2px solid var(--clr-secondary);
}
.footer-top img {
  width: 50px;
  margin-bottom: 12px;
}
.footer-top > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-top a {
  color: var(--clr-vibrant-blue);
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 1.01em;
  border-radius: 6px;
  transition: color .13s, background .12s;
  display: inline-block;
  padding: 3px 8px;
}
.footer-top a:hover {
  color: var(--clr-vibrant-pink);
  background: rgba(255,21,144,0.08);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 22px 20px;
  max-width: 1160px;
  margin: 0 auto;
  font-size: 0.92em;
}
.footer-bottom .social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-bottom .social-icons a img {
  height: 29px;
  width: 29px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 7px 0 rgba(255,26,208,0.07);
  transition: filter .13s;
}
.footer-bottom .social-icons a:hover img {
  filter: brightness(1.3) drop-shadow(0 1.5px 8px var(--clr-vibrant-orange));
}
.footer-bottom p {
  color: #e8e6e1;
  margin: 0;
}

@media (max-width: 700px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 18px;
    text-align: center;
    align-items: center;
  }
  .footer-top img {
    margin-bottom: 8px;
  }
}

/* ==============================
   GENERAL LIST ICONS
   ============================== */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-left: 0;
}
ul li img, ol li img {
  width: 27px;
  height: 27px;
  margin-right: 6px;
}

/* ==============================
   RESPONSIVE & FLEX LAYOUTS
   ============================== */
@media (max-width: 1050px) {
  .container { max-width: 96vw; }
}
@media (max-width: 700px) {
  .container { padding: 0 8px; }
  .section, section { padding-left: 4px; padding-right: 4px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.08rem; }
}

@media (max-width: 990px) {
  .footer-top, .footer-bottom {
    max-width: none;
    width: 100vw;
  }
  .main-nav {
    padding: 16px 0;
    gap: 14px;
  }
}

/* ===============
   MICRO-EFFECTS
   =============== */
section, .card, .btn-primary, .btn-secondary, .testimonial-card, .feature-item, .mobile-menu,
.cookie-banner, .cookie-modal {
  transition: box-shadow 0.19s, background 0.19s, transform 0.19s;
}

/* ===============
   COOKIE BANNER
   =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  background: var(--clr-vibrant-blue);
  color: #223344;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  box-shadow: 0 -6px 24px 0 rgba(34,119,243,0.13);
  padding: 22px 30px;
  font-size: 1.13em;
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 1;
  transition: transform 0.33s, opacity 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 auto;
  min-width: 180px;
}
.cookie-banner .btn-secondary,
.cookie-banner .btn-primary,
.cookie-banner .btn-outline {
  margin-right: 10px;
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--clr-vibrant-pink);
  border: 2.5px solid var(--clr-vibrant-pink);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 1em;
  cursor: pointer;
  transition: background .12s, color .11s, border-color .11s;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--clr-vibrant-pink);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 22px 12px 25px 12px;
    font-size: 0.99em;
  }
}

/* ===============
   COOKIE MODAL
   =============== */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1700;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(22,34,51,0.57);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInModal .28s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 32px 32px 20px 32px;
  max-width: 420px;
  width: 98vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scalePop 0.24s;
}
@keyframes scalePop {
  from { transform: scale(0.96); opacity: 0.7; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--clr-vibrant-pink);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-weight: 700;
  color: var(--clr-primary);
}
.cookie-switch {
  width: 36px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--clr-muted);
  border-radius: 29px;
  transition: background .16s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--clr-vibrant-blue);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--clr-vibrant-pink);
  transition: .14s;
}
.cookie-switch input:checked + .cookie-slider:before {
  left: 17px;
  background: var(--clr-vibrant-orange);
}
.cookie-modal-content .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--clr-vibrant-pink);
  cursor: pointer;
  z-index: 1710;
}
.cookie-modal-close:hover {
  color: var(--clr-vibrant-blue);
}

@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 18px 7px 14px 7px;
    max-width: 99vw;
  }
}

/* ==============================
   MISC: FORMS AND UTILITIES
   ============================== */
::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

hr {
  border: 0;
  border-top: 1.5px solid var(--clr-muted);
  margin: 28px 0;
}

/* ==============================
   MISC FLEX UTILITY CLASSES
   ============================== */
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-8 { gap: 8px; }
.gap-20 { gap: 20px; }
.mr-16 { margin-right: 16px; }
.mb-20 { margin-bottom: 20px; }

/* ==============================
   RESPONSIVE FLEX DIRECTION
   ============================== */
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-list {
    flex-direction: column;
    gap: 16px;
  }
  .hero {
    min-height: 190px;
    padding-top: 22px;
    padding-bottom: 18px;
  }
  .cta h2 {
    font-size: 1.22rem;
  }
}

/* ==============================
   END CSS
   ============================== */
