/* ==== 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 {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #FBF6EF;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #453c23;
  line-height: 1.6;
  background: #FBF6EF;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  color: #613f27;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #253051;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
strong {
  font-weight: bold;
}

/* ======== VINTAGE RETRO COLORS & FONTS (Montserrat, Roboto) ======== */
:root {
  --ph-primary: #253051;
  --ph-secondary: #6EC1E4;
  --ph-accent: #F9FAFB;
  --ph-vintage-yellow: #F4E3B2;
  --ph-vintage-blue: #6EC1E4;
  --ph-vintage-red: #DA5641;
  --ph-vintage-green: #B6B75A;
  --ph-vintage-beige: #FBF6EF;
  --ph-dark: #221d16;
  --ph-card: #fff8e7;
  --ph-shadow: 0 2px 8px 0 rgba(47, 39, 21, 0.08);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #221d16;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  line-height: 1.18;
  text-shadow: 0 1px 0 #F4E3B2;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 22px; }
h3 { font-size: 1.4rem; margin-bottom: 18px; }
h4 { font-size: 1.15rem; margin-bottom: 14px; }
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: #453c23;
}
p { margin-bottom: 18px; }

/* ========== LAYOUT UTILS ========== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--ph-vintage-beige);
  border-radius: 18px;
  box-shadow: var(--ph-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--ph-card);
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: var(--ph-shadow);
  padding: 24px 18px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 6px 18px 0 rgba(47, 39, 21, 0.13);
}
.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: 20px;
  padding: 20px;
  background: #fff8e7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34, 29, 22, 0.06);
  margin-bottom: 22px;
  border-left: 5px solid var(--ph-vintage-blue);
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.13rem;
  font-style: italic;
  color: #52362a;
  margin: 0 0 8px 0;
  letter-spacing: 0.01em;
}
.testimonial-card strong {
  color: #c1512f;
  font-size: 0.98rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.04em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Custom Feature Cards for List with Icons */
.content-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  background: #f8ede2;
  border-radius: 10px;
  padding: 14px 14px;
  box-shadow: 0 1px 3px rgba(34,29,22,0.03);
  position: relative;
}
.content-wrapper ul li img {
  width: 38px;
  height: 38px;
  margin-right: 10px;
  flex-shrink: 0;
  filter: sepia(0.36) brightness(1.12);
}
.content-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/* ==== BUTTONS ==== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ph-vintage-blue);
  color: #221d16;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 14px 38px;
  box-shadow: 0 5px 18px 0 rgba(110, 193, 228, 0.16);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: var(--ph-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.12s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--ph-vintage-yellow);
  color: #b54d2b;
  box-shadow: 0 8px 24px 0 rgba(218,86,65,0.15);
  transform: translateY(-2px) scale(1.03);
  text-decoration: none;
}

/* ==== BADGES/TAGS ==== */
.tag {
  display: inline-block;
  background: var(--ph-vintage-red);
  color: #fff8e7;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  padding: 2px 12px 3px 12px;
  font-size: 0.93rem;
  font-weight: 600;
  margin-left: 10px;
  letter-spacing: 0.02em;
}

