/* RESET & BASE STYLES ------------------------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #f7fafc;
  color: #21263a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #27596b;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.23,1,.32,1);
}
a:hover, a:focus {
  color: #ffc107;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0.02em;
  color: #183049;
  margin-bottom: 15px;
  text-wrap: balance;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }

p, li, dd, dt, td, th, span, small {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #27596b;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #183049;
}
small {
  color: #858fa2;
}

/* BRAND COLOR VARIABLES (with fallbacks) */
:root {
  --brand-primary: #27596b;
  --brand-secondary: #ffc107;
  --brand-accent: #ffffff;
  --brand-dark: #183049;
  --brand-bg: #f7fafc;
  --vibrant-pink: #fd347a;
  --vibrant-aqua: #17e4c6;
  --vibrant-orange: #ff7168;
  --vibrant-violet: #6738ff;
  --card-shadow: 0 3px 16px rgba(39,89,107,0.08);
  --card-radius: 22px;
}

/* LAYOUT --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-accent);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

/* HERO ----------------------------------------------------------------------- */
.hero {
  background: linear-gradient(90deg, #ffc107 32%, #fd347a 95%);
  color: #183049;
  position: relative;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  margin-bottom: 46px;
}
.hero h1 {
  color: var(--brand-dark);
  font-size: 2.5rem;
  font-weight: 900;
  text-shadow: 2px 2px 0 #fffbe6, 0 4px 18px rgba(39,89,107, 0.06);
}
.hero p {
  color: var(--brand-dark);
  font-size: 1.2rem;
  margin-bottom: 22px;
  font-weight: 400;
}

/* NAVIGATION & HEADER --------------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(39,89,107,0.07);
  position: relative;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--vibrant-pink);
  color: #fff;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background: var(--brand-primary);
  font-weight: 900;
  font-size: 1.09rem;
  border-radius: 23px;
  padding: 13px 34px;
  transition: background 0.22s cubic-bezier(.23,1,.32,1), transform 0.08s;
  box-shadow: 0 2px 12px rgba(39,89,107,0.08);
  text-shadow: 1px 2px 5px rgba(25,25,25,0.14);
  border: 2px solid var(--brand-primary);
  letter-spacing: 0.01em;
  margin-left: 8px;
  margin-top: 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-secondary);
  color: var(--brand-dark);
  border-color: var(--vibrant-pink);
  transform: translateY(-1px) scale(1.035);
}
header img {
  height: 48px;
  object-fit: contain;
}

/* Responsive nav spacing */
@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
  }
  header nav {
    gap: 14px;
  }
}

/* MOBILE MENU ------------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  padding: 7px 18px;
  border-radius: 12px;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1201;
  cursor: pointer;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--vibrant-pink);
  color: #fff;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1600;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  animation: mobileMenuIn 0.32s cubic-bezier(.70,1.5,.38,.92);
}
@keyframes mobileMenuIn {
  from { transform: translateX(100vw); opacity: 0.3; }
  to   { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 29px 29px 0 0;
  background: var(--vibrant-pink);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 4px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1701;
  box-shadow: 0 2px 10px rgba(253,52,122,0.13);
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 34px 32px 0 32px;
  width: 100vw;
  align-items: flex-start;
  margin-top: 32px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 0;
  transition: color 0.17s, background 0.17s;
  border-radius: 8px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--vibrant-pink);
  font-weight: 700;
}

@media (max-width: 900px) {
  header nav, header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN LAYOUT / SECTION STRUCTURE --------------------------------------------- */
main {
  width: 100%;
  padding-bottom: 60px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Cards/Features ------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  padding: 24px 20px 20px 20px;
  position: relative;
  flex: 1 1 265px;
  min-width: 230px;
  max-width: 360px;
  transition: box-shadow 0.22s, transform 0.20s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(253,52,122,0.11);
  transform: scale(1.022) translateY(-3px);
  z-index: 1;
}

/* Features / Icons Grid ------------------------------------------------------ */
.feature-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 34px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 22px 20px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  min-width: 165px;
  max-width: 270px;
  flex: 1 1 190px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-icon img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}
.feature-icon:hover {
  box-shadow: 0 8px 36px rgba(253,52,122,0.11);
  background: #fcefdf;
  transform: translateY(-5px);
}

