:root {
  color-scheme: dark;
  --bg: #0b1019;
  --bg-2: #111b2a;
  --surface: #172233;
  --surface-soft: #121b2a;
  --ink: #ecf2ff;
  --muted: #a9bad2;
  --brand: #29b8a8;
  --brand-strong: #1a9286;
  --accent: #f6a649;
  --line: #2a3b55;
  --shadow: 0 18px 50px rgba(3, 8, 14, 0.45);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Manrope, Segoe UI, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(54, 99, 153, 0.45) 0%, transparent 60%),
    radial-gradient(900px 600px at -5% 10%, rgba(35, 128, 119, 0.35) 0%, transparent 60%),
    linear-gradient(170deg, var(--bg), var(--bg-2));
  position: relative;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 4px 4px;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.35;
  pointer-events: none;
}

.orb-a {
  width: 340px;
  height: 340px;
  right: -80px;
  top: -70px;
  background: rgba(69, 123, 189, 0.45);
}

.orb-b {
  width: 320px;
  height: 320px;
  left: -90px;
  bottom: -80px;
  background: rgba(52, 162, 149, 0.45);
}

.shell {
  width: min(1120px, 92vw);
  margin: 36px auto 60px;
}

.hero {
  background: linear-gradient(135deg, rgba(18, 28, 43, 0.92), rgba(17, 27, 42, 0.82));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  backdrop-filter: blur(8px);
  animation: rise 0.65s ease both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  font-family: Sora, Segoe UI, sans-serif;
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  line-height: 1.05;
}

.hero-copy {
  margin: 16px 0 0;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions input {
  flex: 1 1 280px;
  min-width: 240px;
  border: 1px solid #344a69;
  border-radius: 12px;
  background: #0e1726;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
}

.hero-actions input:focus {
  outline: 2px solid rgba(41, 184, 168, 0.45);
  outline-offset: 1px;
}

.hero-actions button {
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

.hero-actions button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.chips {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid #3a5272;
  border-radius: 999px;
  background: #131d2d;
  color: #b8c7dd;
  padding: 7px 11px;
  font-size: 0.87rem;
  cursor: pointer;
}

.chip.active {
  border-color: var(--brand);
  color: #dff9f4;
  background: rgba(41, 184, 168, 0.2);
}

.section-head {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.section-head h2 {
  margin: 0;
  font-family: Sora, Segoe UI, sans-serif;
  font-size: 1.4rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.app-grid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: linear-gradient(165deg, var(--surface), var(--surface-soft));
  border: 1px solid #324865;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(3, 8, 14, 0.38);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(12px);
  opacity: 0;
  animation: rise 0.45s ease forwards;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  font-size: 0.75rem;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(246, 166, 73, 0.2);
  color: #ffc982;
  font-weight: 700;
}

.status-pill {
  font-size: 0.74rem;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(41, 184, 168, 0.2);
  color: #b9fff4;
  font-weight: 700;
}

.app-name {
  margin: 2px 0 0;
  font-size: 1.08rem;
}

.app-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.72rem;
  color: #c0cfe3;
  border: 1px solid #3f5575;
  border-radius: 999px;
  padding: 4px 8px;
  background: #122031;
}

.open-link {
  margin-top: auto;
  text-decoration: none;
  background: var(--brand);
  color: #041218;
  color: #fff;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-weight: 700;
  transition: transform 0.16s ease, background 0.16s ease;
}

.open-link:hover {
  background: var(--brand-strong);
  color: #e8fffb;
  transform: translateY(-1px);
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1120px, 94vw);
    margin-top: 20px;
  }

  .hero {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions input,
  .hero-actions button {
    width: 100%;
  }
}
