/* 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 { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F8FC;
  color: #1E2A38;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
a {
  color: #29A7DF;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #FF0078;
  outline: none;
}
button {
  font-family: inherit;
}

/* BRAND COLORS */
:root {
  --primary: #1E2A38;
  --secondary: #29A7DF;
  --accent: #F3F8FC;
  --cta: #FF0078;
  --cta-dark: #C80057;
  --success: #14CA72;
  --danger: #FF2D55;
  --text-dark: #1E2A38;
  --text-light: #FFF;
}

/* LAYOUT */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Flex utility for cards and grid content */
.card-container, .card-grid, .feature-grid, .product-cards, .gadgets-grid, .service-list-grid, .testimonial-slider, .content-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
}
.product-grid, .gadgets-grid, .service-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-list, .gadget-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(41, 167, 223, 0.10);
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(30,42,56,0.06);
  padding: 28px 24px;
  background: #FFF;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 22px rgba(41,167,223,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Spacing patterns */
.card-container { gap: 24px; }
.card { margin-bottom: 20px; }
.content-grid { 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; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: .01em;
  line-height: 1.15;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--secondary);
  text-shadow: 0 1px 12px rgba(41,167,223,0.10);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--primary);
  text-shadow: 0 1px 10px rgba(41,167,223,0.08);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--cta);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--primary);
}
p, .text-section, .author, li {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-dark);
  font-size: 1rem;
}
strong {
  font-weight: bold;
  color: var(--secondary);
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  margin-top: 12px;
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.21s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 8px 0 rgba(41,167,223,0.14);
  border: none;
  outline: none;
}
.btn-primary {
  background: linear-gradient(90deg, #29A7DF 60%, #FF0078 100%);
  background-color: #29A7DF;
  color: #FFF;
  border: 2px solid #29A7DF;
  box-shadow: 0 2px 12px 0 rgba(255,0,120,0.11);
}
.btn-primary:hover, .btn-primary:focus {
  background: #1E2A38;
  color: #FFF;
  border-color: #FF0078;
  box-shadow: 0 5px 18px 0 rgba(255,0,120,0.17), 0 0px 0 4px #29A7DF22;
}
.btn-secondary {
  background: #FFF;
  color: #29A7DF;
  border: 2px solid #29A7DF;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #29A7DF;
  color: #FFF;
  border-color: #FF0078;
}

/* HEADER */
header {
  background: #FFF;
  box-shadow: 0 2px 12px 0 rgba(30,42,56,.10), 0 2px 0 #29A7DF;
  z-index: 99;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-weight: 700;
  color: #1E2A38;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a.active {
  background: #29A7DF;
  color: #FFF;
}
header .btn-primary {
  margin: 0;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: #FFF;
  color: #29A7DF;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 18px 6px 18px;
  transition: background 0.14s, color 0.14s;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 1200;
}
.mobile-menu-toggle:focus {
  box-shadow: 0 0 4px #FF007811;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #1E2A38;
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 16px 0 rgba(41,167,223,0.18);
  overflow-y: auto;
  padding: 22px 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 24px 12px 0;
  padding: 8px 14px;
  font-size: 2rem;
  color: #FF0078;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #29A7DF33;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #29A7DF;
  color: #FFF;
}

/* Hide desktop nav on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Main content spacing & responsive layout */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 800px) {
  section {
    padding: 32px 8px;
    margin-bottom: 42px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 18px 0 24px 0;
    margin-bottom: 36px;
  }
}
/* Responsive flex utility classes */
@media (max-width: 900px) {
  .content-wrapper, .card-container, .product-cards, .feature-grid, .product-grid, .gadgets-grid, .service-list-grid, .content-grid, .testimonial-slider {
    flex-direction: column !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
  }
}

/* CARD & FEATURED ELEMENTS */
.content-wrapper > div, .product-cards > div, .product-grid > div,
.gadgets-grid > div, .feature-grid > div, .service-list-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(41,167,223,0.08);
  padding: 26px 22px;
  flex: 1 1 265px;
  min-width: 250px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.content-wrapper > div:hover, .product-cards > div:hover, .product-grid > div:hover,
.gadgets-grid > div:hover, .feature-grid > div:hover, .service-list-grid > div:hover {
  box-shadow: 0 8px 30px 0 rgba(255,0,120,0.11);
  transform: translateY(-5px) scale(1.03);
  z-index: 2;
}

