/* --- 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 {line-height:1.15; -webkit-text-size-adjust:100%;}
body{background:#0B182B;color:#E8EAF1;line-height:1.7;min-height:100vh;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
ol,ul{list-style:none;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
*{box-sizing:inherit;scroll-behavior:smooth;}
h1,h2,h3,h4,h5,h6,strong,b{font-weight:700;}

/* --- BRAND COLOR VARIABLES (with fallbacks) --- */
:root {
  --primary:#143152;
  --primary-rgb:20,49,82;
  --secondary:#E8EAF1;
  --accent:#F5B042;
  --dark-bg:#0B182B;
  --light-bg:#E8EAF1;
  --futuristic-blue:#0BF0F8;
  --futuristic-pink:#B986FC;
  --neon-outline:#30F6B3;
}

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700|Merriweather:700&display=swap');
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--dark-bg);
  color: var(--secondary);
}
h1,h2,h3,h4 {
  font-family: 'Merriweather', serif;
  letter-spacing: 0.02em;
}

h1 {font-size:2rem;line-height:1.1;margin-bottom:16px;}
h2 {font-size:1.5rem;line-height:1.2;margin-bottom:14px;}
h3 {font-size:1.125rem;margin-bottom:12px;}
h4 {font-size:1rem;}
p,ul,li,ol {font-size:1rem;}

@media (min-width:600px){
  h1 {font-size:2.6rem;}
  h2 {font-size:2rem;}
}
@media (min-width:900px){
  h1 {font-size:3rem;}
  h2 {font-size:2.25rem;}
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding-left:16px;
  padding-right:16px;
}

