@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
}

html {
  scroll-behavior: smooth;
}

:root {
  --ui-radius-sm: 10px;
  --ui-radius-md: 14px;
  --ui-radius-lg: 16px;
  --ui-pill: 999px;
  --ui-card-border: rgba(16, 35, 74, 0.12);
  --ui-card-border-hover: rgba(0, 123, 255, 0.28);
  --ui-card-shadow: 0 12px 26px rgba(15, 28, 58, 0.12);
  --ui-card-shadow-hover: 0 20px 36px rgba(14, 33, 73, 0.2);
  --ui-card-dark-border: rgba(255, 255, 255, 0.12);
  --ui-card-dark-shadow: 0 16px 30px rgba(0, 0, 0, 0.52);
  --ui-card-dark-shadow-hover: 0 22px 38px rgba(0, 0, 0, 0.62);
  --ui-card-surface: linear-gradient(175deg, #ffffff 0%, #fbfdff 100%);
  --ui-card-surface-dark: linear-gradient(170deg, rgba(46, 54, 74, 0.94), rgba(31, 37, 53, 0.96));
}

body {
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  background-color: #f4f4f4;
  color: #2b3447;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 12px;
  z-index: 2000;
  background: #007bff;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 10px;
}

a {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.42);
  outline-offset: 3px;
}

.blocked {
  cursor: not-allowed;
}

.page-title {
  text-align: center;
  margin: 20px 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #444;
}

.coming-soon-panel {
  width: min(760px, calc(100% - 28px));
  margin: 24px auto 42px;
  padding: 24px;
  border-radius: var(--ui-radius-lg);
  border: 1px solid var(--ui-card-border);
  background: var(--ui-card-surface);
  box-shadow: var(--ui-card-shadow);
  text-align: center;
}

.coming-soon-panel p {
  margin: 0 0 12px;
  color: #44556f;
  line-height: 1.65;
}

.cta-inline {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: var(--ui-radius-sm);
  background: linear-gradient(135deg, #007bff 0%, #0a63d5 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.26);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, filter 0.28s ease;
}

.cta-inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 123, 255, 0.36);
  filter: brightness(1.05);
}

.cta-inline:active {
  transform: translateY(0);
}

.navbar {
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1d2438;
  padding: 6px 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.navbar .logo img {
  display: block;
  height: 86px;
  width: auto;
}

.navbar .nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar .nav-menu li {
  position: relative;
}

.navbar .nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  padding: 7px 14px;
  border-radius: 6px;
  position: relative;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar .nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar .nav-menu > li > a:hover::after {
  width: 70%;
  left: 15%;
}

.navbar .nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.navbar .dropdown .dropdown-menu {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #2a324c;
  min-width: 220px;
  padding: 12px 0;
  z-index: 1000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.navbar .dropdown:hover .dropdown-menu,
.navbar .dropdown:focus-within .dropdown-menu {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.navbar .dropdown .dropdown-menu li {
  list-style: none;
  margin: 0;
}

.navbar .dropdown .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  border-left: 4px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-left-color 0.3s ease, padding-left 0.3s ease;
}

.navbar .dropdown .dropdown-menu li a i {
  transition: transform 0.3s ease;
  display: inline-block;
}

.navbar .dropdown .dropdown-menu li a:hover i {
  transform: scale(1.15);
}

.navbar .dropdown .dropdown-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 4px 4px 4px;
  background-color: #fffcd6;
  transform: scaleY(0);
  transition: transform 0.5s ease;
}

.navbar .dropdown .dropdown-menu li a:hover::before {
  transform: scaleY(1);
}

.navbar .dropdown .dropdown-menu li a:hover {
  background-color: #3b4562;
}

.hamburger-icon {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger-icon .btn-line {
  background-color: #fff;
  height: 4px;
  width: 100%;
  margin: 4px 0;
  transition: all 0.4s ease;
  border-radius: 2px;
  position: relative;
  display: block;
}

.mobile-toggle-item {
  display: none;
}

.hamburger-icon.close .btn-line {
  background-color: #ff0000;
}

.hamburger-icon.close .btn-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.close .btn-line:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.close .btn-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #1d2438;
  z-index: 999;
  transition: right 0.3s ease;
  padding: 60px 20px 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  overflow-y: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 999;
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  display: block;
}

.mobile-menu ul li a:hover {
  color: #3498db;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .mobile-menu-heading {
  font-size: 22px;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid #3498db;
  padding-bottom: 5px;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

#overlay.active {
  display: block;
}

footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 50px 0 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #3498db;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3498db;
}

