/* 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: #101B2A;
  color: #F5F5F5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #16243B;
}
*, *:before, *:after { box-sizing: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: #15C4F2; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #fff; text-shadow: 0 0 4px #15C4F2; }
ul, ol { margin-left: 24px; }
strong { font-weight: bold; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #F5F5F5;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5 { font-size: 1.1rem; }
p, li, label { font-size: 1rem; line-height: 1.7; margin-bottom: 14px; }
small, .tag { font-size: 0.95rem; }

/* GENERAL LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
section { margin-bottom: 60px; padding: 40px 0 0 0; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #16243B;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(21,196,242,0.08);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #222E48;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px 0 #15C4F2;
}
.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;
  background: #F5F5F5;
  color: #16243B;
  padding: 20px;
  border-radius: 20px;
  margin-top: 32px;
  box-shadow: 0 2px 14px 0 rgba(21,196,242,0.09);
  max-width: 650px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO */
.hero {
  min-height: 320px;
  background: linear-gradient(90deg,#152340 60%, #15C4F2 160%);
  box-shadow: 0 6px 56px 0 rgba(21,196,242,0.09);
  border-radius: 0 0 32px 32px;
  padding: 56px 0;
  position: relative;
}
.hero h1, .hero p {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(21,196,242,0.09);
}
.hero .cta-btn {
  margin-top: 28px;
}

/* FEATURE GRID & CARDS */
.feature-grid,
.service-list,
.gadget-grid,
.workshop-grid,
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 24px 0 0 0;
}
.feature, .service-item, .gadget-item, .workshop-item, .blog-post-grid article {
  flex: 1 1 min(375px, 100%);
  background: #16243B;
  border-radius: 20px;
  border: 1px solid #23335A;
  box-shadow: 0 2px 16px 0 rgba(21,196,242,0.10);
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover, .service-item:hover, .gadget-item:hover, .workshop-item:hover, .blog-post-grid article:hover {
  box-shadow: 0 6px 32px 0 #15C4F2;
  transform: translateY(-6px) scale(1.01);
}
.feature img, .service-item img, .gadget-item img, .workshop-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}
.badge {
  background: #15C4F2;
  color: #16243B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 16px;
  padding: 2px 18px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  box-shadow: 0 1px 6px 0 rgba(21,196,242,0.12);
  align-self: flex-start;
}
span.tag {
  background: #23335A;
  color: #15C4F2;
  border-radius: 10px;
  padding: 2px 12px;
  font-size: 0.90rem;
  margin-top: 10px;
}

/* CTA SECTION */
.cta {
  background: #15C4F2;
  color: #16243B;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(21,196,242,0.15);
  padding: 56px 0;
  text-align: center;
}
.cta h2, .cta p {
  color: #16243B;
}
.cta .cta-btn {
  margin-top: 24px;
}

/* BUTTONS - Standard and CTA */
.cta-btn, button, input[type="submit"], .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #15C4F2;
  color: #16243B;
  padding: 14px 34px;
  font-size: 1.1rem;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 2px 16px 0 rgba(21,196,242,0.17);
  cursor: pointer;
  letter-spacing: 0.06em;
  margin: 10px 0 0 0;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus, 
button:hover, button:focus, 
input[type="submit"]:hover, input[type="submit"]:focus, 
.cookie-btn:hover, .cookie-btn:focus {
  background: #17e5ff;
  color: #101B2A;
  transform: scale(1.04);
}

button, .cookie-btn {
  box-shadow: 0 1px 8px 0 rgba(21,196,242,0.18);
  padding: 10px 24px;
}

/* FORMS */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 16px 0;
  background: transparent;
}
label { font-weight: 500; margin-bottom: 4px; }
input, textarea {
  padding: 12px 14px;
  border: 1px solid #23335A;
  border-radius: 10px;
  background: #101B2A;
  color: #F5F5F5;
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(21,196,242,0.06);
  margin-bottom: 12px;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border-color: #15C4F2;
  outline: none;
}

/* BLOG PREVIEW AND ARTICLES */
.blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-preview article,
.blog-post-grid article {
  background: #16243B;
  border-radius: 20px;
  border: 1px solid #23335A;
  box-shadow: 0 2px 14px 0 rgba(21,196,242,0.05);
  flex: 1 1 335px;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
}

