* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f0f2f5;
  color: #222;
}

#appContainer{
  min-height: 720px;
}

header {
  text-align: center;
  background: #4caf50;
  color: white;
  padding: 2rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

.app-card {
  background: white;
  padding: 5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.app-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: white;
  width: 90%;
  max-width: 500px;
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.popup-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin: auto;
}

.popup-content h2 {
  text-align: center;
  margin: 1rem 0 0.5rem;
}

.popup-content p {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.popup-screenshots {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 1rem;
}

.popup-screenshots img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

.download-btn {
  display: block;
  background: #1a73e8;
  color: white;
  text-align: center;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
}

.download-btn:hover {
  background: #125ecb;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
}

footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  margin-top: 2rem;
  border-top: 1px solid #ccc;
}

.site-footer {
  background-color: #00264d;
  color: white;
  text-align: center;
  padding: 25px 20px;
  margin-top: 60px;
}

.site-footer a {
  color: #66ccff;
}