/* ==========================================================================
   dactylus.app — Main Stylesheet
   Zero external dependencies. Self-hosted fonts. GitHub Pages ready.
   ========================================================================== */

@font-face {
  font-family: 'Press Start 2P';
  src: url('../fonts/PressStart2P-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'VT323';
  src: url('../fonts/VT323-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: 'Press Start 2P', monospace;
  --font-retro: 'VT323', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Shared palette pulled from server icon: neon magenta, cyan, near-black */
  --color-bg: #050009;
  --color-bg-subtle: #0c0414;
  --color-surface: #12081f;
  --color-surface-hover: #1b0d2e;
  --color-surface-border: #2c124a;
  
  --color-magenta: #c83cdc;
  --color-magenta-bright: #ff70ea;
  --color-cyan: #3cd2e6;
  --color-cyan-bright: #80f4ff;

  --color-text-primary: #f2f4f8;
  --color-text-secondary: #a2a8b8;
  --color-text-muted: #6b7285;
}

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

html {
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(200, 60, 220, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(60, 210, 230, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Landing Page Layout: Calm, confident front door */
.site-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  padding: 2.5rem 0 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-surface-border);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--color-text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: color 0.2s ease;
}

.brand-wordmark:hover {
  color: var(--color-cyan-bright);
}

.brand-gem {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--color-magenta);
  box-shadow: 0 0 10px var(--color-magenta);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-cyan);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 5rem 0;
}

.hero-landing {
  text-align: center;
  margin-bottom: 4rem;
}

.landing-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
  text-shadow: 0 0 24px rgba(200, 60, 220, 0.25);
}

.landing-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.5;
}

/* Featured Section Card */
.showcase-card {
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-magenta);
  box-shadow: 0 20px 48px rgba(200, 60, 220, 0.18);
}

.showcase-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  background: rgba(60, 210, 230, 0.12);
  color: var(--color-cyan-bright);
  border: 1px solid rgba(60, 210, 230, 0.3);
  margin-bottom: 1.5rem;
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.showcase-icon {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  border: 2px solid var(--color-surface-border);
  background: #000;
  flex-shrink: 0;
}

.showcase-title-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
}

.showcase-subtitle {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-cyan);
}

.showcase-desc {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 640px;
}

.showcase-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, var(--color-magenta) 0%, #a028b4 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: bold;
  border-radius: 4px;
  border: 1px solid var(--color-magenta-bright);
  box-shadow: 0 4px 16px rgba(200, 60, 220, 0.35);
  transition: all 0.2s ease;
}

.showcase-cta-btn:hover {
  background: linear-gradient(135deg, var(--color-magenta-bright) 0%, var(--color-magenta) 100%);
  box-shadow: 0 6px 24px rgba(200, 60, 220, 0.55);
  transform: translateY(-1px);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-surface-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--color-cyan);
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .showcase-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
