/* === PALE EXPLORER — TECH FUTURISTIC CSS === */

/* ========================
   RESET & BASICS
======================== */

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: #152632;
  color: #F5F8FA;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a { color: #27A1A7; text-decoration: none; transition: color 0.20s; }
a:hover, a:focus { color: #33f6fc; }

img { max-width: 100%; display: block; height: auto; }

ul, ol { margin-left: 1.2em; }

/* ========================
   PALE EXPLORER BRAND FONTS
======================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
.section h2, .content-wrapper > h2 { margin-top: 0; }

p, li, ul { font-family: 'Open Sans', Arial, sans-serif; font-size: 1.09rem; }
p { margin-bottom: 14px; }
strong { font-weight: 600; color: #27A1A7; }

/* =========================
   COLORS (DARK/FUTURISTIC)
========================= */
:root {
  --color-primary: #213752;
  --color-secondary: #27A1A7;
  --color-accent: #F5F8FA;
  --color-header-bg: #171F2B;
  --color-footer-bg: #1B2633;
  --color-card-bg: #223653FA;
  --color-card-blur: rgba(34, 54, 83, 0.93);
  --color-btn-gradient-from: #27A1A7;
  --color-btn-gradient-to: #33f6fc;
  --color-btn-text: #101820;
  --color-btn-gradient-hover: #45e4fc;
  --color-neon: #27A1A7;
  --color-error: #ce3749;
  --color-shadow: rgba(39, 161, 167, 0.18);
}

/* ===================
   CONTAINER SYSTEM
=================== */
.container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
  max-width: 1150px;
  box-sizing: border-box;
}

.content-wrapper {
  padding: 40px 20px;
  background: none;
}

/* ===================
   HEADER
=================== */
header {
  background: var(--color-header-bg);
  box-shadow: 0 2px 16px 2px rgba(33, 55, 82, 0.16);
  border-bottom: 2px solid var(--color-neon);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 65px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 16px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: #101820;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 12px;
}

.cta-button {
  background: linear-gradient(90deg, var(--color-btn-gradient-from) 36%, var(--color-btn-gradient-to) 87%);
  color: var(--color-btn-text);
  font-family: inherit;
  border-radius: 32px;
  font-size: 1.09rem;
  padding: 11px 26px;
  border: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-left: 14px;
  box-shadow: 0 0 0 0 rgba(39, 161, 167, 0.14), 0 3px 18px 0 var(--color-shadow);
  cursor: pointer;
  transition: color 0.20s, box-shadow 0.26s, background 0.22s;
  outline: none;
  position: relative;
  overflow: hidden;
}
.cta-button.primary {
  box-shadow: 0 1px 12px 1px var(--color-shadow);
  border: 2.5px solid #27A1A7;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #33f6fc 7%, #27A1A7 94%);
  color: #101820;
  box-shadow: 0 2px 24px 0 var(--color-shadow);
}

/* MOBILE BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #27A1A7;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 8px;
  z-index: 100;
  transition: background 0.19s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #1B2633;
  color: #33f6fc;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 55, 82, 0.98);
  z-index: 100;
  transform: translateX(-104vw);
  transition: transform 0.36s cubic-bezier(.7,0,.5,1);
  display: flex;
  flex-direction: column;
  padding-top: 44px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #33f6fc;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 20px 26px 12px 0;
  cursor: pointer;
  z-index: 120;
  transition: color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #27A1A7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #33f6fc;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: none;
  text-align: center;
  padding: 12px 22px;
  width: 88vw;
  border-radius: 22px;
  letter-spacing: 0.04em;
  transition: color 0.16s, background 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #192543;
  color: #27A1A7;
}

/* Hide mobile menu by default */
.mobile-menu {
  display: flex;
}

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