.footer-section ul li a i {
  margin-right: 5px;
  color: #3498db;
}

.social-links {
  margin-bottom: 20px;
}

.social-links a {
  display: inline-block;
  width: 35px;
  height: 35px;
  background-color: #333;
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3498db;
  transform: translateY(-3px);
}

.connect h3 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.connect h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background-color: #3498db;
}

.connect p {
  margin: 10px 0;
  font-size: 16px;
  color: #b0b0b0;
  display: flex;
  align-items: center;
}

.connect p i {
  margin-right: 10px;
  color: #3498db;
}

.connect p a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.connect p a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  position: relative;
}

.back-to-top {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: #3498db;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #2980b9;
}

.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 6px 14px;
  }

  .navbar .nav-menu > li:not(:last-child) {
    display: none;
  }

  .mobile-toggle-item {
    display: block;
  }

  .navbar .nav-menu {
    flex-direction: row;
    width: auto;
    margin-top: 0;
  }

  .navbar .logo img {
    height: 74px;
  }

  .hamburger-icon {
    display: block;
    width: 40px;
    height: 30px;
  }

  .hamburger-icon .btn-line {
    height: 5px;
    margin: 5px 0;
  }

  .hamburger-icon.close .btn-line {
    background-color: #ff0000;
  }

  .hamburger-icon.close .btn-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .hamburger-icon.close .btn-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-icon.close .btn-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .navbar .dropdown .dropdown-menu {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: none;
  }

  .navbar .nav-menu > li > a::after {
    display: none;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 30px;
  }

  .back-to-top {
    right: 10px;
    bottom: 50px;
  }
}

.cookie-consent-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(170deg, rgba(29, 36, 56, 0.97), rgba(20, 25, 42, 0.98));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e4ecff;
  padding: 0;
  border-radius: var(--ui-radius-lg);
  font-size: 15px;
  z-index: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  max-width: 520px;
  width: 92%;
  line-height: 1.6;
  overflow: hidden;
  animation: cookieSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner-inner {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner-icon {
  font-size: 1.6rem;
  color: #ffb347;
}

.cookie-banner-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.cookie-banner-text {
  font-size: 0.9rem;
  color: #bcc8e0;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-link {
  margin: 2px 0 0;
  font-size: 0.85rem;
}

.cookie-banner-link a {
  color: #7fb9ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-banner-link a:hover {
  color: #a9d4ff;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.cookie-btn.accept {
  background: #007bff;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.3);
}

.cookie-btn.accept:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.4);
}

.cookie-btn.reject {
  background: rgba(255, 255, 255, 0.08);
  color: #bcc8e0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cookie-btn.reject:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    bottom: 12px;
    width: 95%;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #1d2438;
    color: #e4ecff;
  }

  main p,
  main li,
  main label,
  main legend {
    color: #d9e5ff;
  }

  main small,
  main .helper-text {
    color: #bfd0f4;
  }

  main input::placeholder,
  main textarea::placeholder {
    color: #b1bed9;
  }

  .page-title {
    color: #ecf2ff;
  }

  .coming-soon-panel {
    background: var(--ui-card-surface-dark);
    border: 1px solid var(--ui-card-dark-border);
    box-shadow: var(--ui-card-dark-shadow);
  }

  .coming-soon-panel p {
    color: #d5e0f7;
  }

  .navbar {
    box-shadow: none;
    background-color: #333;
  }

  .mobile-menu {
    background-color: #333;
  }

  .navbar .dropdown .dropdown-menu {
    background-color: #333;
  }

  .navbar .dropdown .dropdown-menu li a:hover {
    background-color: #555;
  }

  .navbar .nav-menu > li > a::after {
    background: rgba(255, 255, 255, 0.7);
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible,
  summary:focus-visible {
    outline-color: rgba(140, 194, 255, 0.56);
  }
}

