* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 50%, #1e293b 100%);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Starry Background */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 3s infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Navigation */
.nav {
  position: relative;
  z-index: 10;
  padding: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #60a5fa;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Project Header */
.project-header {
  text-align: center;
  margin-bottom: 3rem;
}

.project-title {
  font-size: 3rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 2rem;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Project Showcase */
.project-showcase {
  margin-bottom: 4rem;
}

.showcase-container {
  background: #000;
  border-radius: 1rem;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Geometric Logo */
.logo-container {
  margin-bottom: 3rem;
}

.geometric-logo {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.logo-layer {
  position: absolute;
  border: 2px solid #10b981;
  border-radius: 8px;
  animation: logoRotate 8s linear infinite;
}

.logo-layer:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 0;
  left: 0;
  animation-delay: 0s;
}

.logo-layer:nth-child(2) {
  width: 180px;
  height: 180px;
  top: 10px;
  left: 10px;
  animation-delay: -1s;
}

.logo-layer:nth-child(3) {
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  animation-delay: -2s;
}

.logo-layer:nth-child(4) {
  width: 140px;
  height: 140px;
  top: 30px;
  left: 30px;
  animation-delay: -3s;
}

.logo-layer:nth-child(5) {
  width: 120px;
  height: 120px;
  top: 40px;
  left: 40px;
  animation-delay: -4s;
}

.logo-layer:nth-child(6) {
  width: 100px;
  height: 100px;
  top: 50px;
  left: 50px;
  animation-delay: -5s;
}

.logo-layer:nth-child(7) {
  width: 80px;
  height: 80px;
  top: 60px;
  left: 60px;
  animation-delay: -6s;
}

.logo-layer:nth-child(8) {
  width: 60px;
  height: 60px;
  top: 70px;
  left: 70px;
  animation-delay: -7s;
}

@keyframes logoRotate {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 0.8;
  }
}

/* Brand Text */
.brand-text {
  color: white;
}

.brand-name {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.brand-tagline {
  font-size: 1.5rem;
  color: #10b981;
  letter-spacing: 0.3em;
  font-weight: 300;
}

/* Project Details */
.project-details {
  margin-bottom: 4rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.detail-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.detail-card h3 {
  color: #60a5fa;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.detail-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.detail-card ul {
  list-style: none;
  color: rgba(255, 255, 255, 0.8);
}

.detail-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.detail-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #10b981;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Website Link Styles */
.website-link {
  margin-top: 2rem;
}

.live-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  border: 2px solid transparent;
}

.live-site-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  border-color: rgba(16, 185, 129, 0.5);
}

.live-site-btn:active {
  transform: translateY(0);
}

.website-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.website-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #10b981;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(16, 185, 129, 0.05);
}

.website-link-secondary:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-title {
    font-size: 2rem;
  }

  .project-meta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .brand-name {
    font-size: 2.5rem;
  }

  .brand-tagline {
    font-size: 1rem;
  }

  .geometric-logo {
    width: 150px;
    height: 150px;
  }

  .logo-layer:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  .logo-layer:nth-child(2) {
    width: 135px;
    height: 135px;
    top: 7.5px;
    left: 7.5px;
  }
  .logo-layer:nth-child(3) {
    width: 120px;
    height: 120px;
    top: 15px;
    left: 15px;
  }
  .logo-layer:nth-child(4) {
    width: 105px;
    height: 105px;
    top: 22.5px;
    left: 22.5px;
  }
  .logo-layer:nth-child(5) {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 30px;
  }
  .logo-layer:nth-child(6) {
    width: 75px;
    height: 75px;
    top: 37.5px;
    left: 37.5px;
  }
  .logo-layer:nth-child(7) {
    width: 60px;
    height: 60px;
    top: 45px;
    left: 45px;
  }
  .logo-layer:nth-child(8) {
    width: 45px;
    height: 45px;
    top: 52.5px;
    left: 52.5px;
  }

  .live-site-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .website-link-secondary {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
}
