/* === 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #161925;
  color: #EEF2F7;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* === BRAND & ROOT VARIABLES === */
:root {
  --primary: #205079;
  --secondary: #EEF2F7;
  --accent: #F4B73C;
  --background: #161925;
  --card-bg: #232741;
  --card-gradient: linear-gradient(135deg, #232741 85%, #223b52 100%);
  --surface-light: #2e3254;
  --surface-dark: #181e30;
  --white: #fff;
  --text-main: #EEF2F7;
  --text-dark: #232741;
  --text-light: #B1BED9;
  --shadow: 0 4px 24px 0 rgba(30,60,110,0.11), 0 1.5px 4px 0 rgba(33,65,124,0.16);
  --border-radius: 16px;
  --transition: 0.23s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --neon-blue: #47e6ff;
  --neon-accent: #F4B73C;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-main);
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  color: var(--neon-blue);
  text-shadow: 0 0 15px #47e6ff88;
}
h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--neon-blue);
}
h4 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-light);
}
p.subheadline {
  font-size: 1.13rem;
  color: var(--accent);
  margin-bottom: 24px;
}
strong { color: var(--white); }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--border-radius);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper.call-to-action {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  align-items: center;
  text-align: center;
  gap: 22px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Cards & Flex Patterns */
.features-grid,
.services-list,
.team-list,
.testimonial-slider,
.faq-list,
.accordion-list,
.resources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--secondary);
  box-shadow: 0 6px 30px -4px #1997e418;
  color: var(--text-dark);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  min-width: 270px;
  flex: 1 1 240px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 12px 48px -8px #47e6ff44;
  transform: translateY(-4px) scale(1.025);
}
.testimonial-name {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER === */
header {
  width: 100%;
  background: var(--card-bg);
  box-shadow: 0 4px 32px -8px #1f2d3e40;
  position: sticky;
  top: 0; left: 0;
  z-index: 70;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}
header img {
  max-height: 40px;
  margin-right: 28px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-right: 32px;
}
.main-nav a {
  padding: 6px 8px;
  color: var(--neon-blue);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 6px;
  position: relative;
  transition: background 0.19s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  background: #223b5277;
}
.cta-button {
  display: inline-block;
  border-radius: 24px;
  padding: 12px 34px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 22px 0 #20507935;
  transition: all 0.17s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.cta-button.primary {
  background: var(--neon-blue);
  color: #0A1A2F;
  border: 1.5px solid var(--neon-blue);
  box-shadow: 0 0 8px #47e6ff50;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
  box-shadow: 0 0 16px #f4b73c80, 0 0 8px #47e6ff44;
}
.cta-button.secondary {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 8px #47e6ff40;
  transition: background 0.17s, color 0.16s, box-shadow 0.17s;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: var(--neon-blue);
  color: var(--surface-dark);
  box-shadow: 0 0 18px #47e6ff90;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--neon-blue);
  font-size: 2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  margin-right: 8px;
  z-index: 99;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(22,25,37,0.97);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.45,0,.22,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 26px;
  margin-bottom: 24px;
  transition: color 0.15s;
  z-index: 130;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--neon-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-left: 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--neon-blue);
  padding: 8px 8px 8px 0;
  font-weight: 500;
  border-radius: 9px;
  transition: background 0.18s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #223b525c;
  color: var(--accent);
}

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 992px) {
  .main-nav,
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === SECTION & SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  width: 100%;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 12px;
}

/* Cards & Features */
.feature-card, .service-card, .team-member-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition), border 0.18s;
  border: 2px solid transparent;
}
.feature-card:hover, .service-card:hover, .team-member-card:hover {
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 32px #47e7ffa0;
  transform: translateY(-6px) scale(1.025);
}
.feature-card img, .service-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px var(--neon-blue));
}
.price, .service-card .price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 10px;
}

/* === FAQ & ACCORDION === */
.faq-item, details {
  background: var(--surface-light);
  border-radius: var(--border-radius);
  padding: 22px 18px;
  margin-bottom: 20px;
  color: var(--text-main);
  box-shadow: 0 2px 18px 0 #119cde12;
  transition: box-shadow 0.16s, border 0.15s;
  border: 1.5px solid #19305066;
}
.faq-item h3, details summary {
  font-family: var(--font-display);
  cursor: pointer;
  color: var(--accent);
  font-size: 1.10rem;
  margin-bottom: 8px;
  transition: color 0.18s;
}
details[open] {
  box-shadow: 0 12px 38px -6px #47e6ff45;
  border: 1.5px solid var(--neon-blue);
}
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  position: relative;
  padding-left: 16px;
}
details summary::before {
  content: '\25BA';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
  transform: translateY(1px) rotate(0deg);
  transition: transform 0.21s;
}
details[open] summary::before {
  transform: translateY(1px) rotate(90deg);
}

