/* =========================================================================
   apollonas — server landing page  ·  Athena Cloud
   A simple, single-page front door for the Athens team, served at the nginx
   document root. Self-contained: local Lato + logo, no external requests.
   ========================================================================= */

@font-face { font-family:'Lato'; font-style:normal; font-weight:300; font-display:swap; src:url('../assets/fonts/lato-300.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:normal; font-weight:400; font-display:swap; src:url('../assets/fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:normal; font-weight:700; font-display:swap; src:url('../assets/fonts/lato-700.woff2') format('woff2'); }
@font-face { font-family:'Lato'; font-style:normal; font-weight:900; font-display:swap; src:url('../assets/fonts/lato-900.woff2') format('woff2'); }

:root {
  --bg-0: #16141f;
  --bg-1: #221f2e;
  --primary: #39267e;
  --primary-600: #4a32a0;
  --violet: #7c5cff;
  --violet-200: #c3b6ff;
  --azure: #2e90fa;
  --text: #f4f3f8;
  --text-dim: #aaa4c0;
  --text-mute: #7b7492;
  --line: rgba(255, 255, 255, 0.09);
  --line-violet: rgba(124, 92, 255, 0.30);
  --font: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Fira Mono', Consolas, 'Courier New', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: var(--font); font-weight: 400; color: var(--text);
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(760px 520px at 88% 108%, rgba(46, 144, 250, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mono, code { font-family: var(--mono); }
a { color: var(--azure); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code { font-size: 0.9em; color: var(--violet-200); background: rgba(124, 92, 255, 0.12); border: 1px solid var(--line-violet); border-radius: 4px; padding: 0.08em 0.4em; }

/* ---------- Centred page ---------------------------------------------- */
.page {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0;
  width: 100%; max-width: 640px; margin: 0 auto;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 6vw, 40px);
}

.logo {
  width: clamp(210px, 56vw, 320px); height: auto; margin-bottom: clamp(22px, 4vw, 34px);
  filter: drop-shadow(0 0 26px rgba(124, 92, 255, 0.35));
}

.kicker {
  margin: 0 0 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--violet-200);
}
.headline {
  margin: 0 0 14px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(2rem, 6.5vw, 3.1rem);
}
.headline .grad {
  background: linear-gradient(96deg, #d7ccff, var(--violet) 55%, var(--azure));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub { margin: 0 0 26px; max-width: 44ch; font-size: 1.08rem; font-weight: 300; color: var(--text-dim); }
.sub strong { color: var(--text); font-weight: 700; }

.domain {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; margin-bottom: 30px; border-radius: 999px;
  font-size: 0.95rem; color: var(--text); letter-spacing: 0.01em;
  background: rgba(124, 92, 255, 0.10); border: 1px solid var(--line-violet);
}
.domain::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}

/* ---------- User-site line -------------------------------------------- */
.siteline {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  width: 100%; padding: 14px 16px; border-radius: 8px;
  background: rgba(12, 10, 20, 0.55); border: 1px solid var(--line);
}
.siteline__label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); }
.siteline__url { font-family: var(--mono); font-size: 0.92rem; color: var(--text); word-break: break-all; }
.siteline__url b { color: var(--violet-200); font-weight: 700; }
.siteline__copy {
  font-family: var(--font); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; cursor: pointer; background: var(--primary); border: 1px solid var(--primary-600);
  border-radius: 4px; padding: 6px 12px; transition: all 0.18s ease;
}
.siteline__copy:hover { background: var(--primary-600); }
.siteline__copy.is-done { background: rgba(52, 211, 153, 0.15); border-color: #34d399; color: #34d399; }

/* ---------- Footer ---------------------------------------------------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px;
  padding: 20px 24px 28px; font-size: 0.76rem; color: var(--text-mute);
}
.foot__tag { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.64rem; font-weight: 700; color: var(--text-dim); }

/* ---------- Gentle fade-in (CSS-only) --------------------------------- */
.js .page { opacity: 0; transform: translateY(10px); animation: fade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards; }
@keyframes fade { to { opacity: 1; transform: none; } }

@media (max-width: 420px) { .siteline { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .js .page { opacity: 1; transform: none; animation: none; } .domain::before { box-shadow: none; } }
