/* ===========================================================
   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, 
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  min-height: 100vh;
  background: #FDF8F2;
  color: #23405C;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  box-sizing: border-box;
}

/* ===================
   VARIABLES (with fallback) 
   =================== */
:root {
  --primary: #23405C;
  --primary-dark: #182942;
  --secondary: #EDA53F;
  --secondary-dark: #be7c12;
  --accent: #FFFFFF;
  --brand-bg: #FDF8F2;
  --creative-light-blue: #3EC7D0;
  --creative-pink: #FA63A6;
  --creative-purple: #7B5DE3;
  --body-font: 'Open Sans', Arial, sans-serif;
  --display-font: 'Merriweather', Georgia, serif;
}

/* ===================
   TYPOGRAPHY
   =================== */
body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  background: var(--brand-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
  color: var(--creative-purple);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--secondary-dark);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--creative-pink);
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  font-family: var(--body-font);
  color: var(--creative-light-blue);
  margin-bottom: 28px;
  font-weight: 500;
  line-height: 1.6;
}
p, li {
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.text-section ul,
.text-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
}
.text-section li {
  margin-bottom: 8px;
  list-style: disc;
  color: var(--primary-dark);
}
.text-section ul {
  padding-left: 1.1em;
}
.text-section li strong {
  color: var(--creative-pink);
}

/* ===================
   LAYOUT CONTAINERS
   =================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 30px;
  box-shadow: 0 4px 32px 0 rgba(35,64,92,0.08);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(35,64,92,0.10);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(122,93,227,0.18);
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
}
.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;
}
.testimonials-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(35,64,92,0.11);
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  position: relative;
  border-left: 8px solid var(--secondary);
  transition: box-shadow 0.2s, border-color 0.25s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  min-height: 52px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--creative-pink);
  margin-top: 6px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(234,165,63,0.18);
  border-left-color: var(--creative-purple);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #FCF3E3;
  border-radius: 18px;
  padding: 24px 20px 20px;
  box-shadow: 0 0 12px 0 rgba(236,99,166,0.08);
  transition: background 0.22s;
  border: 2.5px solid var(--secondary);
  flex: 1 1 220px;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature-item:hover {
  background: #f7fafe;
  border-color: var(--creative-purple);
}

/* ===================
   NAVIGATION
   =================== */
header {
  padding: 0 0 0 0;
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 14px 20px;
  background: var(--primary);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 2px 12px 0 rgba(35,64,92,0.12);
}
.main-nav a {
  font-family: var(--body-font);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.19s, color 0.17s;
  display: flex;
  align-items: center;
}
.main-nav a.cta-button {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 800;
  padding: 8px 20px;
  font-size: 1.09rem;
  margin-left: auto;
  letter-spacing: 0.05em;
  border-radius: 13px;
  box-shadow: 0 2px 16px 0 rgba(237,165,63,0.15);
  transition: background 0.21s, box-shadow 0.23s, color 0.17s;
}
.main-nav a.cta-button:hover,
.main-nav a.cta-button:focus {
  background: var(--creative-pink);
  color: #fff;
  box-shadow: 0 6px 30px 0 rgba(234,165,63,0.19);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--creative-pink);
  color: #fff;
}
.main-nav img {
  width: 44px;
  height: 44px;
  margin-right: 9px;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  z-index: 1201;
  transition: background 0.19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--creative-pink);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  background: var(--primary);
  z-index: 1500;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.83,.07,.51,.99);
  opacity: 0.96;
  box-shadow: 0 0 120px 0 rgba(35,64,92,0.19);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--accent);
  background: transparent;
  border: none;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 2;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--creative-pink);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 68px;
  align-items: center;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: var(--display-font);
  padding: 10px 44px;
  border-radius: 10px;
  letter-spacing: 0.07em;
  font-weight: 600;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--creative-light-blue);
  color: var(--primary);
}
@media (max-width: 1024px) {
  .container {
    padding: 0 9px;
  }
  .main-nav a:not(.cta-button) {
    font-size: 0.98rem;
    padding: 6px 8px;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(.cta-button):not(:first-child) {
    display: none;
  }
  .main-nav {
    justify-content: flex-start;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ==========
   CTA Buttons
   ========== */
.cta-button {
  display: inline-block;
  background: var(--creative-purple);
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 12px 32px;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-top: 12px;
  box-shadow: 0 4px 20px 0 rgba(123,93,227,0.11);
  transition: background 0.20s, box-shadow 0.22s, color 0.16s, transform 0.16s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--creative-pink);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(123,93,227,0.17);
  transform: scale(1.03);
  text-decoration: none;
}

/* ========== 
   TABLE DESIGN (Abos)
   ========== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 13px;
  margin: 22px 0 12px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 2px 18px 0 rgba(35,64,92,0.06);
}
th, td {
  border: 1px solid #EDEDF1;
  padding: 12px 15px;
  text-align: left;
}
th {
  background: var(--creative-light-blue);
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 700;
}

/* ============
   FOOTER
   ============ */
footer {
  background: var(--primary);
  color: #fff;
  margin-top: 80px;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  box-shadow: 0 -2px 17px 0 rgba(35,64,92,0.11);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 0 14px 0;
}
.footer-brand {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
}
.footer-brand p, .footer-content p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-brand a { color: #fff; border-bottom: 1px solid #EDA53F; }
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: #fff;
  font-family: var(--body-font);
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0 4px;
  border-radius: 7px;
  transition: background 0.17s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  background: var(--primary-dark);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.17) brightness(1.11) contrast(1.21);
  transition: filter 0.19s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: drop-shadow(0 0 7px var(--creative-light-blue)) grayscale(0);
}

/* ============
   RESPONSIVENESS
   ============ */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  h3 {
    font-size: 1.01rem;
  }
  .section {
    padding: 22px 4px;
    margin-bottom: 34px;
    border-radius: 16px;
  }
  .feature-grid, .testimonials-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .footer-content {
    padding: 18px 0 10px 0;
    gap: 17px;
    flex-direction: column;
  }
  .testimonial-card, .feature-item, .card {
    min-width: unset;
    max-width: 100%;
    padding: 15px 8px 13px 12px;
    border-radius: 11px;
  }
}

