/* RESET AND 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 {
  border: 0;
  font-size: 100%;
  font: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #191f2f;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: #F0C808;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #00f5bb;
}
ul, ol {
  list-style: none;
}
input, select, textarea, button {
  font: inherit;
  outline: none;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6, .btn, nav a, .newsletter-signup h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* COLOR VARIABLES & FALLBACKS */
:root {
  --ph-primary: #1B3556;
  --ph-secondary: #F0C808;
  --ph-accent: #FFFFFF;
  --ph-dark: #191f2f;
  --ph-light: #232d44;
  --ph-neon: #00f5bb;
  --ph-danger: #ff2d55;
  --ph-grey: #384359;
  --ph-grey-light: #eaf0fa;
  --ph-shadow: 0 8px 32px rgba(16,28,47,0.18);
  --ph-card-bg: #202940;
}

/* GENERAL LAYOUTS */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--ph-card-bg);
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: var(--ph-shadow);
  padding: 28px 22px;
  transition: box-shadow 0.3s, transform 0.26s;
  border: 1.5px solid var(--ph-grey);
}
.card:hover {
  box-shadow: 0 0 0 2px var(--ph-neon), 0 8px 32px 0 rgba(0,245,187,0.11);
  transform: translateY(-2px) scale(1.016);
  border-color: var(--ph-neon);
}
.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 {
  background: #fff;
  color: #1B3556;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 21px 0 rgba(27,53,86,0.11);
  min-width: 200px;
  border: 1.5px solid var(--ph-secondary);
}
.testimonial-card p{color:#1B3556;}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  background: var(--ph-card-bg);
  border-radius: 14px;
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  box-shadow: var(--ph-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, border-color 0.18s;
  border: 1.5px solid var(--ph-grey);
}
.features-grid > div:hover {
  box-shadow: 0 0 0 2px var(--ph-secondary), 0 8px 32px 0 rgba(240,200,8,0.16);
  border-color: var(--ph-secondary);
}

/* CATEGORY LISTS AND PRODUCT GRIDS */
.category-list, .product-grid, .guides-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}
.category-list li, .product-grid li, .guides-list li, .faq-list li {
  background: var(--ph-card-bg);
  border-radius: 12px;
  padding: 18px 14px;
  min-width: 180px;
  flex: 1 1 180px;
  color: var(--ph-accent);
  box-shadow: var(--ph-shadow);
  margin-bottom: 20px;
}
.category-list li a {
  color: var(--ph-secondary);
  font-weight: 700;
  font-size: 1em;
  text-decoration: underline;
  transition: color 0.2s;
}
.category-list li a:hover {
  color: var(--ph-neon);
}
.product-grid li strong {
  color: var(--ph-secondary);
}

