/* 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  background: #22252B;
  color: #E6E8EC;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #262831;
}
th, td {
  padding: 10px 16px;
  border-bottom: 1px solid #3A3A46;
}
th {
  background: #34344A;
  color: #C1B7E4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
td {
  font-size: 16px;
  color: #E6E8EC;
}

/* INDUSTRIAL MODERN COLOR SYSTEM */
:root {
  --primary: #4A3676;
  --primary-contrast: #F7FAFF;
  --secondary: #C1B7E4;
  --accent: #F7FAFF;
  --metal: #8590A8;
  --bg-main: #22252B;
  --bg-section: #262831;
  --border-metal: #454A54;
  --shadow-dark: 0 4px 24px 0 rgba(30,32,38,0.18);
  --radius: 12px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: #E6E8EC;
  background: var(--bg-main);
}
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(80,70,115,0.09);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
p {
  margin-bottom: 1.25em;
  font-size: 1.05rem;
  color: #DCDCEA;
}
strong {
  color: var(--secondary);
  font-weight: bold;
}
.text-section {
  margin-bottom: 24px;
}

/* GENERAL SPACING and LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.section, section:not(.hero):not(.cta-section) {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #232533;
  border: 1.5px solid var(--border-metal);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(85, 100, 132, 0.04);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(80,70,115,0.16);
  transform: translateY(-4px) scale(1.01);
}
.content-grid, .feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.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: #FAFAFF;
  color: #242132;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(44,41,60,0.08);
  min-width: 260px;
  margin-bottom: 20px;
  max-width: 470px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(74,54,118,.19);
}
.testimonial-card p {
  color: #1B1D20;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, rgba(74,54,118,0.98) 78%, rgba(193,183,228,.65) 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  color: var(--primary-contrast);
  padding: 48px 0 32px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero h2, .hero p {
  color: var(--primary-contrast);
}
.hero .btn-primary {
  background: var(--accent);
  color: var(--primary);
  margin-top: 24px;
}

/* NAVIGATION */
header {
  background: #232533;
  border-bottom: 2px solid var(--border-metal);
  box-shadow: 0 1px 8px rgba(44,41,60,0.06);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 66px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.19s, border-bottom 0.19s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.main-nav .btn-primary {
  margin-left: 16px;
}

/* BUTTONS */
.btn-primary, a.btn-primary {
  background: linear-gradient(90deg, #4A3676 70%, #C1B7E4 110%);
  color: #F7FAFF;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(74,54,118,0.13);
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s, transform 0.18s;
  letter-spacing: 0.04em;
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:active, a.btn-primary:hover, a.btn-primary:active {
  background: #232533;
  color: var(--secondary);
  box-shadow: 0 4px 16px 0 rgba(74,54,118,0.23);
  transform: translateY(-2px) scale(1.015);
  border: 1.5px solid var(--primary);
}

.btn-secondary {
  background: #262831;
  color: var(--secondary);
  border: 1.5px solid var(--metal);
  padding: 11px 26px;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px 0 rgba(130,130,140,0.09);
  cursor: pointer;
  transition: background .17s, color .17s, border .17s;
}
.btn-secondary:hover {
  background: var(--accent);
  color: #222;
  border-color: var(--primary);
}

.btn-neutral {
  background: #EDF0F6;
  color: #4A3676;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.16s;
}
.btn-neutral:hover {
  background: #dcdcea;
}

/* LINKS */
a, a:visited {
  color: var(--secondary);
  transition: color 0.14s;
}
a:hover, a:focus {
  color: var(--primary);
}

/* FEATURE GRID / ICONIC FEATURES */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style-type: none;
}
.feature_grid li {
  background: #232533;
  color: #BFCBDA;
  border: 1px solid var(--metal);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(54,54,80,0.05);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
  font-family: var(--font-body);
  padding: 14px 20px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 340px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  transition: box-shadow 0.16s, border-color 0.19s, background 0.14s;
}
.feature_grid li img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  filter: grayscale(30%) contrast(1.15) brightness(1.13);
}
.feature_grid li:hover {
  box-shadow: 0 6px 16px 0 rgba(74,54,118,.18);
  border-color: var(--primary);
  background: #363646;
  color: var(--accent);
}

/* PRICING TABLE */
.pricing_table {
  box-shadow: 0 2px 12px rgba(44,41,60,0.10);
  border-radius: var(--radius);
  border: 1.5px solid var(--metal);
  overflow: hidden;
  margin-bottom: 32px;
}
.pricing_table th, .pricing_table td {
  text-align: left;
}
.pricing_table th {
  background: #342866;
  color: #F7FAFF;
}
.pricing_table td {
  background: #232533;
  color: #C1B7E4;
}

/* FAQ LIST */
.faq_list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #C1B7E4;
  font-size: 1.06rem;
  margin-bottom: 16px;
}
.faq_list li {
  background: #1E1E21;
  border-left: 4px solid var(--secondary);
  padding: 14px 18px 14px 24px;
  border-radius: 9px;
  box-shadow: 0 1px 6px rgba(74,54,118,.06);
  transition: border-color 0.18s;
}
.faq_list li:hover {
  border-left-color: var(--primary);
}

