/* ==== CSS RESET & BASE ==== */
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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  background: #fff;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  color: #171C3C;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ==== VARIABLES ==== */
:root {
  --color-primary: #171C3C;
  --color-secondary: #FFE066;
  --color-accent: #26FFE6;
  --color-bg: #fff;
  --color-card: #f6f8fd;
  --color-card-dark: #22274B;
  --color-text: #171C3C;
  --color-light-text: #fff;
  --color-muted: #727A9A;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ==== TYPOGRAPHY ==== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.16;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.14;
}
p,
ul,
ol,
li,
dd,
dt {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
}
strong, b {
  font-weight: 700;
  font-family: var(--font-display);
}
blockquote {
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  background: #f3fbfa;
  margin-bottom: 16px;
  padding: 12px 18px;
  font-style: italic;
}
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Responsive font scaling */
@media (min-width: 520px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.35rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
}

/* === BASE LAYOUT STRUCTURE === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  padding: 0;
  margin-bottom: 0;
}

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

/* ==== FLEXBOX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(23,28,60,0.09);
  padding: 26px 18px;
  transition: box-shadow 0.20s, transform 0.20s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(38,255,230,0.09), 0 3px 12px rgba(46,29,94,0.12);
  transform: translateY(-4px) scale(1.016);
  z-index: 2;
}
.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;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(23,28,60,0.08);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Additional flex layouts for semantics */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  background: var(--color-card);
  border-radius: 16px;
  padding: 28px 18px;
  box-shadow: 0 2px 14px rgba(38,255,230,0.07), 0 2px 14px rgba(23,28,60,0.05);
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 0;
}
.features-grid > div:hover {
  box-shadow: 0 5px 30px rgba(38,255,230,0.13), 0 6px 24px rgba(23,28,60,0.12);
  transform: translateY(-4px) scale(1.018);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(110deg, #FFF 65%, #26FFE6 95%);
  position: relative;
  margin-bottom: 48px;
  padding: 60px 0 46px 0;
  overflow: hidden;
}
.hero h1,
.hero p {
  color: var(--color-primary);
}
.hero .cta {
  margin-top: 25px;
}

/* === CTA Button === */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 999px;
  padding: 0.84em 2.1em;
  box-shadow: 0 3px 16px rgba(38,255,230,0.14);
  transition: background 0.19s, color 0.18s, transform 0.13s, box-shadow 0.17s;
  border: 2px solid var(--color-accent);
  margin-bottom: 10px;
}
.cta:hover,
.cta:focus {
  background: var(--color-primary);
  color: #FFF;
  box-shadow: 0 6px 30px rgba(38,255,230,0.25), 0 1px 10px #171C3C22;
  border: 2px solid var(--color-primary);
  transform: translateY(-2px) scale(1.04);
}

/* === MAIN NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(23,28,60,0.07);
  position: relative;
  z-index: 101;
}
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px 0 8px 0;
  min-height: 64px;
}
.main-nav > a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s, color 0.16s;
  position: relative;
}
.main-nav > a:not(.cta):hover,
.main-nav > a:not(.cta):focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.main-nav > a.cta {
  margin-left: auto;
}
.main-nav > a img {
  height: 38px;
  width: auto;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  padding: 7px 17px;
  position: absolute;
  right: 22px;
  top: 18px;
  z-index: 158;
  border: none;
  min-width: 48px;
  min-height: 48px;
  transition: background 0.13s, color 0.17s, transform 0.14s, box-shadow 0.14s;
  box-shadow: 0 2px 6px rgba(38,255,230,0.13);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.08);
  box-shadow: 0 7px 22px #171C3c1a;
}
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: #fff;
  z-index: 202;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.68,-0.55,.27,1.25);
  box-shadow: 0 0 85px #171C3c22;
  padding: 46px 22px 22px 22px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 2.3rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 8px;
  padding: 7px 15px;
  z-index: 210;
  border: none;
  transition: box-shadow 0.15s, background 0.13s, color 0.11s;
  min-width: 48px;
  min-height: 48px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 18px #26FFE611;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.23rem;
  font-weight: 800;
  color: var(--color-primary);
  padding: 13px 0;
  border-bottom: 1px solid #e0e4f5;
  transition: color 0.16s, background 0.13s;
  border-radius: 6px;
  min-width: 88px;
  min-height: 44px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  background: #f3fbfa;
}

@media (max-width: 1060px) {
  .main-nav > a:not(:first-child) {
    font-size: 0.94rem;
    padding: 9px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav > a:not(:first-child) {
    display: none;
  }
  .main-nav > a:first-child {
    margin-right: auto;
  }
  .main-nav > a.cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 30px 0 10px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 6px 0;
  transition: color 0.16s;
  border-radius: 0;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer p {
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: #c7faf5;
  margin-bottom: 0;
  text-align: center;
}

/* === BLOG === */
.blog-categories {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  flex-wrap: wrap;
}
.blog-categories a {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.02rem;
  transition: color 0.12s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  color: var(--color-primary);
}

/* === LEGAL / STATUS SECTIONS === */
.legal, .status {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal h1, .status h1 {
  margin-bottom: 22px;
}
.legal ul, .status ul {
  margin-left: 0;
  padding-left: 0;
}
.legal li {
  margin-bottom: 12px;
  color: var(--color-text);
}
.legal a {
  color: var(--color-accent);
}

/* === PRICING PACKAGES CARDS === */
.features-grid > div ul {
  margin-top: 12px;
  margin-bottom: 0;
  padding-left: 18px;
}
.features-grid > div ul li {
  list-style: disc;
  margin-left: 10px;
  margin-bottom: 7px;
}

/* === TESTIMONIAL CARD === */
.testimonial-card {
  border: 1.5px solid var(--color-accent);
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 3px 24px #26ffe618;
  font-size: 1.02rem;
  min-height: 106px;
  margin-bottom: 22px;
}
.testimonial-card blockquote {
  border-left: 4px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
}
.testimonial-card p strong {
  color: var(--color-primary);
  font-size: 1rem;
}

/* === ICON INTEGRATION IN UL LI === */
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.text-section ul img {
  height: 32px;
  width: 32px;
}
.text-section a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.13s;
}
.text-section a:hover,
.text-section a:focus {
  color: var(--color-primary);
}

