/*
 * Armor Coded — hosting default page
 * Standalone styles pulled from the main site's design tokens (assets/css/main.css).
 * No Bootstrap, no JavaScript: this page must work on a brand-new hosting account.
 */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary:     #0097E4;
  --color-primary-dim: rgba(0, 151, 228, 0.10);
  --color-secondary:   #005E94;
  --color-accent:      #2DE0B0;

  --color-bg:          #060A10;
  --color-bg-surface:  #0A1018;
  --color-bg-elevated: #0F1825;
  --color-border:      #162032;

  --color-text:        #E8EDF5;
  --color-text-muted:  #7A8FA8;
  --color-text-subtle: #3E5068;
  --color-success:     #00E676;
  --color-white:       #FFFFFF;
  --color-black:       #000000;

  --font-primary: 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 28px rgba(0, 151, 228, 0.22);
}

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #030507;
  background-image:
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(0, 151, 228, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 88% 12%, rgba(0, 94, 148, 0.05) 0%, transparent 65%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.hd-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hd-page::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 151, 228, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hd-page > * { position: relative; z-index: 1; }

.hd-brand { margin-bottom: 64px; }
.hd-brand img { height: 43px; width: auto; }

/* ── Status pill ── */
.hd-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg-surface);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

.hd-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
}

/* ── Headline ── */
.hd-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hd-label__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.hd-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(100deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hd-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 48px;
}

/* ── Cards ── */
.hd-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 720px;
  margin-bottom: 48px;
  text-align: left;
}

.hd-card {
  padding: 24px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.hd-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.hd-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hd-card code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--color-accent);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1px 6px;
}

/* ── Buttons ── */
.hd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.btn-primary-kryphos,
.btn-ghost-kryphos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-primary-kryphos {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-black);
  font-weight: 700;
  border: none;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-primary-kryphos:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-ghost-kryphos {
  padding: 13px 28px;
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  border: 1px solid var(--color-border);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-ghost-kryphos:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-dim);
}

/* ── Footer ── */
.hd-footer {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

.hd-footer a { color: var(--color-text-muted); transition: color 0.2s ease; }
.hd-footer a:hover { color: var(--color-primary); }

@media (max-width: 640px) {
  .hd-page { padding-top: 48px; }
  .hd-brand { margin-bottom: 48px; }
  .hd-cards { grid-template-columns: 1fr; }
  .hd-actions a { width: 100%; justify-content: center; }
}
