/* ===== Temporary "Coming Soon" styles =====
   Author: Ghivalla Soumar
   Notes: Minimal, responsive, accessible. No JS.
================================================ */

:root {
  --bg: #0b0b10;
  --bg-soft: #11111a;
  --text: #eaeaf2;
  --muted: #b4b6c8;
  --accent-1: #7c3aed;  /* violet */
  --accent-2: #06b6d4;  /* cyan */
  --accent-3: #22c55e;  /* green */
  --card: #0f0f17cc;
  --border: #2a2a3a;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --bg-soft: #eef2ff;
    --text: #0b1020;
    --muted: #48506a;
    --card: #ffffffcc;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  }
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, rgba(124,58,237,.12), transparent 40%),
              radial-gradient(900px 600px at 90% 20%, rgba(6,182,212,.12), transparent 40%),
              linear-gradient(180deg, var(--bg), var(--bg));
  line-height: 1.6;
}

/* Layout */
.container {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.card {
  width: min(820px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.25rem, 2.5vw, 2.75rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: clip;
}

/* Flair grid */
.mini-grid {
  position: absolute;
  inset: auto -10% -10% auto;
  width: 300px;
  height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  opacity: .12;
  transform: rotate(12deg);
  pointer-events: none;
}

.mini-grid > div {
  border: 1px dashed var(--border);
  border-radius: 10px;
  background-image: linear-gradient(135deg,
      rgba(124,58,237,.35),
      rgba(6,182,212,.35),
      rgba(34,197,94,.35));
  background-size: 200% 200%;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Heading */
.title {
  margin: 0.25rem 0 0.5rem 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: grid;
}

.title .subtitle {
  display: block;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.15rem;
}

.title .gradient-text {
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  line-height: 1.1;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Badge */
.badge {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(90deg, rgba(124,58,237,.22), rgba(6,182,212,.22));
  border: 1px solid var(--border);
  padding: .35rem .6rem;
  border-radius: 999px;
  user-select: none;
}

/* Intro */
.intro {
  margin: 1rem 0 1.25rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.8vw, 1.05rem);
}

/* Links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.25rem 0 1.5rem;
}

.btn {
  --btn-bg: var(--text);
  --btn-fg: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--border);
  transition: transform .08s ease, filter .2s ease;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  border: 1px solid var(--border);
}

/* Progress */
.progress {
  width: 100%;
  height: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08));
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  background-size: 200% 100%;
  animation: move 3s linear infinite;
}

@keyframes move {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.eta {
  margin: .5rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.dots::after {
  content: "• • •";
  margin-left: .25rem;
  letter-spacing: .2em;
  animation: blink 2.2s infinite;
}

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

/* Footer */
.footer {
  margin-top: 2rem;
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
  color: var(--muted);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .mini-grid > div,
  .progress .bar,
  .dots::after {
    animation: none !important;
  }
}
