/* ==== 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #181f2f;
  color: #f6f7fa;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
}
a {
  color: #5d9ecf;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #65eaf0;
}

/* FONT IMPORTS (Fallbacks included) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, .brand-tagline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #f6f7fa;
}
.main, .section, .text-section, .content-wrapper {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #f6f7fa;
}

/* ==== COLORS (BRAND + TECH FUTURISTIC) ==== */
:root {
  --primary: #233C6B;
  --secondary: #5D9ECF;
  --accent: #F6F7FA;
  --background: #181f2f;
  --background-alt: #222e48;
  --neon-blue: #65eaf0;
  --neon-purple: #7c5dfa;
  --neon-pink: #ed53a1;
}

/* ==== LAYOUT & SPACING ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--background-alt);
  border-radius: 24px;
  box-shadow: 0 2px 12px 0 rgba(54,97,224,0.1);
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FLEX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 280px;
  background: var(--background-alt);
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(98,239,242, 0.08);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid rgba(101,234,240,0.07);
}
.card:hover {
  box-shadow: 0 4px 24px 0 var(--neon-blue);
  transform: translateY(-4px) scale(1.02);
  border: 1.5px solid var(--neon-blue);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f6f7fa;
  color: #181f2f;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(101,234,240,0.08);
  border-left: 5px solid var(--neon-blue);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HEADING AND TYPOGRAPHY SCALE ==== */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.brand-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 10px;
}
p, li, span, strong {
  font-size: 1rem;
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 6px 0;
  color: #1a2d4d;
}

/* ==== BUTTONS ==== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  padding: 14px 32px;
  font-size: 1.1rem;
  outline: none;
  cursor: pointer;
  border: none;
  min-width: 120px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  text-align: center;
  box-shadow: 0 2px 10px 0 rgba(101,234,240,0.13);
}
.btn-primary {
  background: var(--neon-blue);
  color: #233C6B;
  box-shadow: 0 0 8px 0 var(--neon-blue);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 25px 1px var(--neon-pink);
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: #222e48;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--neon-blue);
  color: #222e48;
}

/* ==== BADGES ==== */
.badge {
  background: var(--neon-blue);
  color: #233C6B;
  border-radius: 12px;
  padding: 4px 14px;
  font-size: 0.97rem;
  font-weight: 700;
  margin-right: 10px;
  margin-bottom: 8px;
  display: inline-block;
  box-shadow: 0 1px 8px 0 var(--neon-blue);
  letter-spacing: 0.01em;
}

