/* ================= 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, 
main, 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, main, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  background: #f8f8f8;
  color: #16304B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #16304B;
  text-decoration: none;
  transition: color 0.2s;
}

ul, ol {
  list-style: none;
}

button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

:root {
  --primary: #16304B;
  --secondary: #62829A;
  --accent: #F8F8F8;
  --brand-creative1: #FDCB6E;
  --brand-creative2: #00B894;
  --brand-creative3: #D63031;
  --brand-creative4: #6C5CE7;
  --creative-bg: #F8F8F8;
  --creative-card: #fffbea;
  --shadow: 0 2px 16px 0 rgba(22,48,75,0.10);
  --radius: 22px;
  --transition: 0.25s cubic-bezier(0.7,0,.3,1);
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: 2.8rem; letter-spacing: -2px; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px;}
p, li, a, span { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; }
strong { font-weight: bold; color: var(--primary); }
.author { color: var(--brand-creative4); font-style: italic; font-family: 'Montserrat', cursive, sans-serif; font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

/* ============ CREATIVE ARTISTIC EFFECTS ============ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--creative-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.feature {
  background: linear-gradient(135deg, var(--brand-creative1) 80%, var(--brand-creative2) 100%);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 3px 13px rgba(22,48,75,0.09);
  min-width: 220px;
  flex: 1 0 220px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(108,92,231,0.08));
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(108,92,231,0.28);
  transform: translateY(-3px) scale(1.03) rotate(-2deg);
}

/* ======== HERO SECTION ======== */
.hero {
  background: linear-gradient(100deg, var(--brand-creative4) 60%, var(--brand-creative1) 100%);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px 0 rgba(22,48,75,0.12);
  margin-bottom: 60px;
  padding: 70px 20px 60px;
  position: relative;
  overflow: hidden;
}
.hero .container { justify-content: center; align-items: center; min-height: 240px;  }
.hero h1, .hero p { color: #fff; }
.hero .cta-btn { background: var(--brand-creative3); color: #fff; }
.hero .cta-btn:hover { background: var(--brand-creative2); color: #fff; }
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: -80px;
  top: -80px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255,255,255,0.10), rgba(22,48,75,0.08));
  border-radius: 50%;
  z-index: 1;
  animation: heroDecor 16s linear infinite alternate;
}
@keyframes heroDecor {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.29) rotate(180deg); }
}

/* ========== BUTTONS ========== */
.cta-btn,
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.55px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 13px 0 rgba(214,48,49,0.13);
  background: linear-gradient(90deg, var(--brand-creative1) 60%, var(--brand-creative3) 120%);
  color: var(--primary);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(98deg, var(--brand-creative3) 60%, var(--brand-creative4) 120%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(214,48,49,0.23);
}
.cta-btn-secondary {
  background: linear-gradient(90deg, var(--accent) 30%, var(--brand-creative4) 140%);
  color: var(--brand-creative4);
  border: 2px solid var(--brand-creative4);
}
.cta-btn-secondary:hover {
  background: var(--brand-creative4);
  color: #fff;
}

/* =========== HEADER & NAV =========== */
.header-bar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(22,48,75,0.10);
  padding: 20px 28px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 22;
}
.header-bar img {
  height: 44px;
  margin-right: 24px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  padding: 6px 14px;
  font-size: 1rem;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s, background 0.22s;
  border-radius: 16px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-creative4);
  color: #fff;
}

.header-bar .cta-btn {
  margin-left: 32px;
  font-size: 1rem;
  padding: 10px 20px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  background: transparent;
  color: var(--brand-creative4);
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 51;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(217, 217, 217, 0.38);
}

@media (max-width: 1100px) {
  .header-bar { padding: 18px 8px; }
  .main-nav a { font-size: 0.97rem; }
  .header-bar .cta-btn { margin-left: 10px; }
}

/* ======= MOBILE MENU ======= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,40,49,0.92);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.44, 1);
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 48px 0 rgba(22,48,75,0.25);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  margin: 24px 32px 18px 0;
  border-radius: 50%;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(217,217,217,0.36);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100vw;
  align-items: flex-start;
  padding: 0 8vw;
  margin-top: 14vh;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 14px;
  width: 100%;
  transition: background 0.2s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-creative1);
}

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

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* =========== CARDS ============ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--creative-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 0 312px;
  max-width: 340px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(99, 205, 218, 0.17);
  transform: translateY(-5px) scale(1.018) rotate(-1.5deg);
  background: #fffae6;
}

/* Content grids, flex only */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Spacing and alignment for consistent breathing room */
.section > .container,
.section > .content-wrapper {
  margin-top: 0;
}
.section, .card, .feature, .testimonial-card {
  margin-bottom: 20px;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 36px 28px 24px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 3px 12px 0 rgba(22,48,75,0.08);
  margin-bottom: 24px;
  border-left: 8px solid var(--brand-creative4);
  max-width: 560px;
  position: relative;
  transition: box-shadow 0.22s, border-color 0.20s;
}
.testimonial-card p {
  color: #232a34;
  font-size: 1.15rem;
  font-family: 'Montserrat', cursive, sans-serif;
  margin-bottom: 6px;
}
.testimonial-card .author {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1rem;
  color: var(--brand-creative4);
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px 0 rgba(108,92,231,0.16);
  border-left: 8px solid var(--brand-creative1);
}

