/* --------------------------------------------------------
   CSS RESET & BASELINE 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,
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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; min-height: 100vh; background: #FAFAFD; }

/* Remove list style on ul, ol elements with a class attribute */
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; }
:focus { outline: 2px solid #FFD700; outline-offset: 2px; }

/* --------------------------------------------------------
   BRAND VARIABLES (with hardcoded fallbacks)
---------------------------------------------------------*/
:root {
  /* Brand Colors */
  --brand-primary: #25445C;
  --brand-secondary: #B89D67;
  --brand-accent: #F9F6F1;
  --electric-blue: #1870F0;
  --electric-pink: #FF3D6E;
  --electric-yellow: #FFB800;
  --electric-green: #22E8A1;
  --white: #FFF;
  --black: #181A1B;
  --light-bg: #FAFAFD;
  --shadow1: rgba(23,32,50,0.07);
  --shadow2: rgba(34,36,38,0.14);
  /* Typography */
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* --------------------------------------------------------
   Typography
---------------------------------------------------------*/
body {
  font-family: var(--font-body);
  color: var(--brand-primary);
  font-size: 16px;
  background: var(--light-bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--black);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

h1 { font-size: 2.7rem; line-height: 1.15;  }
h2 { font-size: 2rem;   line-height: 1.2;   }
h3 { font-size: 1.35rem;line-height: 1.25;  }
h4 { font-size: 1.15rem;line-height: 1.25;  }
h5, h6 { font-size: 1rem; }

p, ul li {
  font-family: var(--font-body);
  color: var(--brand-primary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  font-weight: 400;
}
.subheadline {
  color: var(--brand-secondary);
  font-size: 1.21rem;
  font-weight: 500;
  margin-bottom: 1.5em;
  letter-spacing: 0.02em;
}
strong { font-weight: 700; color: var(--electric-blue); } /* Add vibrancy to strong text */

/* --------------------------------------------------------
   Container & Section Spacing
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: 20px;
  box-shadow: 0 6px 32px var(--shadow1);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--shadow1);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s, transform 0.2s;
  z-index: 1;
}
.card:hover {
  box-shadow: 0 8px 32px var(--shadow2), 0 2px 12px var(--shadow1);
  transform: translateY(-3px) scale(1.02);
}
.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;
  margin-bottom: 20px;
}

/* --------------------------------------------------------
   HEADER, NAVIGATION & CTA
---------------------------------------------------------*/
header {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 2px 8px var(--shadow1);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  background: none;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brand-accent);
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.15s, color 0.18s;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.main-nav a.cta-primary {
  background: var(--electric-pink);
  color: #fff;
  font-weight: bold;
  padding: 9px 20px;
  border-radius: 14px;
  margin-left: 16px;
  font-size: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.05);
  transition: background 0.17s, box-shadow 0.18s;
  box-shadow: 0 0 0 #0000;
}
.main-nav a.cta-primary:hover {
  background: var(--electric-yellow);
  color: var(--brand-primary);
  box-shadow: 0 2px 12px var(--shadow2);
}
.main-nav img {
  height: 38px;
  margin-right: 18px;
  vertical-align: middle;
}

/* --- Burger Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: var(--electric-blue);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: 6px;
  transition: background 0.15s, color 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--electric-pink);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,28,48,0.97);
  z-index: 500;
  transform: translateX(-105%);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.show {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--electric-pink);
  color: #fff;
  border-radius: 100%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s;
  z-index: 501;
}
.mobile-menu-close:hover {
  background: var(--electric-yellow);
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 80px;
  gap: 10px;
  padding: 22px 40px 24px 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.32rem;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid rgba(220,220,220,0.07);
  transition: color 0.16s, background 0.18s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--electric-yellow);
  background: rgba(255,255,255,0.02);
}

/* --------------------------------------------------------
   HERO SECTION & SECTION HEADINGS
---------------------------------------------------------*/
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: linear-gradient(100deg, var(--electric-blue) 12%, var(--brand-primary) 90%);
  position: relative;
  margin-bottom: 60px;
  padding: 42px 0 38px 0;
}
.hero h1 {
  color: #fff;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  font-weight: 900;
  text-shadow: 0 2px 16px #18234044;
}
.hero .subheadline {
  color: var(--electric-yellow);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 26px;
  text-shadow: 0 1px 8px #20285018;
}
.hero .cta-primary {
  background: var(--electric-pink);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 14px;
  padding: 11px 32px;
  box-shadow: 0 4px 24px var(--shadow2);
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.18s, transform 0.15s;
}
.hero .cta-primary:hover {
  background: var(--electric-yellow);
  color: var(--brand-primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px var(--shadow2);
}

section > .container {
  padding-top: 0; padding-bottom: 0;
}

/* Section Headings */
section h2 {
  font-size: 2rem;
  color: var(--brand-primary);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  position: relative;
}
section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  background: var(--electric-pink);
  border-radius: 4px;
  margin: 8px 0 0 0;
}

section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 10px 0;
}
section ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.09rem;
  color: var(--brand-primary);
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 2px 6px var(--shadow1);
  font-weight: 500;
  margin-bottom: 4px;
  transition: background 0.14s;
}
section ul li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* --------------------------------------------------------
   BUTTONS, CTA & LINK STYLES
