/* ========================
   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; }
*,*:before,*:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F4F8FB;
  color: #222a32;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #236081;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #33e6ff;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-size: 1.5rem; margin-bottom: 20px; letter-spacing: 0.02em; }
h3 { font-size: 1.125rem; margin-bottom: 12px; letter-spacing: 0.03em; }
h4, h5, h6 { margin-bottom: 8px; }

/*==========================
  TECH FUTURISTIC STYLING
===========================*/
:root {
  --primary: #236081;
  --secondary: #B3DEE5;
  --accent: #F4F8FB;
  --text-dark: #222a32;
  --text-light: #F4F8FB;
  --neon-blue: #33e6ff;
  --neon-green: #48ffbe;
  --shadow-l: 0 4px 32px 0 rgba(35,96,129,0.15);
  --shadow-s: 0 1.5px 8px 0 rgba(35,96,129,0.10);
  --radius: 16px;
}

body {
  background-color: var(--accent);
  background-image: linear-gradient(120deg, #B3DEE5 0%, #F4F8FB 100%);
  min-height: 100vh;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

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

/*==========================
 HEADER & NAVIGATION
===========================*/
header {
  width: 100%;
  background: #192841;
  box-shadow: 0 2px 12px rgba(35,96,129,0.08);
  padding: 0 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  min-height: 72px;
}
header img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--neon-blue);
  color: #0c2332;
  box-shadow: 0 1px 8px var(--neon-blue);
}
.main-nav .cta {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(51,230,255,0.14);
  border: 0;
  margin-left: 12px;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
  position: relative;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--neon-blue);
  color: #0c2332;
  box-shadow: 0 2px 16px var(--neon-blue);
}

/*---------------------------
    BURGER MENU (Mobile)
----------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 18px;
  z-index: 251;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { color: var(--neon-blue); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #161F2A;
  color: var(--text-light);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.88, 0.06, 0.26, 0.99);
  box-shadow: 0 6px 50px 0 rgba(35,96,129,0.28);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--neon-blue);
  border: none;
  font-size: 2.2rem;
  position: absolute;
  top: 18px;
  right: 26px;
  cursor: pointer;
  z-index: 260;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover { background: #222e3e; color: #48ffbe; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: 80px;
  width: 100%;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #F4F8FB;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 9px 0 9px 2px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  width: fit-content;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--neon-blue);
  color: #0c2332;
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 991px) {
  .mobile-menu,
  .mobile-menu.open { display: none !important; }
}

/* =====================
 HERO SECTIONS
===================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(244,248,251,0.87);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  padding: 32px 28px 28px 28px;
  gap: 18px;
}
.text-section {
  background: #fff;
  box-shadow: 0 2px 24px #dbefff44;
}

/* =============
 FEATURE GRID
================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
}
.feature-item {
  background: #F4F8FB;
  border-radius: 16px;
  box-shadow: 0 2px 24px #B3DEE533;
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.17s, box-shadow 0.19s;
  border: 1.5px solid #e1edf1;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 2px var(--neon-blue));
}
.feature-item h3 {
  color: var(--primary);
  font-size: 1.12rem;
}
.feature-item p {
  color: #405062;
  font-size: 1rem;
}
.feature-item:hover, .feature-item:focus {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 7px 32px #33e6ff33;
  border-color: #33e6ff66;
}

/* ============
 CARDS
=========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px 22px 22px;
  transition: box-shadow 0.19s, transform 0.14s;
  min-width: 250px;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 36px #33e6ff22;
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.card h3 {
  margin-bottom: 8px;
}

/* =========================
 TESTIMONIALS & REVIEW CARDS
========================= */
.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #23608118;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 28px;
  margin-bottom: 24px;
  border-left: 5px solid var(--primary);
  border-right: 2px solid var(--neon-blue);
}
.testimonial-card p {
  color: #152535;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.testimonial-details {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #347ba4;
}
.testimonial-details span:first-child {
  color: var(--neon-blue);
  font-size: 1.16rem;
  font-weight: bold;
  letter-spacing: 0.07em;
  text-shadow: 0 1px 4px #33e6ff44;
}

/* Ensure dark text, sufficient contrast in testimonials*/
.testimonial-card, .testimonial-card p, .testimonial-details { color: #152535; }

/* ==============
 CTA BUTTONS
============== */
.cta, a.cta, button.cta {
  display: inline-block;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 12px;
  background: var(--primary);
  color: #F4F8FB;
  font-weight: 700;
  font-size: 1.13rem;
  padding: 12px 36px;
  box-shadow: 0 8px 36px #33e6ff11;
  margin: 12px 0 6px 0;
  letter-spacing: 0.03em;
  border: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s, transform 0.12s;
  text-align: center;
  cursor: pointer;
  border-bottom: 3px solid var(--neon-blue);
}
.cta:hover, .cta:focus {
  background: var(--neon-blue);
  color: #031F2B;
  box-shadow: 0 8px 36px #33e6ff55, 0 1.5px 12px #48ffbe33;
  transform: translateY(-1px) scale(1.025);
}

/* ===============
 TABLES (Prices)
=============== */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  box-shadow: 0 2px 24px #B3DEE514;
  margin-bottom: 22px;
  overflow: hidden;
  background: #F4F8FB;
  font-size: 1rem;
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
th {
  background: #ebf6fa;
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}
td {
  border-top: 1px solid #B3DEE580;
  color: #294052;
}

/* ===========
 FOOTER
============ */
footer {
  background: #192841;
  color: #F4F8FB;
  padding: 38px 0 30px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-menu a {
  color: var(--secondary);
  text-decoration: underline;
  font-size: 1rem;
  margin-bottom: 5px;
  transition: color 0.18s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--neon-blue);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px;
  color: #F4F8FB;
  font-size: 0.94rem;
}
.footer-contact img {
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  filter: drop-shadow(0 0 2px var(--neon-blue));
}
.footer-brand img {
  margin-top: 14px;
  width: 56px;
  height: auto;
  filter: drop-shadow(0 0 9px #33e6ff88);
}

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

/* ===============
 FORMS (Contact)
=============== */
input, textarea, select {
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #b3dee5cc;
  padding: 11px 14px;
  width: 100%;
  margin: 6px 0 18px 0;
  background: #FAFBFC;
  color: #0c2332;
  transition: border 0.16s;
  font-family: 'Roboto', Arial, sans-serif;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--neon-blue);
  outline: none;
}
button[type="submit"] {
  margin-top: 8px;
}

/* ================
 SECTION SPACING & FLEX
  (Per requirements)
================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .features, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Prevent overlapping & adequate spacing */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 18px;
}

