.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/butter-bg.png') center right / cover no-repeat;
  filter: blur(6px) saturate(100%);
  opacity: 0.10;
  transform: scale(1.02);
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
  opacity: 0.9;
  pointer-events: none;
  z-index: 2;
}

.hero {
  padding: 0 0 40px;
  position: relative;
  overflow: visible;
}

#quicklinks::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-left {
  flex: 1 1 560px;
  min-width: 360px;
  max-width: 720px;
}

.hero-right {
  flex: 0 0 980px;
  max-width: 62%;
  display: flex;
  justify-content: flex-end;
  position: relative;
  overflow: visible;
}

.logo-placeholder { display: none; }

.hero-logo { width: 420px; max-width: 100%; height: auto; margin-bottom: 26px; display: block; }

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  background: linear-gradient(to right, #f0f6ff 0%, #b0bdcc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.screenshot {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.screenshot:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(78, 205, 196, 0.2);
}

.section:not(#hero) {
  position: relative;
  z-index: 0;
}

.section:not(#hero)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.section:not(#hero) > .container {
  position: relative;
  z-index: 1;
  background: rgba(10, 15, 26, 0.42);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
}

.section:not(#hero)::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(10,15,26,0), rgba(10,15,26,0.48));
  pointer-events: none;
}
