/* --- 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,
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #2D1A00;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; letter-spacing: 2px; }
h2 { font-size: 2rem; letter-spacing: 1.5px; }
h3 { font-size: 1.25rem; letter-spacing: 1px; }
h4, h5, h6 { font-size: 1rem; letter-spacing: 0.5px; }

/* --- VINTAGE RETRO COLORS & FONTS --- */
:root {
  --primary: #143356;
  --secondary: #23A6D5;
  --accent: #F5F7FA;
  --vintage-mustard: #FFDE5B;
  --vintage-burned: #CC6E35;
  --vintage-olive: #7E8474;
  --vintage-cream: #F7F4EA;
  --vintage-red: #BF4D28;
  --vintage-blue: #314367;
  --text-dark: #2D1A00;
  --text-light: #F5F7FA;
}

body {
  background: var(--accent);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  background: var(--vintage-mustard);
  box-shadow: 0 4px 16px rgba(44, 33, 0, 0.07);
  border-bottom: 4px solid var(--primary);
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
header nav a:hover,  header nav a:focus {
  background: var(--vintage-burned);
  color: var(--accent);
}

header img {
  height: 44px;
  width: auto;
  margin-right: 12px;
  filter: grayscale(0.2) contrast(1.2) brightness(0.99);
}

.btn-primary {
  background: var(--primary);
  color: var(--vintage-cream);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  border: none;
  border-radius: 24px;
  padding: 12px 40px;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(44, 33, 0, 0.10);
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, color 0.2s, box-shadow .2s;
}
.btn-primary:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 2px solid var(--vintage-mustard);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--vintage-burned);
  color: var(--accent);
  box-shadow: 0 2px 16px rgba(44,33,0,.12);
}
.btn-primary:hover:after,
.btn-primary:focus:after {
  opacity: 1;
}
.btn-link {
  background: none;
  color: var(--vintage-red);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-block;
  position: relative;
  transition: color .2s, background .2s;
}
.btn-link:hover,
.btn-link:focus {
  background: var(--vintage-red);
  color: var(--vintage-cream);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-cream);
  border-radius: 18px;
  box-shadow: 0 2px 32px rgba(139, 106, 63, 0.06);
}
/* Card and content wrappers  */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
}
.text-section {
  margin-bottom: 32px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--primary);
}
ul, ol {
  margin-top: 8px;
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
}
ul li:before {
  content: '\2738';
  color: var(--vintage-red);
  position: absolute;
  left: 0;
  font-size: 1em;
  top: 2px;
}
ol.numbered-steps {
  counter-reset: stepnum;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
ol.numbered-steps li {
  position: relative;
  padding-left: 54px;
  min-height: 54px;
  background: var(--accent);
  border-radius: 12px;
  margin-bottom: 6px;
  box-shadow: 0 1px 6px rgba(44,33,0,0.06);
  display: flex;
  align-items: center;
  gap: 16px;
}
ol.numbered-steps li:before {
  counter-increment: stepnum;
  content: counter(stepnum);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--vintage-mustard);
  border-radius: 50%;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--primary);
}
ol.numbered-steps img {
  width: 36px;
  height: 36px;
  margin-right: 6px;
}

.feature-grid,
.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.pricing-tables {
  margin-bottom: 40px;
}
.table {
  background: var(--vintage-mustard);
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(44,33,0,.07);
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 320px;
  padding: 32px 24px;
  margin-bottom: 20px;
  margin-right: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  border: 3px solid var(--primary);
  transition: box-shadow .2s;
  position: relative;
}
.table h3 {
  color: var(--primary);
  font-size: 1.22rem;
  letter-spacing: 1.5px;
}
.table ul li {
  color: var(--primary);
  font-size: 1rem;
}
.table:hover, .service-card:hover {
  box-shadow: 0 4px 32px 2px rgba(44, 33, 0, 0.18);
  z-index: 3;
}
.feature-grid > div,
.service-card {
  background: var(--vintage-cream);
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(44,33,0,.07);
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 290px;
  padding: 28px 18px 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 2px solid var(--primary);
  transition: box-shadow .2s, background .2s;
  position: relative;
}
.feature-grid > div:hover,
.service-card:hover {
  background: var(--vintage-mustard);
}
.service-card img, .feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.service-card h3, .feature-grid h3 {
  color: var(--vintage-burned);
}