@media (max-width: 1023px) {
  .main-nav,
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ===================
   HERO SECTION
=================== */
.hero {
  background: linear-gradient(120deg, #213752 50%, #27A1A7 150%);
  border-bottom: 4px solid #27A1A7;
  color: #F5F8FA;
  box-shadow: 0 12px 48px 0 rgba(39, 161, 167, 0.10);
}
.hero .container { display: flex; align-items: center; justify-content: center; }
.hero .content-wrapper {
  text-align: center;
  padding-top: 54px;
  padding-bottom: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.hero h1 {
  font-size: 2.9rem;
  background: linear-gradient(to right, #f5f8fa 65%, #27A1A7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
          text-fill-color: transparent;
}
.hero p {
  font-size: 1.18rem;
  max-width: 570px;
  margin: 0 auto 20px auto;
}

/* =============================
   SECTION, CARD & FLEX PATTERNS
============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 36px 0 var(--color-shadow), 0 0.5px 4px 0 #2b445e44;
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  position: relative;
  transition: box-shadow 0.2s, border 0.2s, background 0.22s;
  border: 1.6px solid #1e273d;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 52px 0 #21a1a7bc;
  border: 1.6px solid #27A1A7;
  background: #273f65;
}
.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;
}

@media (max-width: 768px) {
  .content-grid, .text-image-section { flex-direction: column; gap: 24px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 18px;
  border-radius: 13px;
  background: #223653c1;
  margin-bottom: 20px;
}

.features ul, .features ol {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 20px;
}
.features li, .services li {
  background: none;
  color: #f5f8faee;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.09rem;
  line-height: 1.6;
}
.features li img, .services li img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  filter: drop-shadow(0 0 3px #27A1A7);
}

.text-section h2, .text-section h3 {
  color: #27A1A7;
  margin-top: 30px;
  margin-bottom: 8px;
}
.values ul, .about ul {
  margin-top: 16px;
  margin-bottom: 20px;
  gap: 13px;
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 1.04rem;
  font-weight: 700;
  color: #27A1A7;
  margin-top: 11px;
  background: rgba(33, 55, 82, 0.11);
  border-radius: 12px;
  padding: 6px 16px;
  display: inline-block;
  letter-spacing: 0.02em;
}

/* TESTIMONIALS */
.testimonials, .testimonial-card {
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #F5F8FA;
  color: #232c38;
  border-radius: 17px;
  margin-bottom: 24px;
  box-shadow: 0 2.5px 24px 0 #27a1a77a;
  border-left: 4px solid #27A1A7;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #233652;
  margin-bottom: 6px;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #27A1A7;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 36px 0 #27A1A7;
}

/* =================
   BRAND CONTACT INFO
================== */
.brand-contact-info, .footer-contact {
  margin-top: 24px;
}
.brand-contact-info ul, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.brand-contact-info li {
  font-size: 1.06rem;
  color: #E3EEF6;
  margin-bottom: 0.4em;
}

/* ==================
   FOOTER
================== */
footer {
  background: var(--color-footer-bg);
  color: #F5F8FA;
  padding: 38px 0 0 0;
  margin-top: 30px;
  border-top: 2px solid #27A1A7;
  box-shadow: 0 -2px 12px 0 #2236532e;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 90px;
  padding-top: 10px;
  padding-bottom: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #27A1A7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #33f6fc;
}

.footer-contact p {
  font-size: 0.99rem;
  margin-bottom: 0.6em;
}
.footer-contact a {
  color: #27A1A7;
}
footer img {
  width: 40px;
  height: auto;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* ===================
   THANK YOU SECTION
=================== */
.thank-you-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.next-steps-info ul {
  margin-top: 10px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===========================
   COOKIE BANNER & MODAL
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #192543;
  color: #F5F8FA;
  box-shadow: 0 -1.5px 16px 0 #27A1A756;
  z-index: 199;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  animation: cookieSlideUp 0.72s cubic-bezier(.23,1.06,.36,.98) both;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.01rem;
  color: #F5F8FA;
  margin-bottom: 0;
  margin-right: 12px;
}
.cookie-banner .cookie-btn {
  margin: 0 8px;
  font-family: 'Montserrat';
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 21px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(90deg, #27A1A7 51%, #33f6fc 96%);
  color: #171F2B;
  box-shadow: 0 2px 12px 0 #27A1A76b;
  transition: background 0.2s, color 0.19s, box-shadow 0.19s;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #213752;
  color: #27A1A7;
  border: 1.2px solid #27A1A7;
  margin-left: 2px;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #171F2B;
  color: #F5F8FA;
  border: 1.2px solid #27A1A7;
  margin-right: 2px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  box-shadow: 0 4px 18px 0 #27A1A770;
  background: linear-gradient(90deg, #33f6fc 9%, #27A1A7 91%);
  color: #101820;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(27, 38, 51, 0.90);
  z-index: 299;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s, visibility 0.17s;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #192543;
  color: #F5F8FA;
  border-radius: 23px;
  min-width: 310px;
  max-width: 94vw;
  width: 410px;
  padding: 34px 32px 24px 32px;
  box-shadow: 0 6px 48px 0 #27A1A796;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-dialog h2 {
  font-size: 1.19rem;
  color: #27A1A7;
  margin-bottom: 8px;
}
.cookie-modal-dialog .cookie-close {
  position: absolute;
  top: 13px;
  right: 22px;
  background: none;
  border: none;
  color: #33f6fc;
  font-size: 1.35rem;
  cursor: pointer;
  border-radius: 10px;
  padding: 5px 9px;
  transition: background 0.13s;
}
.cookie-modal-dialog .cookie-close:hover, .cookie-modal-dialog .cookie-close:focus {
  background: #223653;
  color: #27A1A7;
}
.cookie-modal-dialog ul {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 9px;
  display: flex;
  flex-direction: column;
}
.cookie-modal-dialog li {
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  background: #223653;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch[data-active="true"] {
  background: #27A1A7;
}
.cookie-switch::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s, background 0.13s;
}
.cookie-switch[data-active="true"]::before {
  left: 22px;
  background: #101820;
}
.cookie-switch[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal-dialog .cookie-btn {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 6px;
  padding: 11px 0;
}
@media (max-width: 600px) {
  .cookie-modal-dialog {
    width: 95vw;
    padding: 21px 13px 15px 13px;
    min-width: 0; max-width: 98vw;
  }
}

/* =====MENU/COOKIE BANNER OVERRIDE Z-INDEX===== */
.mobile-menu { z-index: 150; }

/* ========================================
   SMOOTH PRIMARY TRANSITIONS, DECOR EFFECTS
======================================== */
.card, .cta-button, .cookie-btn, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.18s, border 0.17s, background 0.18s, color 0.19s, outline 0.13s;
}

hr {
  border: none;
  border-top: 1.5px solid #223653;
  margin: 36px 0;
}

/* ================
   MEDIA QUERIES
================ */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
  header img, footer img { max-width: 36px; }
}
@media (max-width: 800px) {
  .content-wrapper, .section, .hero {
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 2.03rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 600px) {
  .container { max-width: 99vw; padding-left: 7px; padding-right: 7px; }
  .content-wrapper, .section { padding-left: 4px; padding-right: 4px; }
  .testimonial-card, .feature-item, .card {
    padding-left: 9px; padding-right: 9px;
  }
  .hero .content-wrapper { padding-top: 39px; padding-bottom: 36px; }
}

/* ===================================
   ACCESSIBILITY/FOCUS VISIBILITY
=================================== */
:focus {
  outline: 2.5px solid #33f6fc;
  outline-offset: 2px;
  z-index: 200;
}

/* ==== VISUAL NEON GLOW ACCENTS === */
.cta-button.primary {
  box-shadow:
    0 0 5px 0 #27A1A7,
    0 0 12px 3px #33f6fc42;
  text-shadow:
    0 0 2px #1b2633, 0 0 10px #33f6fc33;
}
.cta-button:after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 34px;
  border: 2px solid #27A1A7;
  pointer-events: none;
  opacity: 0.10;
  filter: blur(6px);
}

.hero, .section, .content-wrapper {
  box-shadow: 0 0.5px 14px 0 #27A1A717;
}

/* ==== MISC==== */
::-webkit-scrollbar { width: 10px; background: #213752; }
::-webkit-scrollbar-thumb { background: #27A1A7; border-radius: 15px; }

/* ==== UTILITIES ==== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-20 { gap: 20px !important; }
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* ==== SPECIAL: PRONUNCIATION PAGE + LISTS ==== */
.features ol {
  list-style-type: decimal-leading-zero;
  margin-left: 1.4em;
}
.features ol li { margin-bottom: 0.18em; }

/* ==========
   PRINT
=========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container { box-shadow: none !important; background: white !important; }
}