/* Testimonial Cards/Slider -------------------------------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-top: 6px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px 18px 28px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 3px 18px rgba(39,89,107,0.09);
  min-width: 240px;
  max-width: 430px;
  flex: 1 1 285px;
  margin-bottom: 20px;
  border-left: 6px solid var(--vibrant-pink);
  position: relative;
  transition: transform 0.19s, box-shadow 0.14s;
}
.testimonial-card p {
  color: #21263a;
  font-size: 1.13rem;
  margin-bottom: 8px;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card strong, .testimonial-card span {
  color: var(--brand-primary);
  font-size: 1rem;
  margin-top: 2px;
  font-weight: 600;
}
.testimonial-card:hover {
  transform: scale(1.020) translateY(-2px);
  box-shadow: 0 8px 32px rgba(23,228,198,0.14);
  background: #f0fcfa;
}

/* FAQ ------------------------------------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 18px;
}
.faq-list h3 {
  font-size: 1.22rem;
  color: var(--vibrant-violet);
  margin-bottom: 4px;
}
.faq-list p {
  color: var(--brand-primary);
}

/* Content Grids/article elements---------------------------------------------- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Table Styles (Pricing) ----------------------------------------------------- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
thead {
  background: var(--brand-secondary);
}
th, td {
  text-align: left;
  padding: 18px 13px;
  font-size: 1rem;
  color: var(--brand-primary);
}
th {
  font-weight: 700;
  background: var(--brand-secondary);
}
tr:nth-child(even) td {
  background: #fffbe6;
}
tr:nth-child(odd) td {
  background: #fff;
}

/* Footer --------------------------------------------------------------------- */
footer {
  width: 100%;
  background: var(--brand-primary);
  color: #fff;
  padding: 32px 0 16px 0;
  box-shadow: 0 -2px 18px rgba(39,89,107,0.08);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
footer img {
  height: 36px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #fff;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.86;
  transition: color 0.12s, opacity 0.18s;
}
footer nav a:hover {
  color: var(--brand-secondary);
  opacity: 1;
}
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  color: #fff;
}
footer .footer-contact img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -2px;
}
footer small {
  color: #d0eba2;
  font-size: 0.96rem;
  width: 100%;
  margin-top: 8px;
}

/* Responsive Typography ------------------------------------------------------ */
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.09rem; }
}

/* Responsive Flex Direction -------------------------------------------------- */
@media (max-width: 900px) {
  .feature-grid,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
  }
  .footer-contact{
    font-size: 0.99rem;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section,
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper, .card-container, .content-grid,
  .text-image-section, .feature-grid, .testimonial-slider, .features {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch;
  }
  .card, .feature-icon, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Call To Action Card Section ------------------------------------------------ */
.text-section a.cta-btn {
  margin-top: 12px;
}
.text-section {
  gap: 16px;
}

/* Microinteractions, Buttons & Links ----------------------------------------- */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.17s, transform 0.17s;
  cursor: pointer;
  box-shadow: 0 3px 17px rgba(253,52,122, 0.07);
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* Cookies Banner Styles ------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe6;
  color: var(--brand-primary);
  box-shadow: 0 -2px 18px rgba(23,228,198,0.15);
  padding: 22px 24px 22px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  z-index: 2000;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: cookieBannerIn 0.4s cubic-bezier(.33,1,.68,1.22);
}
@keyframes cookieBannerIn {
  from { transform: translateY(210px); opacity: .2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  background: var(--brand-primary);
  color: #fff;
  border-radius: 18px;
  padding: 7px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 8px;
  margin-right: 2px;
  outline: none;
  border: 1.6px solid var(--brand-primary);
}
.cookie-banner button:hover {
  background: var(--brand-secondary);
  color: var(--brand-dark);
  border-color: var(--vibrant-pink);
}
.cookie-banner .settings-btn {
  background: var(--vibrant-pink);
  color: #fff;
  border: 0;
  margin-left: 14px;
}
.cookie-banner .settings-btn:hover {
  background: var(--vibrant-violet);
}
.cookie-banner .cookie-text {
  flex: 2 1 240px;
}

/* Cookie Modal --------------------------------------------------------------- */
.cookie-modal {
  display: none;
}
.cookie-modal.active {
  display: flex;
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  z-index: 2050;
  justify-content: center;
  align-items: center;
  background: rgba(23, 41, 62, 0.16);
  animation: cookieModalIn 0.35s cubic-bezier(.33,1,.68,1.22);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(39,89,107,0.21);
  padding: 38px 30px 24px 30px;
  max-width: 360px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h3 {
  font-size: 1.2rem;
  color: var(--brand-primary);
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: var(--brand-dark);
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--brand-secondary);
  width: 16px; height: 16px;
}
.cookie-modal-content button {
  margin-top: 14px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-radius: 15px;
  border: none;
  font-size: 1.05rem;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  align-self: flex-end;
  box-shadow: none;
}
.cookie-modal-content button:hover {
  background: var(--vibrant-pink);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 8px 16px 8px;
    font-size: 0.97rem;
  }
}

/* Misc and Accessibility ----------------------------------------------------- */
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 10px; background: #f3f3f3;
}
::-webkit-scrollbar-thumb {
  background: #ffe780;
  border-radius: 6px;
}

/* Animations and Transitions ------------------------------------------------- */
.card, .feature-icon, .testimonial-card {
  transition: box-shadow 0.19s cubic-bezier(.23,1,.32,1), transform 0.17s;
}
.cta-btn, button {
  transition: background 0.19s, color 0.13s, box-shadow 0.13s, transform 0.12s;
}
a, nav a {
  transition: color 0.14s, background 0.13s;
}

/* Utility classes ------------------------------------------------------------ */
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 18px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 18px !important; }
.flex-center { display: flex; align-items: center; justify-content: center !important; }
.text-center { text-align: center !important; }

/* Print-friendly ------------------------------------------------------------ */
@media print {
  header, footer, .cta-btn, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
