/* =============================
   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, 
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;
  width: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8FAFF;
  color: #21253C;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #1C2541;
  text-decoration: none;
  transition: color .25s;
}
ul, ol {
  padding-left: 1.25rem;
}
strong {
  font-weight: 700;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: background .22s, color .18s, box-shadow .22s;
}

/* =============================
   BRAND STYLE: VIBRANT ENERGETIC
============================= */
:root {
  --brand-primary: #1C2541;
  --brand-secondary: #B2C5D8;
  --brand-accent: #FFD700;
  --brand-energetic: #54a0ff;
  --brand-hot: #fd3a69;
  --brand-cool: #10ffc7;
  --text-dark: #151931;
  --text-light: #fff;
  --surface: #FFFFFF;
  --surface-2: #F8FAFF;
  --shadow: 0 6px 24px rgba(28,37,65,0.10),0 1.5px 7px rgba(28,37,65,0.06);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.23; }
h3 { font-size: 1.45rem; line-height: 1.24; }
h4 { font-size: 1.125rem; }
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.09rem; }
}

/* =============
   HEADER
============== */
header {
  background: var(--brand-primary);
  color: var(--brand-accent);
  width: 100%;
  box-shadow: 0 2px 16px rgba(28,37,65,0.075);
  z-index: 9;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.85rem 5vw;
  max-width: 1160px;
  margin: 0 auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-accent);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: background .22s, color .20s, box-shadow .20s;
  display: inline-block;
}
header nav a:not(.cta-primary):hover, header nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
  box-shadow: 0 2px 10px 0 rgba(255,215,0,0.12);
}
.cta-primary {
  background: var(--brand-hot);
  color: var(--text-light) !important;
  border-radius: var(--radius-md);
  padding: 11px 32px;
  box-shadow: 0 5px 14px 0 rgba(253,58,105,0.13);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background .18s, transform .18s, box-shadow .19s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-accent);
  color: var(--brand-primary) !important;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 5px 20px 0 rgba(255, 215, 0, 0.17);
}
header img {
  max-height: 48px;
  margin-right: 20px;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--brand-accent);
  font-size: 2.1rem;
  margin-left: 15px;
  z-index: 11;
  border-radius: 100vw;
  padding: 5px 9px;
  transition: background .18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(255,215,0,0.16);
}