/* ===============
   MICROINTERACTIONS & EFFECT
   =============== */
input:focus, textarea:focus, select:focus, a:focus, button:focus {
  outline: 2px solid var(--creative-light-blue);
  outline-offset: 2px;
}
::selection {
  background: var(--creative-pink);
  color: #fff;
}

/* ===============
   COOKIE BANNER
   =============== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffdfa;
  color: var(--primary-dark);
  padding: 24px 20px 20px 28px;
  box-shadow: 0 -2px 28px 0 rgba(35, 64, 92, 0.16);
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  z-index: 9000;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  transition: transform 0.33s, opacity 0.21s;
  font-size: 1rem;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  flex: 4 1 280px;
  max-width: 700px;
  margin-bottom: 12px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 2 1 100px;
  flex-wrap: wrap;
}
.cookie-consent-banner button,
.cookie-consent-banner .cookie-actions button {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9px;
  border: none;
  padding: 8px 20px;
  margin-right: 0;
  transition: background 0.18s, color 0.14s, box-shadow 0.22s;
  cursor: pointer;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 17px 0 rgba(237,165,63,0.12);
}
.cookie-accept:hover {
  background: var(--creative-light-blue);
  color: var(--primary);
}
.cookie-reject {
  background: #f6eaf8;
  color: var(--creative-pink);
}
.cookie-reject:hover {
  background: var(--creative-pink);
  color: #fff;
}
.cookie-settings {
  background: var(--primary);
  color: #fff;
}
.cookie-settings:hover {
  background: var(--creative-light-blue);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 5px 11px 10px;
  }
  .cookie-consent-banner .cookie-actions {
    gap: 10px;
    flex-direction: column;
    align-items: flex-stretch;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(35,64,92,0.41);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  min-width: 340px;
  max-width: 96vw;
  border-radius: 17px;
  padding: 36px 22px 24px 32px;
  box-shadow: 0 6px 50px 0 rgba(123,93,227,0.16);
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--creative-pink);
  cursor: pointer;
  font-weight: bold;
  transition: color 0.19s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--creative-purple);
}
.cookie-categories-list {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-category-label {
  font-size: 1.06rem;
  font-family: var(--body-font);
  color: var(--primary);
  flex: 1 1 80px;
}
.cookie-toggle {
  appearance: none;
  width: 46px;
  height: 26px;
  background: #eee;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--creative-purple);
}
.cookie-toggle:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3.2px;
  transition: left 0.18s;
  box-shadow: 0 2px 7px 0 rgba(123,93,227,0.15);
}
.cookie-toggle:checked:before {
  left: 22px;
}
.cookie-category-essential .cookie-toggle {
  background: var(--secondary);
  cursor: not-allowed;
}
.cookie-category-essential .cookie-toggle:before {
  background: var(--secondary-dark);
}
.cookie-category-essential .cookie-toggle:checked:before {
  left: 3.2px;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-content .cookie-modal-actions button {
  padding: 8px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}

/* =============================
    SCROLLBAR
   ============================= */
::-webkit-scrollbar {
  width: 12px;
  background: #efefef;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 9px;
}

/* =============================
   ACCESSIBLE VISIBILITY UTILS
   ============================= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =============================
   MISCELLANEOUS
   ============================= */

hr {
  border: none;
  border-top: 1.5px solid #e3e6ec;
  margin: 34px 0 24px 0;
}

/* == BRAND THEME = creative_artistic VIBE == */
.section {
  /* Creative edge highlight */
  border: 3.5px dashed var(--creative-pink);
  background: linear-gradient(45deg, #fff 95%, #f7fafe 100%);
}
.section:after {
  content: "";
  position: absolute;
  top: -17px; right: -17px;
  width: 38px; height: 38px;
  background: var(--creative-pink);
  border-radius: 50% 60% 59% 47%;
  opacity: .11;
  pointer-events: none;
  z-index: 0;
}
.section:before {
  content: "";
  position: absolute;
  bottom: -17px; left: -17px;
  width: 32px; height: 32px;
  background: var(--creative-light-blue);
  border-radius: 50% 55% 65% 60%;
  opacity: .10;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3 {
  text-shadow: 0 2px 30px rgba(222,165,99,0.10);
  letter-spacing: -0.5px;
}

.cta-button,
.main-nav a.cta-button {
  box-shadow: 0 4px 20px 0 rgba(123,93,227,0.21);
}

.feature-item img {
  filter: drop-shadow(0 2px 6px #3ec7d053) drop-shadow(0 1px 10px #a57b2c55);
  transition: filter 0.2s;
}
.feature-item:hover img {
  filter: drop-shadow(0 8px 23px #fa63a64d) drop-shadow(0 2px 9px #eda53f7c);
}

.testimonial-card {
  background:
    repeating-linear-gradient(135deg, #FFF, #FCF3E3 24px, #FFF 40px);
  border-radius: 19px 30px 14px 26px / 28px 13px 22px 30px;
  font-family: var(--display-font);
}


/* ===============
   PRINT
   =============== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu {
    display: none !important;
  }
  .container {
    max-width: 100vw;
    padding: 0 2vw;
  }
}