/* ==== HERO SECTION ==== */
.hero {
  margin-bottom: 60px;
  padding-top: 48px;
  padding-bottom: 48px;
  background: linear-gradient(110deg, #233C6B 0%, #222e48 89%);
  border-radius: 0 0 36px 36px;
  position: relative;
  box-shadow: 0 8px 34px 0 rgba(101,234,240,0.08);
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  gap: 18px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 16px var(--neon-blue);
}
.hero p {
  max-width: 600px;
  font-size: 1.25rem !important;
}

/* ==== FEATURE GRID ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 240px;
  background: #212a40;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(124,93,250,0.07);
  padding: 20px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid rgba(101,234,240,0.08);
  transition: box-shadow 0.18s, border 0.18s, transform 0.13s;
  color: #fff;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  border: 1.5px solid var(--neon-blue);
  box-shadow: 0 5px 26px 0 var(--neon-blue);
  z-index: 2;
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  margin-bottom: 10px;
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px var(--neon-blue));
}

/* ==== BLOG LISTINGS ==== */
.blog-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-listings article {
  flex: 1 1 280px;
  min-width: 260px;
  background: #232e47;
  border-radius: 14px;
  padding: 18px 18px 16px 20px;
  color: #f6f7fa;
  box-shadow: 0 2px 10px 0 rgba(101,234,240,0.09);
  border-left: 4px solid var(--neon-blue);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  margin-bottom: 20px;
}
.blog-listings article:hover {
  box-shadow: 0 6px 26px 0 var(--neon-pink);
  border-left: 4px solid var(--neon-pink);
  transform: scale(1.03);
}

.categories {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.featured-post {
  background: #1a233b;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 2px 12px 0 rgba(101,234,240,0.06);
  border: 1.5px solid rgba(124,93,250,0.09);
  margin-bottom: 20px;
}

.badges {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* == TESTIMONIALS == */
.testimonial-card {
  background: #f6f7fa;
  color: #181f2f;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(101,234,240,0.08);
  border-left: 5px solid var(--neon-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.13rem;
  color: #101629;
  margin-right: 10px;
}
.testimonial-card strong {
  color: #233C6B;
}

/* == CARDS == */
.card {
  background: #212a40;
  color: #f6f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(98,239,242, 0.08);
  border: 1.5px solid rgba(101,234,240,0.07);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 var(--neon-blue);
  transform: translateY(-4px) scale(1.02);
  border: 1.5px solid var(--neon-blue);
}

/* == FOOTER == */
footer {
  background: #181f2f;
  padding: 40px 0 20px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 20px 0 rgba(93,158,207,0.07);
}
footer .container {
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #5d9ecf;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover {
  color: var(--neon-blue);
}
footer img[alt="Misty Journeys"] {
  width: 120px;
  margin-bottom: 10px;
}
footer .brand-tagline {
  margin-bottom: 8px;
}
footer div > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
footer div > div img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(90deg, #232e47 0%, #233C6B 100%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-top: 3px solid var(--neon-blue);
  z-index: 1000;
  font-size: 1rem;
  box-shadow: 0 -2px 18px 0 var(--neon-blue);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-banner button,
.cookie-banner .btn-cookie {
  padding: 10px 22px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 8px;
  margin-bottom: 4px;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  outline: none;
}
.cookie-banner .accept {
  background: var(--neon-blue);
  color: #133355;
}
.cookie-banner .accept:hover {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 2px 14px 0 var(--neon-pink);
}
.cookie-banner .reject {
  background: #303b54;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
}
.cookie-banner .reject:hover {
  background: var(--neon-blue);
  color: #181f2f;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 2px solid var(--neon-blue);
}
.cookie-banner .settings:hover {
  background: var(--neon-blue);
  color: #222e48;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,36,60, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.33s, visibility 0.3s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal-content {
  background: linear-gradient(118deg, #222e48 64%, #5D9ECF 120%);
  color: #fff;
  border-radius: 20px;
  padding: 34px 34px 28px 34px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 6px 40px 0 var(--neon-blue), 0 1.5px 22px 0 var(--neon-pink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 1.05rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: var(--neon-pink);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  font-size: 1.01rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--neon-blue);
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.cookie-modal .cookie-category.disabled label {
  color: #ccc;
  opacity: 0.7;
}
.cookie-modal .save {
  background: var(--neon-blue);
  color: #233C6B;
  font-weight: 700;
  border-radius: 22px;
  padding: 11px 22px;
  border: none;
  margin-top: 5px;
  margin-bottom: -8px;
  min-width: 100px;
  box-shadow: 0 1px 9px 0 var(--neon-blue);
}
.cookie-modal .save:hover {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 1.5px 13px 0 var(--neon-pink);
}

/* ==== NAVIGATION & HEADER ==== */
header {
  width: 100%;
  background: #1a233b;
  border-bottom: 4px solid var(--neon-blue);
  padding-top: 0;
  box-shadow: 0 2px 20px 0 rgba(101,234,240,0.09);
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 18px 0 13px 0;
}
header nav img[alt="Misty Journeys"] {
  width: 116px;
  margin-right: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #f6f7fa;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover,
header nav a:focus {
  background: var(--neon-blue);
  color: #1a233b;
}
header nav .btn-primary {
  margin-left: 10px;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 32px;
  top: 24px;
  background: var(--neon-blue);
  color: #232e47;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  line-height: 1;
  z-index: 105;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 var(--neon-blue);
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 3px 18px 0 var(--neon-pink);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 92vw;
  max-width: 350px;
  background: linear-gradient(128deg, #1a233b 64%, #5D9ECF 140%);
  box-shadow: 0 10px 54px 0 var(--neon-blue);
  z-index: 1006;
  padding-top: 38px;
  padding-bottom: 30px;
  padding-left: 0;
  padding-right: 0;
  transform: translateX(-102%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu .mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
  z-index: 1007;
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  color: var(--neon-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
  margin-left: 44px;
}
.mobile-nav a {
  color: #f6f7fa;
  font-size: 1.14rem;
  font-weight: 600;
  padding: 7px 0 7px 0;
  border-radius: 14px;
  width: 170px;
  display: flex;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover {
  background: var(--neon-blue);
  color: #222e48;
}

/* HIDE ON MOBILE/SHOW MOBILE MENU BUTTON */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 26px;
  }
  .section {
    padding: 34px 8px;
  }
  .feature-grid {
    gap: 22px;
  }
  footer .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 7px;
  }
  .feature-grid,
  .card-container,
  .blog-listings,
  .content-grid {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  footer .content-wrapper {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  .mobile-nav a {
    width: 85vw !important;
    max-width: 98vw;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .section {
    margin-bottom: 20px;
    padding: 10px 2px;
    border-radius: 12px;
  }
  .hero {
    border-radius: 0 0 18px 18px;
    padding-top: 24px;
    padding-bottom: 18px;
  }
  .testimonial-card {
    border-radius: 8px;
    padding: 8px;
  }
  .cookie-modal-content {
    padding: 19px 6px 18px 9px;
    min-width: 95vw;
  }
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
  }
  .mobile-nav {
    margin-left: 18px;
  }
}

/* ========== MICRO-INTERACTIONS & ANIMATIONS ========== */
.btn-primary, .btn-secondary, .badge, .card, .feature-grid > div, .testimonial-card, .blog-listings article, .mobile-menu, .cookie-banner, .cookie-modal-content {
  will-change: transform, box-shadow, color, background;
}
.card, .feature-grid > div, .testimonial-card, .blog-listings article {
  transition: box-shadow 0.18s, transform 0.15s, border-color 0.16s;
}

/* ========== UTILITIES ========== */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* =========== END ============ */