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

:root {
  --bg: #0c1110;
  --bg-soft: #121416;
  --bg-card: rgba(18, 20, 22, 0.9);
  --heading: #f5f5f7;
  --subheading: rgba(245, 245, 247, 0.35);
  --text: rgba(245, 245, 247, 0.6);
  --text-link: #1b7c53;
  --border: rgba(245, 245, 247, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--heading);
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 15px;
  color: var(--subheading);
}

.nav-links a:hover {
  color: var(--heading);
}

.hero {
  max-width: 720px;
  padding: 18px 0 36px;
}

.app-hero {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: start;
}

.app-hero .panel.reveal {
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.content-section {
  padding: 18px 0 36px;
}

.content-section h1 {
  color: var(--heading);
}

.content-section h1,
.content-section h2 {
  color: var(--heading);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.hero-title {
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  color: #f5f5f7;
}

.hero p {
  font-size: 1.1rem;
  color: var(--subheading);
  line-height: 1.6;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--heading);
  color: var(--bg);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button svg {
  width: 44px;
  height: 44px;
  display: block;
  fill: currentColor;
}

.button img {
  display: block;
  height: 56px;
  width: auto;
}

.button.store.app-play,
.button.store.app-store {
  min-width: auto;
  padding: 0;
  gap: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.button.store.app-play:hover,
.button.store.app-store:hover {
  background: transparent;
  box-shadow: none;
}

.button.secondary {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
  box-shadow: none;
}

.button:hover {
  background: #1b7c53;
  color: var(--heading);
  border-color: #1b7c53;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.apps {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.blog {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.app-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.grid>.panel:hover,
.app-card:hover {
  transform: translateY(-4px);
  background: rgba(245, 245, 247, 0.08);
  border-color: rgba(245, 245, 247, 0.28);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.app-card h3 {
  margin: 0;
  color: var(--heading);
}

.blog-card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-card p {
  margin: 0;
  line-height: 1.6;
}

.app-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
}

.app-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
  flex: 0 0 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.app-icon.owleye {
  background: #6ee7b7;
}

.app-icon.whatsleft {
  background: #fbbf24;
}

.app-icon.notesowl {
  background: #60a5fa;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--subheading);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 12px 0 18px;
}

.section-title h2 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--heading);
}

.footer {
  padding: 40px 0 24px;
  color: var(--text);
  font-size: 14px;
}

.deals-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(245, 245, 247, 0.06);
  color: var(--subheading);
  cursor: pointer;
  font-size: 14px;
}

.chip.active {
  background: rgba(245, 245, 247, 0.12);
  border-color: rgba(245, 245, 247, 0.22);
  color: var(--heading);
}

.deal-card {
  display: grid;
  gap: 10px;
}

.deal-card img {
  width: 50%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--heading);
}

.price-row span {
  color: var(--subheading);
  font-weight: 400;
  text-decoration: line-through;
}

.notice {
  font-size: 13px;
  color: var(--text);
}

.text-link {
  font-size: 13px;
  color: var(--text-link);
  font-weight: 600;
}

@media (max-width: 720px) {
  .app-hero {
    grid-template-columns: 1fr;
  }

  .app-hero .panel.reveal {
    justify-self: stretch;
    max-width: none;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: floatIn 0.6s ease both;
}

/* Stronger radial glow behind hero text for more presence */
.hero {
  position: relative;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle at 50% 18%,
      rgba(245, 158, 11, 0.18) 0%,
      rgba(245, 158, 11, 0.12) 18%,
      rgba(250, 204, 21, 0.06) 38%,
      rgba(245, 158, 11, 0.03) 58%,
      transparent 72%);
  filter: blur(72px);
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.hero .reveal {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .hero::before {
    width: 760px;
    height: 760px;
    top: 6%;
    filter: blur(60px);
    opacity: 0.75;
  }
}