
/* =========================
   1. Global settings
========================= */

:root {
  --bg: #080812;
  --surface: rgba(255, 255, 255, 0.045);
  --text: #f4f2ff;
  --muted: #9998b3;
  --purple: #a78bfa;
  --blue: #60a5fa;
  --border: rgba(255, 255, 255, 0.1);
}

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   2. Background effects
========================= */

.ambient {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
  animation: float 10s ease-in-out infinite alternate;
}

.ambient-one {
  top: 100px;
  left: -150px;
  background: #713cff;
}

.ambient-two {
  top: 450px;
  right: -180px;
  background: #087cf5;
  animation-delay: -5s;
}

@keyframes float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(60px, 40px);
  }
}

/* =========================
   3. Navigation
========================= */

.navbar {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -2px;
}

.logo span {
  color: var(--purple);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  color: var(--muted);
}

.navbar nav a {
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: white;
}

.navbar .nav-contact {
  color: white;
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 30px;
}

/* =========================
   4. Hero section
========================= */

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1200px;
  min-height: 650px;
  margin: auto;
  padding: 130px 40px 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: #c5b9ff;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 12px #6ee7b7;
}

.eyebrow {
  margin-top: 65px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 3px;
}

.hero h1 {
  margin-top: 20px;
  max-width: 850px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.12;
  letter-spacing: -5px;
  font-weight: 750;
}

.gradient-text {
  display: block;
  background: linear-gradient(
    100deg,
    #c4b5fd,
    #818cf8,
    #60a5fa,
    #c084fc
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient 6s linear infinite;
}

@keyframes gradient {
  to {
    background-position: 200% center;
  }
}

.intro {
  max-width: 520px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.button {
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.button.primary {
  color: #090817;
  background: linear-gradient(110deg, #c4b5fd, #93c5fd);
  font-weight: 650;
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

.button.primary span {
  margin-left: 8px;
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--muted);
}

.button.secondary:hover {
  border-color: var(--purple);
  color: white;
}

.hero-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 55px;
  display: flex;
  justify-content: space-between;
  color: #696982;
  font-size: 10px;
  letter-spacing: 2px;
}

/* =========================
   5. Content sections
========================= */

.content-section {
  max-width: 1200px;
  margin: auto;
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}

.section-label {
  color: var(--purple);
  font-size: 11px;
  letter-spacing: 2px;
}

.content-section h2 {
  margin-top: 20px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -2px;
}

.content-section > p:not(.section-label) {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
}

/* =========================
   6. Project cards
========================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.project-card {
  padding: 30px;
  min-height: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(167, 139, 250, 0.07);
}

.project-number {
  color: var(--purple);
  font-size: 12px;
}

.project-card h3 {
  margin-top: 20px;
  font-size: 21px;
}

.project-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.project-tag {
  display: inline-block;
  margin-top: 25px;
  color: #aaa0d5;
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* =========================
   7. Contact and footer
========================= */

.contact > a {
  display: inline-block;
  margin-top: 30px;
  color: var(--purple);
  border-bottom: 1px solid var(--purple);
  padding-bottom: 5px;
}

footer {
  max-width: 1200px;
  margin: auto;
  padding: 30px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: #696982;
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* =========================
   8. Responsive design
========================= */

@media (max-width: 650px) {
  .navbar {
    padding: 22px 20px;
  }

  .navbar nav {
    gap: 15px;
    font-size: 12px;
  }

  .navbar .nav-contact {
    padding: 6px 10px;
  }

  .hero {
    min-height: 620px;
    padding: 100px 22px 35px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .eyebrow {
    margin-top: 55px;
    font-size: 10px;
  }

  .intro {
    font-size: 15px;
  }

  .hero-footer {
    font-size: 8px;
    letter-spacing: 1px;
    gap: 15px;
  }

  .content-section {
    padding: 75px 22px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 25px 20px;
    font-size: 8px;
    gap: 15px;
  }
}