/* ===================
   MOBILE NAVIGATION
=================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-primary);
  color: var(--brand-accent);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 199;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--brand-accent);
  background: none;
  margin: 1.3rem 0 1.4rem 1.3rem;
  align-self: flex-start;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 100vw;
  transition: background .2s;
  z-index: 210;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,215,0,0.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 1.6rem;
  width: 100%;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--brand-accent);
  border-radius: var(--radius-md);
  background: none;
  padding: 12px 8px 12px 3px;
  margin: 2px 0;
  width: 100%;
  transition: background .2s, color .17s;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary) !important;
}
@media (max-width: 1100px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  .mobile-nav a { font-size: 1.13rem; }
}
.mobile-menu {
  overflow-y: auto;
}

/* ===================
   CONTAINER/SECTIONS
=================== */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 5vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border: none;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Flex patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow .28s, transform .21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 44px 0 rgba(28,37,65,0.15);
  transform: translateY(-2px) scale(1.018);
}
.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;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe5;
  color: #171414;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px 0 rgba(252,181,42,0.18);
  margin-bottom: 22px;
  font-size: 1.07rem;
  font-family: var(--font-body);
}
.testimonial-card p {
  margin-bottom: 0;
  font-weight: 500;
  color: #2a2a2a;
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-size: 1.02em;
  font-family: var(--font-display);
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =====================
   HOMEPAGE :: HERO
===================== */
.hero {
  background: linear-gradient(100deg, var(--brand-hot) 0%, var(--brand-cool) 100%);
  background-color: #fffbe5;
  position: relative;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 52px 0 66px 0;
  box-shadow: 0 8px 32px 0 rgba(84,160,255,0.07);
  margin-bottom: 54px;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
}
.hero h1 {
  color: var(--text-light);
  background: linear-gradient(85deg, var(--brand-accent) 20%, #fff 70%, var(--brand-hot) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.7rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(28,37,65,0.07);
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .hero {
    padding: 30px 0 44px 0;
  }
  .hero h1 {
    font-size: 1.45rem;
    text-align: left;
  }
  .hero .container {padding: 0 3vw;}
}

.hero p {
  color: #fffcd4;
  font-weight: 600;
  font-size: 1.14rem;
}
.hero .cta-primary {
  font-size: 1.1rem;
  margin-top: 24px;
  background: var(--brand-accent);
  color: var(--brand-primary) !important;
  box-shadow: 0 5px 18px 0 rgba(255,215,0,0.18);
}
.hero .cta-primary:hover {
  background: var(--brand-hot);
  color: #fff !important;
}

/* =====================
   FEATURE OVERVIEW
===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin: 22px 0 0 0;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 330px;
  transition: box-shadow .22s, transform .15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 10px 32px rgba(28,37,65,0.16);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid h3 {
  color: var(--brand-hot);
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 6px rgba(84, 160, 255, 0.11));
}

/* =====================
   CARDS / TESTIMONIALS
===================== */
.card {
  border: 2px solid var(--brand-accent);
}

/* For other card-based features, pattern respects spacing */

/* =====================
   FOOTER
===================== */
footer {
  background: var(--brand-primary);
  color: var(--brand-accent);
  padding: 32px 0 10px 0;
}
footer .container {
  flex-direction: row;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 5vw;
  flex-wrap: wrap;
}
footer .text-section {
  font-size: 1rem;
  background-color: #F8FAFF;
  color: var(--brand-accent);
  line-height: 1.7;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}
footer nav a {
  color: var(--brand-accent);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  transition: background .22s, color .13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
footer img {
  max-height: 44px;
  margin-bottom: 16px;
}
footer .social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: auto;
  margin-top: 6px;
}
footer .social-icons img {
  height: 36px;
  width: 36px;
  background: #fff3;
  padding: 5px;
  border-radius: 50%;
  transition: background .14s, filter .17s;
  cursor: pointer;
}
footer .social-icons img:hover {
  background: var(--brand-hot);
  filter: brightness(1.2);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .social-icons {
    margin-left: 0;
  }
}

/* =====================
   GENERAL / TYPOGRAPHY / BUTTONS
===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 26px 7px;
    margin-bottom: 40px;
  }
}

p, ul, ol {
  color: var(--text-dark);
  font-family: var(--font-body);
  margin-bottom: 12px;
}
ul, ol {
  margin-bottom: 14px;
  padding-left: 1.05em;
}

button, .button, .cta-primary {
  font-family: var(--font-display);
  font-weight: bold;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .22s, color .13s, box-shadow .19s;
  outline: none;
}
.button, .cta-primary {
  background: var(--brand-hot);
  color: #fff !important;
  padding: 11px 32px;
  box-shadow: 0 6px 20px 0 rgba(253,58,105,0.16);
  font-size: 1.07rem;
  margin-top: 7px;
  display: inline-block;
}
.button:hover, .button:focus, .cta-primary:hover, .cta-primary:focus {
  background: var(--brand-energetic);
  color: var(--brand-primary) !important;
}
a.button, a.cta-primary {
  text-decoration: none !important;
}

/* =====================
   FORMS / INPUTS (base styling for simulated forms)
===================== */
input, select, textarea {
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1.8px solid var(--brand-secondary);
  padding: 10px;
  font-size: 1rem;
  transition: border-color .18s;
  width: 100%;
  margin-bottom: 21px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand-accent);
  outline: 2px solid var(--brand-accent);
}

/* =====================
   SPACING CLASSES
===================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* ===============================
   COOKIE CONSENT BANNER & MODAL
=============================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 97vw;
  max-width: 520px;
  background: var(--brand-primary);
  color: var(--brand-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -7px 36px 0 rgba(28,37,65,0.21);
  padding: 24px 22px 18px 28px;
  opacity: 0;
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.46s cubic-bezier(.91,-0.23,.24,1.33), opacity 0.41s;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0%);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: var(--brand-accent);
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: var(--font-body);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
  margin-top: 6px;
}
.cookie-banner .button,
.cookie-banner .cta-primary  {
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: none;
  outline: 0;
  box-shadow: 0 3px 10px 0 rgba(255,215,0,0.09);
  min-width: 135px;
}
.cookie-banner .button.accept {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-banner .button.accept:hover,
.cookie-banner .button.accept:focus {
  background: var(--brand-hot);
  color: #fff;
}
.cookie-banner .button.reject {
  background: var(--brand-hot);
  color: #fff;
}
.cookie-banner .button.reject:hover,
.cookie-banner .button.reject:focus {
  background: #fff;
  color: var(--brand-hot);
}
.cookie-banner .button.settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .button.settings:hover,
.cookie-banner .button.settings:focus {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,37,65,0.54);
  z-index: 500;
  display: none;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.visible {
  display: flex;
}
.cookie-modal {
  background: var(--surface-2);
  color: var(--brand-primary);
  border-radius: var(--radius-lg);
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 8px 42px 0 rgba(28,37,65,0.19);
  padding: 2rem 1.3rem 1.3rem 1.3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  color: var(--brand-hot);
  font-size: 1.23rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.cookie-modal-close {
  color: var(--brand-hot);
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 1.73rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background .13s;
  padding: 4px 6px;
}
.cookie-modal-close:hover { background: #ffeec3; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0 7px 0;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"]:not(:disabled) {
  accent-color: var(--brand-hot);
  width: 22px;
  height: 22px;
}
.cookie-modal input[type="checkbox"]:disabled {
  accent-color: var(--brand-secondary);
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}
.cookie-modal .button {
  font-size: 1rem;
  padding: 8px 16px;
  min-width: 110px;
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp .67s cubic-bezier(.77,.07,.38,.92);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1050px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 190px;
    padding: 18px 12px;
  }
}
@media (max-width: 820px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 120px;
  }
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media (max-width: 600px) {
  html { font-size: 96%; }
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 13px !important;
  }
  header .container, footer .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: .99rem;
    padding: 14px;
  }
}

/* =====================
   ACCESSIBILITY
===================== */
a:focus, button:focus, .cta-primary:focus {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* =============================
   PRINT (ENSURE WHITE BG)
============================= */
@media print {
  body, html { background: #fff !important; color: #000!important; }
  header, footer, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, .card, .content-wrapper { box-shadow: none !important; background: #fff !important; margin: 0 !important; }
}

/* =============================
   ANIMATE MICRO-INTERACTIONS
============================= */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .25s, transform .22s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 14px 45px 0 rgba(253, 58, 105, 0.11), 0 4px 19px 0 rgba(28,37,65,0.16);
  transform: translateY(-5px) scale(1.025);
}

/* =============================
   NO GRID & COLUMN PROPERTIES
============================= */
/* (Enforced by omission) */
