/* ================= GLOBAL ================= */

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(circle at top, #1a0033, #000);
  color: #fff;
  line-height: 1.6;
}

/* ================= HEADER ================= */

header.glass {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
  font-weight: bold;
  color: #9b5cff;
  font-size: 1.2rem;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

nav a:hover {
  color: #00ff88;
}

/* ================= HERO ================= */

.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.2;
}

.hero span {
  color: #00ff88;
}

.hero p {
  margin-top: 20px;
  color: #aaa;
}

/* CTA Buttons */

.cta {
  margin-top: 30px;
}

.btn {
  padding: 12px 25px;
  text-decoration: none;
  margin: 10px;
  display: inline-block;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn.primary {
  background: #9b5cff;
  color: #fff;
}

.btn.primary:hover {
  background: #7a3cff;
}

.btn.secondary {
  border: 1px solid #00ff88;
  color: #00ff88;
}

.btn.secondary:hover {
  background: #00ff88;
  color: #000;
}

/* ================= GRID ================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  padding: 60px;
}

.card {
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #9b5cff;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: #aaa;
  margin-bottom: 15px;
}

.card a {
  color: #00ff88;
  text-decoration: none;
}

/* ================= CTA STRIP ================= */

.cta-strip {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(90deg, #2a004f, #000);
}

.cta-strip h2 {
  margin-bottom: 20px;
}

/* ================= ABOUT ================= */

.about {
  padding: 60px 20px;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: auto;
  color: #aaa;
}

/* ================= PROJECT PREVIEW ================= */

.projects-preview {
  padding: 60px 20px;
}

.projects-preview h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* ================= FOOTER ================= */

footer {
  background: #050505;
  padding: 40px 20px;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
}

footer h4 {
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
}

footer a {
  color: #aaa;
  text-decoration: none;
}

footer a:hover {
  color: #00ff88;
}

footer p {
  margin-top: 20px;
  text-align: center;
  color: #666;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  header.glass {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    margin: 10px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .grid {
    padding: 30px;
  }

}
