.tm-footer {
  width: 100%;
  max-width: 100%;
  background: #0F172A;
  color: #CBD5E1;
  padding: 48px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.tm-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(37,99,235,.08);
  filter: blur(100px);
  pointer-events: none;
}

.tm-footer a:focus-visible,
.tm-footer button:focus-visible,
.tm-footer input:focus-visible {
  outline: 3px solid rgba(59,130,246,.45);
  outline-offset: 4px;
}

.tm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.tm-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.tm-footer-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.tm-footer-logo span {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.tm-footer-about p,
.tm-footer-newsletter-text {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: #94A3B8;
}

.tm-footer-tagline {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.tm-footer-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tm-footer-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 600;
}

.tm-footer-trust-item i {
  color: #22C55E;
  font-size: 18px;
}

.tm-footer-column {
  will-change: transform, opacity;
}

.tm-footer-column h3 {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.tm-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-footer-column ul li {
  margin-bottom: 16px;
}

.tm-footer-column a {
  display: inline-block;
}

.tm-footer-column a:hover {
  color: #fff;
  transform: translateX(6px);
}

.tm-footer-column a,
.tm-footer-bottom-links a {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  color: #94A3B8;
  transition: all .3s ease;
}

.tm-footer-column a::after,
.tm-footer-bottom-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  transition: width .35s ease;
}

.tm-footer-column a:hover::after,
.tm-footer-bottom-links a:hover::after {
  width: 100%;
}

.tm-footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tm-footer-newsletter input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border: none;
  outline: none;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 15px;
  transition: all .3s ease;
}

.tm-footer-newsletter input::placeholder {
  color: #94A3B8;
}

.tm-footer-newsletter input:focus {
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}

.tm-footer-newsletter button {
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), #3B82F6);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .35s ease;
  will-change: transform, opacity;
}

.tm-footer-newsletter button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(37,99,235,.35);
}

.tm-footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tm-footer-social a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  color: #CBD5E1;
  transition: all .35s ease;
  will-change: transform, opacity;
}

.tm-footer-social a i {
  font-size: 20px;
}

.tm-footer-social a:hover {
  transform: translateY(-5px);
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 18px 35px rgba(37,99,235,.35);
}

.tm-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.tm-footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #94A3B8;
}

.tm-footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.tm-footer-bottom-links span {
  color: #CBD5E1;
  font-size: 14px;
  font-weight: 600;
}

.tm-footer-bottom-links a {
  font-size: 14px;
}

.tm-footer-bottom-links a:hover {
  color: #fff;
}

.tm-footer-bottom-links a::after {
  bottom: -3px;
}

@keyframes tmPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .75; }
}

@keyframes tmFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes tmTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1200px) {
  .tm-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

@media (max-width: 992px) {
  .tm-footer { padding-top: 80px; }
  .tm-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .tm-footer-about { grid-column: 1 / -1; }
  .tm-footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 768px) {
  .tm-footer { padding-top: 70px; }
  .tm-footer-grid { grid-template-columns: 1fr; gap: 35px; padding-bottom: 50px; }
  .tm-footer-about { grid-column: auto; }
  .tm-footer-column h3 { margin-bottom: 18px; }
  .tm-footer-bottom { text-align: center; align-items: center; }
  .tm-footer-bottom-links,
  .tm-footer-social { justify-content: center; }
  .tm-footer-bottom-links { gap: 16px; }
  .tm-footer-newsletter { max-width: 420px; }
}

@media (max-width: 480px) {
  .tm-footer { padding-top: 60px; }
  .tm-footer-logo span { font-size: 24px; }
  .tm-footer-about p,
  .tm-footer-column a { font-size: 14px; }
  .tm-footer-column h3 { font-size: 17px; }
  .tm-footer-newsletter input,
  .tm-footer-newsletter button { height: 50px; }
  .tm-footer-social a { width: 42px; height: 42px; }
  .tm-footer-bottom { padding: 24px 0; }
  .tm-footer-bottom-links { flex-direction: column; gap: 12px; }
}