/* ========================
 RESPONSIVE DESIGN
======================== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.14rem; }

  .content-wrapper, .text-section, .feature-item, table { padding: 18px 8px !important; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .card {
    min-width: 0px;
    width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 18px 12px 14px 12px;
  }
  section {
    margin-bottom: 36px;
    padding: 20px 0 18px 0;
  }
  header .container {
    min-height: 60px;
    padding: 10px 8px;
  }
  .footer-brand img {
    width: 44px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .content-wrapper, .text-section { padding: 9px 5px !important; }
  h1 { font-size: 1.13rem; }
  h2 { font-size: 1.02rem; }
}

/* ==========================
 COOKIE CONSENT BANNER
========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #181f27;
  color: var(--text-light);
  box-shadow: 0 -2px 24px #23608155;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  min-height: 68px;
  font-size: 1rem;
  animation: bannerSlideUp 0.8s cubic-bezier(0.88,0.06,0.26,0.99);
}
@keyframes bannerSlideUp {
  0% { transform: translateY(99%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  max-width: 560px;
  font-size: 1rem;
  color: var(--text-light);
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.13s;
  margin-left: 3px;
}
.cookie-btn.accept {
  background: var(--neon-blue);
  color: #192841;
  box-shadow: 0 2px 8px #33e6ff66;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: var(--text-light);
}
.cookie-btn.reject {
  background: #D44343;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #a31515; color: #fff;
}
.cookie-btn.settings {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--neon-blue); color: #192841;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    font-size: 0.95rem;
    gap: 8px;
  }
  .cookie-banner__buttons { margin-top: 9px; }
}

/* =======================
   COOKIE CONSENT MODAL
======================= */
.cookie-modal {
  position: fixed;
  z-index: 5500;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28,37,46,0.92);
  animation: cookieModalIn 0.5s cubic-bezier(0.88,0.06,0.26,0.99);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal__window {
  background: #F4F8FB;
  border-radius: 18px;
  box-shadow: 0 8px 64px rgba(35,96,129,0.19);
  padding: 36px 28px 30px 28px;
  max-width: 380px;
  width: 90vw;
  color: #031F2B;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 17px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.55rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus { background: var(--accent); color: var(--neon-blue); }
.cookie-modal__title {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-cat input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px; height: 18px;
  margin-right: 4px;
}
.cookie-cat--essential label {
  font-weight: bold;
  color: #192841;
}
.cookie-cat label {
  font-size: 1rem;
  color: #1a2f43;
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
  padding: 10px 16px;
  font-size: 1rem;
}

@media (max-width: 490px) {
  .cookie-modal__window { padding: 14px 9px 9px 11px; }
  .cookie-modal__title { font-size: 1rem; }
}

/* ====================
 MISC - Utils & Scrollbar
====================== */
::-webkit-scrollbar {
  width: 12px;
  background: #B3DEE5;
}
::-webkit-scrollbar-thumb {
  background: #23608177;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #236081bb;
}

hr {
  border: none;
  border-top: 2px solid #b3dee579;
  margin: 40px 0;
  width: 100%;
}

/* =======================
   TYPOGRAPHY HIERARCHY
======================= */
p, li, td, th, label {
  font-size: 1rem;
  letter-spacing: 0.003em;
  line-height: 1.6;
}

strong, b {
  font-weight: bold;
}

/* =====================
   FOCUS STATES
===================== */
a:focus, button:focus, .cta:focus, input:focus, textarea:focus {
  outline: 2px solid #33e6ffBB;
  outline-offset: 1.5px;
}

/* =====================
   MICRO-INTERACTIONS / ANIMS
===================== */
.cta, .feature-item, .card, .testimonial-card, .cookie-btn, .mobile-menu, .mobile-nav a {
  transition: box-shadow 0.16s, background 0.18s, color 0.12s, transform 0.13s;
}

/* Appearance for selected/hovered feature items */
.feature-item:active, .card:active {
  transform: scale(0.98);
}

/* ===== Utility Classes ===== */
.d-flex { display: flex !important; }
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; } .mb-4 { margin-bottom: 32px; }

/* Hide visually but accessible */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
