/* --------------------------
   CSS 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

/* ---------------------------------
   BRAND & TYPOGRAPHY
----------------------------------- */
:root {
  --color-primary: #274472;
  --color-secondary: #6096BA;
  --color-accent: #F0F4F8;
  --color-dark: #0F1626;
  --color-white: #fff;
  --color-neon: #00ffd0;
  --color-danger: #FD3A69;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}
body {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  color: var(--color-accent);
  font-family: var(--font-body);
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-white);
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
p, li, blockquote, ul, ol, label {
  font-family: var(--font-body);
  font-size: 1rem;
}
small {
  font-size: 0.93rem;
  opacity: .75;
}
strong {
  color: var(--color-neon);
  font-weight: 700;
}

/* ------------------------------------------------------------
   HEADER NAVIGATION — DESKTOP & MOBILE, FLEXBOX LAYOUTS
------------------------------------------------------------- */
header {
  background: rgba(20,29,58,0.92);
  box-shadow: 0 6px 28px -12px rgba(39,68,114,0.15);
  position: sticky; top: 0; z-index: 1400;
}
header .container {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  position: relative;
  z-index: 1;
}
nav a:hover, nav a:focus {
  background: rgba(0, 255, 208, 0.08);
  color: var(--color-neon);
}
.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 30px;
  padding: 0.75em 2.2em 0.75em 2.2em;
  font-size: 1.07rem;
  letter-spacing: 0.03em;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s, color 0.15s, border 0.15s;
  box-shadow: 0 0 8px 0 rgba(0,255,208,0.14), 0 2px 12px 0 rgba(32,50,134,0.07);
  border-width: 2px;
  border-style: solid;
  margin-left: 12px;
  display: inline-block;
}
.btn-primary {
  background: var(--color-neon);
  border-color: var(--color-neon);
  color: var(--color-dark);
  text-shadow: 0 1px 12px #00ffd077;
  box-shadow: 0 0 18px 0 #00ffd055, 0 2px 16px 0 #27447233;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 0 40px 8px #00ffd079, 0 2px 48px 16px #27447233;
  text-shadow: none;
}
.btn-secondary {
  background: rgba(96,150,186,0.10);
  color: var(--color-neon);
  border-color: var(--color-neon);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-neon);
  color: var(--color-dark);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.3rem;
  cursor: pointer;
  margin-left: 22px;
  z-index: 1502;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-white);
}
@media (max-width: 992px) {
  nav {
    gap: 12px;
  }
  header .container {
    height: 72px;
  }
  .btn-primary {
    padding: .75em 1.2em;
    font-size: .99rem;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* -------------------------
   MOBILE SLIDING MENU
-------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 375px;
  height: 100vh;
  background: rgba(16, 27, 54, 0.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,.4,.4,1);
  z-index: 2000;
  box-shadow: -4px 0 46px 0 #27447277;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 26px 24px 26px;
  gap: 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-neon);
  font-size: 2.4rem;
  align-self: flex-end;
  cursor: pointer;
  border: none;
  margin-bottom: 22px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  padding: 8px 0;
  transition: color 0.15s, background 0.14s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-neon);
  background: rgba(0,255,208,0.10);
}
@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
  }
}

/* ---------------------
   HERO SECTION
---------------------- */
.hero {
  background: linear-gradient(126deg, #1e253b 82%, #274472 100%);
  border-bottom: 3px solid var(--color-neon);
  padding: 60px 0 30px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--color-neon);
  font-size: 2.7rem;
  line-height: 1.17;
  text-shadow: 0 0 24px #00ffd099,0 2px 60px #0f162633;
  margin-bottom: 4px;
}
.hero p {
  color: var(--color-accent);
  line-height: 1.5;
  font-size: 1.12rem;
  font-family: var(--font-body);
}