/* ==== HEADER NAVIGATION ==== */
header {
  background: var(--ph-vintage-yellow);
  box-shadow: 0 1px 12px rgba(213,188,134,0.14);
  padding: 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 16px 20px;
}
header nav > a img {
  height: 46px;
  margin-right: 18px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 16px;
  list-style: none;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #52362a;
  font-size: 1rem;
  padding: 9px 15px;
  border-radius: 8px;
  position: relative;
  transition: background 0.18s, color 0.17s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: var(--ph-vintage-blue);
  color: #fff8e7;
  text-decoration: none;
}
header nav .btn-primary {
  margin-left: 18px;
  font-size: 1rem;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--ph-vintage-red);
  color: #fff8e7;
  border: none;
  font-size: 2.4rem;
  padding: 5px 16px;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(218,86,65,0.13);
  position: absolute;
  right: 20px;
  top: 17px;
  cursor: pointer;
  z-index: 28;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #b54d2b;
  color: #fffdd2;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 94vw;
  height: 100vh;
  background: var(--ph-vintage-yellow);
  box-shadow: 3px 0 24px 0 rgba(47, 39, 21, 0.24), 0 1px 0px #DFCEA7;
  z-index: 99;
  transform: translateX(-120%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 18px 0 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #c1512f;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 7px;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fde3e0;
  color: #b54d2b;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 22px 0 0 0;
  padding: 0 0 22px 0;
}
.mobile-menu .mobile-nav a {
  font-size: 1.13rem;
  color: #221d16;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 36px;
  border-bottom: 1px solid #edddb7;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu .mobile-nav a:active,
.mobile-menu .mobile-nav a:hover {
  background: var(--ph-vintage-blue);
  color: #fff8e7;
}

/* ===== HERO & SECTIONS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  border-radius: 0;
  background: none;
}
.text-section {
  background: #F9FAFB;
  border-radius: 11px;
  border: 1.5px dashed #f4e3b2;
  padding: 22px 24px;
  margin-bottom: 23px;
}

/* === USE CASES (gadgets.html) === */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--ph-card);
  padding: 14px 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(34, 29, 22, 0.04);
}
.use-cases > div {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #52362a;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
footer {
  background: #eee1c3;
  padding: 40px 0 18px 0;
  border-top: 4px solid #d5bc86;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  width: 58px;
  height: auto;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}
footer nav a {
  color: #7d4f2a;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: underline dashed #e8beae 1px;
}
footer nav a:hover {
  color: #c1512f;
}
footer p {
  font-size: 0.95rem;
  color: #7b6e5b;
  margin-bottom: 0;
}

/* ===== CONTACT & ICONS IN TEXT ===== */
.content-wrapper p img {
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 10px;
  vertical-align: middle;
  filter: sepia(0.62) hue-rotate(-25deg) brightness(1.12);
}

/* === OL/STYLED === */
ol {
  margin-bottom: 12px;
  padding-left: 1.6em;
}
ol li {
  margin-bottom: 9px;
}

/* ======= RESPONSIVE DESIGN (MOBILE FIRST) ======= */
@media (max-width: 1080px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .container { padding-left: 10px; padding-right: 10px; }
  section { padding: 32px 0; }
}
@media (max-width: 768px) {
  header nav ul { display: none; }
  header nav .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .card-container, .content-grid, .use-cases {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 99vw;
    width: 100%;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  footer .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.24rem; }
  .btn-primary { padding: 11px 22px; font-size: 0.98rem; }
  .card, .testimonial-card {
    padding: 15px 9px;
    border-radius: 8px;
  }
  .section { margin-bottom: 35px; padding: 18px 4px; }
}

/* ========= COOKIE CONSENT BANNER ======== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #f5d992;
  color: #52362a;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  border-top: 3px solid var(--ph-vintage-blue);
  box-shadow: 0 -2px 18px rgba(34,29,22,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  padding: 19px 10px 19px 10px;
  gap: 22px;
  animation: cookie-slide-in 0.62s cubic-bezier(.66,0,.3,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(105%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  max-width: 670px;
  margin-right: 28px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  margin-left: 11px;
  border-radius: 15px;
  padding: 8px 18px;
  border: none;
  margin-bottom: 0;
  box-shadow: 0 1px 7px #e4be8d33;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: var(--ph-vintage-green);
  color: #1d190f;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #b2b56e;
  color: #442410;
}
.cookie-banner .reject {
  background: var(--ph-vintage-red);
  color: #fff8e7;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #b54d2b;
  color: #fffdd2;
}
.cookie-banner .settings {
  background: var(--ph-vintage-blue);
  color: #221d16;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--ph-vintage-yellow);
  color: #6d591e;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(240, 226, 188, 0.89);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.29s;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff8e7;
  border-radius: 18px;
  box-shadow: 0 6px 32px 4px rgba(47,39,21,0.22);
  padding: 38px 28px 32px 28px;
  max-width: 420px;
  width: 98vw;
  color: #52362a;
  font-size: 1.04rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 2.5px solid #e8beae;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #b54d2b;
  font-size: 1.18rem;
  margin-bottom: 5px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
  gap: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--ph-vintage-blue);
  width: 19px;
  height: 19px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #c1512f;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: #b54d2b; background: #fde3e0; border-radius: 4px; }

/* ===== MICROINTERACTIONS & EFFECTS ===== */
.btn-primary, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
}
.btn-primary:active, .cookie-banner button:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  filter: brightness(0.95);
}

/* ========== INSPIRED DECORATIVE RETRO PATTERNS ========== */
.section, .card, .testimonial-card, .cookie-modal {
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 17px, #f4e3b273 18px, transparent 24px);
  /* classic paper/fading pattern */
}

/* ===== CUSTOM LISTS FOR RETRO VIBES ===== */
.content-wrapper ul,
.content-wrapper ol {
  font-size: 1.07rem;
  margin-top: 2px;
  margin-bottom: 18px;
}
.content-wrapper ul li:before {
  content: '\25cf';
  color: var(--ph-vintage-red);
  font-size: 1rem;
  margin-right: 10px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}
.content-wrapper ul li {
  padding-left: 8px;
}

/* ===== SPACING ===== */
h1, h2, h3, h4, h5, h6 {
  margin-top: 22px;
  margin-bottom: 18px;
}
p, ul, ol, blockquote, pre { margin-bottom: 14px; }
.section:not(:last-child) { margin-bottom: 60px; }
.card, .testimonial-card { margin-bottom: 24px; }

/* ===== Scrollbar Customization ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #F4E3B2;
}
::-webkit-scrollbar-thumb {
  background: #bda885;
  border-radius: 5px;
}

/* ======= Z-INDEX LAYERS ======= */
.mobile-menu, .cookie-modal-overlay { z-index: 99999; }

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 3px dotted var(--ph-vintage-blue);
  outline-offset: 3px;
}

/* HIDE TEXT-NAVIGATION DESKTOP NAV ON MOBILE */
@media (max-width: 820px) {
  header nav ul, header nav .btn-primary { display: none; }
}

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