body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0b0b10;
  color: #fff;
}


.topbar {
  position: absolute;
  top: 20px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  color: #c084fc;
}


.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 12px #a855f7;
}


.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: radial-gradient(circle at top, #1a1a2e, #0b0b10);
}

.hero-content h1 {
  font-size: 54px;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero-content p {
  font-size: 18px;
  color: #a1a1aa;
  margin-bottom: 30px;
}


.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
  display: inline-block;
}


.btn.primary {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}


.btn.secondary {
  border: 1px solid #2e2e3a;
  color: #ccc;
  background: rgba(255,255,255,0.03);
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-3px);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: rgba(20, 20, 30, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 18px;
  text-align: center;
  width: 320px;
  padding: 28px;

  box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);

  display: flex;
  flex-direction: column;
  gap: 12px;

  animation: pop 0.25s ease;
}

@keyframes pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content h2 {
  margin: 0;
  font-size: 22px;
}

.modal-content p {
  margin: 0;
  color: #a1a1aa;
  font-size: 14px;
}


.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.modal-btn {
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  transition: 0.2s;
}

.modal-btn.tg {
  background: linear-gradient(135deg, #229ED9, #1c7fb0);
}

.modal-btn.dc {
  background: linear-gradient(135deg, #5865F2, #404eed);
}

.modal-btn:hover {
  transform: translateY(-2px);
}


.close-btn {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;

  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #aaa;

  cursor: pointer;
  transition: 0.2s;
}

.close-btn:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.projects-page {
  padding: 100px 20px;
  text-align: center;
  background: #0b0b10;
  min-height: 100vh;
}

.projects-page h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.project-card {
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 20px;
  border-radius: 14px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.15);

  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168,85,247,0.4);
}
.projects-page p {
  color: #a1a1aa;
  margin-bottom: 40px;
}

.card-btn {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 14px;
  padding: 10px 14px;

  border-radius: 10px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.2);

  color: #ccc;

  transition: 0.25s;
}

.case {
  padding: 100px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.case h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.subtitle {
  color: #a1a1aa;
  margin-bottom: 40px;
}

.block {
  margin-bottom: 25px;
  padding: 20px;
  border-radius: 14px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(168,85,247,0.15);
}
.case a.btn {
  margin-right: 10px;
  margin-top: 20px;
  display: inline-block;
}

body {
  animation: pageFade 0.6s ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.8s ease forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.project-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardIn 0.6s ease forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:hover {
  transform: translateY(-6px);
  transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

.topbar {
  position: fixed;
  top: 20px;
  left: 30px;
  right: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #c084fc;
}

.about-btn {
  background: transparent;
  border: 1px solid rgba(168,85,247,0.3);
  color: #ccc;

  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;

  transition: 0.25s;
}

.about-btn:hover {
  background: rgba(168,85,247,0.1);
  color: #fff;
  transform: translateY(-2px);
}
.modal-content p {
  line-height: 1.5;
  color: #cfcfcf;
}


@media (max-width: 768px) {

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .topbar {
    left: 15px;
    right: 15px;
  }

  .projects {
    padding: 60px 15px;
  }

  .project-card {
    width: 100%;
  }

  .case {
    padding: 80px 15px;
  }

  .case h1 {
    font-size: 26px;
  }

}

html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .topbar {
    padding: 10px 15px;
  }
}