/* ==== 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;
  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;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #1e2533;
  color: #F7FAF5;
  --primary: #283146;
  --secondary: #99B69F;
  --accent: #F7FAF5;
  --neon: #5ce3ff;
  --danger: #ff3352;
  --card-bg: #232b3a;
  --shadow: 0 4px 24px rgba(61,170,255,0.07),0 1.5px 5px rgba(40,49,70,0.17);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: var(--neon);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9aefea;
  text-decoration: underline;
}

button, .primary-btn, .secondary-btn {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 12px 32px;
  background: linear-gradient(90deg, #1e2533 0%, #3d73fd 60%, #5ce3ff 100%);
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(92,227,255,0.13);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, transform 0.12s, box-shadow 0.15s;
  font-size: 18px;
  letter-spacing: .03em;
  outline: none;
}
.primary-btn {
  background: linear-gradient(90deg, #5ce3ff 0%, #3d73fd 90%);
  color: #232b3a;
  text-shadow: 0 2px 8px #bffaf8;
  border-radius: 32px;
}
.primary-btn:hover, .primary-btn:focus {
  background: linear-gradient(90deg, #3d73fd 15%, #5ce3ff 85%);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 32px 0 rgba(92,227,255,0.28);
}
.secondary-btn {
  background: transparent;
  color: var(--neon);
  border: 2px solid var(--neon);
  text-shadow: none;
}
.secondary-btn:hover, .secondary-btn:focus {
  background: var(--neon);
  color: #232b3a;
  transform: translateY(-2px) scale(1.01);
}

/* ==== TYPOGRAPHY ==== */
h1, .display {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: .025em;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 3px 14px #5ce3ff44, 0 1px 1px #232b3a6a;
}
h2 {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
  text-shadow: 0 2px 10px #5ce3ff22;
}
h3 {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  margin: 14px 0 7px 0;
  color: var(--neon);
}
h4, h5, h6 {
  font-family: 'Nunito', Arial, sans-serif;
  color: #fff;
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
blockquote {
  font-style: italic;
  color: #283146;
  background: #eafafe;
  border-left: 6px solid var(--neon);
  border-radius: 12px;
  padding: 16px 22px;
  margin-bottom: 4px;
}
cite {
  display: block;
  font-size: 0.98em;
  color: #20292e;
  margin-top: 4px;
  font-style: normal;
  font-weight: 500;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ==== SECTION SPACING ==== */
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px 24px;
  color: #fafdff;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 40px #5ce3ff44, 0 2px 6px #232b3a11;
  transform: translateY(-3px) scale(1.02);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #eafafe;
  border-radius: 18px;
  box-shadow: 0 2px 16px #5ce3ff10;
  color: #20292e;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px #5ce3ff23, 0 2px 6px #232b3a08;
  transform: scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #202737;
  padding: 0;
  box-shadow: 0 2px 14px #5ce3ff0a;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
  color: #aefbfd;
  padding: 7px 9px;
  border-radius: 4px;
  transition: color 0.19s, background 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #283146;
  color: var(--neon);
}
.main-nav .primary-btn {
  margin-left: 32px;
  padding: 10px 36px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #5ce3ff 35%, #3d73fd 90%);
  color: var(--card-bg);
  letter-spacing: .06em;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: #5ce3ff;
  border: none;
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: #384870;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #202737ee;
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  transform: translateX(-101vw);
  transition: transform 0.38s cubic-bezier(.86,.03,.33,1.01);
  box-shadow: 0 6px 80px #5ce3ff35;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 29px;
  font-size: 2.2rem;
  color: #8cf3fc;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 10px;
  transition: background 0.13s;
  z-index: 10;
}
.mobile-menu-close:hover {
  background: #384870;
}
.mobile-nav {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.19rem;
  color: #5ce3ff;
  padding: 13px 9px;
  border-radius: 5px;
  transition: background 0.15s, color 0.13s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #324573;
  color: #fff;
}
.mobile-nav .primary-btn {
  background: linear-gradient(90deg, #5ce3ff 35%, #3d73fd 90%);
  color: #283146;
  margin-top: 12px;
  font-size: 1.19rem;
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(100deg, #2a344e 0%, #354964 58%, #4c8be0 100%);
  border-bottom-left-radius: 56px;
  border-bottom-right-radius: 56px;
  min-height: 410px;
  display: flex;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 42px;
  box-shadow: 0 4px 40px rgba(92,227,255,0.13),0 1.5px 5px rgba(40,49,70,0.16);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
  gap: 19px;
}
.hero h1 {
  font-size: 2.7rem;
}
.hero p {
  color: var(--accent);
  font-size: 1.16em;
}

/* ==== FEATURES ==== */
.features {
  padding-top: 44px;
  padding-bottom: 44px;
  background: #243053;
  border-radius: 40px;
  margin-bottom: 60px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}
.feature-grid li {
  background: #26385e;
  border-radius: 20px;
  box-shadow: 0 2px 12px #5ce3ff14;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 22px;
  width: 100%;
  max-width: 260px;
  min-height: 220px;
  transition: box-shadow 0.15s, transform 0.14s;
  color: #e3fbff;
}
.feature-grid li:hover {  
  box-shadow: 0 10px 30px #5ce3ff44;
  transform: translateY(-5px) scale(1.028);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 5px;
}
.feature-grid h3 {
  margin-bottom: 2px;
  color: #5ce3ff;
}

/* ==== ABOUT / TEAM / LOCATION / POLICY ==== */
.about, .team, .location, .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use, .thank-you {
  background: #232b3a;
  border-radius: 35px;
  box-shadow: var(--shadow);
  color: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.about h1, .team h2, .location h2, .privacy-policy h1, .thank-you h1, .cookie-policy h1, .gdpr-info h1, .terms-of-use h1 {
  color: var(--neon);
}
.text-section ul {
  margin-top: 9px;
  list-style: disc inside;
  color: #bafff8;
}
.text-section ul li {
  margin-bottom: 7px;
}
address {
  font-style: normal;
  color: #c4faf8;
  margin-bottom: 13px;
}

/* ==== PRICING & FAQ TABLES ==== */
.pricing table {
  width: 100%;
  background: #222b38;
  border-radius: 14px;
  box-shadow: 0 2px 16px #5ce3ff13;
  margin-bottom: 30px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.pricing thead tr {
  background: #2b3b53;
}
.pricing th, .pricing td {
  padding: 17px 12px;
  font-size: 1rem;
  text-align: left;
}
.pricing th {
  color: #5ce3ff;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  border-bottom: 2px solid #324573;
}
.pricing td {
  color: #fafdff;
  border-bottom: 1px solid #283146;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #1e2533;
  border-left: 5px solid #5ce3ff;
  border-radius: 15px;
  padding: 22px 30px;
  color: #fafcfd;
  box-shadow: 0 2px 12px #5ce3ff10;
  transition: box-shadow 0.13s, transform 0.13s;
}
.faq-item h3 {
  margin-bottom: 8px;
  color: #5ce3ff;
}
.faq-item:hover {
  box-shadow: 0 7px 21px #5ce3ff24;
  transform: translateY(-2px) scale(1.01);
}

/* ==== CTAs ==== */
.cta {
  background: linear-gradient(100deg, #233669 0%, #5ce3ff50 100%);
  border-radius: 38px;
  box-shadow: 0 2px 32px #5ce3ff19;
  color: #fff;
  margin-bottom: 60px;
  text-align: center;
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta h2 {
  margin-bottom: 18px;
}
.cta .primary-btn {
  margin-top: 13px;
}

/* ==== FOOTER ==== */
footer {
  background: #191e2b;
  color: #f0f8fb;
  padding: 32px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 18px #5ce3ff0c;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #5ce3ff;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1em;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #fff;
}
footer span {
  color: #b2fafe;
  font-size: 0.93em;
  margin-top: 6px;
}

/* ==== MISC ====== */
.text-image-section img {
  border-radius: 26px;
  box-shadow: 0 2px 14px #5ce3ff15;
}

section:not(:last-child) {
  margin-bottom: 60px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==== RESPONSIVE LAYOUT ==== */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .content-grid, .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-grid, .feature-grid {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .card-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .hero {
    padding-top: 29px;
    padding-bottom: 29px;
    min-height: 240px;
    border-radius: 24px 24px 55px 55px;
  }
  .features, .about, .team, .location, .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use, .thank-you {
    border-radius: 18px;
    padding: 19px 0;
  }
  .cta {
    border-radius: 19px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .hero h1 {
    font-size: 1.3rem;
  }
  h1, .display { font-size: 1.18rem; }
  h2 { font-size: 1.08rem; }
  .feature-grid li {
    max-width: 100%;
  }
  .testimonial-card {
    padding: 10px;
    border-radius: 10px;
  }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 3000;
  background: #25304b;
  color: #fff;
  box-shadow: 0 -2px 22px #5ce3ff27;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 20px 20px 20px;
  min-height: 98px;
  gap: 30px;
  flex-wrap: wrap;
  transition: transform 0.3s cubic-bezier(.67,.01,.31,1.03), opacity 0.24s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 230px;
  font-size: 1rem;
  color: #e6fdfe;
  margin-bottom: 7px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  padding: 8px 19px;
  border-radius: 18px;
  font-size: 1em;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.12s;
}
.cookie-banner .accept-btn {
  background: #5ce3ff;
  color: #18212b;
  font-weight: 700;
}
.cookie-banner .accept-btn:hover { background: #1bd0ed; }
.cookie-banner .reject-btn {
  background: transparent;
  color: #5ce3ff;
  border: 1.5px solid #5ce3ff;
}
.cookie-banner .reject-btn:hover { background: #1e2533; }
.cookie-banner .settings-btn {
  background: transparent;
  color: #adc9ff;
  border: 1.5px solid #adc9ff;
}
.cookie-banner .settings-btn:hover { background: #26385e; }

/* ==== COOKIE CONSENT MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #191e2bde;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn .25s;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #232b3a;
  border-radius: 24px;
  max-width: 410px;
  width: 96vw;
  color: #fff;
  box-shadow: 0 6px 40px #5ce3ff3a;
  padding: 34px 18px 18px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h2 { color: #5ce3ff; margin-bottom: 7px; }
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1em;
}
.cookie-modal .cookie-option label {
  font-family: 'Nunito', Arial, sans-serif;
  color: #81d7f9;
  font-size: 1em;
}
.cookie-modal .toggle-switch {
  position: relative;
  width: 38px;
  height: 21px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #344467;
  border-radius: 17px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .16s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  background: #5ce3ff;
}
.cookie-modal .toggle-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(15px);
  background: #232b3a;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 9px;
}
.cookie-modal .modal-accept {
  background: #5ce3ff;
  color: #18212b;
  font-weight: 700;
  border-radius: 18px;
  padding: 9px 20px;
}
.cookie-modal .modal-accept:hover { background: #1bd0ed; }
.cookie-modal .modal-cancel {
  background: transparent;
  color: #5ce3ff;
  border: 1.5px solid #5ce3ff;
  border-radius: 18px;
  padding: 9px 20px;
}
.cookie-modal .modal-cancel:hover { background: #1e2533; }
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px; right: 15px;
  background: none;
  border: none;
  color: #5ce3ff;
  font-size: 1.35em;
  cursor: pointer;
  padding: 0 7px;
  border-radius: 8px;
}
.cookie-modal .cookie-modal-close:hover { background: #324573; }
.cookie-modal .cookie-option.essential label {
  color: #75ffea;
  font-weight: 600;
}
.cookie-modal .cookie-option.essential .toggle-switch {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 420px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding-top: 18px;
    padding-bottom: 16px;
  }
  .cookie-banner .cookie-text {
    font-size: 0.95em;
  }
  .cookie-modal {
    min-width: 85vw;
    padding: 24px 9px 12px 9px;
  }
}

/* ==== ANIMATIONS & MICRO-INTERACTIONS ==== */
.card, .feature-grid li, .faq-item, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, transform 0.14s, background 0.15s, color 0.13s;
}
.primary-btn, .secondary-btn, .cookie-banner button, .cookie-banner .cookie-btn, .cookie-modal .modal-accept, .cookie-modal .modal-cancel {
  transition: background 0.13s, color 0.12s, box-shadow 0.13s, transform 0.11s;
}

/* ==== CUSTOM SCROLLBAR ==== */
body::-webkit-scrollbar { width: 10px; background: #202737; }
body::-webkit-scrollbar-thumb { background: #5ce3ff33; border-radius: 9px; }
body::-webkit-scrollbar-thumb:hover { background: #5ce3ff88; }

/* ==== Accessibility: Outline focus on keyboard ==== */
a:focus, button:focus, .primary-btn:focus, .secondary-btn:focus {
  outline: 2px solid #5ce3ff;
  outline-offset: 2px;
}

/* ==== FOCUS-VISIBLE support ==== */
:focus-visible {
  outline: 2.2px solid #5ce3ff;
  outline-offset: 2px;
}

/* ==== Fallback font declaration ==== */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Nunito'), local('Nunito-Regular'),
    url(https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap);
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'),
    url(https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap);
}

/* ==== Hide visually but keep accessible (for a11y) ==== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