---------------------------------------------------------*/
.cta-primary,
.cta-primary:visited {
  display: inline-block;
  background: var(--electric-pink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 1.15rem;
  padding: 11px 34px;
  border: none;
  border-radius: 15px;
  transition: background 0.2s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 18px var(--shadow2);
  letter-spacing: 0.05em;
  cursor: pointer;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--electric-yellow);
  color: var(--brand-primary);
  box-shadow: 0 5px 30px var(--shadow2);
  transform: translateY(-2px) scale(1.04); 
}

/* Inline Links */
a {
  transition: color 0.16s, border 0.14s;
}
a:hover, a:focus {
  color: var(--electric-blue);
}

/* --------------------------------------------------------
   TESTIMONIALS
---------------------------------------------------------*/
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 4px 28px var(--shadow1);
}
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px;
  margin-bottom: 20px;
  background: var(--light-bg);
  border-left: 7px solid var(--electric-pink);
  border-radius: 15px;
  box-shadow: 0 2px 9px var(--shadow1);
  color: var(--brand-primary);
  font-family: var(--font-body);
  font-size: 1.09rem;
  font-weight: 500;
  min-width: 240px;
  max-width: 680px;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonials .testimonial-card p {
  color: var(--brand-primary);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonials .testimonial-card span {
  font-size: 1rem;
  color: var(--brand-secondary);
  margin-top: 2px;
  font-weight: 600;
}
.testimonials .testimonial-card:hover {
  border-left-color: var(--electric-yellow);
  box-shadow: 0 8px 30px var(--shadow2);
}

/* --------------------------------------------------------
   FOOTER & LEGAL NAVIGATION
---------------------------------------------------------*/
footer {
  background: var(--brand-primary);
  color: var(--white);
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 60px;
}
footer section {
  padding: 28px 0 16px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}
.footer-nav a {
  color: var(--brand-secondary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: color 0.16s, text-decoration 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--electric-yellow);
}
.footer-info {
  text-align: center;
  font-size: 0.97rem;
  color: var(--brand-accent);
  margin-bottom: 0;
  opacity: 0.6;
}

/* --------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------------------*/
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--brand-accent);
  box-shadow: 0 -4px 24px rgba(40,32,30,0.13);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  z-index: 999;
  font-size: 1.08rem;
  color: var(--brand-primary);
  border-top: 3px solid var(--electric-pink);
  animation: cookieBannerIn 0.8s cubic-bezier(0.6,0,0.2,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; }
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
#cookie-banner button {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 19px;
  border-radius: 8px;
  border: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
  margin-right: 2px;
  cursor: pointer;
}
#cookie-banner .cookie-accept {
  background: var(--electric-green);
  color: #fff;
  box-shadow: 0 2px 8px var(--shadow1);
}
#cookie-banner .cookie-accept:hover {
  background: var(--electric-blue);
}
#cookie-banner .cookie-reject {
  background: var(--electric-pink);
  color: #fff;
}
#cookie-banner .cookie-reject:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
#cookie-banner .cookie-settings {
  background: var(--brand-primary);
  color: #fff;
  border: 1px solid var(--brand-secondary);
}
#cookie-banner .cookie-settings:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

