/*———— Variables ————*/
:root {
  --bg: #121212;
  --card-bg: #1e1e1e;
  --header-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
  --primary: #bb86fc;
  --secondary: #3700b3;
  --accent: #03dac6;
  --accent-dark: #02c2aa;
  --text: #e0e0e0;
  --text-light: #ffffff;
  --shadow-light: rgba(0, 0, 0, 0.7);
  --radius: 8px;
}

/*———— Base & Reset ————*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/*———— Header ————*/
header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  box-shadow: 0 2px 4px var(--shadow-light);
  z-index: 100;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}
.nav {
  display: flex;
  align-items: center;
}
a {
  text-decoration: none;
}
.nav .btn-primary {
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--text-light);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.nav .btn-primary:hover {
  background: var(--accent-dark);
}

/*———— Hero ————*/
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
}
.hero-content {
  max-width: 800px;
  padding: 2rem 0;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--text-light);
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-secondary:hover {
  background: #e0e0e0;
}

/*———— Services ————*/
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}
.service-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow-light);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--shadow-light);
}
.service-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}
.service-card p {
  color: #ccc;
}

/*———— About ————*/
.about {
  text-align: center;
  padding: 4rem 0;
}
.about h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/*———— Contact ————*/
.contact {
  text-align: center;
  padding: 4rem 0;
}
.contact .btn-primary {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--text-light);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.contact .btn-primary:hover {
  background: var(--accent-dark);
}

/*———— Footer ————*/
.footer {
  background: var(--footer-bg);
  color: #888;
  text-align: center;
  padding: 2rem 0;
}
.footer p {
  font-size: 0.875rem;
}

/*———— Responsive ————*/
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  .nav {
    margin-top: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav a {
    margin: 0.5rem 1rem;
  }
}