/* HEADER STYLES */
header {
  width: 100%;
  background: linear-gradient(90deg, #212b3d 0%, #1B3556 100%);
  box-shadow: 0 6px 18px 0 rgba(16,28,47,0.135);
  z-index: 99;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: var(--ph-accent);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a.btn.primary {
  margin-left: 20px;
}
header nav a:hover {
  color: var(--ph-secondary);
  background: #263453;
}
header nav a.btn.primary {
  background: var(--ph-secondary);
  color: #212b3d;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 20px;
  box-shadow: 0 4px 18px 0 rgba(240,200,8,0.22);
  border: none;
  text-shadow: 0 1px 14px rgba(240,200,8,0.12);
  letter-spacing: 0.02em;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s;
}
header nav a.btn.primary:hover, .btn.primary:hover {
  background: var(--ph-neon);
  color: #11355a;
  box-shadow: 0 4px 25px 0 rgba(0,245,187,0.21);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ph-secondary);
  color: var(--ph-primary);
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(240,200,8,0.19);
  transition: background 0.2s, color 0.18s, box-shadow 0.14s, outline 0.13s;
  outline: 0 solid var(--ph-neon);
}
.btn:hover, .btn:focus {
  background: var(--ph-neon);
  color: #1B3556;
  box-shadow: 0 2px 22px 0 rgba(0,245,187, 0.15);
  outline: 2px solid var(--ph-neon);
}
.btn.primary {
  background: var(--ph-secondary);
  color: #1B3556;
}

/* FORMS */
input[type="text"], input[type="email"], select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.2px solid var(--ph-grey);
  background: #252f4d;
  color: #fff;
  font-size: 1rem;
  margin-top: 8px;
  margin-bottom: 18px;
  transition: border-color 0.18s;
  box-shadow: 0 0 0 rgba(0,0,0,0.01);
}
input:focus, select:focus {
  border-color: var(--ph-neon);
  box-shadow: 0 0 0 2px var(--ph-neon);
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--ph-card-bg);
  padding: 28px 18px;
  border-radius: 12px;
  margin-top: 16px;
  box-shadow: var(--ph-shadow);
}
.newsletter-signup h3 {
  color: var(--ph-secondary);
  font-size: 1.22rem;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ph-secondary);
  letter-spacing: -1px;
  line-height: 1.13;
}
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ph-neon);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ph-secondary);
  line-height: 1.18;
}
strong, b {
  font-weight: 700;
}
p, li, label, input, select {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ph-accent);
}
small {
  font-size: 0.93rem;
}

footer {
  background: #151a27;
  color: var(--ph-accent);
  font-size: 0.99rem;
  padding: 0;
  width: 100%;
  margin-top: 60px;
  border-top: 2px solid var(--ph-primary);
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 19px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--ph-secondary);
  font-weight: 500;
  transition: color 0.19s;
}
footer nav a:hover {
  color: var(--ph-neon);
}
footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ph-accent);
  margin-bottom: 3px;
}
footer img {
  width: 20px !important;
  height: auto;
  margin-right: 4px;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #232c41;
  color: var(--ph-neon);
  border-radius: 14px;
  padding: 22px 14px;
  display: flex;
  align-items: center;
  min-height: 100px;
  margin-top: 10px;
}

/* FILTERS (SHOP) */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.filters label {
  color: var(--ph-neon);
  font-weight: 600;
  margin-right: 7px;
}