/* ========== CONTACT INFO / ICONS ========== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 14px 0;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.contact-info img {
  width: 28px;
  height: 28px;
  opacity: 0.65;
}
.contact-info a {
  color: var(--brand-creative4);
  font-weight: bold;
  transition: color 0.18s;
}
.contact-info a:hover { color: var(--brand-creative3); }

/* ========== FAQ SECTION ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(22,48,75,0.07);
  padding: 20px 24px;
  border-left: 6px solid var(--brand-creative2);
  transition: box-shadow 0.19s, border-color 0.19s;
  position: relative;
}
.faq-list div:hover {
  box-shadow: 0 8px 32px rgba(99, 205, 218, 0.13);
  border-left: 6px solid var(--brand-creative4);
}

/* ========== FOOTER ========== */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 0 0 35px;
  padding-bottom: env(safe-area-inset-bottom,35px);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 38px;
}\n.footer-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 16px 10px;
  gap: 22px;
  position: relative;
}
.footer-wrapper a img {
  height: 42px;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: var(--brand-creative1);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.4px;
  font-size: 1.04rem;
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--brand-creative3); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #f4f4f4;
}
.footer-note {
  margin-top: 32px;
  color: #d9dae4;
  font-size: 0.98rem;
  letter-spacing: 0.25px;
}

@media (max-width: 900px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 34px 10px 4px;
  }
}

/* ========== FEATURE ITEM LAYOUT ========== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ========== TEXT SECTION ========== */
.text-section {
  margin-bottom: 18px;
}

/* ========== UTILITY CLASSES ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px!important; }
.gap-20 { gap: 20px !important; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1125px) {
  .container { padding: 0 12px; }
}
@media (max-width: 900px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .section { padding: 28px 9px; margin-bottom: 42px; }
  .footer-wrapper { flex-direction: column; gap: 9px; }
}
@media (max-width: 768px) {
  .hero { padding: 42px 8px 32px; }
  .features-grid,.card-container,.content-grid { gap: 16px; }
  .section { padding: 22px 2px 28px 8px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.14rem; }
  .card, .feature, .testimonial-card { padding: 21px 10px; }
  .footer-wrapper { padding: 16px 6px 6px; }
}

/* ========== MICRO-INTERACTIONS & ANIMATIONS ========== */
.cta-btn, .cta-btn-secondary, .main-nav a, .footer-nav a, .feature, .card, .testimonial-card {
  transition: box-shadow 0.23s, color 0.17s, background 0.22s, transform 0.18s;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: var(--primary);
  border-top: 4px solid var(--brand-creative4);
  box-shadow: 0 -8px 26px 0 rgba(22,48,75,0.18);
  z-index: 2223;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 36px 24px 22px;
  gap: 30px;
  font-size: 1.03rem;
  animation: cookieInUp 0.85s cubic-bezier(0.69,0.05,0.32,1.13);
}
@keyframes cookieInUp {
  from { transform: translateY(200px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 26px;
  border-radius: 19px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 8px;
  background: var(--brand-creative3);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s;
}
.cookie-btn.settings {
  background: var(--brand-creative4);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--brand-creative2);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-creative1);
  color: var(--primary);
  transform: translateY(-2px) scale(1.029);
}
@media (max-width: 690px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 6vw 12px 2vw;
    font-size: 0.98rem;
  }
  .cookie-banner .actions { flex-direction: column; align-items: flex-end; gap: 7px; }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 22222;
  top: 0; left: 0; height: 100%; width: 100vw;
  background: rgba(34,40,49,0.34);
  animation: cookieModalFadeIn 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fffdfa;
  color: var(--primary);
  border-radius: 21px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 38px 0 rgba(108,92,231,0.12);
  padding: 32px 24px 22px 32px;
  margin: 10vw auto;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.21s;
  animation: cookieInUp 0.6s cubic-bezier(0.69,0.05,0.32,1.13);
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-creative4);
  font-size: 1.24rem;
  margin-bottom: 11px;
}
.cookie-category {
  padding: 11px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-category .toggle {
  width: 38px;
  height: 20px;
  background: #e4e4e1;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-category .toggle.active {
  background: var(--brand-creative2);
}
.cookie-category .toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 6px 0 rgba(108,92,231,0.09);
  transition: left 0.21s, background 0.12s;
}
.cookie-category .toggle.active .toggle-slider {
  left: 21px;
}
.cookie-modal .modal-footer {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  font-size: 1.6rem;
  color: var(--brand-creative4);
  border-radius: 50%;
  width: 32px; height: 32px;
  align-items: center;
  justify-content: center;
  display: flex;
}
.cookie-modal .close-modal:hover { background: #ece8e2; color: var(--brand-creative3); }
@media (max-width: 600px) {
  .cookie-modal { min-width: 96vw; padding: 19px 8px 8px 13px; }
}

/* ============== PRINT (avoid white on light bg on print) ============ */
@media print {
  *, *:before, *:after {
    color: #000 !important;
    background: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a, a:visited { color: #000 !important; text-decoration: underline; }
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
}

