@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Share+Tech+Mono&family=Nunito:wght@400;700;900&display=swap');

:root {
  --bg:          #f0f2ff;
  --white:       #ffffff;
  --blue-bright: #2626e0;
  --blue-mid:    #4444cc;
  --blue-dim:    #8888dd;
  --red:         #e0141f;
  --red-light:   #ff3a47;
  --green:       #00aa55;
  --green-dim:   #008844;
  --yellow:      #f0a500;
  --panel-bg:    #ffffff;
  --card-bg:     #ffffff;
  --card-border: #ccd0f0;
  --text-dark:   #0d0d6b;
  --text-dim:    #7777aa;
  --shadow:      rgba(38, 38, 224, 0.12);
}

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

body {
  background: var(--bg);
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 5%,  rgba(38,38,224,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 95%, rgba(224,20,31,0.06) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(38,38,224,0.06) 39px,
      rgba(38,38,224,0.06) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(38,38,224,0.06) 39px,
      rgba(38,38,224,0.06) 40px
    );
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── HEADER ── */
header {
  text-align: center;
  margin-bottom: 56px;
}

.header-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 16px;
  animation: pulse-badge 3s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,20,31,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(224,20,31,0); }
}

h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  text-shadow:
    0 0 30px rgba(38,38,224,0.2),
    3px 3px 0 var(--red);
  margin-bottom: 8px;
}

.subtitle {
  font-family: 'Share Tech Mono', monospace;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.subtitle span {
  color: var(--blue-bright);
  animation: blink 1.4s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── BEAKERS ── */
.deco-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 0;
}

.beaker {
  width: 28px;
  height: 34px;
  animation: bubble-rise 2.4s ease-in-out infinite;
}

.beaker:nth-child(2) { animation-delay: 0.6s; }
.beaker:nth-child(3) { animation-delay: 1.2s; }
.beaker:nth-child(4) { animation-delay: 0.3s; }
.beaker:nth-child(5) { animation-delay: 0.9s; }

@keyframes bubble-rise {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.beaker svg { width: 100%; height: 100%; }

/* ── STATUS BAR ── */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 28px;
  margin-bottom: 48px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px var(--shadow);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-dim);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.dot.amber { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.status-label { color: var(--text-dark); font-weight: bold; }

/* ── SECTION LABEL ── */
.section-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--card-border), transparent);
}

/* ── SERVICE GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 16px var(--shadow);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38,38,224,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-bright), var(--red));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 50px rgba(38,38,224,0.15);
  border-color: transparent;
}

.card:hover::after { opacity: 1; }

.card-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  display: block;
}

.card-title {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 18px;
}

.card-url {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--green-dim);
}

.card-tag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  letter-spacing: 2px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.tag-storage { background: rgba(0,170,85,0.1);   color: var(--green);  border: 1px solid rgba(0,170,85,0.3); }
.tag-cloud   { background: rgba(38,38,224,0.08); color: var(--blue-mid); border: 1px solid rgba(38,38,224,0.2); }
.tag-coming  { background: rgba(240,165,0,0.1);  color: var(--yellow); border: 1px solid rgba(240,165,0,0.3); }

.card.coming {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  border-style: dashed;
  box-shadow: none;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}

footer strong { color: var(--red); }

/* ── BUBBLES ── */
.bubbles {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  opacity: 0.05;
  animation: float-up linear infinite;
}

@keyframes float-up {
  to { transform: translateY(-110vh) rotate(360deg); }
}
