@import url('ws-badge.css');

/* Site-wide custom cursor: refined Mac-like arrow */
:root {
  --ws-cursor-arrow-v2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.8c-.5 0-.9.5-.7 1l4.7 16.4c.2.6.9.8 1.3.4l3.5-3.8 4.5 4.5c.4.4 1 .4 1.4 0l1.2-1.2c.4-.4.4-1 0-1.4l-4.5-4.5 3.8-3.5c.4-.4.2-1.1-.4-1.3L4.2 2.8H4z' fill='%233BE79B'/%3E%3Cpath d='M4.3 3.5l4.5 15.8 4.3-4.7 5.2 5.2 1-1-5.2-5.2 4.7-4.3L4.3 3.5z' fill='none' stroke='%23032E49' stroke-width='1.35' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto;
  --ws-cursor-hover-v2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.2a1.2 1.2 0 0 1 2.4 0v6.9h.9V6.8a1.2 1.2 0 1 1 2.4 0v3.3h.9V8.1a1.2 1.2 0 1 1 2.4 0v4h.5a1.2 1.2 0 0 1 .9 2l-3.8 4.4a3.2 3.2 0 0 1-2.5 1.1h-3.3a3 3 0 0 1-3-3V12a1.2 1.2 0 1 1 2.4 0v2h.8V3.2z' fill='%233BE79B'/%3E%3Cpath d='M10 3.2a1.2 1.2 0 0 1 2.4 0v6.9h.9V6.8a1.2 1.2 0 1 1 2.4 0v3.3h.9V8.1a1.2 1.2 0 1 1 2.4 0v4h.5a1.2 1.2 0 0 1 .9 2l-3.8 4.4a3.2 3.2 0 0 1-2.5 1.1h-3.3a3 3 0 0 1-3-3V12a1.2 1.2 0 1 1 2.4 0v2h.8V3.2z' fill='none' stroke='%23032E49' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 9 2, pointer;
}

/* Site-wide cursor behavior */
html,
body {
  cursor: var(--ws-cursor-arrow-v2) !important;
}

a[href],
button,
input[type='button'],
input[type='submit'],
input[type='reset'],
[role='button'],
label[for],
summary {
  cursor: var(--ws-cursor-hover-v2) !important;
}

a[href]:hover,
button:hover,
input[type='button']:hover,
input[type='submit']:hover,
input[type='reset']:hover,
[role='button']:hover,
label[for]:hover,
summary:hover {
  cursor: var(--ws-cursor-hover-v2) !important;
}

button:disabled,
input:disabled,
[aria-disabled='true'] {
  cursor: not-allowed;
}

input,
textarea,
[contenteditable='true'] {
  cursor: text;
}

.services-mega .service-card li,
.services-mega .service-card h4,
.services-mega .service-card .scard-icon {
  cursor: pointer;
}

.services-mega .service-card li:hover,
.services-mega .service-card h4:hover,
.services-mega .service-card .scard-icon:hover,
.services-mega .service-card li a:hover {
  cursor: var(--ws-cursor-hover-v2) !important;
}

/* Click pulse effect */
.ws-click-pulse {
  position: fixed;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483000;
  background: rgba(59, 231, 155, 0.28);
  border: 1.5px solid rgba(59, 231, 155, 0.88);
  box-shadow: 0 0 0 0 rgba(59, 231, 155, 0.42), 0 0 12px rgba(3, 46, 73, 0.28);
  animation: wsClickPulse 420ms cubic-bezier(0.18, 0.7, 0.22, 1) forwards;
}

.ws-click-pulse.left {
  background: rgba(59, 231, 155, 0.28);
  border-color: rgba(59, 231, 155, 0.88);
  box-shadow: 0 0 0 0 rgba(59, 231, 155, 0.42), 0 0 12px rgba(3, 46, 73, 0.28);
}

.ws-click-pulse.right {
  background: rgba(86, 212, 255, 0.24);
  border-color: rgba(86, 212, 255, 0.92);
  box-shadow: 0 0 0 0 rgba(86, 212, 255, 0.4), 0 0 14px rgba(3, 46, 73, 0.36);
}

@keyframes wsClickPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  70% {
    transform: scale(2.25);
    opacity: 0.42;
  }
  100% {
    transform: scale(2.9);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-click-pulse {
    animation: none;
    opacity: 0;
  }
}