/* Lists with icons */
ul li, .features-list li, .gadget-benefits-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
  font-size: 1rem;
}
ul li img, .features-list li img, .gadget-benefits-list li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #29A7DF11;
  padding: 3px;
}

/* Testimonial section */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(41,167,223,.17);
  margin: 0;
  padding: 24px 22px;
  min-width: 250px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.14s;
  color: #232C39;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 13px;
}
.testimonial-card .author {
  font-size: 1rem;
  color: #29A7DF;
  font-weight: 700;
}
.testimonial-card span {
  color: #FF0078;
  font-size: 1.16em;
  margin-left: 8px;
  letter-spacing: 1px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px 0 rgba(255,0,120,.16);
  transform: translateY(-4px) scale(1.02);
}

/* CTA Section */
.section:last-of-type, .cta-section {
  background: linear-gradient(90deg, #29A7DF 70%, #FF0078 100%);
  background-color: #29A7DF;
  color: #FFF !important;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px 0 rgba(255,0,120,0.11);
}
.section:last-of-type h2, .cta-section h2, .section:last-of-type p, .cta-section p {
  color: #FFF !important;
  text-shadow: 0 1px 14px rgba(30,42,56,0.13);
}
.section:last-of-type .btn-primary, .cta-section .btn-primary {
  border-color: #FFF;
  background: #FFF;
  color: #29A7DF;
}
.section:last-of-type .btn-primary:hover, .cta-section .btn-primary:hover {
  background: #29A7DF;
  color: #FFF;
}

/* Footer */
footer {
  background: #1E2A38;
  color: #FFF;
  padding: 38px 0 28px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 18px 0 rgba(41,167,223,0.10);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  width: 76px;
  min-width: 64px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
}
footer nav a {
  color: #29A7DF;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.13s;
  margin-right: 8px;
}
footer nav a:hover {
  color: #FF0078;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFF;
  font-size: 0.98rem;
}
.footer-contact span img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}
.footer-copy {
  width: 100%;
  text-align: right;
  font-size: 0.93rem;
  color: #C4E9F7;
  margin-top: 14px;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px;
  }
  .footer-copy {
    text-align: left;
  }
}

/* Text section, privacy and legal */
.text-section {
  background: none;
  color: var(--text-dark);
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.privacy-policy-section, .rodo-section, .terms-section, .cookie-policy-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.privacy-policy-section h2, .rodo-section h2, .terms-section h2, .cookie-policy-section h2 {
  margin-top: 16px;
  font-size: 1.3rem;
  color: #29A7DF;
}

/* Forms, Inputs, Map Embeds (contact) */
.contact-information-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.07rem;
}
.map-embed {
  padding: 20px 0 0 0;
  font-style: italic;
  color: #727a86;
}

/* Accordions (support.html FAQ) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(41,167,223,0.10);
  padding: 30px 22px;
  margin-bottom: 18px;
}
.faq-accordion h2 {
  font-size: 1.25rem;
  color: #29A7DF;
  margin-bottom: 10px;
}
.faq-accordion > div {
  margin-bottom: 12px;
}
.faq-accordion h3 {
  font-size: 1.07rem;
  color: #FF0078;
  cursor: pointer;
  transition: color 0.14s;
}
.faq-accordion h3:hover {
  color: #1E2A38;
}
.faq-accordion > div > div {
  margin-left: 0;
  margin-top: 8px;
  color: #232C39;
  font-size: 1rem;
}

/* Responsive font sizes */
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.13rem; }
  .testimonial-card p, .text-section, ul li, .faq-accordion > div > div {
    font-size: 0.97rem;
  }
}

