/* --- 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #21293a;
  color: #F5F5F2;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-style: none;
}
a {
  text-decoration: none;
  color: #7EA3CC;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff;
}
ul, ol {
  list-style: none;
}
b, strong {
  font-weight: 700;
}

/* --- VARIABLE ROOT DEFAULTS (with fallbacks) --- */
:root {
  --color-primary: #263448;
  --color-secondary: #7EA3CC;
  --color-accent: #F5F5F2;
  --color-bg: #21293a;
  --color-bg-section: #263448;
  --color-fg: #F5F5F2;
  --color-dark: #10141B;
  --color-muted: #32456a;
  --color-neon: #5CFFF4;
  --shadow-soft: 0 8px 32px 0 rgba(50,60,140,0.18);
  --shadow-card: 0 2px 16px 0 rgba(50, 134, 255, 0.17);
  --shadow-elevate: 0 4px 32px 0 rgba(76,160,255,0.1);
  --radius: 18px;
  --radius-btn: 30px;
  --transition: 0.2s cubic-bezier(.61,.02,.56,1.05);
  --transition-slow: 0.37s cubic-bezier(.4,0,.2,1);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #5CFFF4;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.18;
  text-shadow: 0 2px 12px rgba(76,255,244,0.17);
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.16rem;
}
p, li, blockquote, label {
  font-size: 1rem;
  color: #F5F5F2;
  font-family: 'Open Sans', Arial, sans-serif;
}
blockquote {
  font-size: 1.18rem;
  font-style: italic;
  border-left: 5px solid #5CFFF4;
  padding-left: 16px;
  color: #263448;
  background: #C8F4FF;
  border-radius: var(--radius);
  margin-bottom: 12px;
  margin-top: 4px;
}
.section h2 {
  margin-bottom: 18px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* --- FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  flex: 1 1 240px;
  background: #293b57;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow var(--transition);
  border: 1px solid #425383;
}
.card:hover {
  box-shadow: 0 6px 24px 2px #5CFFF4, var(--shadow-elevate);
}
.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: #F5F5F2;
  color: #263448;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(76,160,255,0.07);
  border: 1.5px solid #5CFFF4;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: linear-gradient(90deg, #1F293D 85%, #222542 100%);
  box-shadow: 0 1px 16px 0 #11182722;
  padding: 0;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 18px;
}
.main-nav a img {
  width: 128px;
  height: auto;
  margin-right: 16px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.main-nav ul li {
  margin-bottom: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #C8F4FF;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  transition: background var(--transition), color var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: #5CFFF4;
  color: #222542;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #5CFFF4;
  color: #172037;
  border: none;
  padding: 11px 34px;
  border-radius: var(--radius-btn);
  font-size: 1.08rem;
  box-shadow: 0 3px 10px 0 #5CFFF433;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  letter-spacing: 0.02em;
  outline: none;
  margin-left: 16px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #0CFBF7;
  color: #19213D;
  box-shadow: 0 5px 24px #5CFFF4DD;
}
.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: transparent;
  color: #5CFFF4;
  border: 2px solid #5CFFF4;
  padding: 10px 26px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  transition: background var(--transition), color var(--transition), border var(--transition);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #5CFFF4;
  color: #172037;
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 23px;
  right: 18px;
  background: #111b26;
  color: #5CFFF4;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition), background var(--transition);
  z-index: 1002;
  cursor: pointer;
  box-shadow: 0 2px 25px 0 #5CFFF425;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #5CFFF4;
}
/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(31,41,61, 0.95);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: 0 30px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #5CFFF4;
  font-size: 2.4rem;
  cursor: pointer;
  margin-top: 26px;
  margin-bottom: 28px;
  border-radius: 50%;
  transition: background 0.17s;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #5CFFF4;
  color: #172037;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 8px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #F5F5F2;
  padding: 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid #32456a;
  width: 100%;
  transition: color var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #5CFFF4;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 9px;
  }
  .btn-primary {
    padding: 10px 23px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 780px) {
  .container {
    padding: 0 8px;
  }
  header {
    padding-bottom: 0;
  }
}


