/* 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, 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, menu, nav, section, main {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1FAFE;
  color: #1B2232;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #0A5CE8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #09C6FF;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 8px;
  text-align: left;
}
input, button, textarea, select {
  font: inherit;
}

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

/* COLOR PALETTE (custom properties with fallbacks) */
:root {
  --color-primary: #1B2232;
  --color-secondary: #8194B8;
  --color-accent: #F1FAFE;
  --color-highlight: #FBBA20;
  --color-fun1: #09C6FF;
  --color-fun2: #FFC857;
  --color-fun3: #F95A2C;
  --color-fun4: #57E690;
  --color-white: #fff;
  --color-grey: #E3EAF6;
  --font-display: 'Merriweather', 'Georgia', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* LAYOUT UTILS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.15rem;
}
p, ul li, ol li, address {
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-primary);
}
strong {
  font-weight: 700;
  color: var(--color-fun3);
}

/* PLAYFUL FONT EFFECT for headings */
h1, h2, h3 {
  position: relative;
  z-index: 1;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 40px;
  height: 6px;
  background: var(--color-fun1);
  border-radius: 3px;
  margin-top: 6px;
  margin-left: 0;
  transition: background 0.3s;
}
h2:after {
  background: var(--color-fun2);
  width: 32px;
  height: 5px;
}

/* BUTTONS & CALL TO ACTION */
.cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 13px 28px;
  margin-top: 8px;
  background: var(--color-fun1);
  color: var(--color-primary);
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  border: none;
  border-radius: 36px 12px 36px 12px;
  box-shadow: 2px 5px 20px rgba(9,198,255,0.15);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.cta-main:hover, .cta-main:focus {
  background: var(--color-fun2);
  color: var(--color-primary);
  outline: none;
  box-shadow: 2px 8px 26px rgba(255,200,87,0.22);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 30px;
}
nav ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
nav ul li a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  background: none;
  border-radius: 16px;
  padding: 8px 17px;
  transition: background 0.22s, color 0.2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--color-fun4);
  color: var(--color-primary);
}
nav > a img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}
nav > a {
  margin-right: 11px;
  display: flex;
  align-items: center;
}

/* Header container */
header {
  background: var(--color-accent);
  box-shadow: 0 4px 22px 0 rgba(27,34,50,0.03);
  /* Animated bar */
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}
header nav {
  flex: 1 1 auto;
}
header .cta-main {
  margin-left: 28px;
  box-shadow: 1px 2px 6px rgba(9,198,255,0.12);
}

/* SECTION & FLEX SPACING PATTERNS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 32px 32px 16px 16px;
  box-shadow: 0 6px 36px 0 rgba(27,34,50,0.06), 0 2px 8px 0 rgba(27,34,50,0.03);
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 2px 4px 20px rgba(27,34,50,0.08);
  transition: box-shadow 0.18s, transform 0.18s;
  padding: 24px;
  flex: 1 1 270px;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(9,198,255,0.18);
  transform: translateY(-3px) scale(1.02) rotate(-2deg);
}
.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 {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 4px 22px 0 rgba(27,34,50,0.07);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 550px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card footer {
  color: var(--color-fun3);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SECTION/GRID SPACING for cards etc. */
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-left: 0;
  margin-top: 20px !important;
}

/* FAQ LIST & ITEM */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-grey);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(27,34,50,0.07);
}
.faq-item h2 {
  font-size: 1.20rem;
  margin-bottom: 5px;
}
.faq-item p {
  color: var(--color-primary);
}