#cookie-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 36px rgba(0,0,0,0.18);
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  z-index: 1001;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.32s, opacity 0.2s;
  font-family: var(--font-body);
  padding: 28px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: none;
}
#cookie-modal.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#cookie-modal h2 {
  font-size: 1.29rem;
  margin-bottom: 9px;
}
#cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
#cookie-modal .cookie-category label {
  font-weight: 500;
  color: var(--brand-primary);
}
#cookie-modal .cookie-toggle {
  position: relative;
  width: 46px;
  height: 26px;
}
#cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 46px; height: 26px;
  cursor: pointer;
}
#cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #d0dbe9;
  border-radius: 16px;
  transition: background 0.13s;
}
#cookie-modal .cookie-toggle input:checked + .slider {
  background: var(--electric-green);
}
#cookie-modal .slider:before {
  position: absolute;
  content: '';
  width: 22px;
  height: 22px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 1px 5px #8882;
}
#cookie-modal .cookie-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
#cookie-modal .cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
#cookie-modal button {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 17px;
  border-radius: 7px;
  border: none;
  transition: background 0.1s, color 0.1s;
  cursor: pointer;
}
#cookie-modal .cookie-accept {
  background: var(--electric-green);
  color: #fff;
}
#cookie-modal .cookie-accept:hover {
  background: var(--electric-blue);
}
#cookie-modal .cookie-reject {
  background: var(--electric-pink);
  color: #fff;
}
#cookie-modal .cookie-reject:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
#cookie-modal .cookie-cancel {
  background: var(--brand-primary);
  color: #fff;
}
#cookie-modal .cookie-cancel:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
#cookie-modal .cookie-category .required {
  color: var(--electric-yellow);
  font-weight: bold;
  margin-left: 8px;
  font-size: 1em;
}

/* --------------------------------------------------------
   LAYOUT HELPERS & MISCELLANEOUS
---------------------------------------------------------*/
.hide-sm { display: block; }
.show-sm { display: none; }

/* Decorative icons for sections */
ul li img { filter: drop-shadow(0 0 2px var(--brand-secondary)); }

/* --------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST)
---------------------------------------------------------*/
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-nav, .footer-nav { gap: 10px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute; right: 12px; top: 14px;
  }
  .hero {
    min-height: 220px;
    padding: 32px 0 24px 0;
  }
  .hero h1 { font-size: 1.45rem; }
  section h2 { font-size: 1.19rem; }
  .footer-nav { flex-direction: column; gap: 5px; align-items: center; }
  .footer-info { font-size: 0.93rem; }
  /* Flex container responsive: stack column */
  .content-grid, .card-container, .feature-item, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { align-items: flex-start; gap: 16px; }
  .card { min-width: 90%; }
  .testimonials .testimonial-card { max-width: 98vw; }
  .section { margin-bottom: 36px; padding: 20px 5px; }
}
@media (max-width: 590px) {
  html { font-size: 94%; }
  .mobile-menu .mobile-nav { padding: 20px 8px; }
  .hero, .testimonials, .section, section {
    padding-left: 0px !important; padding-right: 0px !important;
  }
  #cookie-modal { max-width: 100vw; }
}

/* --------------------------------------------------------
   VIBRANT MICROINTERACTIONS (Subtle Animations)
---------------------------------------------------------*/
.cta-primary, .main-nav a, button, #cookie-banner button, #cookie-modal button {
  transition: background 0.17s, color 0.13s, box-shadow 0.14s, transform 0.13s;
}
.main-nav a, .footer-nav a {
  transition: color 0.14s, text-decoration 0.14s, background 0.16s;
}
section ul li {
  transition: background 0.14s, box-shadow 0.14s;
}
section ul li:hover {
  background: var(--electric-green);
  color: #fff;
  box-shadow: 0 4px 18px var(--shadow2);
}

/* Remove blue highlight in mobile iOS */
input, textarea, select, button, a {
  -webkit-tap-highlight-color: rgba(0,0,0,0.15)
}

/* Accessibility support (high contrast for legal/disclaimers, testimonials) */
.testimonials, .testimonials .testimonial-card, footer {
  color-scheme: light only;
}

/* --------------------------------------------------------
   END OF STYLE.CSS
---------------------------------------------------------*/
