/* --- 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,
main, 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;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #F7F7F5;
  color: #222;
  line-height: 1.66;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A2E3B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #39A9DB;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 10px rgba(26, 46, 59, 0.07);
  font-size: 1rem;
}
th, td {
  border: 1px solid #E5E4E0;
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #F3F3F2;
  font-weight: 600;
}
caption {
  caption-side: top;
  font-weight: 600;
  margin-bottom: 0.75em;
  font-size: 1.25rem;
  color: #1A2E3B;
}

/* --- BRAND FONTS & COLORS --- */
:root {
  --color-primary: #1A2E3B;
  --color-secondary: #39A9DB;
  --color-accent: #FFFFFF;
  --color-bg-light: #F7F7F5;
  --color-muted: #EBE9E7;
  --color-border: #DFDED8;
  --color-shadow: rgba(26,46,59,0.09);
  --color-text: #222;
  --color-link: #1A2E3B;
  --color-link-hover: #39A9DB;
  --font-display: 'Montserrat', Georgia, 'Times New Roman', serif;
  --font-body: 'Georgia', 'Times New Roman', serif;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper,
.text-section {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

/* --- SECTIONS & SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 32px;
  background: #fff;
  color: #222;
  box-shadow: 0 3px 16px rgba(26,46,59,0.07);
  border-radius: 16px;
  margin-bottom: 24px;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(26,46,59,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 22px 0;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-accent);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(26,46,59,0.04);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1.09rem;
  color: var(--color-link);
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  background: var(--color-muted);
}
header .cta.primary {
  margin-left: 32px;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  display: none;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-muted);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 40px rgba(26,46,59,0.25);
  transform: translateX(-110%);
  transition: transform 0.37s cubic-bezier(.51,.19,.37,1.14);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 28px 0 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-muted);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 52px 32px 0 32px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-family: var(--font-body);
  padding: 10px 0;
  border-radius: 2px;
  font-weight: 500;
  width: 100%;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-muted);
  color: var(--color-secondary);
}

/* --- MAIN CONTENT --- */
main {
  min-height: 400px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  color: #1A2E3B;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}
h4, h5, h6 {
  font-size: 1rem;
  color: var(--color-primary);
}
.subheadline {
  color: #557187;
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 22px;
}
p {
  margin-bottom: 1em;
}
strong {
  font-weight: 600;
  color: var(--color-primary);
}

/* --- BUTTONS --- */
.cta,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(26,46,59,0.07);
  cursor: pointer;
  outline: none;
  text-align: center;
  text-decoration: none;
  transition: background 0.21s, color 0.21s, box-shadow 0.22s, transform 0.17s;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta:hover, .cta:focus,
button:hover, button:focus {
  background: #287FB2;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 34px rgba(26,46,59,0.11);
}
.cta.primary:hover, .cta.primary:focus {
  background: #253c4e;
}

/* Additional button variant for cookies */
.cookie-banner .cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  margin-right: 16px;
  border-radius: 20px;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .18s, color .18s, box-shadow .13s;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(26,46,59,0.06);
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .cookie-btn.reject {
  background: #bbb;
  color: #fff;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #287FB2;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--color-muted);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #a4a3a0;
  color: #fff;
}

/* --- CARDS & FLEX GRIDS --- */
.feature_grid, .usp_list, .benefits_grid, .solutions_grid, .gadget_categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 28px;
  align-items: flex-start;
}
.feature_grid>div, .usp_list>li, .benefits_grid>li, .solutions_grid>li, .gadget_categories>li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px 20px;
  color: var(--color-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s, transform 0.18s;
  margin-bottom: 0;
  margin-right: 0;
}
.feature_grid>div:hover, .usp_list>li:hover, .benefits_grid>li:hover, .solutions_grid>li:hover, .gadget_categories>li:hover {
  box-shadow: 0 6px 24px rgba(26,46,59,0.13);
  transform: translateY(-4px) scale(1.03);
}

/* --- CTAs IN SECTIONS --- */
.cta_section {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- TABLES --- */
.price_table {
  margin-top: 28px;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  overflow: hidden;
}
.price_table th,
.price_table td {
  padding: 14px 20px;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 1rem;
}
.price_table th {
  background: #F3F3F2;
  font-weight: 700;
}
.price_table tr:nth-child(even) td {
  background: #FAFAF8;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 34px 0 12px 0;
  border-top: 1px solid #253c4e;
  font-family: var(--font-body);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
footer nav {
  display: flex;
  gap: 22px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.88;
  transition: color 0.17s, opacity 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
footer .footer-info {
  font-size: .97rem;
  opacity: .73;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  z-index: 1200;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(26,46,59,0.13);
  color: var(--color-primary);
  border-top: 1px solid #e5e4e0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  gap: 16px;
  min-height: 80px;
  animation: cookieSlideIn .40s forwards cubic-bezier(.44,1.27,.43,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0%); opacity:1; }
}
.cookie-banner .cookie-message {
  flex: 2 1 320px;
  font-size: 1rem;
  line-height: 1.46;
  font-family: var(--font-body);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 1210;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,46,59,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.cookie-modal-backdrop.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  padding: 34px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 10px 56px rgba(26,46,59,0.19);
  animation: cookieModalPop .32s cubic-bezier(.51,1.51,.31,1.11);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-body);
  position: relative;
}
@keyframes cookieModalPop {
  0% { transform: scale(.81) translateY(40px); opacity:.2; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--color-secondary);
  cursor: pointer;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #e5e4e0;
  font-size: 1rem;
}
.cookie-modal .cookie-cat:last-child {
  border-bottom: none;
}
.cookie-toggle {
  margin-left: 18px;
  appearance: none;
  width: 36px;
  height: 21px;
  background: #e1e9f0;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background .18s;
  border: 1.5px solid #d2d9dd;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(26,46,59,.18);
  transition: left .18s;
}
.cookie-toggle:checked:before {
  left: 16px;
}
.cookie-cat label {
  font-weight: 600;
  color: #1A2E3B;
}
.cookie-cat .always {
  color: #7e868e;
  font-size: .93em;
  font-style: italic;
}

/* --- UTILITY & TYPOGRAPHY --- */
.text-center { text-align: center; }
.text-section ul li {
  margin-bottom: 8px;
}
.content-wrapper ul li, .content-wrapper ol li {
  margin-bottom: 8px;
}

/* -------------------- MEDIA QUERIES -------------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 93vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper, .text-section {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.2rem; }
  section, .section { padding: 32px 8px; }
  .price_table th,
  .price_table td { padding: 8px 10px; }
  .feature_grid>div, .usp_list>li, .benefits_grid>li, .solutions_grid>li, .gadget_categories>li {
    min-width: 160px;
    font-size: .98rem;
    padding: 18px 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 16px;
    min-height: 54px;
  }
  header nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .card-container,
  .content-grid,
  .feature_grid, .usp_list, .benefits_grid, .solutions_grid, .gadget_categories {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 14px;
    font-size: 1em;
  }
  .footer-info {
    margin-top: 15px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 9px !important;
    gap: 14px;
  }
  .cookie-banner .cookie-message,
  .cookie-banner .cookie-actions {
    align-items: flex-start;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 85vw;
    padding: 22px 8px 16px 10px;
  }
  .mobile-nav {
    padding: 42px 17px 0 17px;
    gap: 22px;
  }
}
@media (max-width: 540px) {
  .feature_grid>div, .usp_list>li, .benefits_grid>li, .solutions_grid>li, .gadget_categories>li {
    min-width: 95vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1rem; }
  .price_table, .price_table th, .price_table td {
    font-size: 0.93em;
  }
  footer nav {
    flex-direction: column;
    gap: 4px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* -------------------- MISC --------------------- */
::-webkit-input-placeholder { color: #AAA; }
::-moz-placeholder { color: #AAA; }
:-ms-input-placeholder { color: #AAA; }
::placeholder { color: #AAA; }

/* Hide unnecessary outlines on non-keyboard focus */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Remove arrows from number input (for future forms) */
input[type='number']::-webkit-outer-spin-button, input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] { -moz-appearance: textfield; }

/* --- END --- */