/* TABLE STYLING */
table {
  margin-top: 12px;
  margin-bottom: 16px;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(27,34,50,0.05);
}
th {
  background: var(--color-secondary);
  color: var(--color-white);
  font-weight: 700;
}
td, th {
  border-bottom: 1px solid var(--color-grey);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* LIST ITEMS WITH ICONS */
ul li, ol li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding-left: 0;
  gap: 10px;
}
ul li img, ol li img {
  height: 32px;
  width: 32px;
  margin-right: 10px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* OL STYLING for steps */
ol {
  counter-reset: custom;
}
ol li {
  position: relative;
  padding-left: 36px;
  min-height: 32px;
  margin-bottom: 20px;
}
/* Custom playful counter bubble for steps */
ol li:before {
  counter-increment: custom;
  content: counter(custom);
  position: absolute;
  left: 0;
  top: 2px;
  background: var(--color-fun2);
  color: var(--color-primary);
  font-weight: bold;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(251,186,32,0.13);
}

/* ADDRESS AND FOOTER */
footer {
  background: var(--color-secondary);
  color: var(--color-accent);
  padding: 32px 0 18px 0;
  border-radius: 24px 24px 0 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
}
footer nav {
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-accent);
  padding: 3px 9px;
  font-size: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  transition: background 0.19s, color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-fun2);
  color: var(--color-primary);
}
footer address, footer address p {
  color: var(--color-accent);
  font-style: normal;
  font-size: 0.98rem;
}
footer small {
  margin-top: 10px;
  color: var(--color-accent);
  font-size: 0.92rem;
  opacity: 0.75;
}

/* TEXT SECTION UTILS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  gap: 8px;
}

/* ANIMATED DECORATIVE ELEMENTS - playful dynamic */
section:before {
  content: '';
  display: block;
  position: absolute;
  left: 22px;
  top: -26px;
  width: 62px;
  height: 18px;
  background: var(--color-fun4);
  border-radius: 10px 18px 7px 18px;
  opacity: 0.13;
  rotate: -12deg;
  pointer-events: none;
  z-index: 0;
  animation: playful-band 9s infinite alternate-reverse ease-in-out;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  right: 17px;
  bottom: -22px;
  width: 56px;
  height: 16px;
  background: var(--color-fun2);
  border-radius: 12px 8px 16px 21px;
  opacity: 0.15;
  rotate: 8deg;
  pointer-events: none;
  z-index: 0;
  animation: playful-band 7.4s infinite alternate-reverse ease-in-out;
}
@keyframes playful-band {
  0% { transform: scaleX(1) rotate(0deg); }
  80% { transform: scaleX(1.05) rotate(2deg); }
  100% { transform: scaleX(1.15) rotate(-5deg); }
}

/* MOBILE NAVIGATION (burger menu) */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-fun2);
  border: none;
  border-radius: 14px;
  padding: 5px 12px;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.23s, color 0.22s, transform 0.15s;
  z-index: 121;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-fun1);
  color: var(--color-white);
  transform: scale(1.08) rotate(4deg);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-fun1);
  color: var(--color-primary);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
  padding-left: 0;
  transform: translateX(-110vw);
  transition: transform 0.44s cubic-bezier(0.76,0.11,0.19,0.89);
  box-shadow: 0 6px 36px 0 rgba(9,198,255,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
  /* Visible state */
}
.mobile-menu-close {
  background: var(--color-fun2);
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 20px;
  border-radius: 11px;
  padding: 4px 10px;
  cursor: pointer;
  box-shadow: 0 1px 7px rgba(251,186,32,0.09);
  transition: background 0.22s, color 0.21s, transform 0.15s;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-fun3);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-radius: 18px;
  background: transparent;
  color: var(--color-primary);
  transition: background 0.22s, color 0.21s, transform 0.12s;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fun2);
  color: var(--color-fun3);
  transform: translateX(10px) scale(1.04) rotate(-2deg);
}