.content-wrapper {
  width:100%;
  max-width:850px;
  margin: 0 auto;
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* --- SECTION SPACING (MANDATORY) --- */
section {
  width: 100%;
  margin-bottom:60px;
  padding:40px 20px;
  background:rgba(20,49,82,0.02);
  border-radius:18px;
  box-shadow:0 2px 18px 0 rgba(11,24,43,0.13);
}

@media (max-width:768px){
  section {padding:30px 6px; margin-bottom:40px;}
  .content-wrapper{gap:20px;}
}

/* --- NAVIGATION --- */
header {
  width:100%;
  background: linear-gradient(90deg, rgba(20,49,82,0.95) 0%, rgba(20,49,82,0.98) 100%);
  box-shadow:0 2px 24px 0 rgba(20,49,82,0.14);
  position:sticky;
  top:0;left:0;z-index:98;
}
.main-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  height:72px;
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}
.logo img {height:38px;width:auto;display:block;}
.main-nav ul {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:24px;
}
.main-nav li {display:flex;align-items:center;}
.main-nav a {
  font-size:1rem;
  color:var(--secondary);
  letter-spacing: 0.04em;
  transition:color 0.2s;
  position:relative;
}
.main-nav a:not(.logo):not(.cta-button):after {
  content:'';
  display:block;
  width:0;height:2px;
  background:var(--accent);
  position:absolute;
  left:50%;
  bottom:-5px;
  transition:width 0.3s, left 0.3s;
}
.main-nav a:not(.logo):not(.cta-button):hover:after {
  width:70%;left:15%;
}
.main-nav a:hover:not(.logo):not(.cta-button) {
  color:var(--accent);
}
.cta-button {
  display:inline-block;
  background:var(--accent);
  color:var(--primary);
  padding:10px 28px;
  border-radius:28px;
  font-weight:700;
  letter-spacing:0.06em;
  box-shadow:0 2px 10px 0 rgba(245,176,66,0.19);
  font-size:1.07rem;
  margin-left:14px;
  border:none;
  outline:none;
  cursor:pointer;
  position:relative;
  transition:background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta-button:hover, .cta-button:focus {
  background:var(--futuristic-blue);
  color:#191919;
  box-shadow: 0 0 16px 2px var(--futuristic-blue),0 2px 18px 0 rgba(11,24,43,0.19);
}

@media (max-width:900px){
  .main-nav ul {gap:14px;}
  .main-nav {gap:10px;}
  .main-nav {height:60px;}
  .logo img {height:33px;}
  .cta-button {padding:9px 16px;font-size:1rem;}
}

@media (max-width:900px){
  .main-nav ul, .main-nav .cta-button {display:none;}
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:none;
  border:none;
  color:var(--accent);
  font-size:2rem;
  cursor:pointer;
  margin-right:12px;
  height:60px; width:56px;
  z-index:110;
  transition:color 0.19s;
}
.mobile-menu-toggle:focus{
  outline:2px solid var(--futuristic-blue);
}
@media (min-width:901px) {
  .mobile-menu-toggle {display:none;}
}

.mobile-menu {
  position:fixed;
  top:0;left:0;
  width:100vw;
  height:100vh;
  background:rgba(11,24,43,0.99);
  z-index:120;
  transform:translateX(-100%);
  transition:transform 0.38s cubic-bezier(.56,-0.32,.53,1.45);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  padding:0 0 0 0;
}
.mobile-menu.open {
  transform:translateX(0);
}
.mobile-menu-close {
  background:none;
  border:none;
  font-size:2.1rem;
  color:var(--accent);
  align-self:flex-end;
  margin:22px 28px 0 0;
  cursor:pointer;
  transition:color 0.18s;
}
.mobile-menu-close:focus{
  outline:2px solid var(--futuristic-blue);
}
.mobile-nav {
  width:100%;
  display:flex;
  flex-direction:column;
  gap:24px;
  margin-top:10vh;
  align-items:center;
}
.mobile-nav a {
  font-size:1.2rem;
  padding:14px 38px;
  border-radius:18px;
  color:var(--accent);
  text-align:center;
  background:transparent;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus{
  background:var(--accent);
  color:var(--primary);
  outline:none;
}
@media (min-width:901px){.mobile-menu{display:none;}}


/* --- SECTIONS & CARDS --- */
.card-container {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.card {
  margin-bottom:20px;
  position:relative;
  background:rgba(20,49,82,0.95);
  border-radius:16px;
  box-shadow:0 2px 20px 0 rgba(20,49,82,0.17);
  padding:32px 24px;
  min-width:260px;
  color:var(--secondary);
  transition:box-shadow 0.18s,transform 0.18s;
}
.card:hover {
  box-shadow:0 0 14px 2px var(--futuristic-blue),0 2px 16px 0 rgba(20,49,82,0.33);
  transform:translateY(-4px) scale(1.022);
  z-index:2;
}

.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;
  width:100%;
}

.text-image-section {
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
@media (max-width:768px){.text-image-section{flex-direction:column;gap:18px;}}

.feature-list,.services-list,.value-list,.review-list,.recommendation-grid,.curated-lists,.benefit-list,.step-list {
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:14px;
  margin-bottom:12px;
}
.recommendation-grid{gap:20px;}

.feature-list li, .services-list li, .value-list li,
.review-list li, .curated-lists li, .benefit-list li, .step-list li {
  display:flex;
  align-items:flex-start;
  gap:13px; /* icon spacing */
  background:rgba(20,49,82,0.17);
  padding:10px 16px;
  border-radius:12px;
  transition:box-shadow 0.15s;
  min-height:48px;
}
.feature-list li img,
.services-list li img {height:29px;width:29px;min-width:29px;}
.feature-list li:hover, .services-list li:hover, .review-list li:hover,
.curated-lists li:hover,.value-list li:hover{
  box-shadow:0 2px 10px 0 rgba(245,176,66,0.22);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:20px;
  background:var(--light-bg);
  color:var(--primary);
  border-radius:16px;
  margin-bottom:20px;
  box-shadow:0 2px 12px 0 rgba(20,49,82,0.11);
  font-size:1.1rem;
  min-width:260px;
  transition:box-shadow 0.17s,transform 0.16s;
}
.testimonial-card span:last-child {
  font-size:1.05rem;
  letter-spacing:0.07em;
  color:var(--accent);
}
.testimonial-card:hover {
  box-shadow:0 0 18px 2px var(--futuristic-pink),0 6px 14px rgba(11,24,43,0.15);
  transform:translateY(-3px) scale(1.017);
}

/* --- BUTTON & LINK STYLES --- */
button, .cta-button {
  font-family:inherit;
  cursor:pointer;
  outline:none;
  border:none;
  transition: background 0.2s,color 0.2s,box-shadow 0.19s;
}
button:focus {outline:2px solid var(--futuristic-blue);}

a {transition:color 0.18s,background 0.19s, border-color 0.17s;}
a:focus-visible{outline:2px solid var(--futuristic-blue);}
a:active,a:focus {text-decoration:underline;}

/* --- TYPOGRAPHY STYLES --- */
.text-section, .faq, .contact-details {
  display:flex;
  flex-direction:column;
  gap:16px;
}
.text-section h3 {margin-top:14px;}
.text-section strong {color:var(--accent);}

.faq p strong {color:var(--futuristic-blue);}

/* --- FOOTER --- */
footer {
  width:100%;
  background: linear-gradient(90deg, rgba(20,49,82,0.96) 0%, rgba(20,49,82,0.96) 100%);
  color:var(--secondary);
  padding:38px 0 24px 0;
}
.footer-menu {
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
}
.footer-menu a {
  color:var(--futuristic-blue);
  font-weight:500;
  letter-spacing:0.04em;
  transition: color 0.16s;
  font-size:1.02rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  color:var(--accent);
}
.brand-contact {
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:24px;
  margin-top:16px;
  flex-wrap:wrap;
  color:var(--secondary);
}
.brand-info img {
  height:40px;
  margin-bottom:8px;
}
.brand-info span {font-size:0.98rem;}
.contact-details img {
  height:20px; width:20px; vertical-align:middle; margin-right:5px;
}
.brand-contact span {font-size:0.95rem;display:inline-block;}
@media (max-width:768px){
  .brand-contact {flex-direction:column;gap:10px;}
}

/* --- FORM ELEMENTS (if present) --- */
input,textarea,select {
  font-family:inherit;
  font-size:1rem;
  background:rgba(20,49,82,0.07);
  border:1.5px solid var(--accent);
  border-radius:9px;
  color:var(--primary);
  padding:9px 14px;
  margin-bottom:13px;
  width:100%;
  box-sizing:border-box;
  transition: border 0.19s;
}
input:focus,textarea:focus,select:focus {
  border:1.5px solid var(--futuristic-blue);
  outline:none;
}

/* --- FEATURE/LIST/CARD SPACING (MANDATORY) --- */
.card-container, .content-grid, .feature-list, .services-list, .value-list,.review-list,.recommendation-grid,.curated-lists,.step-list,.benefit-list {
  gap:20px;
}
.card {margin-bottom:20px;}
.section {margin-bottom:60px; padding:40px 20px;}

/* --- RESPONSIVE FLEXBOX ADJUSTMENTS --- */
@media (max-width:768px){
  .card-container, .content-grid {
    flex-direction:column;
    gap:17px;
  }
  .brand-contact {flex-direction:column;gap:10px;}
}

/* --- MICRO-INTERACTIONS & HOVER EFFECTS --- */
.cta-button {
  box-shadow: 0 0 13px 1px var(--accent), 0 2px 18px 0 rgba(20,49,82,0.09);
}
.cta-button:active {
  background:var(--primary);
  color:var(--accent);
  box-shadow: 0 0 20px 2px var(--accent);
}
li:hover, .services-list li:hover, .feature-list li:hover, .curated-lists li:hover{
  background:rgba(245,176,66,0.07);
}

/* --- UTILITY (for spacing and alignment) --- */
.mt-3 {margin-top:24px;}
.mb-3 {margin-bottom:24px;}
.mt-6{margin-top:40px;}
.mb-6{margin-bottom:40px;}
.center {justify-content:center;align-items:center;}
.flex-col {display:flex;flex-direction:column;}
.flex-row {display:flex;flex-direction:row;}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position:fixed;
  bottom:0; left:0; width:100vw;
  background:var(--primary);
  color:var(--secondary);
  z-index:120;
  padding:20px 16px;
  box-shadow:0 -2px 18px 0 rgba(20,49,82,0.23);
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content: space-between;
  gap:22px;
  opacity:1;
  transition:transform 0.35s cubic-bezier(.45,.85,.46,1.3), opacity 0.35s;
  font-size:1.04rem;
}
.cookie-banner.hide {
  opacity:0;transform:translateY(120%); pointer-events:none;
}
.cookie-banner .cookie-actions {
  display:flex;
  flex-direction:row;
  gap:18px;
}
.cookie-banner button {
  min-width:120px;
  padding:8px 15px;
  border-radius:19px;
  font-size:1rem;
  font-weight:500;
  transition:background 0.21s,color 0.18s;
  background:var(--accent);
  color:var(--primary);
  border:none;
  margin-left:0;
}
.cookie-banner .cookie-reject {
  background: var(--futuristic-pink);
  color:var(--primary);
}
.cookie-banner .cookie-settings {
  background: var(--futuristic-blue);
  color:#0B182B;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter:brightness(1.07);
  outline:2px solid var(--neon-outline);
}
@media (max-width:700px){
  .cookie-banner {flex-direction:column;align-items:stretch;gap:12px;}
  .cookie-banner .cookie-actions{justify-content:center;gap:12px;}
}

.cookie-modal {
  position:fixed;left:0;top:0;z-index:130;
  width:100vw;height:100vh;
  background:rgba(11,24,43,0.86);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  opacity:1;
  transition: opacity 0.27s;
}
.cookie-modal.hide {
  opacity:0;pointer-events:none;
}
.cookie-modal-content {
  background:var(--light-bg);
  color:var(--primary);
  border-radius:22px;
  box-shadow:0 2px 25px rgba(20,49,82,0.13);
  padding:34px 24px 28px 24px;
  min-width:270px;max-width:95vw;text-align:left;
  display:flex;flex-direction:column;gap:22px;
  position:relative;
}
.cookie-modal-content h3 {
  color:var(--accent);
  font-size:1.17rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap:10px;
  margin-bottom:6px;
}
.cookie-category label {
  font-weight:500;
  font-size:1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--futuristic-blue);
  width:18px;height:18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap:16px;
  margin-top:10px;
  justify-content: flex-end;
}
.cookie-modal button {
  background:var(--accent);
  color:var(--primary);
  border-radius:17px;
  padding:8px 22px;
  font-size: 1rem;
  font-weight:700;
}
.cookie-modal .close-modal {
  background:var(--futuristic-blue);
  color:#191919;
  position:absolute;right:24px;top:21px;
  font-size:1.5rem;
  border:0;outline:none;
  padding:3px 8px;
  border-radius:50%;
  cursor:pointer;
  transition:background 0.18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background:var(--accent);
  color:var(--primary);
  outline:2px solid var(--neon-outline);
}
.cookie-category input[disabled] {opacity:0.45;}

/* --- Scrollbar --- */
::-webkit-scrollbar {width:9px;background:var(--dark-bg);}
::-webkit-scrollbar-thumb {background:var(--primary);border-radius:9px;}

/* --- DECORATIVE: Futuristic Neon Accents --- */
.card, .testimonial-card, section {
  box-shadow:0 2px 16px 0 rgba(20,49,82,0.11), 0 0 0 0 var(--neon-outline);
  transition:box-shadow 0.19s;
}
.card:hover, section:hover, .testimonial-card:hover {
  box-shadow:0 0 14px 1.5px var(--futuristic-blue),0 2px 12px 0 rgba(20,49,82,0.12);
}
h1, h2, h3, h4 {
  background: linear-gradient(90deg, var(--accent) 5%, var(--futuristic-blue) 46%, var(--accent) 92%);
  background-size: 150% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color:transparent;
  -webkit-text-fill-color: transparent;
  animation: neon-move 3.1s linear infinite alternate;
}
@keyframes neon-move {
  from {background-position:0 0;}
  to {background-position:100% 0;}
}

/* --- Media Query for Reduced Motion --- */
@media (prefers-reduced-motion: reduce){
  * {transition:none!important;animation:none!important;}
}

/* --- Accessibility: Focus ring (high contrast) --- */
:focus-visible {
  outline:2.5px solid var(--futuristic-blue) !important;
  outline-offset:2px;
}

/* --- Hide visually (for cookie modal etc) --- */
.sr-only {
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}

/* --- Misc --- */
hr {
  border:none;
  border-top:1.5px solid var(--accent);
  margin:24px 0;
}

/* --- ENSURE: All spacing and alignment rules are obeyed! --- */
section, .card, .testimonial-card, .feature-list li, .services-list li, .value-list li,
.review-list li, .benefit-list li, .curated-lists li, .step-list li {
  margin-bottom:20px;
}

/* --- END --- */