/* ---------- Context-aware motion (progressive enhancement) ---------- */
/* Content is fully visible by default. Motion only activates when JS  */
/* has tagged the <html> element with .has-motion (reduced-motion safe). */

[data-reveal] {
  opacity: 1;
  transform: none;
}

.has-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.has-motion [data-reveal].in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Subtle entrance for a specific hero-variant reveal */
.has-motion [data-reveal="hero"] {
  transform: translate3d(0, 10px, 0);
  transition-duration: 620ms;
}

@keyframes jr-subtle-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -3px, 0); }
}

/* Focus-visible polish across the app */
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.55);
  outline-offset: 3px;
  border-radius: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal],
  .has-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}















/* ---------------- Web Watch Banner (WebWatch dark glass, sticky, one-line) ---------------- */
.ww-site-banner {
  width: 100%;

  /* Always-dark WebWatch glass wash */
  background:
    radial-gradient(900px 240px at 10% 50%, rgba(6, 181, 212, 0.25), transparent 60%),
    radial-gradient(900px 240px at 90% 50%, rgba(79, 70, 229, 0.25), transparent 60%),
    rgba(13, 17, 32, 0.72);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);

  /* Sticky top bar */
  position: sticky;
  top: 0;
  z-index: 50;
}

.ww-site-banner__inner {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Left content */
.ww-site-banner__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;          /* enables ellipsis */
  overflow: visible;
}

.ww-site-banner__brand {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(230, 232, 239, 0.95);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.ww-site-banner__sep {
  color: rgba(230, 232, 239, 0.40);
  white-space: nowrap;
}

.ww-site-banner__msg {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(230, 232, 239, 0.80);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right actions */
.ww-site-banner__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Outlined CTA (WebWatch-y but minimal) */
.ww-site-banner__cta {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: rgba(230, 232, 239, 0.95);
  padding: 8px 12px;
  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);

  transition: background 0.2s ease, border-color 0.2s ease, transform 0.08s ease;
}

.ww-site-banner__cta:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.ww-site-banner p {
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  color: rgba(230, 232, 239, 0.80) !important;
}

.ww-site-banner__cta:active {
  transform: translateY(0);
}

.ww-site-banner__arrow {
  font-size: 16px;
  line-height: 1;
  opacity: 0.95;
  transition: transform 0.15s ease;
}

.ww-site-banner__cta:hover .ww-site-banner__arrow {
  transform: translateX(2px);
}

/* Close button = WebWatch danger outline, icon-only */
.ww-site-banner__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;

  display: inline-grid;
  place-items: center;

  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ef4444;

  cursor: pointer;
  line-height: 1;
  font-size: 20px;

  transition: background 0.2s ease, transform 0.08s ease;
}

.ww-site-banner__close:hover {
  background: rgba(239, 68, 68, 0.10);
  transform: translateY(-1px);
}

.ww-site-banner__close:active {
  transform: translateY(0);
}

.status-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  display: inline-block !important;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.10), 0 0 12px currentColor !important;
}

.status-dot.ok {
  background: #16a34a !important;
  color: #16a34a !important;
}

/* Mobile: keep single row, tighten spacing */
@media (max-width: 768px) {
  .ww-site-banner__inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .ww-site-banner p {
    display: none;
  }

  .ww-site-banner__right {
    gap: 8px;
  }

  .ww-site-banner__cta {
    padding: 8px 10px;
  }
}

.ww-hide-banner #wwSiteBanner {
  display: none !important;
}