.lt-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: min(97.5vw, 1520px);
  z-index: 1400;
  background:
    radial-gradient(ellipse at 10% -20%, rgba(66,209,179,0.12) 0%, transparent 42%),
    linear-gradient(180deg, rgba(7, 21, 46, 0.97) 0%, rgba(7, 24, 52, 0.99) 100%);
  border: 1px solid rgba(88, 145, 197, 0.24);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 6, 20, 0.46);
}

.lt-footer-wrap {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 22px 18px 16px;
  overflow: visible;
}

.lt-footer-brand {
  margin-bottom: 14px;
  display: flex;
  justify-content: flex-start;
}

.lt-footer-brand-logo-wrap {
  position: relative;
  display: inline-block;
  width: 280px;
  height: 46px;
  overflow: hidden;
}

.lt-footer-brand-logo {
  position: absolute;
  top: 50%;
  left: 39%;
  height: 36px;
  width: auto;
  transform: translate(-35%, -50%) scale(4.2);
  transform-origin: center center;
  image-rendering: -webkit-optimize-contrast;
}

.lt-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 1.2fr);
  gap: 16px;
  align-items: start;
}

.lt-footer-col h4 {
  color: rgba(176, 224, 250, 0.86);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.lt-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.lt-footer-col a {
  color: rgba(228, 240, 250, 0.80);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}

.lt-footer-col a:hover { color: #bffaf0; }

.lt-footer-social {
  min-width: 0;
}

.lt-footer-social p {
  color: rgba(206, 226, 244, 0.72);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.lt-newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lt-newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(117, 177, 224, 0.36);
  background: rgba(255,255,255,0.03);
  color: rgba(232, 246, 255, 0.96);
  border-radius: 999px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
}

.lt-newsletter-form input::placeholder { color: rgba(194, 220, 238, 0.62); }

.lt-newsletter-form input:focus {
  outline: none;
  border-color: rgba(66,209,179,0.74);
  box-shadow: 0 0 0 2px rgba(66,209,179,0.14);
}

.lt-newsletter-form button {
  border: 1px solid rgba(66,209,179,0.55);
  background: rgba(66,209,179,0.16);
  color: #d8fff7;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.lt-newsletter-form button:hover { background: rgba(66,209,179,0.24); }

.lt-visitor-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(92, 152, 204, 0.2);
}

.lt-visitor-stat {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(117, 177, 224, 0.22);
}

.lt-visitor-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3be79b;
  box-shadow: 0 0 0 0 rgba(59, 231, 155, 0.55);
  animation: ltVisitorPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.lt-visitor-stat-icon {
  color: rgba(176, 224, 250, 0.82);
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}

.lt-visitor-stat-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: nowrap;
}

.lt-visitor-stat-value {
  color: #d8fff7;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  flex-shrink: 0;
}

.lt-visitor-stat-label {
  color: rgba(194, 218, 238, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.lt-visitor-stat--stacked .lt-visitor-stat-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.lt-visitor-stat--stacked .lt-visitor-stat-label {
  white-space: normal;
}

@keyframes ltVisitorPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59, 231, 155, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(59, 231, 155, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lt-visitor-stat-dot { animation: none; }
}

.lt-footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(92, 152, 204, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lt-footer-copy { color: rgba(180, 209, 234, 0.68); font-size: 12px; }
.lt-footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

.lt-footer-legal a {
  color: rgba(194, 218, 238, 0.74);
  text-decoration: none;
  font-size: 12px;
}

.lt-footer-legal a:hover { color: #c9fff5; }

@media (max-width: 1200px) {
  html, body { overflow: auto; }
  .lt-footer {
    position: static;
    transform: none;
    width: min(97.5vw, 1520px);
    margin: 92px auto 12px;
  }
  .lt-footer-wrap { padding: 16px 14px 10px; }
  .lt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lt-newsletter-form { flex-wrap: wrap; }
  .lt-newsletter-form button { width: 100%; }
}

@media (max-width: 960px) {
  .lt-footer { margin-top: 88px; }
  .lt-footer-wrap { padding: 12px 14px 8px; }
  .lt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .lt-visitor-stats { grid-template-columns: 1fr; }
  .lt-footer {
    width: auto;
    margin: 18px 12px 12px;
    border-radius: 12px;
  }
  .lt-footer-wrap { width: 94vw; padding: 12px 2px 8px; }
  .lt-footer-brand { margin-bottom: 12px; }
  .lt-footer-brand-logo-wrap {
    width: min(240px, 100%);
    height: auto;
    overflow: visible;
  }
  .lt-footer-brand-logo {
    position: static;
    top: auto;
    left: auto;
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    transform: none;
  }
  .lt-footer-grid { grid-template-columns: 1fr; gap: 14px; }
}