/* FAQ STYLING */
.faq-list strong {
  color: var(--ph-secondary);
}
.faq-list li {
  background: var(--ph-card-bg);
  color: var(--ph-accent);
  border-left: 3px solid var(--ph-neon);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--ph-neon);
  cursor: pointer;
  position: relative;
  z-index: 111;
  margin-left: 18px;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--ph-secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1111;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(124deg, #121827 70%, #222e49 100%);
  transform: translateX(-110vw);
  transition: transform 0.42s cubic-bezier(0.77,0,0.18,1);
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 0 128px 0 #10182fdd;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 26px;
  background: #fff;
  color: #1B3556;
  border: none;
  border-radius: 50%;
  font-size: 2.3rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(27,53,86,0.13);
  z-index: 1112;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:hover {
  background: var(--ph-secondary);
  color: #121827;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 100px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  padding: 14px 8px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover {
  background: var(--ph-secondary);
  color: #1B3556;
}
@media (max-width: 1099px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1100px) {
  .mobile-menu { display: none !important; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  z-index: 2002;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 33, 53, 0.94);
  color: #fff;
  padding: 26px 16px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 22px 0 rgba(21,32,56,0.29);
  flex-wrap: wrap;
  transition: transform 0.37s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .banner-text {
  max-width: 580px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner .cookie-btns .btn, .cookie-banner .cookie-btns button {
  font-size: 0.99rem;
  border-radius: 8px;
  padding: 9px 20px;
  background: var(--ph-secondary);
  color: #1B3556;
  border: none;
  font-weight: 700;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner .cookie-btns .btn.reject {
  background: var(--ph-danger);
  color: #fff;
}
.cookie-banner .cookie-btns .btn.settings {
  background: var(--ph-neon);
  color: #1B3556;
}
.cookie-banner .cookie-btns .btn:hover {
  background: var(--ph-neon);
  color: #1B3556;
}

/* COOKIE MODAL POPUP */
.cookie-modal-bg {
  display: none;
  position: fixed;
  z-index: 2003;
  left: 0;
  top: 0;
  width:100vw;
  height:100vh;
  background: rgba(13, 18, 30, 0.78);
}
.cookie-modal-bg.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #232d44;
  border-radius: 18px;
  color: #fff;
  padding: 32px 28px 28px 28px;
  min-width: 290px;
  max-width: 98vw;
  box-shadow: 0 12px 44px 0 rgba(16, 28, 47, 0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--ph-secondary);
  font-size: 1.3rem;
  margin-bottom: 0;
}
.cookie-modal .modal-row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: #fff;
  justify-content: space-between;
  margin-bottom: 9px;
}
.cookie-modal .toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--ph-neon);
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--ph-secondary);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #ddd;
}
.cookie-modal .essential {
  color: #aaa;
  font-style: italic;
  font-size: 0.98rem;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #fff;
  color: #1B3556;
  border: none;
  border-radius: 100%;
  width: 36px;
  height: 36px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .close-modal:hover {
  background: var(--ph-secondary);
  color: #1B3556;
}
.cookie-modal .modal-footer {
  margin-top: 18px;
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal .modal-footer .btn {
  font-size: 1rem;
  border-radius: 8px;
}

/* -- Utility -- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 18px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 18px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/* ---- Animations ---- */
@media (prefers-reduced-motion: no-preference) {
  a, .btn, .card, .features-grid > div, .feature-item, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal {
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* MICRO-INTERACTIONS */
nav a, .btn, input, select {
  transition: box-shadow .14s, border-color .14s, background .16s, color .11s;
}
.card:active, .features-grid > div:active {
  transform: scale(0.98) translateY(1.5px);
}
.testimonial-card:active {
  transform: scale(0.991) translateY(.5px);
}

/* RESPONSIVITY – MOBILE FIRST */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .section {
    margin-bottom: 38px;
    padding: 22px 4px;
  }
  .features-grid, .testimonial-list, .category-list, .product-grid, .guides-list, .faq-list {
    flex-direction: column !important;
    gap: 13px;
  }
  .features-grid > div,
  .category-list li,
  .product-grid li,
  .guides-list li,
  .faq-list li {
    min-width: unset;
    width: 100%;
    padding: 14px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
    min-width: 0;
    padding: 16px;
  }
  .content-wrapper { gap: 14px; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .filters {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .footer .content-wrapper, footer .content-wrapper {
    gap: 12px;
  }
  .map-placeholder {
    min-height: 65px;
    padding: 12px 8px;
  }
}

/* ----- Futuristic Touches ----- */
.section {
  position: relative;
  background: none;
}
.section::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  left: 0; right: 0; bottom: 0; top: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: 0 0 70px 1px var(--ph-neon), 0 6px 38px 0 rgba(0,245,187,0.05);
  opacity: 0.08;
}
.card, .features-grid > div, .testimonial-card, .category-list li, .product-grid li, .guides-list li, .faq-list li, .newsletter-signup {
  box-shadow: 0 4px 18px 0 rgba(0,245,187,0.09), var(--ph-shadow);
  border: 1.5px solid var(--ph-grey);
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover,
.category-list li:hover, .product-grid li:hover {
  border-color: var(--ph-neon);
  box-shadow: 0 0 0 1.5px var(--ph-neon), 0 8px 32px 0 rgba(0,245,187,0.13);
}
@media (min-width: 900px) {
  .features-grid > div, .category-list li, .product-grid li, .guides-list li {
    flex: 1 1 220px;
  }
}

/* DARK MODE ELEMENTS */
::-webkit-scrollbar {
  width: 9px;
  background: #222d43;
}
::-webkit-scrollbar-thumb {
  background: var(--ph-neon);
  border-radius: 8px;
}

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