/* --------------------------------------
   SECTION/CARD SPACING AND PATTERNS
--------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(25,35,66,0.92);
  border-radius: 20px;
  box-shadow: 0 6px 36px -8px #27447222,0 2px 6px #00ffd012;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: rgba(27,33,56,1.0);
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 #00ffd025, 0 4px 42px -8px #27447233;
  padding: 22px 26px;
  position: relative;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Content grid flex pattern */
.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 flexbox */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0f4f8;
  color: #232c38;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 18px -8px #27447233, 0 0px 8px #00ffd033;
  font-size: 1.11rem;
  transition: box-shadow 0.22s, background 0.18s;
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px -2px #27447233, 0 6px 20px #00ffd044;
  background: #fff;
}
.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 10px;
  color: #2e3542;
}
.testimonial-card span {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: rgba(27,39,66,0.98);
  border-radius: 16px;
  padding: 26px 30px 22px 30px;
  box-shadow: 0 2px 20px -8px #00ffd042;
  min-width: 225px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.15s;
}
.feature-item:hover,
.feature-item:focus-within {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 44px -12px #00ffd055,0 6px 32px #27447233;
}
.feature-item img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}
.feature-item h3 {
  color: var(--color-neon);
  font-size: 1.20rem;
  margin-bottom: 8px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Blog list styling */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-list li {
  background: rgba(33,51,88,0.93);
  border-radius: 14px;
  box-shadow: 0 2px 20px -8px #00ffd044;
  padding: 30px 26px 18px 26px;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.blog-list h3 {
  color: var(--color-neon);
  font-size: 1.3rem;
}
.blog-list .btn-secondary {
  align-self: flex-start;
}

/* FAQ list & item */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: rgba(26,32,60,0.97);
  border-radius: 13px;
  box-shadow: 0 2px 16px -6px #27447244;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.faq-item h3 {
  color: var(--color-neon);
  font-size: 1.13rem;
}

/* Contact details flex and icons */
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-detail-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-accent);
  font-size: 1rem;
}
.contact-detail-list img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 2px #00ffd0AA);
}

