:root {
  --bg: #080b12;
  --surface: rgba(20, 26, 40, 0.72);
  --surface-hover: rgba(26, 34, 52, 0.85);
  --border: rgba(185, 212, 245, 0.14);
  --border-strong: rgba(185, 212, 245, 0.24);
  --text: #f3f7ff;
  --text-muted: rgba(215, 227, 246, 0.68);
  --steel: #8cb3dc;
  --steel-deep: #4f79ab;
  --blue: #0a84ff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Subtle steel-blue atmospheric backdrop nodding to Design Werks heritage */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 68% 48% at 50% -6%, rgba(106, 149, 186, 0.34), transparent 62%),
    radial-gradient(ellipse 46% 38% at 14% 44%, rgba(79, 121, 171, 0.16), transparent 62%),
    radial-gradient(ellipse 46% 38% at 86% 62%, rgba(10, 132, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #0b101b 0%, #070a10 100%);
}

/* Top Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 13, 22, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 0.75px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-wordmark {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-wordmark .cap {
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Main Container */
.shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Hero */
.hero {
  padding: 78px 0 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emblem-wrap {
  position: relative;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.emblem-halo {
  position: absolute;
  inset: -24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(140, 179, 220, 0.32), transparent 68%);
  filter: blur(12px);
}

.hero-emblem {
  position: relative;
  width: 148px;
  height: 148px;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.55));
}

.studio-wordmark {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  text-transform: uppercase;
  color: #ffffff;
}

.studio-wordmark .cap {
  font-size: 1.15em;
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero-pills span {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(226, 238, 255, 0.84);
  background: rgba(140, 179, 220, 0.1);
  border: 0.75px solid var(--border);
}

/* Sections */
.section {
  margin-top: 64px;
}

.section-head {
  margin-bottom: 24px;
}

.kicker {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  margin-bottom: 6px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.025em;
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.app-card {
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 0.75px solid var(--border);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.app-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.app-card.featured {
  background: linear-gradient(155deg, rgba(32, 46, 72, 0.78), rgba(16, 20, 32, 0.84));
  border-color: rgba(140, 179, 220, 0.28);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.app-icon-placeholder {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(140, 179, 220, 0.22), rgba(79, 121, 171, 0.14));
  border: 0.75px solid rgba(185, 212, 245, 0.24);
  color: #dceafb;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.badge-live {
  background: rgba(48, 209, 88, 0.16);
  color: #63e688;
  border: 0.75px solid rgba(48, 209, 88, 0.34);
}

.badge-sale {
  background: rgba(255, 69, 58, 0.18);
  color: #ffd3c4;
  border: 0.75px solid rgba(255, 118, 92, 0.38);
}

.badge-soon {
  background: rgba(140, 179, 220, 0.16);
  color: #c5def7;
  border: 0.75px solid rgba(140, 179, 220, 0.32);
}

.app-card h3 {
  margin: 0 0 6px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.app-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.app-bullets {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(226, 236, 250, 0.78);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border: 0.75px solid var(--border);
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #2b97ff 0%, #0071e3 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.36);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-muted {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: default;
}

/* Craft Grid */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.craft-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 0.75px solid var(--border);
}

.craft-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  letter-spacing: -0.015em;
}

.craft-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.craft-card a {
  color: #8cc4ff;
  text-decoration: none;
}

.craft-card a:hover {
  text-decoration: underline;
}

/* Support Card */
.support-card {
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(24, 34, 54, 0.82), rgba(14, 18, 30, 0.86));
  border: 0.75px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.support-lead {
  margin: 8px 0 0;
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.site-footer {
  border-top: 0.75px solid rgba(255, 255, 255, 0.08);
  padding: 26px 24px 44px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 860px) {
  .apps-grid,
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .app-card-top {
    flex-direction: column;
  }
}