.benefit-list {
  background: var(--vintage-olive);
  border-radius: 10px;
  padding: 20px 20px 10px 20px;
  color: var(--accent);
  font-size: 1rem;
  margin: 28px 0 20px 0;
}
.benefit-list h3 { color: var(--primary); font-size: 1.1rem; }
.benefit-list ul li:before {
  color: var(--primary);
}

.feature-comparison {
  margin: 24px 0 20px 0;
}
.feature-comparison ul li:before {
  color: var(--vintage-blue);
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--vintage-cream);
  padding: 10px 16px;
  border-radius: 8px;
  margin-top: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(44,33,0,0.07);
}
.trust-badges img {
  width: 28px;
  margin-right: 2px;
}

.security-badges {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 12px 0 18px 0;
}
.security-badges img {
  width: 42px;
}
.trust-statistics {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trust-statistics ul li {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.07rem;
}

.compliance-info {
  background: var(--vintage-mustard);
  border-radius: 8px;
  padding: 18px 16px;
  color: var(--primary);
  margin: 18px 0;
}
.user-tips {
  background: var(--vintage-olive);
  border-radius: 10px;
  padding: 12px 18px;
  color: var(--vintage-cream);
  margin: 6px 0 0 0;
  font-size: 1rem;
}
.user-tips h3 {
  color: var(--vintage-mustard);
  font-size: 1.09rem;
}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 26px 20px 26px;
  background: var(--vintage-cream);
  box-shadow: 0 1px 18px 2px rgba(44,33,0,0.09);
  border-radius: 14px;
  border: 2px solid var(--primary);
  min-width: 270px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow .2s, background .2s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 4px rgba(44,33,0,0.17);
  background: var(--vintage-mustard);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #534029;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: .99rem;
}
.testimonial-info span:last-child {
  color: var(--vintage-red);
  font-size: 1.12rem;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 12px 0;
}
.faq-item {
  padding: 18px 24px;
  background: var(--vintage-cream);
  border-radius: 10px;
  border: 1px solid var(--vintage-olive);
  box-shadow: 0 1px 8px rgba(139, 106, 63, 0.05);
  transition: box-shadow .2s, border .2s;
}
.faq-item:hover {
  box-shadow: 0 2px 14px rgba(44,33,0,0.13);
  border-color: var(--vintage-burned);
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.09rem;
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--primary);
  font-size: 1.01rem;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--vintage-cream);
  padding: 42px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
