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

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #111827;
  color: #F7F7F9;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

:root {
  --primary: #274B6D;
  --secondary: #088A6B;
  --accent: #F7F7F9;
  --bg-light: #1a2635;
  --card: #1e293b;
  --text: #F7F7F9;
  --headline: #fff;
  --shadow: 0 4px 24px 0 rgba(8,89,130,0.19);
  --neon-green: #00FFC2;
  --neon-blue: #1B9DDC;
  --neon-pink: #EE31CF;
  --border-radius: 16px;
  --gap: 24px;
  --focus-ring: 0 0 0 2px #00FFC2, 0 0 12px 2px #1B9DDC;
}

@media (max-width: 768px) {
  :root { --gap: 16px; }
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--headline);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, blockquote {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: var(--neon-green); font-weight: 600; }
a { color: var(--neon-blue); text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: var(--neon-pink); text-decoration: underline; }

/* Spacing, Layout, and Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
@media (max-width: 768px) {
  section { padding: 24px 0; margin-bottom: 36px; }
  .container { padding: 0 12px; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 280px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 6px #00FFC2;
  transform: translateY(-2px) 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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-grid { flex-direction: column; }
  .card-container { gap: 16px; }
}

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

/* HERO/BACKGROUND FX */
body {
  background: linear-gradient(135deg,#222641 0%, #1a2635 70%, #262B66 100%);
}
section:first-of-type {
  background: linear-gradient(90deg,#1A2635 70%, #223A50 100%);
}

/* HEADER */
header {
  width: 100%;
  background: rgba(17,24,39,0.94);
  border-bottom: 2px solid #1B9DDC;
  box-shadow: 0 2px 16px 3px rgba(8,89,130,0.07);
  z-index: 1010;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 0;
}
.logo img {
  height: 46px;
  transition: filter .2s;
}
.logo:hover img, .logo:focus img {
  filter: drop-shadow(0 0 8px #00FFC2);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--neon-green);
  border-bottom: 2px solid var(--neon-green);
}
.btn-primary {
  background: linear-gradient(90deg,#088A6B 32%, #1B9DDC 92%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  margin-left: 28px;
  box-shadow: 0 4px 14px 1px #00FFC23d;
  cursor: pointer;
  transition: box-shadow .23s, background .15s, color .15s, filter .22s;
  text-shadow: 0 2px 8px #088A6B50;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#1B9DDC 37%, #00FFC2 97%);
  color: #121a22;
  box-shadow: 0 4px 18px 3px #1B9DDCb9;
  outline: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: var(--neon-green);
  font-size: 2.1rem;
  margin-left: 16px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 6px;
  display: none;
  cursor: pointer;
  z-index: 1200;
  transition: background 0.14s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #262B66;
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 2px #00FFC2;
}

@media (max-width: 990px) {
  .main-nav { display: none; }
  .btn-primary { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  position: fixed;
  z-index: 2500;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.98);
  transform: translateX(-110%);
  transition: transform 0.37s cubic-bezier(0.5,1,0.89,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 48px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--neon-pink);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 3002;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #22003635;
  border-radius: 8px;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 10vw;
  width: 100%;
  margin-top: 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 16px 0 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-bottom .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-green);
  border-bottom: 2px solid var(--neon-green);
}
@media (max-width: 690px) {
  .mobile-nav { padding: 0 18px; }
}

/* MAIN LAYOUT UTILS */
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
  list-style-position: outside;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: var(--body);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
ol { list-style-type: decimal;
}
ul { list-style-type: disc; }
.content-wrapper ul {
  gap:15px;
}
.content-wrapper h3 {
  margin-top: 18px;
}
input[type="search"] {
  background: var(--bg-light);
  color: var(--text);
  font-size: 1rem;
  padding: 14px 18px;
  border: 1.5px solid #1B9DDC;
  border-radius: 2em;
  box-shadow: 0 2px 8px #1B9DDC25;
  outline: none;
  transition: border .18s, box-shadow .18s;
  width: 100%;
  max-width: 400px;
}
input[type="search"]:focus {
  border: 1.8px solid var(--neon-green);
  box-shadow: 0 0 12px #00FFC255;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7F7F9;
  color: #202244;
  border-radius: 16px;
  padding: 24px 32px 22px 32px;
  box-shadow: 0 6px 24px 2px #00ffc22c;
  margin-bottom: 20px;
  position: relative;
  max-width: 600px;
}
.testimonial-card blockquote {
  color: #0f1732;
  font-size: 1.16rem;
  font-style: italic;
  margin-bottom: 5px;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--secondary);
}
@media (max-width: 600px) {
  .testimonial-card { padding: 18px 16px; }
}

/* FOOTER */
footer {
  background: #131926;
  padding: 32px 0 24px 0;
  border-top: 2px solid #1B9DDC;
  color: var(--accent);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo img {
  height: 60px;
  filter: drop-shadow(0 0 8px #1B9DDC88);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--neon-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.99rem;
  transition: color .14s;
  letter-spacing: 0.01em;
}
.footer-nav a:hover {
  color: var(--neon-pink);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.97rem;
  color: #b8d0e8;
}
.footer-contact a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color .18s;
}
.footer-contact a:hover { color: var(--neon-blue); }
@media (max-width: 980px) {
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; } 
}

/* CARDS, EFFECTS, VISUAL ACCENTS */
.card, .testimonial-card, .feature-item {
  box-shadow: 0 2px 16px 2px #00ffc218;
  border: 1.5px solid transparent;
  transition: box-shadow 0.25s, border-color 0.17s, filter 0.2s;
}
.card:hover, .card:focus-within {
  border-color: var(--neon-green);
  box-shadow: 0 6px 34px 8px #1b9ddc49;
  filter: brightness(1.08);
}
.feature-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  min-width: 180px;
}

/* BUTTONS & CTAs */
.btn-primary {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.02rem;
  border: none;
  outline: none;
  background: linear-gradient(90deg,#274B6D 32%, #00ffc2 97%);
  color: #fff;
  position: relative;
  box-shadow: 0 3px 20px 0 #1b9ddc33;
}
.btn-primary:focus {
  box-shadow: 0 0 0 2px #00FFC2, 0 0 12px #1B9DDC55;
  color: #121a22;
}
/* Focus ring for all interactive elements */
a:focus, button:focus, input:focus {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 8px;
}

/* VISUAL ACCENTS (FOR ICONS, ETC) */
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px #00FFC278);
}

/* SECTION COMBINATIONS: For flexbox layouts and hierarchy */
.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;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 0 10px;
  }
  .btn-primary { padding: 10px 18px; font-size: 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  .content-wrapper { gap: 16px; }
  .section { margin-bottom: 36px; padding: 24px 10px; }
  .footer-logo img { height: 44px; }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #101930;
  color: #f7f7f9;
  z-index: 3000;
  box-shadow: 0 -2px 48px 2px #00ffc220;
  padding: 18px 18px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  animation: slideup-banner 0.45s cubic-bezier(0.65,0,0.35,1);
}
@keyframes slideup-banner {
  from { transform: translateY(120%);} to {transform: none;}
}
.cookie-consent-banner .cookie-message {
  flex: 2 1 0;
  min-width: 160px;
}
.cookie-consent-banner .cookie-actions{
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-consent-btn{
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 18px;
  background: linear-gradient(90deg,#1B9DDC 22%, #00FFC2 98%);
  color: #101930;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .17s, background .17s, color .15s;
  box-shadow: 0 2px 8px #1B9DDC11;
}
.cookie-consent-btn.cookie-settings{
  background: #223A50;
  color: #00FFC2;
  font-weight: 600;
  border: 1px solid #1B9DDC;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus{
  background: linear-gradient(90deg,#00FFC2 22%, #1B9DDC 98%);
  color: #18164b;
  box-shadow: 0 2px 24px #00FFC255;
}
.cookie-consent-btn.cookie-settings:hover, .cookie-consent-btn.cookie-settings:focus{
  background: #1B9DDC;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 10px; }
  .cookie-consent-banner .cookie-actions { gap: 12px; }
}

/* COOKIE PREFERENCE MODAL */
.cookie-settings-modal {
  position: fixed;
  z-index: 4100;
  left: 0;
  top: 0;
  width: 100vw; height: 100vh;
  background:rgba(18,23,36,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinmodal .42s;
}
@keyframes fadeinmodal { from { opacity: 0;} to{ opacity: 1;} }
.cookie-settings-content {
  background: #162649;
  color: #f7f7f9;
  padding: 40px 28px 32px 28px;
  border-radius: 16px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 40px #00ffc23c;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-settings-content h2 {
  margin-bottom: 8px;
  color: #00ffc2;
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: #1B9DDC15;
  border-radius: 10px;
  padding: 14px 10px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #00ffc2;
  display: inline-block;
  width: 22px; height: 22px;
}
.cookie-category input:disabled {
  cursor: not-allowed;
  opacity: .80;
}
.cookie-category .always-on {
  background: #00FFC2;
  color: #121a22;
  border-radius: 7px;
  font-size: 0.99em;
  padding: 2px 11px;
  margin-left: 6px;
  font-weight: 700;
}
.cookie-settings-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-settings-close {
  background: transparent;
  color: #00FFC2;
  border: none;
  font-size: 1.6rem;
  font-weight: 700;
  position: absolute;
  top: 25px;
  right: 31px;
  cursor: pointer;
  z-index: 4202;
  transition: color .13s;
}
.cookie-settings-close:hover { color: #fff; }
@media (max-width: 520px) {
  .cookie-settings-content { padding: 20px 6vw; }
  .cookie-settings-close { right: 16px; top: 10px; }
}

/* MICRO-INTERACTIONS & FX */
button, a.btn-primary, .cookie-consent-btn {
  transition-property: background, color, box-shadow, border, filter, transform;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}
.btn-primary:active {
  transform: scale(.98);
}
.cookie-consent-btn:active {
  transform: scale(.97);
  box-shadow: 0 1px 12px #00FFC260;
}

/* UTILITIES & OVERRIDES */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Ensure min-spacing between cards/sections */
.card, .feature-item, .testimonial-card, section {
  margin-bottom: 24px;
}

/* Prevent overlapping */
main > section { margin-bottom: 60px; }
section:last-of-type { margin-bottom: 0 !important; }

/* Accessibility: Large font size for focus/hover states on links */
a:focus-visible, .btn-primary:focus-visible, button:focus-visible {
  outline: 3px solid #00FFC2;
  outline-offset: 2px;
}

/* End of CSS */