/* ==== FORMS & DL/DT/DD === */
dt {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  margin-top: 16px;
  color: var(--color-primary);
}
dd {
  margin-bottom: 10px;
  font-size: 1.01rem;
  color: var(--color-muted);
}
label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}

/* ==== CARD-LIKE ELEMENTS ==== */
.card {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(23,28,60,0.08);
  transition: box-shadow 0.21s, transform 0.13s;
  font-size: 1rem;
}

/* === Utility classes for spacing (for safety) === */
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-light-text);
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -4px 24px #171C3c11;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  gap: 13px;
  transition: transform 0.29s, opacity 0.29s;
  font-family: var(--font-body);
  font-size: 1.12rem;
  opacity: 1;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(105%);
  pointer-events: none;
}
.cookie-banner strong {
  color: var(--color-secondary);
  font-size: 1.08em;
  font-family: var(--font-display);
}
.cookie-banner-buttons {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}
.cookie-btn {
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  padding: 0.7em 2em;
  margin-right: 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 2px 9px #26FFE611;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-secondary);
}
.cookie-btn.reject {
  background: transparent;
  color: #fff;
  border: 1.6px solid var(--color-accent);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-left: 12px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-accent);
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  z-index: 10001;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,28,60,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.23s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  padding: 38px 30px 28px 30px;
  min-width: 305px;
  max-width: 350px;
  box-shadow: 0 4px 42px #171C3c22;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--color-primary);
  font-size: 1.26rem;
  font-family: var(--font-display);
  margin-bottom: 14px;
}
.cookie-modal-content label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1.01rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.cookie-category {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Toggle switches */
.cookie-toggle {
  width: 48px;
  height: 27px;
  border-radius: 20px;
  background: #eee;
  display: inline-block;
  position: relative;
  margin-left: 6px;
  transition: background 0.16s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 3px;
  width: 24px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  transition: transform 0.19s, background 0.13s;
}
.cookie-toggle input:checked + .slider {
  transform: translateX(18px);
  background: var(--color-accent);
}
/* Modal actions */
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  color: var(--color-accent);
  font-size: 1.6rem;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  transition: color 0.17s, background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-primary);
  background: #f5fafd;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 11px;
  }
  .main-nav {
    gap: 14px;
  }
  .features-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section, .legal, .status {
    margin-bottom: 42px;
    padding: 22px 5px;
  }
  .hero {
    padding: 40px 0 30px 0;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features-grid > div {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  .hero {
    padding-top: 25px;
    padding-bottom: 5px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.08rem; }
  .footer-nav {
    gap: 10px;
    font-size: 0.81rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav a {
    font-size: 0.85rem;
  }
}

/* === SECTION BACKGROUNDS & DECOR === */
section {
  margin-bottom: 60px;
  padding: 0;
}
section:last-child {
  margin-bottom: 0;
}

/* === GEOMETRIC & NEON HIGHLIGHTS (Modern Bold) === */
.content-wrapper, .features-grid > div, .card {
  position: relative;
}
.content-wrapper::before {
  content: '';
  display: block;
  position: absolute;
  left: -20px;
  top: -24px;
  width: 80px;
  height: 58px;
  background: var(--color-accent);
  opacity: 0.12;
  border-radius: 20px 70px 80px 20px;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}
.features-grid > div::after {
  content: '';
  display: block;
  position: absolute;
  right: -35px;
  bottom: -25px;
  width: 60px;
  height: 50px;
  background: var(--color-secondary);
  opacity: 0.13;
  border-radius: 76px 16px 70px 22px;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}
.testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: -11px;
  bottom: -9px;
  width: 33px;
  height: 30px;
  background: var(--color-accent);
  opacity: 0.13;
  border-radius: 22px 11px 18px 18px;
  z-index: 0;
  filter: blur(1px);
  pointer-events: none;
}

/* ==== SHADOWS & EFFECTS ==== */
.card, .features-grid > div {
  box-shadow: 0 3px 18px rgba(23,28,60,0.08);
}
.card:hover, .features-grid > div:hover {
  box-shadow: 0 8px 34px rgba(23,28,60,0.19), 0 4px 14px #26FFE608;
}

/* ==== MICRO-INTERACTIONS ==== */
a, .cta, .main-nav > a, .footer-nav a, button, .cookie-btn, .card, .features-grid > div, .testimonial-card {
  transition: color 0.16s, background 0.18s, border 0.13s, box-shadow 0.18s, transform 0.16s;
}

/* ==== Z-INDEX SAFE LAYERING ==== */
.mobile-menu, .cookie-modal {
  z-index: 1200;
}
.cookie-banner {
  z-index: 1800;
}
.mobile-menu-toggle,
.mobile-menu-close {
  z-index: 1805;
}

/* ==== HIDE SCROLLBAR FOR MOBILE NAV ==== */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* ==== SCROLL LOCK (body.locked) for fullscreen nav/modal ==== */
body.locked {
  overflow: hidden;
}

/* ==== ACCESSIBILITY ==== */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-delay: 0s !important;
    animation-duration: 0s !important;
  }
}
