/* ========================
   RESET & BASE STYLES
   ======================== */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #23283a;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F4F6F8;
  letter-spacing: 0.01em;
  font-size: 16px;
  background-color: #23283a;
}
article, aside, footer, header, nav, section, main {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #79ffe1;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #E7C46A;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #F4F6F8;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; letter-spacing: 0.04em; }
h2 { font-size: 1.65rem; margin-bottom: 18px; letter-spacing: 0.03em; }
h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: 0.02em; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul li, ol li, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #F4F6F8;
  line-height: 1.65;
}
.section h2, .content-wrapper h2 {
  background: linear-gradient(90deg, #79ffe1 0%, #E7C46A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
strong { color: #E7C46A; }

/* ===========================
   STRUCTURE & CONTAINERS
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(47, 82, 97, 0.83);
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(71, 235, 235, 0.07), 0 1.5px 12px 0 rgba(231,196,106,0.08);
  position: relative;
}

/* =============================
   HEADER, NAV & MOBILE MENU
   ============================= */
header {
  width: 100%;
  background: #192030;
  box-shadow: 0 2px 16px 0 rgba(50, 90, 110, 0.11);
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #F4F6F8;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: rgba(121,255,225,0.15);
  color: #E7C46A;
}
header .cta-btn {
  background: #2F5261;
  color: #E7C46A;
  border-radius: 20px;
  font-weight: 700;
  padding: 7px 28px;
  box-shadow: 0 2px 20px 0 rgba(231,196,106,0.16);
  border: 2px solid #E7C46A;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 8px;
}
header .cta-btn:hover, header .cta-btn:focus {
  background: #E7C46A;
  color: #2F5261;
  box-shadow: 0 2px 18px #E7C46A99;
}

.mobile-menu-toggle {
  display: none;
  background: #2F5261;
  color: #E7C46A;
  font-size: 2rem;
  border-radius: 12px;
  padding: 6px 16px;
  border: none;
  margin-left: 16px;
  z-index: 120;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E7C46A;
  color: #2F5261;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #23283a;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 82vw;
  max-width: 360px;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.6,.08,.29,1);
  box-shadow: -2px 0 24px 0 #0009;
  padding: 24px 28px 28px 24px;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #E7C46A;
  font-size: 2rem;
  border: none;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2F5261;
  color: #E7C46A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.09rem;
  color: #F4F6F8;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(231,196,106,0.11);
  color: #E7C46A;
}
@media (max-width: 1050px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 490px) {
  .mobile-menu {
    width: 100vw;
    padding: 18px 8px 20px 14px;
  }
}

/* =========================
   SECTIONS & CARDS LAYOUTS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #202433;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(121,255,225,0.08), 0 1.5px 8px 0 rgba(47,82,97,0.13);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f4f6f8;
  color: #23283A;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(231,196,106,0.13);
  padding: 20px;
  margin-bottom: 24px;
}
.testimonial-card p { color: #212836; }
.testimonial-card strong { color: #2F5261; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.featured-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.category-tag, .category-tags a {
  display: inline-block;
  background: #2F5261;
  color: #E7C46A;
  border-radius: 12px;
  font-size: 0.92rem;
  padding: 5px 16px;
  margin: 0 4px 6px 0;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.18s;
  border: 1.5px solid #E7C46A66;
}
.category-tags a:hover, .category-tags a:focus {
  background: #E7C46A;
  color: #2F5261;
}

/* UL/LIST FEATURES (feature, guides, etc.) */
ul {
  margin-bottom: 24px;
}
ul li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
  font-size: 1rem;
}
ul li img {
  width: 27px;
  height: 27px;
  filter: drop-shadow(0 0 4px #79ffe1cc);
  margin-right: 6px;
}

/* ============================
   BUTTONS, FORMS & CTAs
   ============================ */
.cta-btn {
  display: inline-block;
  color: #F4F6F8;
  background: #79ffe1;
  background: linear-gradient(90deg,#79ffe1 0%,#2F5261 100%);
  border-radius: 24px;
  padding: 12px 36px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.10rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: 12px;
  box-shadow: 0 2px 16px 0 #79ffe133;
  border: none;
  transition: background 0.2s, color 0.15s, box-shadow 0.18s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#E7C46A 0%,#2F5261 100%);
  color: #23283A;
  box-shadow: 0 4px 28px 0 #E7C46A55;
  transform: translateY(-2px) scale(1.05);
}
button,
input[type="submit"],
.newsletter-signup button {
  background: #2F5261;
  color: #E7C46A;
  border-radius: 14px;
  padding: 8px 24px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  margin-top: 8px;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 12px 0 #2F526144;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.newsletter-signup button:hover { 
  background: #E7C46A;
  color: #2F5261;
}
.newsletter-signup label {
  margin-bottom: 7px;
  font-weight: 600;
}
.newsletter-signup {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  margin-top: 20px;
  background: #202433;
  border-radius: 16px;
  padding: 10px 18px;
  box-shadow: 0 2px 10px #2F526124;
}
.newsletter-signup input[type="email"] {
  border-radius: 9px;
  padding: 7px 18px;
  border: 1px solid #E7C46A99;
  background: #191c27;
  color: #F4F6F8;
  min-width: 180px;
  font-size: 1rem;
  transition: border 0.15s;
}
.newsletter-signup input[type="email"]:focus {
  border: 1.7px solid #79ffe1;
  background: #23283a;
  outline: none;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #23283a;
  padding-top: 50px;
  padding-bottom: 32px;
  box-shadow: 0 -2px 12px 0 #79ffe11a;
}
footer .container {
  align-items: flex-start;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
  padding: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 10px;
  margin-bottom: 10px;
}
footer nav a {
  color: #E7C46A;
  font-size: 1rem;
  padding: 4px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #79ffe133;
  color: #2F5261;
}
footer .text-section p {
  font-size: 0.97rem;
  color: #E7C46A;
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .text-section img {
  width: 19px;
  height: 19px;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}
.social-links a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 4px #2F5261aa;
  transition: box-shadow 0.13s;
}
.social-links a:hover img {
  box-shadow: 0 2px 14px #79ffe1b0, 0 1.5px 8px #E7C46A90;
}

/* ================================
   RESPONSIVE BREAKPOINTS
   ================================ */
@media (max-width: 900px) {
  .content-wrapper, .section, .card {
    padding: 28px 10px !important;
  }
  .feature-item, .text-section {
    gap: 9px;
  }
  .featured-posts-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    gap: 12px;
  }
}
@media (max-width: 730px) {
  .container {
    padding: 0 9px;
  }
  .footer .content-wrapper,
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .newsletter-signup {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.10rem;
    margin-bottom: 10px;
  }
  .card, .section, .testimonial-card, .container {
    padding: 18px 5px !important;
    border-radius: 13px !important;
  }
  .card-content, .content-wrapper {
    gap: 5px;
  }
  .social-links {
    gap: 9px;
  }
  .newsletter-signup input[type="email"] {
    min-width: 110px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .container {
    flex-direction: column !important;
    gap: 0;
  }
  .featured-posts-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}

/* ====================================
   COOKIES CONSENT BANNER & MODAL
   ==================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23283ad9;
  color: #f4f6f8;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10vw 18px 10vw;
  box-shadow: 0 -2px 24px 0 #2F5261aa;
  z-index: 1200;
  gap: 15px;
  flex-wrap: wrap;
  animation: slideInBanner 0.6s cubic-bezier(.72,.08,.32,1);
  transition: transform 0.3s, opacity 0.2s;
}
@keyframes slideInBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  max-width: 550px;
  flex: 1 1 200px;
}
.cookie-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-actions button {
  min-width: 120px;
  background: #79ffe1;
  color: #2F5261;
  border-radius: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border: 2px solid #E7C46A33;
  margin: 0 2px;
  margin-top: 0;
  transition: background 0.13s, color 0.13s;
}
.cookie-actions .accept {
  background: #E7C46A;
  color: #2F5261;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: #2F5261;
  color: #E7C46A;
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #202433;
  color: #F4F6F8;
  z-index: 1220;
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  border-radius: 18px;
  box-shadow: 0 8px 40px #79ffe144;
  padding: 32px 26px 26px 26px;
  animation: cookieModalIn 0.32s cubic-bezier(.72,.08,.32,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookieModalIn {
  0% { transform: translate(-50%,-30%) scale(0.9); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cookie-modal h3 {
  color: #E7C46A;
  font-size: 1.13rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  margin-bottom: 8px;
}
.cookie-modal button.close {
  font-size: 1.32rem;
  background: transparent;
  border: none;
  color: #E7C46A;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.cookie-modal button.close:hover, .cookie-modal button.close:focus {
  background: #2F5261;
  color: #E7C46A;
}
.cookie-modal .cookie-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 10px 0 3px 0;
  border-bottom: 1px solid #2F526166;
}
.cookie-category label {
  font-weight: 600;
  color: #E7C46A;
}
.cookie-category input[type=checkbox] {
  accent-color: #79ffe1;
  width: 19px; height: 19px;
}
.cookie-modal .always-enabled {
  opacity: 0.66;
}
.cookie-modal .modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-footer button {
  background: #2F5261;
  color: #E7C46A;
  border-radius: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border: 1.5px solid #E7C46A44;
  transition: background 0.13s;
}
.cookie-modal .modal-footer button.accept {
  background: #E7C46A;
  color: #2F5261;
}
.cookie-modal .modal-footer button:hover, .cookie-modal .modal-footer button:focus {
  background: #E7C46A;
  color: #23283A;
}

/* Overlay for cookie modal */
.cookie-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #23283abb;
  z-index: 1210;
}
@media (max-width: 540px) {
  .cookie-modal {
    width: 95vw;
    min-width: 0;
    padding: 15px 3vw 15px 3vw;
  }
}

/* ============================
   MICRO-INTERACTIONS & EFFECTS
   ============================ */
.card, .section, .testimonial-card, .newsletter-signup, .category-tag, .cta-btn {
  transition: box-shadow 0.2s, transform 0.13s, background 0.15s, color 0.16s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 32px 0 #79ffe12a, 0 2.5px 16px #E7C46A66;
  transform: translateY(-3px) scale(1.012);
}
.section:hover {
  box-shadow: 0 6px 36px 0 #79ffe11c, 0 2.5px 16px #E7C46A26;
}

/* ===========================
   VISUAL ACCENTS
   =========================== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -12px; left: 12px;
  width: 48px; height: 5px;
  background: linear-gradient(90deg, #79ffe1, #E7C46A);
  border-radius: 3px;
  filter: blur(0.2px);
  z-index: 1;
}
.section:last-child:before {
  display: none;
}

/* ===========================
   Z-INDEX MANAGEMENT
   =========================== */
header, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-overlay {
  z-index: 1200;
}

/* ===========================
   HELPER CLASSES FOR SPACINGS
   =========================== */
.mt-3  { margin-top: 24px; }
.mt-2  { margin-top: 16px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ===========================
   PRINT FRIENDLY
   =========================== */
@media print {
  body, .container, .section, .card, .testimonial-card {
    background: #fff !important;
    color: #23283A !important;
    box-shadow: none !important;
  }
  a, a:visited { color: #2F5261 !important; }
}