@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap");

:root {
  --bg-color: #0b0c10;
  --surface-color: #1f2833;
  --accent-color: #66fcf1;
  --text-main: #c5c6c7;
  --text-light: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background-color: rgba(11, 12, 16, 0.95);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--surface-color);
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Hero Section */
#hero {
  position: relative;
  padding: 10rem 0;
  text-align: center;
  overflow: hidden;
  /* Deep space radial gradient */
  background: radial-gradient(circle at center, #171d24 0%, #0b0c10 100%);
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h2 {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

#hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
  box-shadow: 0 0 15px var(--accent-color);
}

/* Services Section */
#services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--surface-color);
  padding: 2.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--surface-color);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-top: 4px solid var(--accent-color);
}

.card h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--surface-color);
  text-align: center;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid #000;
}

footer p {
  margin-bottom: 0.5rem;
}
