* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(220, 30%, 6%);
  --foreground: hsl(210, 40%, 98%);
  --card: hsl(220, 28%, 10%);
  --primary: hsl(263, 70%, 50%);
  --accent: hsl(16, 90%, 58%);
  --muted-foreground: hsl(215, 20%, 65%);
  --border: hsl(220, 25%, 20%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 18, 28, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 2rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Page Section */
.page-section {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 4rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-in;
}

.text-primary {
  color: var(--primary);
}

.page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-foreground);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(180deg, hsl(220, 28%, 12%), hsl(220, 28%, 10%));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
  animation: fadeIn 1s ease-in;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(146, 69, 255, 0.2);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(146, 69, 255, 0.4);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  color: var(--muted-foreground);
}

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

.footer-logo {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-heading {
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-links li,
.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-list li {
  color: var(--muted-foreground);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--primary);
}

.social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }

  .page-section {
    padding: 6rem 1rem 3rem;
  }

  .page-header {
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .cta-section {
    margin-top: 3rem;
  }

  footer {
    padding: 2rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .cta-section {
    margin-top: 2rem;
  }
}