/* =========================
   Brisk Bumper Futuristic Tech-Inspired Stylesheet
   ========================= */

/* ===== CSS RESET & NORMALIZATION ===== */
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 {
  scroll-behavior: smooth;
  background: #1C2330;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #F7F6F3;
  background: linear-gradient(135deg,#222C38 0%, #33465b 100%);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: #E2AF5F;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #FFD84A;
  text-decoration: underline;
}

ul, ol {
  margin: 0 0 24px 24px;
}

li + li {
  margin-top: 8px;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
table th, table td {
  border: 1px solid rgba(226,175,95,0.12);
  padding: 12px 18px;
  text-align: left;
  background: rgba(34,44,56,0.9);
  color: #F7F6F3;
  font-size: 16px;
}
table th {
  background: #222C38;
  font-family: 'Montserrat', Arial, sans-serif;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: #fff;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #f7f6f3;
}

strong { color: #FFD84A; }

/* ===== CONTAINERS ===== */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232C3B;
  border: 1px solid rgba(226,175,95,0.14);
  border-radius: 18px;
  box-shadow: 0 2px 14px 2px rgba(30,60,96,0.11), 0 0 0 2px #2D394C inset;
  transition: box-shadow 0.25s, border-color 0.2s;
  padding: 28px 22px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px 2px #E2AF5F44, 0 0 0 2px #E2AF5F inset;
  border-color: #FFD84A;
}

.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;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1f2530;
  border-left: 4px solid #E2AF5F;
  padding: 18px 24px;
  border-radius: 14px;
}

/* ===== HEADER NAVIGATION ===== */
header {
  background: #232C3B;
  box-shadow: 0 1px 8px 0px #282c3499;
  min-height: 72px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: #F7F6F3;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.17s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #E2AF5F;
  background: #242b38;
}
header nav .cta {
  background: linear-gradient(90deg, #222C38 50%, #E2AF5F 100%);
  color: #1C2330;
  border: none;
  padding: 8px 18px;
  font-weight: 900;
  border-radius: 10px;
  box-shadow: 0 0 8px #E2AF5F86;
  transition: background 0.24s, color 0.24s, box-shadow 0.18s;
}
header nav .cta:hover, header nav .cta:focus {
  background: linear-gradient(90deg,#FFD84A 0%, #E2AF5F 100%);
  color: #232C3B;
  box-shadow: 0 0 16px #FFD84A4d;
}

header .mobile-menu-toggle {
  display: none;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1002;
  background: rgba(20,26,36,0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.57,0,.13,1.01);
  box-shadow: 0 0 16px #111B2A99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #E2AF5F;
  background: transparent;
  border: none;
  padding: 24px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover { color: #FFD84A; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  padding-left: 32px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #F7F6F3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 0;
  width: 100%;
  border-bottom: 1px solid #2c3a4a81;
  transition: color 0.15s, background 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD84A;
  background: #232C3B;
}

/* Hamburger visible only mobile */
@media (max-width: 1024px) {
  header nav { display: none; }
  header .mobile-menu-toggle {
    display: inline-flex;
    font-size: 2rem;
    color: #FFD84A;
    background: transparent;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: color 0.18s;
    z-index: 1100;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  header nav { display: flex; }
}

/* ===== BUTTONS, CTAs, LINKS ===== */
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #E2AF5F 60%, #FFD84A 100%);
  color: #232C3B;
  padding: 13px 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 14px;
  border: none;
  outline: none;
  box-shadow: 0 2px 24px 0 #E2AF5F70, 0 0 0 2px #222C38 inset;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background 0.22s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #FFD84A 35%, #E2AF5F 100%);
  color: #222C38;
  box-shadow: 0 6px 28px 0 #FFD84A90;
  transform: translateY(-2px) scale(1.016);
}

button, input[type=submit], input[type=button] {
  font-family: inherit;
  font-size: 1rem;
  background: #222C38;
  color: #E2AF5F;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #E2AF5F;
  color: #222C38;
}

/* ===== HERO & SECTION ===== */
section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}
section .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 22px;
  background: #F7F6F3;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 #2b334299, 0 0 0 2px #E2AF5F;
  color: #222C38;
  margin-bottom: 20px;
  margin-top: 20px;
  border-left: 5px solid #FFD84A;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: #232C3B;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #E2AF5F;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 40px 0 #FFD84A99;
  border-left-color: #E2AF5F;
}

/* CRITICAL: Ensure high contrast in testimonial cards (dark text on light background) */
.testimonial-card, .testimonial-card * {
  color: #232C3B;
}

/* ===== FOOTER ===== */
footer {
  background: #232C3B;
  color: #E2AF5F;
  padding: 24px 0 16px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
footer nav a {
  color: #E2AF5F;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD84A;
  text-decoration: underline;
}
footer div {
  font-size: 0.97rem;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 24px;
  z-index: 5000;
  background: #232C3B;
  border-radius: 18px;
  box-shadow: 0 4px 32px #181b2399;
  color: #F7F6F3;
  font-size: 1rem;
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.34s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.38s ease;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #E2AF5F;
  border: 1px solid #E2AF5F;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.98rem;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner .cookie-settings:hover { background: #E2AF5F; color: #1C2330; }
.cookie-banner .accept-cookies {
  background: #E2AF5F;
  color: #232C3B;
  font-weight: bold;
  padding: 10px 26px;
}
.cookie-banner .accept-cookies:hover { background: #FFD84A; color: #232C3B; }
.cookie-banner .reject-cookies {
  background: none;
  border: 1px solid #F7F6F3;
  color: #F7F6F3;
  padding: 10px 22px;
}
.cookie-banner .reject-cookies:hover { background: #FFD84A; color: #1C2330; }

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,34,48,0.93);
  z-index: 5300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.33s, transform 0.33s cubic-bezier(.65,0,.31,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(.9);
}
.cookie-modal-content {
  background: #232C3B;
  color: #F7F6F3;
  border-radius: 18px;
  min-width: 320px;
  padding: 38px 32px 32px 32px;
  box-shadow: 0 6px 36px #181b23cc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.5rem;
  color: #FFD84A;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 2rem;
  color: #FFD84A;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover { color: #E2AF5F; }
.cookie-preference-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-preference-category label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-preference-category input[type=checkbox] {
  accent-color: #E2AF5F;
  width: 20px;
  height: 20px;
}
.cookie-preference-category input[disabled] {
  opacity: 0.65;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 24px;
}
.cookie-modal-actions .accept-cookies,
.cookie-modal-actions .reject-cookies {
  padding: 9px 24px;
  font-size: 1rem;
  border-radius: 8px;
}

/* ===== SPACING: ALL SECTIONS/CARDS ===== */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  align-items: center;
  gap: 30px;
}
.testimonial-card {
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== VISUAL EFFECTS: SHADOWS & NEON ACCENTS ===== */
.card, .testimonial-card, .feature-item {
  box-shadow: 0 2px 16px 0 #202b375e, 0 0 8px 0 #E2AF5F1a;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 6px 32px 0 #FFD84A40;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #232C3B;
}
::-webkit-scrollbar-thumb {
  background: #E2AF5F99;
  border-radius: 4px;
}

/* ===== VISUAL SEPARATORS ===== */
hr {
  border: none;
  border-bottom: 1px solid #2d394c;
  margin: 24px 0;
}

/* === MEDIA QUERIES: RESPONSIVE LAYOUT === */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 16px;
  }
  section, .section {
    padding: 32px 5vw;
  }
  header .container, footer .container {
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  html, body {
    font-size: 15px;
  }
  .container {
    padding: 0 8px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section, section {
    padding: 28px 4vw;
    margin-bottom: 40px;
  }
  .testimonial-card {
    padding: 13px 10px;
    gap: 16px;
    font-size: 1rem;
  }
  .feature-item {
    padding: 14px 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-banner {
    left: 5px;
    right: 5px;
    padding: 15px 10px 15px 14px;
    border-radius: 12px;
  }
  .cookie-modal-content {
    padding: 18px 8vw 14px 8vw;
    border-radius: 12px;
    min-width: 0;
    width: 94vw;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  html, body { font-size: 14px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.19rem; }
  .cta {
    width: 100%;
    font-size: 0.98rem;
    padding: 10px 0;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .card, .testimonial-card, .feature-item, .cookie-banner, .cookie-modal-content {
  animation: fadeInUp 0.8s cubic-bezier(.67,.14,.34,1.31);
}

/* ===== ACCESSIBILITY FOCUS STYLES ===== */
a:focus, button:focus, .cta:focus {
  outline: 2px solid #FFD84A;
  outline-offset: 2px;
  z-index: 2;
}

/* ===== TABLES: PRICING PAGE ===== */
table th, table td {
  border-radius: 0;
  border-right: 1px solid #232C3B36;
}
table tr:last-child td {
  border-bottom: 1px solid #FFD84A;
}

/* ===== SPECIAL FLEX ALIGNMENTS ===== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Flex vertical for testimonials in .testimonial-card */
.testimonial-card {
  align-items: center;
  text-align: left;
}

/* Hide scroll on body when mobile menu/cookie modal open */
body.menu-open,
body.cookie-modal-open {
  overflow: hidden !important;
}

/* === END === */
