/*---- 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background-color: #181E1B; color: #F4F6F9; }
img { max-width: 100%; display: block; height: auto; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { font: inherit; background: none; border: none; cursor: pointer; transition: all 0.2s; }
input, textarea, select { font: inherit; }

/*---- BRAND FONTS & UTILS ----*/
:root {
  --primary: #2C3D3A;
  --secondary: #F6C55B;
  --accent: #FFFFFF;
  --surface: #212927;
  --surface-2: #232d29;
  --neon-green: #83FFD1;
  --neon-yellow: #FFE066;
  --neon-blue: #3FB7FF;
  --shadow: 0 6px 32px 0 rgba(50,255,153,0.08), 0 1.5px 4px rgba(66,226,255,0.18);
  --radius: 18px;
  --transition: 0.18s cubic-bezier(.51,.3,.31,.82);
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #181E1B;
  color: var(--accent);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.6rem; color: var(--neon-yellow); margin-bottom: 16px; text-shadow: 0 0 16px #ffe06633; }
h2 { font-size: 1.8rem; color: var(--neon-blue); margin-bottom: 16px; text-shadow: 0 0 8px #3fb7ffc0; }
h3 { font-size: 1.22rem; color: var(--neon-green); margin-bottom: 10px; text-shadow: 0 0 8px #23f7d880; }
p, li { color: #f5f7fa; font-size: 1rem; letter-spacing: 0.01em; }
strong { color: var(--secondary); font-weight: 700; }

/* Typography Scale (mobile) */
@media (max-width: 575px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.05rem; }
  p, li { font-size: 0.97rem; }
}

/*---- CONTAINER ----*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/*---- HEADER ----*/
header {
  position: relative;
  background: #181E1B;
  box-shadow: 0 1.5px 8px #21292799;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 20px 18px 20px;
}
header img {
  height: 48px; width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  padding: 7px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--surface);
  color: var(--secondary);
  box-shadow: 0 1px 10px var(--neon-yellow), 0 0 0 2px var(--secondary);
}
header .btn-primary {
  margin-left: 18px;
}

/*---- HERO SECTION ----*/
.hero {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: linear-gradient(90deg, #232d29 0%, #2C3D3A 100%);
  box-shadow: 0 3.5px 16px #21292796;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: '';
  position: absolute;
  top: -50px; left: -80px;
  width: 220px; height: 180px;
  border-radius: 60% 40% 50% 90%;
  background: #3fb7ff12;
  box-shadow: 0 0 60px 32px #ffe06620;
  z-index: 0;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero .content-wrapper { gap: 16px; }
.hero p { color: #d6fdff; font-size: 1.14rem; }

/*---- CORE LAYOUT & SECTIONS ----*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: #232d29;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
section:last-child { margin-bottom: 0; }

/*---- LISTS ----*/
ul, ol {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
ul img, ol img {
  margin-right: 11px;
  vertical-align: middle;
  height: 22px;
}
li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #22292099;
  padding: 12px 17px;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 2.5px 8px #21292735;
}

/*---- BUTTONS ----*/
.btn-primary {
  background: linear-gradient(90deg, var(--secondary) 30%, var(--neon-blue) 77%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 30px;
  padding: 13px 34px;
  box-shadow: 0 0 10px var(--neon-yellow), 0 2px 10px var(--neon-blue)44;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.12s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--neon-blue) 25%, var(--neon-yellow) 88%);
  color: #222;
  box-shadow: 0 0 24px var(--neon-blue), 0 3.5px 16px var(--neon-yellow)33;
  transform: translateY(-2px) scale(1.025);
}

/*---- FLEX CONTAINERS as required ----*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #222d29;
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  box-shadow: 0 3.5px 14px #28393680;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 0 32px var(--neon-green), 0 1.5px 13px var(--neon-blue)80;
  transform: translateY(-4px) scale(1.01);
}
.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;
  flex-direction: row;
  margin-bottom: 40px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 26px 20px 26px;
  background: #f8f9f9;
  border-radius: var(--radius);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 430px;
  color: #181e1b;
  box-shadow: 0 0 18px #f6c55b33, 0 2px 10px #3fb7ff29;
  border: 2.5px solid #ffe06699;
  position: relative;
}
.testimonial-card strong {
  color: #2C3D3A;
  font-weight: bold;
}
.testimonial-card span {
  font-size: 1.19rem;
  letter-spacing: 0.09em;
  color: #F4B401;
  filter: drop-shadow(0 0 1px #ffe06699);
}
.testimonial-card p {
  color: #222d29;
  font-size: 1.11rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*------ TIPS GRID (GUIDES) ------*/
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 18px 0 8px 0;
}
.tips-grid ul { gap: 9px; }
.tips-grid li {
  background: #222f2c;
  color: #f5f7fa;
  border: 1.5px solid #3fb7ff55;
}

/*------ FOOTER ------*/
footer {
  background-color: #1c2321;
  border-top: 1.5px solid #2C3D3A;
  box-shadow: 0 -1.5px 10px #222e2908;
  padding: 30px 0 18px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 14px;
}
.footer-nav a {
  color: #a7dbed;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  text-shadow: 0 0 5px var(--secondary);
}
.footer-contact {
  color: #c3eae5;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact strong {
  color: var(--neon-yellow);
}

/*------------ MOBILE MENU ------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--secondary);
  font-size: 2rem;
  border-radius: 50%;
  padding: 8px 12px;
  border: 2px solid var(--secondary);
  position: fixed;
  top: 24px; right: 22px;
  z-index: 105;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #141A17f2;
  box-shadow: -3px 0 30px #3FB7FF55;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  color: var(--secondary);
  background: none;
  font-size: 2.3rem;
  border: none;
  border-radius: 50%;
  position: absolute;
  top: 26px; right: 26px;
  z-index: 1011;
  transition: background var(--transition), color var(--transition);
  padding: 4px 10px;
}
.mobile-menu-close:hover {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
  margin-top: 80px;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--neon-yellow);
  padding: 10px 12px 10px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-bottom var(--transition);
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--neon-blue);
  border-bottom: 2px solid var(--neon-blue);
}

@media (max-width: 1040px) {
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav { gap: 8px; }
  header img { height: 36px; }
  .footer-nav { gap: 12px; }
  footer .container { gap: 12px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 14px;
  }
  section, .section {
    padding: 28px 8px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
  .hero {
    padding: 23px 0;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav { margin-left: 0; gap: 10px; }
}
@media (max-width: 575px) {
  .card { min-width: 150px; padding: 14px 10px; }
  .testimonial-card { padding: 12px 9px; font-size: 0.99rem; max-width: 100%; }
  .card-container, .content-grid {
    gap: 13px;
  }
  .footer-contact { font-size: 0.86rem; }
}

/* Text-Image Section Direction Change */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/*------ COOKIE CONSENT BANNER ------*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #222d29;
  color: #fff;
  padding: 16px 28px 16px 24px;
  box-shadow: 0 -3px 16px #3fb7ff29;
  border-top: 2px solid var(--secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  min-height: 64px;
  opacity: 1;
  animation: cookieIn 0.52s cubic-bezier(.7,.04,.27,1.07);
}
@keyframes cookieIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  flex: 1 1 75%;
  color: #fff;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btns .btn-primary,
.cookie-btns .cookie-btn {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.cookie-btns .btn-primary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 0 10px var(--secondary), 0 2px 8px var(--neon-blue)22;
}
.cookie-btns .btn-primary:hover {
  background: var(--neon-blue);
  color: var(--accent);
}
.cookie-btns .cookie-btn {
  background: #181e1b;
  color: var(--accent);
  border: 1.5px solid var(--secondary);
}
.cookie-btns .cookie-btn:hover,
.cookie-btns .cookie-btn:focus {
  background: var(--neon-yellow);
  color: var(--primary);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 8px 70px 8px;
  }
  .cookie-btns {
    gap: 10px;
    margin-top: 9px;
    flex-wrap: wrap;
  }
}

/*----- COOKIE PREFS MODAL -----*/
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #212927;
  color: #fff;
  padding: 34px 28px 28px 28px;
  border-radius: var(--radius);
  box-shadow: 0 8.5px 48px #3fb7ff57, 0 1px 10px var(--secondary)30;
  z-index: 4100;
  min-width: 320px; min-height: 96px;
  max-width: 96vw;
  max-height: 98vh;
  display: flex; flex-direction: column; gap: 18px;
  transition: opacity 0.28s, transform 0.38s cubic-bezier(.65,.05,.36,1);
  opacity: 1;
  animation: cookieModalIn 0.44s cubic-bezier(.28,.4,.64,1.01);
}
@keyframes cookieModalIn {
  from { transform: translate(-50%, 20%) scale(0.9); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--neon-blue);
  font-size: 1.25rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #232d29;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 1.5px 6px #28393625;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-toggle {
  width: 44px;
  height: 22px;
  background: #1d2320;
  border-radius: 11px;
  border: 1.5px solid #6fbaee88;
  position: relative;
  transition: background var(--transition), border var(--transition);
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0; display: none;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--neon-yellow);
  border-radius: 50%;
  transition: left var(--transition), background var(--transition);
}
.cookie-toggle input:checked + .toggle-slider {
  left: 23px;
  background: var(--neon-blue);
}
.cookie-actions {
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-actions .btn-primary, .cookie-actions .cookie-btn {
  min-width: 120px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px; right: 10px;
  font-size: 1.6rem;
  color: var(--secondary);
  background: none;
  border: none;
  border-radius: 50%;
  padding: 2px 9px;
}
.cookie-modal .close-modal:hover {
  background: var(--neon-blue);
  color: var(--accent);
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 8px 17px 8px;
    min-width: 80vw;
    font-size: 0.97rem;
  }
}

/*---- VISUAL HIERARCHY, MICROINTERACTIONS ----*/
.card, .btn-primary, .testimonial-card, .cookie-modal, .cookie-consent-banner, .mobile-menu {
  transition: box-shadow 0.26s, background 0.18s, color 0.18s, border 0.16s, transform 0.14s, opacity 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 3.5px 28px var(--neon-yellow)55;
  transform: scale(1.017);
}

/*---- MISC ----*/
::-webkit-scrollbar {
  width: 7px;
  background: #222d29;
}
::-webkit-scrollbar-thumb {
  background: #2C3D3A;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/*---- END ----*/