/* ADDRESS, CONTACT, MAP, HOURS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  background: #232533;
  color: #C1B7E4;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--metal);
  box-shadow: 0 1px 5px rgba(60,56,82,0.07);
}
.contact-details img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.82;
}
.address-map, .opening-hours {
  margin-bottom: 18px;
  background: #262831;
  color: #C1B7E4;
  border-radius: var(--radius);
  padding: 16px 20px;
  border-left: 4px solid var(--primary);
}
.address-map h2, .opening-hours h2 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 7px;
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(90deg, #232533 35%, #4A3676 100%);
  padding: 44px 0;
  color: #F7FAFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin-bottom: 70px;
}
.cta-section h2 {
  color: #F7FAFF;
}
.cta-section .btn-primary {
  background: var(--secondary);
  color: var(--primary);
  margin-top: 16px;
}
.cta-section .btn-primary:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* FOOTER */
footer {
  background: #1B1D20;
  color: #B2B6C3;
  border-top: 2px solid var(--border-metal);
  padding: 38px 0 12px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 28px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #B2B6C3;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 2px 0;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-contact {
  color: #B2B6C3;
  font-size: 0.99rem;
  margin-bottom: 6px;
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline dotted;
  word-break: break-all;
}
.footer-copy {
  font-size: 0.96rem;
  letter-spacing: .01em;
  color: #7D7A8C;
  margin-top: 16px;
}

/* CARD-LIKE LISTS */
ul:not(.feature_grid):not(.faq_list) li {
  margin-bottom: 12px;
  padding-left: 0.65em;
}

