/* --- CSS RESET & BASELINE --- */
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;
}

/* Set core root defaults */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #181C23;
  color: #F5F5F7;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

img, svg {
  max-width: 100%;
  display: block;
}

*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #FFEB3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD900;
  text-decoration: underline;
}

button, .cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #FFEB3B;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #E0E3EA;
}
strong {
  color: #FFEB3B;
  font-weight: 700;
}
em {
  color: #FFEB3B;
  font-style: italic;
}

ul, ol {
  margin-left: 1.2em;
  list-style-position: outside;
}
ul li, ol li {
  margin-bottom: 8px;
}

hr {
  border: none;
  border-bottom: 1px solid #303942;
  margin: 32px 0;
}

/* --- CONTAINER & BASE GRID --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #12141A;
  border-bottom: 2px solid #22242B;
  box-shadow: 0 4px 8px rgba(17,17,17,0.09);
  width: 100%;
  z-index: 100;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.header-wrapper img {
  height: 40px;
  width: auto;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #F5F5F7;
  padding: 6px 0;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color .2s, border-color .2s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: #FFEB3B;
  border-bottom: 2px solid #FFEB3B;
}

.cta.primary {
  background: linear-gradient(90deg,#272F40 0%, #1A237E 100%);
  color: #FFEB3B;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  padding: 10px 32px;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(41,49,57, .13);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  transition: background 0.25s, color 0.2s, box-shadow 0.25s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #1A237E;
  color: #FFF;
  box-shadow: 0 4px 12px rgba(255,235,59, .13);
}
.cta.secondary {
  background: transparent;
  color: #FFEB3B;
  border: 2px solid #FFEB3B;
  border-radius: 6px;
  font-weight: 600;
  padding: 10px 32px;
  margin-left: 0;
  cursor: pointer;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  transition: background 0.25s, color 0.2s, border 0.2s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #FFEB3B;
  color: #181C23;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 18px;
  width: 44px;
  height: 44px;
  background: #22242B;
  color: #FFEB3B;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  z-index: 102;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(17,17,17, 0.11);
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1A237E;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,20,26, 0.97);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.5,.2,.7,1);
  z-index: 199;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0; /* Fine-tuned below */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFEB3B;
  border: none;
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 201;
}
.mobile-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 78px 38px 40px 38px;
  width: 100vw;
  min-height: 70vh;
}
.mobile-nav a {
  color: #FFEB3B;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: border .15s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD900;
  border-bottom: 2px solid #FFD900;
}

@media (max-width: 1024px) {
  .desktop-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- MAIN SECTIONS --- */
main {
  margin: 0 auto;
  padding-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #22242B;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px 0 0 0;
}

/* --- CARDS & GRIDS --- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #181C23;
  border: 1.5px solid #373B44;
  box-shadow: 0 4px 18px rgba(25,29,33, .14);
  padding: 32px 26px 28px 26px;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, border .18s, background .17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 32px 0 rgba(255,235,59,.13), 0 2px 6px rgba(25,29,33, .19);
  border: 1.5px solid #FFEB3B;
  background: #1A237E;
}

.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .header-wrapper, .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  section {
    padding: 28px 10px;
  }
}

/* --- TESTIMONIALS & FEATURE ITEMS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #F8F9FB;
  color: #22242B;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(26,35,126, .10);
  padding: 24px 28px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 480px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.07rem;
  border-left: 6px solid #1A237E;
  transition: box-shadow 0.17s, border-color .17s;
}
.testimonial-card span {
  color: #0D47A1;
  font-size: 0.99rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 32px rgba(26,35,126,.18);
  border-left: 6px solid #FFEB3B;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 0;
}

/* --- FOOTER --- */
footer {
  background: #181C23;
  border-top: 2px solid #22242B;
  width: 100vw;
  margin: 0 auto;
  padding: 0;
}
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 16px 22px 16px;
}
.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer-menu a {
  color: #B0B3C0;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FFEB3B;
}
.legal-links {
  color: #5B5E6B;
  font-size: .99rem;
  margin-top: 10px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  background: #232328;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-links a:hover, .social-links a:focus {
  background: #1A237E;
}
.social-links img {
  height: 18px;
  width: 18px;
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow .18s;
}
button:focus,
button:active,
.cta:focus,
.cta:active {
  box-shadow: 0 0 0 3px #FFEB3B55;
}

