/* ===============================
   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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  color: #1C2333;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  border: none;
  outline: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ===============================
   FONT IMPORTS & ROOT VARIABLES
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #1C2333;
  --secondary: #D3A441;
  --accent: #F2F2F2;
  --accent-dark: #dadada;

  --brand-blue: #1687fa;
  --brand-pink: #fd4f9d;
  --brand-cyan: #16e0db;
  --brand-green: #a4e120;
  --brand-orange: #fff100;
  --error: #E7484F;
  --radius: 20px;

  --display-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===============================
   GENERAL STYLES
   =============================== */
body {
  font-family: var(--body-font);
  font-size: 16px;
  background: var(--accent);
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem;
}
p, ul, li {
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--primary);
}
ul li {
  margin-bottom: 14px;
}
ul li:last-child{
  margin-bottom: 0;
}
strong {
  font-weight: 700;
}
a {
  color: var(--brand-pink);
  transition: color 0.18s;
}
a:hover {
  color: var(--brand-blue);
}

/* ===============================
   FLEXBOX LAYOUTS
   =============================== */
.card-container, .content-grid, .footer-nav, .features-icons, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 1px 8px 28px 0 rgba(22, 135, 250, 0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 1px 8px 32px 0 rgba(22, 135, 250, 0.10);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 7px solid var(--brand-blue);
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 rgba(255, 49, 156, 0.11);
  transform: translateY(-4px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.features-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.features-icons > div {
  background: var(--brand-cyan);
  border-radius: 18px;
  padding: 28px 20px 20px 20px;
  box-shadow: 1px 4px 22px 0 rgba(254,76,157,0.08);
  flex: 1 1 186px;
  min-width: 170px;
  max-width: 260px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  animation: fadeInPop 0.7s cubic-bezier(.63,.36,.19,1.32);
}
.features-icons > div:hover {
  background: var(--brand-pink);
  color: #fff;
  box-shadow: 0 8px 40px 0 rgba(254,76,157,0.13);
  transform: scale(1.05) rotate(-3deg);
}
.features-icons img {
  height: 40px;
  margin-bottom: 8px;
  animation: bounceicon 1.9s infinite linear;
}
@keyframes bounceicon {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-7px); }
  40% { transform: translateY(0); }
  60% { transform: translateY(-4px); }
  80% { transform: translateY(0); }
}
@keyframes fadeInPop {
  0% { opacity: 0; transform: scale(0.85) translateY(35px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.text-section{
  margin-bottom: 24px;
}

/* Card & Review Summary */
.review-summary {
  background: var(--brand-green);
  color: var(--primary);
  font-weight: 900;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px 0 rgba(29,185,53,0.09);
  font-size: 1.1rem;
}

/* ===============================
   HEADER 
   =============================== */
header {
  background: var(--primary);
  color: #fff;
  position: relative;
  box-shadow: 0 2px 10px 0 rgba(21, 35, 60, 0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  position: relative;
  gap: 20px;
}
header img {
  height: 52px;
}
.main-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-navigation a {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #fff;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-navigation a:hover, .main-navigation a.active {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn {
  background: linear-gradient(90deg, var(--brand-pink) 70%, var(--brand-yellow, #FFD600) 100%);
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 16px 24px 16px 24px;
  box-shadow: 0 4px 18px 0 rgba(253, 79, 157, 0.15);
  transition: background 0.20s, box-shadow 0.16s, color 0.16s;
  margin-left: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
  outline: none;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink));
  box-shadow: 0 8px 30px 0 rgba(253, 79, 157, 0.22);
  color: #fff;
}

/* ===============================
   BURGER MOBILE MENU
   =============================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: transparent;
  color: var(--brand-pink);
  border-radius: 8px;
  padding: 6px 14px;
  margin-left: 12px;
  z-index: 1801;
  transition: background 0.2s, color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-yellow, #FFD600);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28,35,51, 0.97);
  z-index: 2000;
  transform: translateX(110%);
  transition: transform 0.37s cubic-bezier(.82,-0.03,.17,1.1);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 26px 16px 0;
  font-size: 2.1rem;
  color: var(--brand-pink);
  background: transparent;
  border-radius: 14px;
  padding: 4px 10px;
  z-index: 2100;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-yellow, #FFD600);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-left: 38px;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  padding: 13px 0 8px 0;
  border-bottom: 1.5px solid var(--brand-blue);
  min-width: 230px;
  margin-bottom: 16px;
  border-radius: 0 12px 12px 0;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--brand-pink);
  color: #fff;
  border-bottom: 1.5px solid var(--brand-yellow, #FFD600);
}

@media (max-width: 1025px) {
  header .container {
    gap: 9px;
  }
  .main-navigation a {
    font-size: 0.98rem;
    margin-left: 4px;
    margin-right: 4px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .main-navigation {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-navigation {
    gap: 6px;
  }
}
@media (max-width: 820px) {
  .main-navigation,
  .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 480px) {
  header img {
    height: 36px;
  }
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  background: linear-gradient(90deg, var(--brand-blue) 60%, var(--brand-cyan) 100%);
  border-radius: 0 0 42px 42px;
  color: #fff;
  box-shadow: 0 4px 25px 0 rgba(28,35,51,0.10);
  margin-bottom: 60px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  padding: 44px 0 22px 0;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta-btn {
  background: linear-gradient(90deg, var(--brand-yellow, #FFD600), var(--brand-pink));
  color: var(--primary);
  margin-top: 16px;
}
.hero .cta-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink));
}

/* ===============================
   FAQ ACCORDION
   =============================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 14px 0 rgba(22,135,250,0.07);
  padding: 20px 22px;
  margin-bottom: 6px;
  transition: box-shadow 0.18s, transform 0.17s;
  position: relative;
}
.faq-item:hover {
  box-shadow: 0 4px 28px 0 rgba(253,79,157,0.14);
  transform: translateY(-3px) scale(1.01);
}
.faq-item h2 {
  font-size: 1.1rem;
  color: var(--brand-blue);
  cursor: pointer;
  margin-bottom: 5px;
  font-family: var(--display-font);
  font-weight: 700;
}

/* ===============================
   FOOTER 
   =============================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 62px 0 23px 0;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -2px 14px 0 rgba(21, 35, 60, 0.09);
  margin-top: 66px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav a {
  font-family: var(--display-font);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: 7px;
  padding: 6px 14px;
  transition: background 0.18s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a.active {
  background: var(--brand-pink);
  color: #fff;
}
.footer-legal {
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.8;
}

/* ===============================
   FORMS (Contact etc.)
   =============================== */
input, textarea {
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid var(--brand-cyan);
  margin-bottom: 20px;
  background: #fff;
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border-color: var(--brand-pink);
  outline: none;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--primary);
}

/* ===============================
   COOKIE CONSENT BANNER
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: linear-gradient(90deg,var(--brand-yellow, #FFD600),var(--brand-cyan) 60%);
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 0.97rem;
  box-shadow: 0 -4px 24px 0 rgba(253,79,157, 0.10);
  border-radius: 24px 24px 0 0;
  padding: 30px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: transform 0.32s cubic-bezier(.53,.38,.47,.7), opacity 0.18s;
  gap: 19px;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(130%);
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.cookie-btn, .cookie-settings {
  font-family: var(--display-font);
  font-weight: 900;
  font-size: 1rem;
  background: var(--brand-pink);
  color: #fff;
  border-radius: 12px;
  padding: 12px 28px;
  border: none;
  margin-right: 4px;
  margin-bottom: 4px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(253,79,157,0.10);
  transition: background 0.18s, box-shadow 0.17s, color 0.17s;
}
.cookie-btn:hover, .cookie-settings:hover {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(22,135,250,0.16);
}
.cookie-btn.reject {
  background: var(--brand-green);
  color: var(--primary);
}
.cookie-btn.reject:hover {
  background: var(--error);
  color: #fff;
}
.cookie-settings {
  background: var(--brand-cyan);
  color: var(--primary);
}
.cookie-preference-modal {
  position: fixed;
  z-index: 3500;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 160%) scale(0.88);
  background: #fff;
  min-width: 308px;
  width: 95vw;
  max-width: 390px;
  border-radius: 22px;
  box-shadow: 0 8px 64px 0 rgba(22,135,250,0.20);
  padding: 30px 22px;
  transition: transform 0.36s cubic-bezier(.73,.08,.23,1.11), opacity 0.22s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-preference-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 16px;
  background: none;
  color: var(--brand-blue);
  font-size: 1.6rem;
  border-radius: 6px;
  padding: 2px 10px;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal-close:hover {
  background: var(--brand-pink);
  color: #fff;
}
.cookie-pref-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  border-radius: 14px;
  padding: 13px 17px;
  font-size: 1rem;
  font-family: var(--body-font);
  color: var(--primary);
  box-shadow: 0 1px 8px 0 rgba(22,135,250,0.06);
}
.cookie-category .toggle {
  width: 45px;
  height: 25px;
  border-radius: 12.5px;
  background: var(--brand-cyan);
  position: relative;
  display: inline-block;
  margin-left: 9px;
}
.cookie-category .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 2.5px; left: 3px;
  height: 20px; width: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
  transition: left 0.17s, background 0.17s;
}
.cookie-category .toggle input:checked + .slider {
  left: 22px;
  background: var(--brand-blue);
}
.cookie-category .switch-label {
  font-size: 1rem;
  color: var(--primary);
  margin-left: 5px;
}
.cookie-category .always-on {
  color: var(--brand-blue);
  font-size: 0.9em;
  font-weight: 700;
  margin-left: 9px;
}
/* Modal overlay background */
.cookie-modal-bg {
  display: none;
  position: fixed;
  z-index: 3400;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(28,35,51,0.52);
}
.cookie-modal-bg.active {
  display: block;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1140px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .hero {
    min-height: 140px;
    padding-left: 0; padding-right: 0;
    border-radius: 0 0 24px 24px;
  }
  .section {
    margin-bottom: 38px;
    padding: 29px 6px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .card,
  .testimonial-card,
  .review-summary,
  .features-icons > div {
    padding: 14px 12px;
  }
  .features-icons {
    gap: 11px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.96rem;
    flex-direction: column;
    align-items: center;
  }
  .footer-legal {
    font-size: 0.79rem;
  }
  .mobile-nav a {
    min-width: 136px;
    font-size: 1.03rem;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .hero .content-wrapper {
    padding: 26px 0 19px 0;
  }
  .testimonial-card {
    padding: 12px 5px;
  }
}
@media (max-width: 650px) {
  .content-grid, .features-icons, .card-container {
    flex-direction: column !important;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
  .section {
    padding: 18px 2px;
  }
  .mobile-menu {
    z-index: 2300;
  }
}

/* ===============================
   MICRO INTERACTIONS & BUTTON EFFECTS
   =============================== */
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card, .features-icons > div, .testimonial-card {
  will-change: transform, box-shadow;
}

/* ===============================
   ACCESSIBILITY
   =============================== */
.testimonial-card p,
.testimonial-card span {
  color: var(--primary);
}
.testimonial-card strong, .review-summary strong {
  color: var(--primary);
}

/* Ensure contrast and dark-on-light for testimonials and review summary */
.testimonial-card {
  background: #fff;
  color: var(--primary);
  border-color: var(--brand-blue);
}
.review-summary {
  background: var(--brand-green);
  color: var(--primary);
}

/* ===============================
   ACCESSORY ELEMENTS
   =============================== */
.text-image-section img, .content-section img {
  border-radius: 13px;
  box-shadow: 0 3px 22px 0 rgba(22,135,250,0.13);
  flex-shrink: 0;
}

/* ===============================
   THANK YOU PAGE (Success)
   =============================== */
.hero.thank-you {
  background: linear-gradient(90deg, var(--brand-green) 70%, var(--brand-cyan));
  color: var(--primary);
}
.hero.thank-you h1,
.hero.thank-you p {
  color: var(--primary);
}
.hero.thank-you .cta-btn {
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-cyan));
  color: #fff;
}
.hero.thank-you .cta-btn:hover {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-pink));
}

/* ===============================
   PRINT OVERRIDE
   =============================== */
@media print {
  header, .mobile-menu, .cookie-banner, footer {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #222 !important;
  }
}