/* UTILITY */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
  margin-left: 14px;
  z-index: 2002;
  transition: color .18s;
}
.mobile-menu-toggle:hover {
  color: var(--accent);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 2000;
  background: rgba(34, 37, 43, 0.95);
  backdrop-filter: blur(2.5px);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(110vw);
  transition: transform 0.33s cubic-bezier(.87,-0.41,.19,1.25);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 22px 16px 16px 0;
  cursor: pointer;
  z-index: 2003;
  transition: color .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
  margin: 48px 0 0 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border 0.16s;
  border-radius: 3px;
}
.mobile-nav a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  background: rgba(200,200,230,0.06);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #262831;
  color: #E6E8EC;
  border-top: 2px solid var(--metal);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 16px rgba(50,48,62,0.18);
  z-index: 3000;
  padding: 26px 16px 20px 16px;
  animation: banner-slide-up 0.55s cubic-bezier(.68,-0.32,.32,1.4);
}
@keyframes banner-slide-up {
  from { transform: translateY(70px); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.08rem;
  margin-bottom: 18px;
  color: #F7FAFF;
}
.cookie-banner .cookie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 10px 24px;
  margin: 0;
  transition: background .16s, color .14s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .accept:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .reject {
  background: #EDF0F6;
  color: #4A3676;
}
.cookie-banner .reject:hover {
  background: #d6d3ea;
}
.cookie-banner .settings {
  background: var(--bg-section);
  color: #C1B7E4;
  border: 1px solid var(--metal);
}
.cookie-banner .settings:hover {
  background: var(--secondary);
  color: #22252B;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(44,40,70,0.75);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .22s linear;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #2F3140;
  color: #F7FAFF;
  border-radius: var(--radius);
  padding: 40px 32px 32px 32px;
  max-width: 420px;
  width: 90vw;
  box-shadow: 0 6px 32px 0 rgba(74,54,118,0.22);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #262831;
  border-radius: 7px;
  padding: 10px 14px;
  color: #E6E8EC;
  font-size: 0.98rem;
}
.cookie-category-row input[type="checkbox"] {
  accent-color: var(--primary);
  width: 20px; height: 20px;
  border-radius: 4px;
}
.cookie-category-row label {
  font-weight: 600;
  color: #C1B7E4;
  font-size: 1.02rem;
}
.cookie-category-row .always-enabled {
  font-style: italic;
  color: #89a;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  color: #ACB2CB;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: var(--secondary); }

.cookie-modal .controls {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 10px 24px;
}
.cookie-modal .save {
  background: var(--primary);
  color: var(--accent);
  margin-left: 10px;
}
.cookie-modal .save:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .cancel {
  background: #EDF0F6;
  color: #4A3676;
}
.cookie-modal .cancel:hover {
  background: #d6d3ea;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1160px) {
  .container {
    padding: 0 12px;
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .feature_grid {
    gap: 18px;
  }
  .testimonial-card {
    min-width: 200px;
    max-width: 100%;
  }
  .section, section:not(.hero):not(.cta-section) {
    padding: 24px 8px;
  }
  .cta-section {
    padding: 32px 0;
  }
}
@media (max-width: 820px) {
  header .container {
    gap: 16px;
  }
  .main-nav {
    gap: 11px;
  }
  .hero {
    padding: 24px 0;
    min-height: unset;
  }
  h1, .h1 { font-size: 1.8rem; }
  h2, .h2 { font-size: 1.3rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero .container {
    padding: 0 10px;
  }
  .feature_grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    margin-bottom: 18px;
    padding: 17px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-details {
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .section, section:not(.hero):not(.cta-section) {
    margin-bottom: 32px;
    padding: 13px 0;
    border-radius: 7px;
  }
  .cta-section {
    margin-bottom: 34px;
    border-radius: 7px;
    padding: 17px 0;
  }
  .pricing_table th, .pricing_table td {
    padding: 8px 8px;
    font-size: 0.99rem;
  }
  .footer-copy { font-size: 0.91rem; }
  .cookie-modal { padding: 16px 5vw 22px 5vw; border-radius: 7px; }
}

/* ---------------
   INDUSTRIAL MODERN ACCENTS
   --------------- */
::-webkit-scrollbar {
  width: 12px;
  background: #232533;
}
::-webkit-scrollbar-thumb {
  background: #34344A;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4A3676;
}

/* Shadow divider for modern look */
.divider {
  border: none;
  border-top: 1.5px solid var(--metal);
  margin: 28px 0;
  width: 100%;
}

/* FOCUS VISIBLE FOR ACCESSIBILITY */
a:focus, button:focus, .btn-primary:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 1.5px;
}

/* ------ MISC ------ */
h2 + ul, h2 + .feature_grid, h2 + .pricing_table {
  margin-top: 8px;
}
h3 + ul, h3 + .feature_grid {
  margin-top: 6px;
}
main {
  margin-bottom: 70px;
}

/* Ensure no overlap - spacing rules */
section > .container > .content-wrapper > * + * {
  margin-top: 20px;
}

/* Extra card layout nice-to-haves (optional if cards used elsewhere) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

/* VISUAL HINT OF METAL */
.section,
.card,
.feature_grid li,
.contact-details div {
  box-shadow: 0 2px 10px rgba(138, 143, 160, 0.09);
}

/* Industrial fonts (Montserrat SemiBold/Roboto Mono as fallback, hinting) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

/* Hide elements for a11y if needed */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  border: 0; padding: 0;
  margin: -1px;
}