/* --- ICONS WITHIN LIST ITEMS --- */
ul li img {
  height: 24px;
  width: 24px;
  margin-right: 10px;
  margin-bottom: -6px;
  filter: grayscale(0.2) contrast(1.2);
  vertical-align: middle;
}

/* --- CUSTOM SPACING CLASSES --- */
.section {
  margin-bottom: 60px;
  padding: 40px 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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- PRICE LABELS --- */
.price {
  font-weight: 700;
  color: #FFEB3B;
  margin-left: 10px;
  font-size: 1.05em;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.20rem; }
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 20px 13px;
    max-width: 100%;
  }
  .footer-wrapper {
    padding: 18px 6vw 16px 6vw;
    font-size: .98rem;
  }
}

/* --- MICROINTERACTIONS --- */
.cta, .cta.primary, .cta.secondary, button {
  transition: background 0.2s, color 0.2s, border 0.18s, box-shadow .15s;
}
.cta:active, .cta.primary:active, .cta.secondary:active {
  box-shadow: 0 0 0 3px #FFEB3B55;
  background: #0D47A1 !important;
}

/* --- COOKIE BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #232328;
  color: #FFEB3B;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 18px 38px 22px 38px;
  box-shadow: 0 -2px 24px rgba(26,35,126, .13);
  z-index: 220;
  font-size: 1.05rem;
  animation: cookie-slide-up .44s cubic-bezier(.3,.7,.4,1);
}
@keyframes cookie-slide-up {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 8px;
  border-radius: 7px;
  font-size: 1.04rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #1A237E;
  color: #FFEB3B;
  border: none;
  padding: 8px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.2s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFEB3B;
  color: #22242B;
}
.cookie-banner .secondary {
  background: transparent;
  color: #FFEB3B;
  border: 2px solid #FFEB3B;
}
.cookie-banner .secondary:hover, .cookie-banner .secondary:focus {
  background: #FFEB3B;
  color: #181C23;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,35,126, 0.40);
  z-index: 222;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: overlay-fade-in .36s cubic-bezier(.3,.7,.4,1);
}
@keyframes overlay-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #232328;
  color: #FFEB3B;
  box-shadow: 0 8px 40px rgba(26,35,126,.21);
  border-radius: 14px;
  padding: 36px 36px 30px 36px;
  max-width: 430px;
  min-width: 280px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-slide-down .38s cubic-bezier(.3,.7,.4,1);
}
@keyframes modal-slide-down {
  0% { transform: translateY(-70px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.30rem;
  color: #FFEB3B;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover {
  color: #FFD900;
}
.cookie-modal h2 {
  color: #FFEB3B;
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.cookie-modal label, .cookie-modal span {
  color: #FFEB3B;
  font-weight: 600;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.cookie-category input[type="checkbox"]:disabled + span {
  opacity: .48;
  font-style: italic;
}
/* Toggles */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #B0B3C0;
  border-radius: 17px;
  transition: background .17s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #1A237E;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 2px; bottom: 2px;
  background-color: #FFEB3B;
  border-radius: 50%;
  transition: transform .18s;
  box-shadow: 0 1.5px 5px #181C23AA;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
}
/* --- END COOKIE --- */

/* --- INDUSTRIAL MODERN METALLIC ACCENTS --- */
section, .card {
  border: 1.5px solid #373B44;
  box-shadow: 0 4px 18px rgba(41, 47, 57, 0.15);
}
section {
  background: linear-gradient(135deg, #181C23 75%, #232328 100%);
}
.card {
  background: linear-gradient(135deg, #232328 70%, #22242B 100%);
}

header, .footer-wrapper {
  border-color: #24293a;
}

hr {
  border-bottom: 1.1px solid #373B44;
}

/* --- SCROLLBAR Styling (subtle metallic accent) --- */
::-webkit-scrollbar {
  width: 10px;
  background: #22242B;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #232328 60%, #373B44 100%);
  border-radius: 20px;
}

/* --- PRINT & DARK MODE --- */
@media print {
  *, *:before, *:after {
    background: transparent !important;
    color: #222 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* --- UTILITY CLASSES --- */
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.flex { display: flex !important; }
.gap-20 { gap: 20px !important; }

/* --- ACCESSIBILITY & VISUAL FOCUS --- */
a:focus, button:focus, .cta:focus {
  outline: 2px dashed #FFEB3B;
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- BRAND FONTS (web safe fallbacks included) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