footer nav a {
  color: var(--vintage-cream);
  font-size: 1rem;
  transition: color .2s, text-decoration .2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--vintage-mustard);
  text-decoration: underline dotted 2px;
}
.footer-contact {
  font-size: .97rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--vintage-cream);
  margin-top: 4px;
  line-height: 1.5;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 24px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  background: var(--vintage-burned);
  color: var(--vintage-cream);
  border: none;
  border-radius: 50%;
  z-index: 3000;
  box-shadow: 0 3px 16px rgba(44,33,0,0.10);
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--vintage-cream);
  z-index: 4000;
  box-shadow: 0 8px 48px 8px rgba(44,33,0,0.25);
  transition: transform .35s cubic-bezier(.77,0,.18,1), opacity .18s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  border: none;
  margin: 18px 28px 0 0;
  cursor: pointer;
  transition: color .2s;
  z-index: 4100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--vintage-burned);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 38px 0 0 38px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: var(--primary);
  padding: 10px 0;
  border-radius: 6px;
  transition: background .16s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-burned);
  color: #fff;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--vintage-olive);
  color: var(--vintage-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 18px 22px 24px;
  box-shadow: 0 -2px 24px 2px rgba(44,33,0,0.15);
  font-size: 1.08rem;
  z-index: 6000;
  transition: transform .32s, opacity .19s;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  max-width: 420px;
}
.cookie-banner button {
  margin: 0 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 24px;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background .16s, color .2s, box-shadow .2s;
}
.banner-btn-accept {
  background: var(--vintage-mustard);
  color: var(--primary);
}
.banner-btn-accept:hover {
  background: var(--vintage-burned);
  color: var(--accent);
}
.banner-btn-reject {
  background: var(--primary);
  color: var(--vintage-cream);
}
.banner-btn-reject:hover {
  background: var(--vintage-burned);
  color: var(--vintage-cream);
}
.banner-btn-settings {
  background: var(--vintage-blue);
  color: var(--vintage-mustard);
}
.banner-btn-settings:hover {
  background: var(--vintage-red);
  color: var(--vintage-cream);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 7000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(20,51,86,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--vintage-cream);
  border-radius: 14px;
  max-width: 400px;
  width: 90%;
  padding: 40px 26px 28px 26px;
  box-shadow: 0 6px 36px 8px rgba(44,33,0,0.14);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 30px;
  animation: fadeInModal .26s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(90px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal-category {
  margin-bottom: 12px;
}
.cookie-modal-category label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--vintage-burned);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 10px;
}
.cookie-modal-btns {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal button {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 16px;
  font-size: 1rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
  background: var(--vintage-mustard);
  color: var(--primary);
  transition: background .13s, color .12s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--vintage-blue);
  color: var(--vintage-cream);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1000px) {
  .feature-grid,
  .pricing-tables {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }
  .feature-grid > div,
  .service-card,
  .table {
    max-width: 90vw;
    min-width: 180px;
    margin: 0 auto 20px auto;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 10px;
  }
  .content-wrapper {
    max-width: 94vw;
    padding: 0 4vw;
  }
  .section {
    margin-bottom: 42px;
    padding: 26px 6px;
  }
  .feature-grid, .pricing-tables {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0;
    width: 94vw;
    max-width: 98vw;
    padding: 16px 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 0 8px;
  }
  footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 10px;
    font-size: .98rem;
  }
}
@media (max-width: 600px) {
  .content-wrapper,
  .feature-grid > div,
  .service-card,
  .table {
    width: 100%;
    padding: 14px 2px 14px 4px;
    box-sizing: border-box;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.24rem; }
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav, .btn-primary {
    display: none;
  }
  .mobile-menu {
    display: flex;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-menu.open {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
  }
}
/* --- CUSTOM PATTERNS/BORDERS/RETRO EFFECTS --- */
.section {
  position: relative;
  border: 6px double var(--primary);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    #e8e0d6 12px,
    #e8e0d6 15px
  );
  box-shadow: 0 6px 28px rgba(44,33,0,0.10);
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; left: 12%; width: 76%; height: 10px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg, var(--vintage-mustard) 0 12px, var(--primary) 12px 16px
  );
  opacity: 0.26;
  z-index: 1;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--vintage-cream);
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(139, 106, 63, 0.08);
  border: 2px solid var(--primary);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  color: var(--primary);
  background: var(--vintage-cream);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- UTILITIES --- */
.hide { display: none !important; }
.visible { display: block !important; }
.flex { display: flex !important; }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
a, .btn-primary, .btn-link, button, .card, .feature-grid > div, .service-card, .faq-item, .testimonial-card {
  transition: background .20s, color .16s, box-shadow .22s, border .16s;
}

a:active, .btn-primary:active, .btn-link:active {
  transform: translateY(2px) scale(0.98);
}

input:focus, textarea:focus, select:focus {
  outline: 2px dashed var(--vintage-burned);
  outline-offset: 1px;
}

/* --- RETRO FONTS FALLBACK --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;700&display=swap');

/* --- END --- */