/* TEXT-SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  gap: 12px;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
  margin-top: 4px;
}
.text-section a {
  font-weight: 600;
  border-bottom: 1.5px dashed #15C4F2;
  padding-bottom: 1px;
}
.text-section a:hover {
  border-bottom: 1.5px solid #17e5ff;
}

/* FOOTER */
footer {
  background: #101B2A;
  border-top: 2px solid #16243B;
  padding: 38px 0 26px 0;
  color: #F5F5F5;
  box-shadow: 0 -2px 22px 0 rgba(21,196,242,0.07);
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
footer nav a {
  font-size: 1rem;
  color: #15C4F2;
  border-bottom: 1px solid transparent;
}
footer nav a:hover {
  border-bottom: 1px solid #15C4F2;
  color: #fff;
}
.footer-info {
  color: #93a0bf;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* HEADER & NAVIGATION */
header {
  background: #16243B;
  box-shadow: 0 1px 16px 0 rgba(21,196,242,0.13);
  position: relative;
  z-index: 900;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 14px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F5F5;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: color 0.18s, border-bottom 0.18s;
  border-bottom: 1.5px solid transparent;
  padding: 4px 0;
}
header nav a:hover, header nav a:focus {
  color: #15C4F2;
  border-bottom: 1.5px solid #15C4F2;
}
header img {
  height: 46px;
}
/* Hide mobile nav by default */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
.mobile-menu-close {
  display: none;
}

/* MOBILE NAVIGATION */
@media (max-width: 998px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 24px;
    right: 24px;
    background: #16243B;
    color: #15C4F2;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    border: none;
    font-size: 2.1rem;
    box-shadow: 0 2px 12px 0 rgba(21,196,242,0.22);
    z-index: 1202;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #15C4F2;
    color: #101B2A;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #16243B;
    box-shadow: -8px 0 48px 0 rgba(21,196,242,0.20);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.52,.1,.51,1.01);
    z-index: 1201;
    padding: 0 0 0 0;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    display: block;
    position: absolute;
    top: 22px;
    right: 32px;
    background: #15C4F2;
    color: #16243B;
    border: none;
    font-size: 2.1rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    z-index: 1203;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 rgba(21,196,242,0.19);
    transition: background 0.18s, color 0.18s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #101B2A;
    color: #15C4F2;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 90px;
    padding-left: 38px;
  }
  .mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 12px 0;
    border-bottom: 1px solid #23335A;
    transition: color 0.18s;
    width: fit-content;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    color: #15C4F2;
    border-bottom: 1px solid #15C4F2;
  }
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .content-grid, .feature-grid, .service-list, .gadget-grid, .workshop-grid, .blog-post-grid, .blog-preview {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .section, section {
    padding: 32px 0 0 0;
    margin-bottom: 36px;
  }
  .hero {
    padding: 38px 0 30px 0;
    border-radius: 0 0 24px 24px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card, .card, .feature, .service-item, .gadget-item, .workshop-item, .blog-post-grid article, .blog-preview article {
    padding: 18px 14px 15px 14px;
    border-radius: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* FOCUS STATES ACCESSIBILITY */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #15C4F2;
  outline-offset: 2px;
}
button:active {
  transform: scale(0.97);
}

/* MICRO-INTERACTIONS */
.cta-btn, button {
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.15s;
}
.feature img, .gadget-item img, .workshop-item img {
  filter: drop-shadow(0 2px 8px #15C4F280);
  transition: filter 0.2s;
}
.card:hover img, .gadget-item:hover img {
  filter: drop-shadow(0 2px 18px #15C4F3cc);
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  p, li, label { font-size: 0.99rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #16243B;
  color: #F5F5F5;
  z-index: 2000;
  box-shadow: 0 -4px 32px 0 rgba(21,196,242,0.23);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 38px;
  transition: transform 0.28s cubic-bezier(.52,.1,.51,1.01), opacity 0.26s;
}
.cookie-consent-banner.hide {
  transform: translateY(105%);
  opacity: 0;
}
.cookie-consent-banner .cookie-message {
  font-size: 1rem;
  max-width: 560px;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: #15C4F2;
  color: #16243B;
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-btn.secondary {
  background: #23335A;
  color: #F5F5F5;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #17e5ff;
  color: #101B2A;
  transform: scale(1.05);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #101B2A;
  color: #15C4F2;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 9vw 18px 6vw;
  }
  .cookie-message {
    max-width: 96vw;
  }
  .cookie-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* COOKIE MODAL (Settings) */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(22,36,59,0.69);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}
.cookie-modal {
  background: #16243B;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -4px 32px 0 rgba(21,196,242,0.19);
  min-width: 340px;
  max-width: 94vw;
  max-height: 86vh;
  margin: 0 auto;
  padding: 34px 26px 20px 26px;
  color: #F5F5F5;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: modalIn 0.32s cubic-bezier(.52,.1,.51,1.01);
}
@keyframes modalIn {
  0% { transform: translateY(100vh); }
  100% { transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: #15C4F2;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #23335A;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.05rem;
}
.cookie-switch {
  margin-left: 16px;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 22px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 20px; top: 18px;
  background: transparent;
  color: #15C4F2;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: #fff;
}

/* COOKIE TOGGLE SWITCH */
.cookie-switch {
  width: 42px;
  height: 22px;
  background: #23335A;
  border-radius: 12px;
  position: relative;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-switch input { display: none; }
.cookie-switch-label {
  display: block;
  width: 42px;
  height: 22px;
  cursor: pointer;
  position: relative;
}
.cookie-switch-span {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #15C4F2;
  transition: left 0.18s, background 0.18s;
}
.cookie-switch input:checked + .cookie-switch-span {
  left: 22px;
  background: #16EEFF;
}
.cookie-switch[aria-disabled="true"],
.cookie-switch[aria-disabled="true"] .cookie-switch-label {
  opacity: 0.64;
  pointer-events: none;
}

/* HIGH CONTRAST FOR TESTIMONIAL */
.testimonial-card {
  background: #F5F5F5;
  color: #16243B;
  border-left: 4px solid #15C4F2;
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  font-size: 0.98rem;
  color: #23335A;
}

/* WHITE & ACCENT BACKGROUNDS */
.bg-accent {
  background: #F5F5F5;
  color: #16243B;
}
.bg-primary {
  background: #16243B;
  color: #F5F5F5;
}
.bg-secondary {
  background: #15C4F2;
  color: #16243B;
}

/* MISC. HELPERS */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.center { text-align: center; }

/* VISUAL EFFECTS - NEON HIGHLIGHTS */
.neon {
  color: #15C4F2;
  text-shadow: 0 0 6px #15C4F2aa, 0 0 16px #15C4F230;
}
.card .neon, .feature .neon, .cta .neon {
  filter: drop-shadow(0 0 6px #15C4F2bb);
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 10px;
  background: #101B2A;
}
body::-webkit-scrollbar-thumb {
  background: #15C4F2;
  border-radius: 5px;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.72s cubic-bezier(.7,.24,.45,1.27);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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

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