/* RESET & BASE STYLES */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #141A20;
  color: #F7F7F2;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: #E9673C; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #E9673C; }
a:hover { color: #FF8F53; }

button, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
h1 { font-size: 2.2rem; line-height: 1.1; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}

p {
  color: #F7F7F2;
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong, b { color: #E9673C; }

ul,
ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
blockquote {
  border-left: 4px solid #E9673C;
  padding-left: 18px;
  margin: 18px 0 18px 0;
  font-style: italic;
  color: #FF8F53;
}
address, em { font-style: italic; color: #E9673C; }

/* LAYOUT PATTERNS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-item {
  min-width: 220px;
  flex: 1 1 210px;
  background: #172233;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(16,34,48,0.15);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.24s, transform 0.24s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0px 0px 4px #E9673C88);
}
.feature-item:hover {
  box-shadow: 0 6px 32px 0 #E9673C80;
  transform: translateY(-6px) scale(1.02);
}

.text-section {
  margin-bottom: 10px;
}
.text-section ul, .text-section ol {
  margin-top: 10px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 330px;
  background: #18243a;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(34,34,58,0.09);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 #E9673C80;
  transform: translateY(-4px) scale(1.01);
}

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

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F7F2;
  color: #223447;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(34,34,71,0.15);
  margin-bottom: 20px;
  border-left: 4px solid #E9673C;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px 0 #E9673C60;
  transform: translateY(-4px) scale(1.01);
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #E9673C;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* BUTTONS */
.btn-primary,
.btn-primary:visited {
  color: #fff;
  background: linear-gradient(90deg, #223447 65%, #2A475E 100%);
  padding: 14px 38px;
  border-radius: 26px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  box-shadow: 0 2px 16px 0 #22344744, 0 0 0 2px #E9673C inset;
  transition: all 0.22s cubic-bezier(.8, .32, .15, 1.2);
  margin-top: 14px;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  color: #FFE6DC;
  box-shadow: 0 6px 32px 0 #E9673C85, 0 0 0 2.5px #FF8F53 inset;
  transform: scale(1.045);
}

.btn-secondary {
  color: #E9673C;
  background: #fff;
  padding: 14px 30px;
  border-radius: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid #E9673C;
  transition: all 0.20s;
  margin-top: 10px;
  box-shadow: 0 2px 12px 0 #E9673C20;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FFE6DC;
  color: #223447;
  border-color: #E9673C;
  transform: scale(1.02);
}

/* HEADER & NAVIGATION */
header {
  background: #172233;
  position: relative;
  box-shadow: 0 2px 18px 0 #13192144;
  z-index: 59;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
  gap: 32px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #F7F7F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: color .2s, border-bottom .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E9673C;
  border-bottom: 2.5px solid #E9673C;
}

.header .btn-primary {
  margin-left: 24px;
}

/* MOBILE MENU & BURGER */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #E9673C;
  border: none;
  font-size: 2.1rem;
  margin-left: 18px;
  z-index: 111;
  cursor: pointer;
  transition: color .2s, background .2s;
  outline: none;
}
.mobile-menu-toggle:focus { background: #E9673C20; }
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #18243A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .39s cubic-bezier(.75,.01,.39,1.04);
  z-index: 1200;
  box-shadow: 4px 0 32px 0 #E9673C61;
  padding: 28px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #E9673C;
  font-size: 2.3rem;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color .2s;
  outline: none;
}
.mobile-menu-close:focus {
  background: #E9673C24;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #F7F7F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  padding: 13px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-bottom .2s;
}
.mobile-nav a:hover {
  color: #E9673C;
  border-bottom: 2px solid #E9673C;
}

@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}
@media (max-width: 899px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 13px 24px;
  }
}

/* HERO */
.hero {
  width: 100%;
  background: linear-gradient(96deg, #223447 73%, #192A3B 100%);
  box-shadow: 0 4px 40px 0 #22344736;
  min-height: 270px;
  padding: 46px 0 36px 0;
  margin-bottom: 48px;
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 588px;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 10px #22344770;
  font-size: 2.3rem;
  margin-bottom: 10px;
}
.hero p {
  color: #FFE6DC;
  font-size: 1.11rem;
  margin-bottom: 16px;
}
.hero .btn-primary {
  margin-top: 16px;
}
@media (max-width: 700px) {
  .hero {
    padding: 30px 0 22px 0;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }
  .hero .container { padding: 0 6px; }
  .hero .content-wrapper { gap: 14px; }
  .hero h1 { font-size: 1.3rem; }
}

/* SECTIONS & SPACING */
section {
  width: 100%;
  margin-bottom: 48px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  .section { margin-bottom: 36px; padding: 26px 5px; }
  section { margin-bottom: 28px; }
}

/* FOOTER */
footer {
  width: 100%;
  background: #18243A;
  color: #F7F7F2;
  padding: 28px 0 12px 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -8px 28px 0 #22344719;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
footer img {
  height: 40px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #E9673C;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover { border-bottom: 2px solid #FF8F53; color: #fff; }
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 0.97rem;
  margin-bottom: 4px;
}
.contact-footer img {
  height: 20px;
  margin: 0 5px 0 0;
  filter: drop-shadow(0px 0px 6px #E9673C85);
}
.footer-copy {
  font-size: 0.91rem;
  color: #CEA984;
  margin-top: 2px;
}

/* FORM ELEMENTS */
input, select, textarea {
  background: #172233;
  color: #fff;
  border: 1.5px solid #223447;
  border-radius: 8px;
  padding: 13px 13px;
  font-size: 1rem;
  outline: none;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E9673C;
  background: #1a2e41;
}
label {
  color: #fff;
  font-weight: 600;
}

/* TABLES */
table { width: 100%; border-collapse: collapse; margin-bottom: 19px; }
th, td { padding: 11px 8px; border: 1px solid #223447; }
th { background: #E9673C; color: #fff; }
td { background: #172233; color: #FFF; }

/* RESPONSIVE FLEX DIRECTION */
@media (max-width: 768px) {
  .features-grid,
  .card-container,
  .content-grid,
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .testimonials .testimonial-card, .card {
    width: 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #223447;
  color: #fff;
  z-index: 2200;
  padding: 24px 18px 22px 18px;
  box-shadow: 0 -4px 24px #E9673C59;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookieBannerAnimation 0.48s cubic-bezier(.48,1.36,.45,.84);
}
@keyframes cookieBannerAnimation {
  0% { transform: translateY(100%); opacity: 0; }
  88% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 680px;
  text-align: center;
  font-size: 1rem;
}
.cookie-banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-banner .btn-primary {
  background: #E9673C;
  color: #fff;
  box-shadow: 0 1px 8px 0 #22344744;
  font-size: 1.01rem;
}
.cookie-banner .btn-primary:hover {
  background: #FF8F53;
  color: #223447;
}
.cookie-banner .btn-secondary {
  background: #fff;
  color: #E9673C;
  border-color: #E9673C;
}
.cookie-banner .btn-secondary:hover {
  background: #FFE6DC;
  color: #223447;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed; z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(11,21,35,0.81);
  display: flex; align-items: center;
  justify-content: center;
  animation: fadeIn .28s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #18243A;
  border-radius: 22px;
  padding: 38px 32px 28px 32px;
  width: 97vw;
  max-width: 420px;
  color: #F7F7F2;
  box-shadow: 0 8px 46px 0 #E9673C60;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalScale .53s cubic-bezier(.36,1.26,.41,1);
}
@keyframes modalScale {
  0% { transform: scale(0.8); }
  88% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  color: #E9673C;
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 1;
  outline: none;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid #223447;
  font-size: 0.97rem;
}
.cookie-category:first-child { border-top: none; }
.cookie-category strong { color: #E9673C; margin-right: 8px; }
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #223447;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
  box-shadow: 0 1px 4px 0 #22344750;
}
.cookie-toggle:checked {
  background: #E9673C;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2.5px; top: 2.5px;
  width: 17px; height: 17px;
  background: #F7F7F2;
  border-radius: 50%;
  transition: all .18s;
  box-shadow: 0 1px 3px #22344766;
}
.cookie-toggle:checked:before {
  left: 18px;
}

/* Animations & Micro-Interactions */
.btn-primary, .btn-secondary, .feature-item, .card, .testimonial-card {
  transition: box-shadow .19s, transform .18s, background .19s, color .16s;
}

/* VISUAL TAGLINE */
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  color: #E9673C;
  letter-spacing: 0.05em;
  margin: 8px 0 0 0;
}

/* Accentuate Neon/Tech Aesthetic */
.feature-item, .card {
  border: 1.5px solid #223447;
  box-shadow:
    0 1px 16px 0 #22344744,
    0 0 5px 0 #E9673C20,
    0 0 10px 0 #E9673C15;
}
.card::before, .feature-item::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.17;
  box-shadow: 0 0 12px 2px #E9673C, 0 0 22px 5px #E9673C40;
}

@media (max-width: 480px) {
  .container { padding: 0 3px; }
  .hero { min-height: 160px; padding: 17px 0 9px 0; }
  .hero .content-wrapper { gap: 8px; }
  section, .section { padding: 18px 2.5px; }
  .btn-primary, .btn-secondary { width: 100%; }
}

/* FAQ/Definition List */
dl { margin-top: 18px; }
dt {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E9673C;
  margin-top: 12px;
}
dd {
  margin-bottom: 12px;
  font-size: 1rem;
}

/* Error/Success/Info Alerts */
.alert {
  padding: 14px 18px;
  background: #E9673C;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 #22344747;
}

/* Hide content overflow for mobile menu and cookies */
body.mobile-menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* --- UI DETAILS FOR TECH FUTURISTIC FEEL --- */
.feature-item, .card, .testimonial-card {
  box-shadow:
    0 1px 16px 0 #E9673C36,
    0 2px 18px 1px #22344736,
    0 0 16px 0 #fff0;
}

/* NEON BORDER for accent on hover (cards, feature) */
.feature-item:hover, .card:hover {
  border-color: #E9673C;
  box-shadow:
    0 4px 30px 0 #FF8F5360,
    0 0 22px 4px #E9673C22;
}

/* Misc */
::-webkit-scrollbar { width: 9px; background: #223447; }
::-webkit-scrollbar-thumb { background: #E9673C; border-radius: 7px; }

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #E9673C;
  outline-offset: 2px;
}

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

/* --- END STYLE.CSS --- */