/* === CALL-TO-ACTION SECTIONS === */
.call-to-action {
  background: var(--surface-light);
  box-shadow: 0 6px 32px -4px #47e6ff19;
  border-radius: var(--border-radius);
  padding: 38px 26px;
  margin-bottom: 0;
}
.call-to-action h2 {
  color: var(--neon-blue);
}

/* === MAP PLACEHOLDER === */
.map-placeholder {
  background: #10131e;
  border: 1.5px dashed var(--accent);
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 28px 26px;
  text-align: center;
  margin: 24px 0;
  font-size: 1.08rem;
}

/* === NEWSLETTER SIGNUP === */
.newsletter-signup {
  background: #292f47;
  border-radius: var(--border-radius);
  padding: 28px 24px;
  margin-top: 24px;
  color: var(--text-main);
  box-shadow: 0 5px 28px -4px #f4b73c16;
}

/* === FOOTER === */
footer {
  background: var(--card-bg);
  color: var(--text-light);
  padding: 32px 0 16px 0;
  margin-top: 40px;
  border-top: 1.5px solid #1c263b;
}
.footer-navigation {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-navigation a {
  color: var(--neon-blue);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.13s, color 0.11s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--accent);
  background: #223b528a;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 8px;
  transition: background 0.15s;
  background: transparent;
}
.footer-social a:hover, .footer-social a:focus {
  background: #47e6ff22;
}
.footer-social img {
  width: 28px;
  height: 28px;
}
.footer-tagline {
  font-size: 0.93rem;
  color: var(--accent);
  margin-top: 10px;
  text-align: center;
}

/* === RESPONSIVENESS === */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding: 0 8px;
  }
  .features-grid,
  .services-list,
  .team-list,
  .testimonial-slider,
  .faq-list {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .section, .content-wrapper, section {
    padding: 22px 8px;
  }
  .features-grid,
  .services-list,
  .team-list,
  .testimonial-slider,
  .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-navigation, .footer-social {
    justify-content: flex-start;
    gap: 13px;
  }
}
@media (max-width: 540px) {
  header .container,
  .container {
    padding: 0 5px;
  }
  .cta-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
  .feature-card, .service-card, .team-member-card, .testimonial-card {
    min-width: 0;
    padding: 18px 10px;
  }
}

/* === MICRO INTERACTIONS & EFFECTS === */
.cta-button:active {
  transform: scale(0.96);
}
.feature-card:active,
.service-card:active {
  transform: translateY(-2px) scale(1.002);
}
input[type="text"], input[type="email"], textarea, select {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 11px 15px;
  border: 1.3px solid #1997e48a;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 14px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border: 1.3px solid var(--accent);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: var(--surface-dark);
  color: var(--text-main);
  border-top: 3px solid var(--accent);
  box-shadow: 0 -6px 32px 0 #f4b73c24;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px 12px 20px 12px;
  gap: 24px;
  font-size: 1rem;
  animation: cookie-fadein 0.55s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-fadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 0;
  max-width: 520px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  padding: 10px 25px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--surface-dark);
  transition: background 0.15s, color 0.16s, box-shadow 0.14s;
  border: 1.4px solid var(--neon-blue);
  background: var(--neon-blue);
  margin-left: 0;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: var(--accent);
  color: var(--text-dark);
  border-color: var(--accent);
}
.cookie-btn.cookie-reject {
  background: transparent;
  color: var(--accent);
  border: 1.4px solid var(--accent);
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: var(--accent);
  color: var(--surface-dark);
}
.cookie-btn.cookie-settings {
  background: transparent;
  color: var(--neon-blue);
  border: 1.4px solid var(--neon-blue);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--neon-blue);
  color: var(--surface-dark);
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,25,37,0.77);
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--surface-dark);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 48px -6px #47e6ff45;
  color: var(--text-main);
  padding: 34px 30px 26px 30px;
  max-width: 440px;
  min-width: 270px;
  width: 92vw;
  position: relative;
  animation: cookie-modal-fadein 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 17px;
}
@keyframes cookie-modal-fadein {
  from { transform: scale(0.92) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0);    opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: var(--neon-blue);
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #2e3254;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
  margin-right: 9px;
  border: 1.2px solid #20507977;
}
.cookie-modal .cookie-switch:checked {
  background: var(--neon-blue);
}
.cookie-modal .cookie-switch::before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #EEF2F7;
  border-radius: 50%;
  transition: left 0.14s;
}
.cookie-modal .cookie-switch:checked::before {
  left: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 17px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  color: var(--neon-blue);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 9px;
}

/* === MISC === */
::-webkit-scrollbar {
  width: 10px; background: #232741;
}
::-webkit-scrollbar-thumb {
  background: #252c3e; border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #205079;
}

/* List styles for documentation/FAQs/etc. */
.text-section ul, .text-section ol {
  margin-left: 26px;
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 1rem;
  list-style: disc;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
}

/* Accessibility: focus indicators */
a:focus, button:focus, .cta-button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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