/* Animations & microinteractions */
.btn-primary, .btn-secondary, .card, .testimonial-card, .content-wrapper > div, .feature-grid > div {
  transition: 
    color 0.18s,
    background 0.18s,
    border 0.18s,
    box-shadow 0.18s,
    transform 0.16s;
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.28s ease-in-out;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1600;
  max-width: 100vw;
  width: 100%;
  background: #1E2A38;
  color: #FFF;
  box-shadow: 0 -2px 24px 0 rgba(41,167,223,0.17);
  padding: 26px 22px 18px 22px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.33s, opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner-content {
  flex: 1 1 320px;
  margin-right: 18px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-cookie {
  padding: 9px 26px;
  border-radius: 28px;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-banner .btn-cookie-accept {
  color: #FFF;
  background: #29A7DF;
  border: 2px solid #29A7DF;
}
.cookie-banner .btn-cookie-accept:hover {
  background: #FF0078;
  border-color: #FF0078;
}
.cookie-banner .btn-cookie-reject {
  background: #FFF;
  color: #1E2A38;
  border: 2px solid #1E2A38;
}
.cookie-banner .btn-cookie-reject:hover {
  background: #FF2D55;
  border-color: #FF2D55;
  color: #FFF;
}
.cookie-banner .btn-cookie-settings {
  background: transparent;
  color: #29A7DF;
  border: none;
  text-decoration: underline;
}
.cookie-banner .btn-cookie-settings:hover {
  color: #FF0078;
  text-decoration: none;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 19px 8px 13px 8px;
    font-size: .97rem;
  }
  .cookie-banner-content {
    margin-right: 0;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1700;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #1E2A387e;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FFF;
  color: #1E2A38;
  border-radius: 24px;
  box-shadow: 0 8px 38px 0 rgba(41,167,223,0.17), 0 2px 0 #29A7DF33;
  min-width: 320px;
  max-width: 384px;
  width: 94vw;
  padding: 36px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1rem;
  transform: translateY(0);
  opacity: 1;
}
.cookie-modal.hide {
  transform: translateY(180px);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-heading {
  font-size: 1.18rem;
  color: #29A7DF;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.cookie-category .cookie-toggle {
  width: 40px;
  height: 22px;
  position: relative;
  margin-left: 8px;
  margin-right: 12px;
}
.cookie-toggle input[type=checkbox] {
  width: 0;
  height: 0;
  opacity: 0;
}
.cookie-toggle-label {
  display: inline-block;
  width: 40px;
  height: 22px;
  background: #B8E7FC;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle input:checked + .cookie-toggle-label {
  background: #29A7DF;
}
.cookie-toggle-label::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.21s cubic-bezier(.4,0,.2,1);
}
.cookie-toggle input:checked + .cookie-toggle-label::before {
  transform: translateX(17px);
}
.cookie-category-essential {
  color: #25b673;
  font-weight: bold;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .btn-cookie {
  padding: 8px 22px;
  border-radius: 18px;
  font-size: 0.98em;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.cookie-modal .btn-cookie-accept {
  background: #29A7DF;
  color: #FFF;
}
.cookie-modal .btn-cookie-accept:hover {
  background: #14CA72;
  color: #FFF;
}
.cookie-modal .btn-cookie-cancel {
  background: #FFF;
  color: #FF0078;
  border: 1.5px solid #FF0078;
}
.cookie-modal .btn-cookie-cancel:hover {
  background: #FF0078;
  color: #FFF;
}

/* Miscellaneous */
::-webkit-scrollbar {
  width: 8px;
  background: #F3F8FC;
}
::-webkit-scrollbar-thumb {
  background: #29A7DF55;
  border-radius: 9px;
}
::-webkit-selection {
  color: #FFF;
  background: #29A7DF;
}

/**** FOCUS VISIBLE (a11y) ****/
a:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible, button:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid #FF0078;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #29A7DF55;
}

/**** ANIMATED MICRO-INTERACTIONS ****/
.btn-primary:active, .btn-secondary:active, a:active {
  transform: scale(0.96);
}

/**** VISUAL HIERARCHY AND COLOR CONTRAST ****/
.testimonial-card, .testimonial-card p, .testimonial-card .author {
  color: #232C39 !important;
  background: #FFF !important;
}

/**** PREVENT OVERLAPPING - PADDING & GAP ENFORCED ****/
.content-wrapper > *, .card, .testimonial-card, .feature-grid > div, .product-cards > div, .product-grid > div, .gadgets-grid > div, .service-list-grid > div, .card-container > *, .section > .container {
  margin-bottom: 0 !important;
}
.content-wrapper, .feature-grid, .product-cards, .product-grid, .gadgets-grid, .service-list-grid, .card-container {
  gap: 24px !important;
}

/**** MOBILE ADJUSTMENTS ****/
@media (max-width: 600px) {
  header .container {
    min-height: 54px;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }
  .footer-logo img {
    width: 54px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .container {
    padding: 0 8px;
  }
  .section, section {
    border-radius: 12px;
  }
  .card, .testimonial-card, .content-wrapper > div, .feature-grid > div {
    border-radius: 12px;
    padding: 18px 10px;
    font-size: .97rem;
  }
}
