:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --dark: #111827;
  --darker: #0a0e1a;
  --light: #f3f4f6;
  --gray: #9ca3af;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #1f2937;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  padding: 2rem;
  color: white;
  text-align: center;
  flex-grow: 1;
}

footer {
  background: linear-gradient(to bottom, var(--darker), var(--dark));
  color: var(--light);
  padding: 0.5rem 0 0.25rem;
  position: relative;
  margin-top: auto;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--primary), #3b82f6, var(--primary));
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.footer-brand p {
  line-height: 1.6;
  color: var(--gray);
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-links ul,
.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer-links li,
.footer ul li {
  margin-bottom: 0.6rem;
  transition: transform 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
}

.footer-contact p {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  color: var(--gray);
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-grid > div {
  animation: fadeIn 0.5s ease-out forwards;
}

.footer-grid > div:nth-child(2) {
  animation-delay: 0.2s;
}

.footer-grid > div:nth-child(3) {
  animation-delay: 0.4s;
}

.footer-grid > div:nth-child(4) {
  animation-delay: 0.6s;
}