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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #0a0a0f;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle animated background gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  animation: bgShift 20s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgShift {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

.container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  padding: 2rem;
  text-align: center;
}

/* Logo */
.logo h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  animation: logoGlow 2s ease-out forwards;
}

@keyframes logoGlow {
  0%   { filter: brightness(0.6); opacity: 0; }
  100% { filter: brightness(1);   opacity: 1; }
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.tabs input[type="radio"] {
  display: none;
}

.tab-label {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.tab-label:hover {
  color: #aaa;
}

#tab-apps:checked ~ [for="tab-apps"],
#tab-services:checked ~ [for="tab-services"] {
  color: #e0e0e0;
  border-bottom-color: #7c3aed;
}

/* Tab panels */
.tab-panel {
  display: none;
  width: 100%;
  padding-top: 1.5rem;
}

#tab-apps:checked ~ #panel-apps,
#tab-services:checked ~ #panel-services {
  display: block;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: scale(1.03);
  border-color: #7c3aed44;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(124, 58, 237, 0.15);
}

/* Card icon container */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  margin-bottom: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-icon {
  transform: rotate(-6deg) scale(1.08);
}

/* Card content */
.card-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.card-content p {
  font-size: 0.875rem;
  color: #999;
}