/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(90deg, #263448 60%, #2A3B5A 100%);
  padding: 58px 0 36px 0;
  min-height: 260px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 28px 0 #0ed1fa1f;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #5CFFF4;
  text-shadow: 0 4px 24px #7EA3CC44;
  font-size: 2.35rem;
}
.hero p {
  font-size: 1.13rem;
  color: #F5F5F2;
  margin-bottom: 18px;
  margin-top: 10px;
}
@media (max-width: 750px) {
  .hero {
    padding: 32px 0 20px 0;
  }
  .hero h1 {
    font-size: 1.44rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* --- SECTION STYLES --- */
.features, .services, .about, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #222542;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.features h2, .services h2, .about h2, .contact h2 {
  color: #5CFFF4;
}
.features ul, .services ul, .about ul, .contact ul, .features ol, .about ol, .services ol {
  padding-left: 0;
  margin-bottom: 0;
}
.features ul li,
.services ul li,
.about ul li,
.contact ul li {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  font-size: 1.04rem;
  gap: 15px;
}
.features ul li img,
.services ul li img,
.contact ul li img {
  width: 34px;
  height: 34px;
  margin-right: 12px;
  filter: drop-shadow(0 0 6px #5CFFF4AA);
}
.features ol li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.features ol li span {
  background: #5CFFF4;
  color: #19213D;
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.13em;
  margin-right: 10px;
}
.benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.benefit-icons span {
  background: #27334A;
  color: #5CFFF4;
  border: 1.5px solid #5CFFF4;
  border-radius: var(--radius-btn);
  padding: 8px 18px 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  font-size: 1.01rem;
}
.benefit-icons img {
  width: 28px;
  height: 28px;
}

/* Blog layout */
.blog-categories, .blog-tags {
  margin-top: 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.blog-categories ul {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.blog-categories ul li a {
  background: #263448;
  padding: 6px 16px;
  border-radius: var(--radius);
  color: #5CFFF4;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.blog-categories ul li a:hover {
  background: #5CFFF4;
  color: #19213D;
}
.blog-tags {
  gap: 8px;
}
.blog-tags span {
  background: #5CFFF4;
  color: #263448;
  border-radius: var(--radius-btn);
  padding: 6px 14px;
  font-size: 0.95rem;
  margin-right: 10px;
  display: inline-block;
  margin-bottom: 4px;
}

/* --- TESTIMONIAL CARDS --- */
.testimonials .testimonial-card {
  margin-bottom: 24px;
  gap: 16px;
  background: #F5F5F2;
  color: #263448;
}
.testimonials .testimonial-card strong {
  color: #263448;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- FAQ & TIPS --- */
.faq-section ul {
  padding-left: 0;
}
.faq-section ul li {
  margin-bottom: 18px;
  color: #7EA3CC;
  background: #181e2b;
  border-radius: var(--radius);
  padding: 15px 18px;
  font-size: 1rem;
  box-shadow: 0 2px 10px 0 #5CFFF406;
}
.tip-grid ul li {
  background: #293b57;
  border-left: 4px solid #5CFFF4;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 13px;
  color: #F5F5F2;
  box-shadow: var(--shadow-card);
}

.quick-guides ul {
  margin-top: 8px;
  padding-left: 0;
}
.quick-guides ul li {
  margin-bottom: 10px;
  color: #A6F6F4;
  font-size: 0.98rem;
}

/* --- CONTACT SECTION --- */
.contact ul li a {
  color: #5CFFF4;
  word-break: break-all;
}
.map-location {
  margin-top: 18px;
  background: #1F2539;
  border-radius: var(--radius);
  padding: 16px 18px;
  color: #C8F4FF;
  font-size: 1rem;
}

/* --- PRICING --- */
.pricing-summary {
  margin: 18px 0 0 0;
  background: #263448;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-elevate);
  border: 1px solid #425383;
}
.price {
  background: #5CFFF4;
  color: #19213D;
  border-radius: var(--radius-btn);
  padding: 2px 11px;
  margin-left: 9px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
}

/* --- FOOTER --- */
footer {
  background: #19213D;
  color: #C8F4FF;
  padding: 38px 0 0 0;
  border-top: 2px solid #5CFFF4;
  box-shadow: 0 -2px 16px 0 #0CFBF733;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand img {
  width: 68px;
  height: auto;
  padding-bottom: 0;
}
.footer-contact {
  min-width: 230px;
}
.footer-contact h3 {
  font-size: 1.15rem;
  margin-bottom: 9px;
  color: #5CFFF4;
}
.footer-contact a {
  color: #7EA3CC;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: #5CFFF4;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav ul li a {
  color: #7EA3CC;
  font-size: 1rem;
  transition: color var(--transition);
}
.footer-nav ul li a:hover {
  color: #5CFFF4;
}
.footer-socials {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  margin-top: 8px;
}
.footer-socials a img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 3px 10px #5CFFF488);
  transition: filter var(--transition);
}
.footer-socials a:hover img {
  filter: drop-shadow(0 0 23px #7EA3CCDD);
}
.footer-copy {
  margin: 32px 0 0 0;
  text-align: center;
  color: #5CFFF4;
  font-size: 0.99rem;
  opacity: 0.85;
  letter-spacing: 0.03em;
}
@media (max-width: 830px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #182034;
  color: #C8F4FF;
  display: flex;
  justify-content: center;
  padding: 24px 12px 22px 12px;
  box-shadow: 0 -4px 24px 0 #5CFFF466;
  align-items: center;
  gap: 28px;
  animation: fadeBannerIn 0.45s;
}
@keyframes fadeBannerIn {
  from { opacity: 0; transform: translateY(64px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.01rem;
  margin: 0;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #5CFFF4;
  color: #263448;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 2px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1.5px 8px #5CFFF488;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #21e0e0;
  color: #172037;
}
.cookie-btn.secondary {
  background: none;
  color: #5CFFF4;
  border: 1.5px solid #5CFFF4;
  box-shadow: none;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: #5CFFF4;
  color: #172037;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(31,41,61,0.87);
  z-index: 2000;
  animation: cookieModalFadeIn 0.23s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #151A29;
  color: #F5F5F2;
  max-width: 410px;
  margin: 86px auto 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 5px 45px #5CFFF433;
  padding: 28px 32px;
  position: relative;
  z-index: 2100;
  animation: slideDownCookie 0.32s cubic-bezier(.4,1.7,.52,.75);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes slideDownCookie {
  from { transform: translateY(-55px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #5CFFF4;
  cursor: pointer;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #5CFFF4;
  color: #151A29;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  appearance: none;
  background-color: #21293a;
  border: 2px solid #5CFFF4;
  box-sizing: border-box;
  width: 22px; height: 22px;
  border-radius: 7px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: border var(--transition), background var(--transition);
}
.cookie-category input[type="checkbox"]:checked:not(:disabled) {
  background-color: #5CFFF4;
  border-color: #5CFFF4;
}
.cookie-category input[type="checkbox"]:checked:not(:disabled):after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #21293a;
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 6px;
}
.cookie-category label {
  font-weight: 600;
  color: #5CFFF4;
}
.cookie-category input:disabled + label {
  opacity: 0.55;
}

.cookie-modal-bottom {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

/* --- MEDIA QUERIES: MOBILE-FIRST, FLEX DIRECTION --- */
@media (max-width: 900px) {
  .content-wrapper, .card-container, .content-grid, .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .benefit-icons {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 530px) {
  .section, .features, .services, .about, .contact {
    padding: 26px 4px;
  }
  .footer-brand img {
    width: 56px;
  }
  .cookie-modal {
    max-width: 99vw;
    padding: 19px 3vw 19px 3vw;
  }
}

/* --- MICRO-INTERACTIONS & EFFECTS --- */
.card, .testimonial-card, .feature-item, .blog-categories ul li a, .btn-primary, .btn-secondary {
  transition: box-shadow 0.17s, background 0.18s, color 0.18s, border 0.22s;
}
.features ul li img,
.services ul li img,
.contact ul li img {
  transition: filter var(--transition);
}
.features ul li:hover img,
.services ul li:hover img,
.contact ul li:hover img {
  filter: drop-shadow(0 0 8px #5CFFF499);
}

.btn-primary:active,
.btn-secondary:active,
.card:active {
  transform: translateY(1.2px) scale(0.99);
}

/* --- ACCESSIBILITY & UTILITY --- */
:focus {
  outline: 2px solid #5CFFF4;
  outline-offset: 2px;
}

/* --- HIDE ON SPECIFIC SIZES --- */
@media (max-width: 750px) {
  .footer-nav ul {
    flex-direction: column;
    gap: 7px;
  }
}

/* --- PRINT --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #263448; }
}

/* ---- END OF STYLE.CSS ---- */