/* Hide desktop nav on small screens, show burger */
@media (max-width: 1000px) {
  header nav ul, header .cta-main {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  header nav ul, header .cta-main {
    display: flex !important;
  }
}

/* MAIN & GENERAL SPACING */
main {
  min-height: 68vh;
  margin-top: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-fun2);
  color: var(--color-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 30px;
  box-shadow: 0 -2px 32px rgba(251,186,32,0.13);
  z-index: 4000;
  animation: cookie-banner-slide 0.66s cubic-bezier(0.45,0.73,0.49,1.26);
}
@keyframes cookie-banner-slide {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.06rem;
  flex: 1 1 auto;
  margin-right: 18px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  padding: 8px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 20px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: var(--color-highlight);
  color: var(--color-primary);
  margin-right: 0 !important;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  box-shadow: 0 1px 8px rgba(251,186,32,0.11);
}
.cookie-banner button.cookie-reject {
  background: var(--color-fun3);
  color: var(--color-white);
}
.cookie-banner button.cookie-settings {
  background: var(--color-fun1);
  color: var(--color-primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-fun4);
  color: var(--color-primary);
  transform: scale(1.05) rotate(-2deg);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  background: rgba(27,34,50,0.23);
  z-index: 5000;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: modal-in 0.45s cubic-bezier(0.45,0.74,0.51,1.15);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 26px;
  max-width: 410px;
  width: 92vw;
  box-shadow: 0 6px 40px rgba(9,198,255,0.15);
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  position: relative;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  background: var(--color-accent);
  border-radius: 16px;
  padding: 10px 14px;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  width: 40px;
  height: 24px;
  background: var(--color-fun2);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  display: flex;
  align-items: center;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  position: absolute;
  left: -999px;
}
.cookie-modal .cookie-toggle span {
  display: block;
  width: 22px;
  height: 22px;
  background: var(--color-fun3);
  border-radius: 50%;
  transition: background 0.18s, transform 0.18s;
  transform: translateX(2px);
}
.cookie-modal .cookie-toggle input:checked + span {
  background: var(--color-fun4);
  transform: translateX(18px);
}
.cookie-modal .cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-actions button {
  padding: 9px 22px;
  border-radius: 16px;
  background: var(--color-fun1);
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-display);
  border: none;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: var(--color-fun4);
  color: var(--color-primary);
  transform: scale(1.06) rotate(-2deg);
}
.cookie-modal .close-modal {
  font-size: 1.7rem;
  background: transparent;
  border: none;
  color: var(--color-fun1);
  position: absolute;
  right: 11px;
  top: 12px;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-fun3);
}
.cookie-modal .cookie-category[data-essential] {
  background: var(--color-grey);
  color: #888;
}
.cookie-modal .cookie-category[data-essential] .cookie-toggle {
  opacity: 0.42; pointer-events: none;
}

/* FORMS (if added) */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.8px solid var(--color-secondary);
  background: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  transition: border-color 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--color-fun1);
  outline: none;
}

/* MEDIA QUERIES for RESPONSIVENESS */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 30px 8px 30px 8px;
    border-radius: 28px 28px 14px 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  section, .section {
    margin-bottom: 38px;
    padding: 24px 6px 24px 6px;
  }
  .testimonial-card {
    padding: 16px;
    font-size: 1rem;
    min-width: unset;
    max-width: 100vw;
  }
  .card, .feature-item {
    padding: 14px 10px;
    min-width: 98vw;
    box-sizing: border-box;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 17px !important;
    align-items: stretch !important;
  }
  .container {
    max-width: 99vw;
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 11px 13px 19px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
  .footer, footer {
    padding: 15px 0 10px 0;
    margin-top: 30px;
  }
  section, .section {
    border-radius: 14px 14px 6px 6px;
  }
}

/* MICRO-ANIMATIONS for cards/buttons/elements */
.card, .feature-item, .testimonial-card, .faq-item {
  transition: box-shadow 0.19s, transform 0.18s, background 0.19s;
}
.card:hover, .testimonial-card:hover, .faq-item:hover {
  background: var(--color-fun1);
  box-shadow: 0 9px 36px 0 rgba(9,198,255,0.10);
  transform: scale(1.02) rotate(-1deg);
}

/* VISUAL FLAIR: playful backgrounds on key cta/section */
section.cta, .cta-section {
  background: linear-gradient(111deg, var(--color-fun1) 68%, var(--color-fun2) 100%);
  color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(9,198,255,0.13);
}

/* Hide decorative before/after on mobile for performance */
@media (max-width: 600px) {
  section:before, section:after { display: none; }
}

/* ACCESSIBILITY: Clear focus state for all interactive elements */
a:focus, button:focus, input:focus, .cta-main:focus {
  outline: 2.5px solid var(--color-fun4);
  outline-offset: 2px;
}


/* === END === */
