@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #080b12;
  --bg-gradient: radial-gradient(ellipse 80% 60% at 50% -20%, #1a2238 0%, #080b12 70%);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
  --accent: #7c9cff;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 11, 18, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  color: var(--accent);
  font-size: 0.85rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* Hero */

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-description {
  max-width: 36rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* App grid */

.apps-section {
  padding: 1.5rem 0 5rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.app-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.app-card[data-accent="saymora"]:hover {
  border-color: rgba(123, 77, 224, 0.45);
  box-shadow: 0 20px 50px -20px rgba(123, 77, 224, 0.25);
}

.app-card[data-accent="wattwise"]:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 50px -20px rgba(16, 185, 129, 0.2);
}

.app-card[data-accent="thumb"]:hover {
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 20px 50px -20px rgba(255, 107, 0, 0.2);
}

.app-card[data-accent="reflex"]:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 50px -20px rgba(0, 240, 255, 0.15);
}

.app-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.app-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.app-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.5rem 1.5rem;
  gap: 0.6rem;
}

.app-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.app-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.app-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.status-soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.status-live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.app-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-description {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.app-link-label {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.app-card:hover .app-link-label {
  color: var(--text);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--text-subtle);
  text-align: center;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }
}
