/* =======================
   Valiant Horizon – Style Reset & Variables
   ======================= */

/* 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,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.6;
  background: #111827;
  color: #E6ECF2;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul,ol {
  margin-left: 24px;
}
a {
  color: #FFC93C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #fffbe6;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  background: none;
  border: none;
  outline: none;
}

/* =======================
   Variables
   ======================= */
:root {
  --vh-primary: #17457A;
  --vh-secondary: #E6ECF2;
  --vh-accent: #FFC93C;
  --vh-dark-bg: #111827;
  --vh-surface-dark: #182336;
  --vh-surface-light: #233555;
  --vh-info: #49a6e9;
  --vh-success: #37e693;
  --vh-danger: #fb3640;
  --vh-card-radius: 16px;
  --vh-gap: 20px;
  --vh-shadow: 0 8px 24px rgba(23, 69, 122, 0.15), 0 1.5px 4px 0 rgba(0,0,0,0.07);
  --vh-neon-blue: #49a6e9;
  --vh-neon-glow: 0 0 8px #49a6e9cc, 0 0 24px #17457Acc;
  --vh-neon-yellow: #FFC93C;
  --vh-transition: 0.25s cubic-bezier(.56,.13,.39,.99);
  --vh-font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --vh-font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =======================
   Layout Container
   ======================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--vh-surface-dark);
  border-radius: var(--vh-card-radius);
  box-shadow: var(--vh-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  color: var(--vh-secondary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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;
  border-radius: 16px;
  background: #fff;
  color: #111827;
  box-shadow: 0px 4px 24px 0 rgba(23, 69, 122, 0.09);
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
}
.testimonial-card blockquote {
  font-family: var(--vh-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}
.testimonial-card cite {
  font-size: 14px;
  color: var(--vh-primary);
  margin-left: 12px;
  font-style: normal;
  font-family: var(--vh-font-body);
}

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

/* =======================
   Typography
   ======================= */
h1, h2, h3, h4, h5 {
  color: #fff;
  font-family: var(--vh-font-display);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(23,69,122,0.06);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
h4, h5 {
  font-size: 1.125rem;
}
p, ul li, ol li {
  font-family: var(--vh-font-body);
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.7;
}
small {
  font-size: 0.92rem;
}
strong,b {
  font-weight: 700;
}

/* Visual Hierarchy */
.badge {
  padding: 6px 16px;
  background: var(--vh-info);
  color: #fff;
  font-family: var(--vh-font-display);
  border-radius: 24px;
  display: inline-block;
  font-size: 1rem;
  box-shadow: var(--vh-neon-glow);
  margin-top: 8px;
}

/* =======================
   Navigation
   ======================= */
header {
  background: #131b2A;
  box-shadow: 0 4px 20px 0 rgba(23,69,122,0.13);
  z-index: 20;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 18px 0 18px 0;
}
header nav a {
  color: #E6ECF2;
  font-family: var(--vh-font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color var(--vh-transition);
  position: relative;
  padding: 4px 6px;
}
header nav a:hover, header nav a:focus {
  color: var(--vh-accent);
}
header nav a.cta-btn {
  background: var(--vh-accent);
  color: #111827;
  border-radius: 999px;
  padding: 9px 32px;
  font-weight: 700;
  font-size: 1.13rem;
  box-shadow: 0 0 8px #FFC93C44, 0 0 16px #17457A33;
  transition: background var(--vh-transition), color var(--vh-transition), box-shadow var(--vh-transition);
  margin-left: 10px;
  outline: none;
  border: none;
}
header nav a.cta-btn:hover,
header nav a.cta-btn:focus {
  background: #fffbe6;
  color: #b58707;
  box-shadow: 0 0 24px #FFC93C88;
}
header nav img {
  height: 38px;
  margin-right: 16px;
  vertical-align: middle;
}

/* Hamburger Menu (Mobile Only) */
.mobile-menu-toggle {
  display: none;
  background: var(--vh-accent);
  color: #111827;
  border: none;
  font-size: 2rem;
  padding: 9px 18px 9px 14px;
  border-radius: 10px;
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 40;
  box-shadow: 0 0 12px #ffc93c66;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  cursor: pointer;
}
.mobile-menu-toggle:active {
  background: #f7a900;
  color: #fff;
  transform: scale(0.96);
}

.mobile-menu {
  position: fixed;
  background: #1a2133;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 1200;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.83,.09,.36,1.07);
  box-shadow: 0 12px 40px 0 #17457A70;
  display: flex;
  flex-direction: column;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  position: absolute;
  top: 17px;
  right: 32px;
  z-index: 1210;
  cursor: pointer;
  padding: 0 9px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--vh-neon-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 56px 32px 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: var(--vh-font-display);
  margin-left: 6px;
  padding: 8px 0;
  border-left: 2.5px solid var(--vh-accent);
  transition: color 0.16s, border-color 0.24s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vh-accent);
  border-left-color: var(--vh-neon-blue);
}

/* =======================
   Main Section Styling
   ======================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: linear-gradient(145deg,var(--vh-dark-bg) 80%, #1a2133 100%);
  box-shadow: 0 4px 32px 0 #101b2f28;
}
section:nth-child(odd) {
  background: #182336;
}

/* Hero Section */
section:first-of-type {
  background: linear-gradient(110deg, #182336 60%, #17457a 110%);
  box-shadow: 0 4px 36px 0 #17457A29;
}

/* advantages, categories, etc. */
section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}
section li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 0;
}
section li img {
  vertical-align: middle;
  height: 1.2em;
  margin-right: 10px;
  margin-left: -13px;
}
section li:before {
  content: '';
  display: none;
}

/* =======================
   Button Styles
   ======================= */
.cta-btn,
button.cta-btn {
  background: linear-gradient(90deg, #ffc93c 60%, #49a6e9 120%);
  color: #0a1933;
  font-family: var(--vh-font-display);
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  border-radius: 999px;
  padding: 13px 38px;
  box-shadow: 0 0 16px #48a6e955, 0 0 24px #ffc93c45;
  margin-top: 12px;
  cursor: pointer;
  transition: background var(--vh-transition), color var(--vh-transition), box-shadow var(--vh-transition), transform 0.11s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus,
button.cta-btn:hover, button.cta-btn:focus {
  background: linear-gradient(100deg, #49a6e9 40%, #ffc93c 160%);
  color: #0a1933;
  box-shadow: 0 0 32px #49a6e988, 0 0 36px #ffc93c71;
  transform: translateY(-2px) scale(1.03);
}

button,
.button {
  cursor: pointer;
  font-family: var(--vh-font-display);
}

/* =======================
   Cards & Visuals
   ======================= */
.card {
  background: #182336;
  border-radius: var(--vh-card-radius);
  box-shadow: var(--vh-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
}
.card .badge {
  margin-top: 16px;
}

/* Badge reuse */
.badge {
  margin-top: 0;
  margin-bottom: 10px;
}

/* =======================
   Footer
   ======================= */
footer {
  padding-top: 38px;
  padding-bottom: 38px;
  background: #131b2A;
  border-top: 4px solid var(--vh-accent);
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
footer nav a {
  color: var(--vh-secondary);
  font-size: 0.98rem;
  margin-bottom: 10px;
  transition: color 0.19s;
}
footer nav a:hover,footer nav a:focus {
  color: var(--vh-accent);
}
footer img {
  height: 30px;
  margin-bottom: 12px;
}
footer .text-section p, footer .text-section small {
  color: #E6ECF2;
}
footer .text-section img {
  display: inline-block;
  height: 1.15em;
  margin-right: 6px;
  margin-left: 0;
  vertical-align: middle;
}

/* =======================
   Cookie Consent Banner
   ======================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222f3e;
  color: #fff;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px 24px 24px;
  box-shadow: 0 -8px 48px #17457A99;
  gap: 22px;
  flex-wrap: wrap;
  animation: slideUpBanner .7s cubic-bezier(.16,.82,.38,.98);
}
@keyframes slideUpBanner {
  from {transform: translateY(120%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
#cookie-banner p {
  font-size: 1rem;
  margin-right: 28px;
  max-width: 600px;
  flex: 1;
}
.cookie-btn-group {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
#cookie-banner button {
  background: var(--vh-accent);
  color: #222f3e;
  font-weight: 700;
  font-family: var(--vh-font-display);
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 1rem;
  box-shadow: 0 0 8px #FFC93C33;
  transition: background 0.15s, color 0.13s;
  cursor: pointer;
}
#cookie-banner button.accept {
  background: linear-gradient(90deg, #ffc93c 70%, #49a6e9 150%);
  color: #0a1933;
}
#cookie-banner button.reject {
  background: #fff;
  color: #17457A;
}
#cookie-banner button.settings {
  background: #49a6e9;
  color: #fff;
}
#cookie-banner button:hover {
  filter: brightness(1.08);
}
#cookie-banner.hide {
  display: none !important;
}

/* Cookie Preferences Modal */
#cookie-modal {
  position: fixed;
  z-index: 4000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #182336cc;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(.63,.04,.21,1.04);
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #111827;
  border-radius: 18px;
  box-shadow: 0 4px 32px #17457A2c;
  padding: 38px 32px 26px 32px;
  min-width: 310px;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalShow 0.33s cubic-bezier(.52,.04,.33,1.04);
}
@keyframes cookieModalShow {
  from {transform: translateY(120px) scale(0.95);opacity:0;}
  to   {transform: translateY(0) scale(1);opacity:1;}
}
.cookie-modal-content h2 {
  font-size: 1.26rem;
  margin-bottom: 14px;
  font-family: var(--vh-font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--vh-accent);
  width: 22px;
  height: 22px;
}
.cookie-category .essential-label {
  color: #49a6e9;
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  background: var(--vh-accent);
  color: #0a1933;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--vh-font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: filter 0.15s;
}
.cookie-modal-actions button.close {
  background: #e4e6f6;
  color: #17457A;
}
.cookie-modal-actions button:hover {
  filter: brightness(1.07);
}

/* =======================
   Responsive Design
   ======================= */
@media (max-width: 1080px) {
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 30px 7px;
    border-radius: 12px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    font-size: 1rem;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .feature-item {
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.26rem; }
  .badge { font-size: 0.95rem; }
  .cta-btn, .card .badge, .cookie-modal-actions button {
    font-size: 1rem;
    padding: 10px 16px;
  }
  #cookie-banner p {
    font-size: 0.98rem;
    margin-right: 0;
    max-width: 100%;
  }
  #cookie-banner {
    padding: 14px 12px 12px 12px;
    gap: 8px;
  }
}

/* =======================
   Miscellaneous Utility
   ======================= */
::-webkit-scrollbar {
  width: 8px;
  background: #16213d;
}
::-webkit-scrollbar-thumb {
  background: #517aa3;
  border-radius: 12px;
}

[tabindex="0"]:focus,
[tabindex="-1"]:focus {
  outline: 2px solid var(--vh-accent);
  outline-offset: 3px;
}

/* Focus outline for accessibility */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--vh-neon-blue);
  outline-offset: 2px;
}

/* Highlighted/active nav link */
header nav a.active, .mobile-nav a.active {
  color: var(--vh-accent);
  border-bottom: 2.5px solid var(--vh-accent);
}

/* =======================
   Microinteractions
   ======================= */
.card, .section, .testimonial-card, .badge {
  transition: box-shadow 0.22s, transform 0.22s, background 0.22s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 40px 2px #17457A33, 0 1.5px 8px 0 rgba(23,69,122,0.09);
  transform: translateY(-2px) scale(1.012);
}
.cta-btn:active, button.cta-btn:active {
  transform: scale(0.96);
  background: #cacaca;
}

/* =======================
   NEON GLOW EFFECTS
   ======================= */
.badge,
.cta-btn,
button.cta-btn {
  text-shadow: 0 0 6px #49a6e966, 0 0 24px #17457A33;
  box-shadow: 0 1.5px 8px #49a6e9A0, 0 1.5px 12px #ffc93c70;
}

/* =======================
   Hide mobile menu overlay unless open
   ======================= */
.mobile-menu:not(.open) {
  pointer-events: none;
}

/* =======================
   Hide Cookie Banner/Modal by default
   (show via JS class only)
   ======================= */
#cookie-banner, #cookie-modal {
  display: none;
}
#cookie-banner.show {
  display: flex;
}
#cookie-modal.open {
  display: flex;
}

/* =======================
   END CSS
   ======================= */