/* Founder intro on about page */
.founder-intro {
  background: rgba(30,40,80,0.97);
  border-left: 5px solid var(--color-neon);
  border-radius: 14px;
  padding: 20px 30px;
  margin-top: 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.founder-intro h3 {
  color: var(--color-neon);
  font-size: 1.19rem;
  margin-bottom: 6px;
}
.founder-intro p {
  color: var(--color-accent);
}

/* Success stories (testimonials page) */
ul {
  padding-left: 20px;
}
ul > li {
  list-style: disc inside;
  color: var(--color-accent);
  margin-bottom: 10px;
}
ol {
  padding-left: 18px;
}
ol > li {
  list-style: decimal inside;
  color: var(--color-accent);
  margin-bottom: 10px;
}

/* ---------------------------
   FOOTER STYLES
---------------------------- */
footer {
  background: linear-gradient(98deg, rgba(24,33,60,0.98), rgba(39,68,114,0.97));
  border-top: 2px solid var(--color-neon);
  color: var(--color-accent);
  padding: 0;
  margin-top: 60px;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 0 16px 0;
  flex-direction: row
}
.footer-brand {
  display: flex;
  align-items: center;
}
.footer-brand img {
  height: 48px;
  filter: drop-shadow(0 4px 16px #00ffd044);
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-menu a {
  color: var(--color-accent);
  transition: color 0.15s;
  font-size: 1rem;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-neon);
}
.footer-contact {
  display: flex;
  flex-direction: column;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .97rem;
  color: var(--color-accent);
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(0,255,208,0.07);
  border-radius: 50%;
  transition: background 0.15s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--color-neon);
}
.footer-social img {
  width: 20px;
  height: 20px;
}
.footer-copyright {
  font-size: .92rem;
  color: var(--color-secondary);
  margin-top: 18px;
  width: 100%;
  text-align: center;
}

/* -----------------------------------
   COOKIE CONSENT BANNER/MODAL
------------------------------------ */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: rgba(27,36,72,0.95);
  color: var(--color-accent);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 25px 10px 22px 10px;
  box-shadow: 0 -8px 36px 0 #27447240, 0 4px 20px 0 #00ffd055 inset;
  animation: cookiebanner 0.75s cubic-bezier(.4,.6,.44,1) 1;
}
@keyframes cookiebanner {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  text-align: center;
  color: var(--color-accent);
  font-size: 1rem;
  max-width: 900px;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-consent-banner .btn-cookie {
  padding: 0.45em 1.6em;
  margin: 0;
  font-size: 1.01rem;
}
.btn-cookie {
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--color-neon);
  transition: background .16s, color .16s;
  background: var(--color-dark);
  color: var(--color-neon);
  margin-right: 4px;
}
.btn-cookie.accept {
  background: var(--color-neon);
  color: var(--color-dark);
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-cookie.reject {
  background: var(--color-danger);
  border-color: var(--color-danger);
  color: var(--color-white);
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: #b71c45;
}
.btn-cookie.settings {
  background: none;
  color: var(--color-accent);
  border-color: var(--color-neon);
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: var(--color-neon);
  color: var(--color-dark);
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background: rgba(18,26,52,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #232d47;
  border-radius: 16px;
  box-shadow: 0 14px 67px -18px #274472bb;
  padding: 40px 25px;
  width: 96vw;
  max-width: 450px;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  animation: cookiemodal 0.45s cubic-bezier(.3,.7,.42,1.13) 1;
}
@keyframes cookiemodal {
  from { transform: translateY(48px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 20px;
  color: var(--color-neon);
  background: none;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-content h3 {
  color: var(--color-neon);
  font-size: 1.11rem;
  margin-bottom: 7px;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-accent);
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 43px;
  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: #1c243e;
  border-radius: 22px;
  transition: background 0.15s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-neon);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: .16s;
  box-shadow: 0 2px 10px #00ffd022;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(21px);
  background: #0f1626;
}
.cookie-info {
  font-size: 0.94rem;
  color: #b7c7e6;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

/* -------------------------------------------
   ANIMATIONS, INTERACTIONS, HOVER STATES
-------------------------------------------- */
.btn-primary, .btn-secondary, .btn-cookie {
  transition: 
    background 0.18s,
    color 0.17s,
    box-shadow 0.18s,
    border 0.18s,
    transform 0.11s;
}
a, button, .card, .feature-item, .testimonial-card {
  transition: 
    box-shadow 0.18s,
    color 0.16s,
    background 0.16s,
    border 0.16s,
    transform 0.14s;
}
a:focus, button:focus {
  outline: 2px solid var(--color-neon);
  outline-offset: 2px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 44px -12px #00ffd088,0 6px 18px #27447233;
  transform: translateY(-3px) scale(1.02);
}

/* ----------------------------------------------
   RESPONSIVE DESIGN — MOBILE FIRST APPROACH
------------------------------------------------ */
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
  .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .feature-grid, .blog-list, .testimonial-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  footer .content-wrapper {
    gap: 20px;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  section {
    margin-bottom: 36px;
    padding: 28px 8px;
    border-radius: 15px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero {
    padding: 32px 0 18px 0;
    border-radius: 0 0 8px 8px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.29rem;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    font-size: 1rem;
    padding: 16px;
  }
  .card {
    padding: 16px;
    border-radius: 12px;
  }
  .feature-item {
    padding: 14px 16px 12px 16px;
    border-radius: 10px;
  }
  .blog-list li {
    padding: 14px 10px 10px 10px;
    border-radius: 8px;
  }
  .footer-brand img {
    height: 30px;
  }
  footer .content-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
  }
  .footer-social {
    gap: 9px;
  }
}
@media (max-width: 480px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  .hero .container {
    padding: 0 4px;
  }
  .hero h1 {
    font-size: 1.31rem;
  }
}

/* Hide .mobile-menu when not active on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Utility spacings for consistency */
.mt-30 { margin-top: 30px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* Accessibility - visually hidden class */
.visually-hidden { 
  position: absolute !important; 
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
